class Aws::IAM::Types::GenerateServiceLastAccessedDetailsRequest

@note When making an API call, you may pass GenerateServiceLastAccessedDetailsRequest

data as a hash:

    {
      arn: "arnType", # required
      granularity: "SERVICE_LEVEL", # accepts SERVICE_LEVEL, ACTION_LEVEL
    }

@!attribute [rw] arn

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.
@return [String]

@!attribute [rw] 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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateServiceLastAccessedDetailsRequest AWS API Documentation

Constants

SENSITIVE