iam_generate_service_last_accessed_details: Generates a report that includes details about when an IAM...

View source: R/iam_operations.R

iam_generate_service_last_accessed_detailsR Documentation

Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services

Description

Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity usually appears within four hours. IAM reports activity for at least the last 400 days, or less if your Region began supporting this feature within the last year. For more information, see Regions where data is tracked.

See https://www.paws-r-sdk.com/docs/iam_generate_service_last_accessed_details/ for full documentation.

Usage

iam_generate_service_last_accessed_details(Arn, Granularity = NULL)

Arguments

Arn

[required] The ARN of the IAM resource (user, group, role, or managed policy) used to generate information about when the resource was last used in an attempt to access an Amazon Web Services service.

Granularity

The level of detail that you want to generate. You can specify whether you want to generate information about the last attempt to access services or actions. If you specify service-level granularity, this operation generates only service data. If you specify action-level granularity, it generates service and action data. If you don't include this optional parameter, the operation generates service data.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.