You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IAM::Types::GenerateServiceLastAccessedDetailsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::GenerateServiceLastAccessedDetailsRequest
- Defined in:
- (unknown)
Overview
When passing GenerateServiceLastAccessedDetailsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
arn: "arnType", # required
granularity: "SERVICE_LEVEL", # accepts SERVICE_LEVEL, ACTION_LEVEL
}
Instance Attribute Summary collapse
-
#arn ⇒ String
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 AWS service.
-
#granularity ⇒ String
The level of detail that you want to generate.
Instance Attribute Details
#arn ⇒ String
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 AWS service.
#granularity ⇒ String
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.
Possible values:
- SERVICE_LEVEL
- ACTION_LEVEL