Struct aws_sdk_iam::operation::generate_service_last_accessed_details::GenerateServiceLastAccessedDetailsInput
source · #[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§
source§impl GenerateServiceLastAccessedDetailsInput
impl GenerateServiceLastAccessedDetailsInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
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.
sourcepub fn granularity(&self) -> Option<&AccessAdvisorUsageGranularityType>
pub fn granularity(&self) -> 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.
source§impl GenerateServiceLastAccessedDetailsInput
impl GenerateServiceLastAccessedDetailsInput
sourcepub fn builder() -> GenerateServiceLastAccessedDetailsInputBuilder
pub fn builder() -> GenerateServiceLastAccessedDetailsInputBuilder
Creates a new builder-style object to manufacture GenerateServiceLastAccessedDetailsInput
.
Trait Implementations§
source§impl Clone for GenerateServiceLastAccessedDetailsInput
impl Clone for GenerateServiceLastAccessedDetailsInput
source§fn clone(&self) -> GenerateServiceLastAccessedDetailsInput
fn clone(&self) -> GenerateServiceLastAccessedDetailsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GenerateServiceLastAccessedDetailsInput
impl PartialEq for GenerateServiceLastAccessedDetailsInput
source§fn eq(&self, other: &GenerateServiceLastAccessedDetailsInput) -> bool
fn eq(&self, other: &GenerateServiceLastAccessedDetailsInput) -> bool
self
and other
values to be equal, and is used
by ==
.