Struct aws_sdk_iam::input::GenerateServiceLastAccessedDetailsInput [−][src]
#[non_exhaustive]pub struct GenerateServiceLastAccessedDetailsInput {
pub arn: Option<String>,
pub granularity: Option<AccessAdvisorUsageGranularityType>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<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 Amazon Web Services service.
granularity: Option<AccessAdvisorUsageGranularityType>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GenerateServiceLastAccessedDetails, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GenerateServiceLastAccessedDetails, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GenerateServiceLastAccessedDetails
>
Creates a new builder-style object to manufacture GenerateServiceLastAccessedDetailsInput
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.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more