Module Values.GetOrganizationsAccessReportResponseSource

Retrieves the service last accessed data report for Organizations that was previously generated using the GenerateOrganizationsAccessReport operation. This operation retrieves the status of your report job and the report contents. Depending on the parameters that you passed when you generated the report, the data returned could include different information. For details, see GenerateOrganizationsAccessReport. To call this operation, you must be signed in to the management account in your organization. SCPs must be enabled for your organization root. You must have permissions to perform this operation. For more information, see Refining permissions using service last accessed data in the IAM User Guide. For each service that principals in an account (root user, IAM users, or IAM roles) could access using SCPs, the operation returns details about the most recent access attempt. If there was no attempt, the service is listed without details about the most recent attempt to access the service. If the operation fails, it returns the reason that it failed. By default, the list is sorted by service namespace.

Sourcetype getOrganizationsAccessReportResult = {
  1. jobStatus : JobStatusType.t option;
    (*

    The status of the job.

    *)
  2. jobCreationDate : DateType.t option;
    (*

    The date and time, in ISO 8601 date-time format, when the report job was created.

    *)
  3. jobCompletionDate : DateType.t option;
    (*

    The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed. This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.

    *)
  4. numberOfServicesAccessible : IntegerType.t option;
    (*

    The number of services that the applicable SCPs allow account principals to access.

    *)
  5. numberOfServicesNotAccessed : IntegerType.t option;
    (*

    The number of services that account principals are allowed but did not attempt to access.

    *)
  6. accessDetails : AccessDetails.t option;
    (*

    An object that contains details about the most recent attempt to access the service.

    *)
  7. isTruncated : BooleanType.t option;
    (*

    A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all your results.

    *)
  8. marker : MarkerType.t option;
    (*

    When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

    *)
  9. errorDetails : ErrorDetails.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getOrganizationsAccessReportResult : getOrganizationsAccessReportResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `NoSuchEntityException of NoSuchEntityException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?jobStatus:??? -> ?jobCreationDate:??? -> ?jobCompletionDate:??? -> ?numberOfServicesAccessible:??? -> ?numberOfServicesNotAccessed:??? -> ?accessDetails:??? -> ?isTruncated:??? -> ?marker:??? -> ?errorDetails:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `NoSuchEntityException of NoSuchEntityException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `NoSuchEntityException of NoSuchEntityException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of BooleanType.t | `Enum of string | `Integer of IntegerType.t | `List of [> `Structure of (string * [> `Integer of IntegerType.t | `String of ServiceNameType.t | `Timestamp of DateType.t ]) list ] list | `String of MarkerType.t | `Structure of (string * [> `String of StringType.t ]) list | `Timestamp of DateType.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t