Module Values.GetServiceLastAccessedDetailsWithEntitiesResponseSource

After you generate a group or policy report using the GenerateServiceLastAccessedDetails operation, you can use the JobId parameter in GetServiceLastAccessedDetailsWithEntities. This operation retrieves the status of your report job and a list of entities that could have used group or policy permissions to access the specified service. Group – For a group report, this operation returns a list of users in the group that could have used the group’s policies in an attempt to access the service. Policy – For a policy report, this operation returns a list of entities (users or roles) that could have used the policy in an attempt to access the service. You can also use this operation for user or role reports to retrieve details about those entities. If the operation fails, the GetServiceLastAccessedDetailsWithEntities operation returns the reason that it failed. By default, the list of associated entities is sorted by date, with the most recent access listed first.

Sourcetype getServiceLastAccessedDetailsWithEntitiesResult = {
  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. entityDetailsList : EntityDetailsListType.t option;
    (*

    An EntityDetailsList object that contains details about when an IAM entity (user or role) used group or policy permissions in an attempt to access the specified Amazon Web Services service.

    *)
  5. 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.

    *)
  6. marker : ResponseMarkerType.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.

    *)
  7. error : ErrorDetails.t option;
    (*

    An object that contains details about the reason the operation failed.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getServiceLastAccessedDetailsWithEntitiesResult : getServiceLastAccessedDetailsWithEntitiesResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `NoSuchEntityException of NoSuchEntityException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?jobStatus:??? -> ?jobCreationDate:??? -> ?jobCompletionDate:??? -> ?entityDetailsList:??? -> ?isTruncated:??? -> ?marker:??? -> ?error:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `NoSuchEntityException of NoSuchEntityException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.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 | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of ArnType.t ]) list | `Timestamp of DateType.t ]) list ] list | `String of ResponseMarkerType.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