GenerateServiceLastAccessedDetailsRequest
public struct GenerateServiceLastAccessedDetailsRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let arn: 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.
Declaration
Swift
public let granularity: AccessAdvisorUsageGranularityType?
-
Undocumented
Declaration
Swift
public init(arn: String, granularity: AccessAdvisorUsageGranularityType? = nil)
-
Declaration
Swift
public func validate(name: String) throws