Retrieves a service last accessed report that was created using the generate_service_last_accessed_details
operation. You can use the JobId
parameter in get_service_last_accessed_details
to retrieve the status of your report job. When the report is complete, you can retrieve the generated report. The report includes a list of Amazon Web Services services that the resource (user, group, role, or managed policy) can access.
See https://www.paws-r-sdk.com/docs/iam_get_service_last_accessed_details/ for full documentation.
iam_get_service_last_accessed_details(JobId, MaxItems = NULL, Marker = NULL)
[required] The ID of the request generated by the
generate_service_last_accessed_details
operation. The JobId
returned by GenerateServiceLastAccessedDetail
must be used by the same role within a session, or by the same user when
used to call GetServiceLastAccessedDetail
.
Use this only when paginating results to indicate the maximum number of
items you want in the response. If additional items exist beyond the
maximum you specify, the IsTruncated
response element is true
.
If you do not include this parameter, the number of items defaults to
100. Note that IAM might return fewer results, even when there are more
results available. In that case, the IsTruncated
response element
returns true
, and Marker
contains a value to include in the
subsequent call that tells the service where to continue from.
Use this parameter only when paginating results and only after you
receive a response indicating that the results are truncated. Set it to
the value of the Marker
element in the response that you received to
indicate where the next call should start.