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 ==
.impl StructuralPartialEq for GenerateServiceLastAccessedDetailsInput
Auto Trait Implementations§
impl Freeze for GenerateServiceLastAccessedDetailsInput
impl RefUnwindSafe for GenerateServiceLastAccessedDetailsInput
impl Send for GenerateServiceLastAccessedDetailsInput
impl Sync for GenerateServiceLastAccessedDetailsInput
impl Unpin for GenerateServiceLastAccessedDetailsInput
impl UnwindSafe for GenerateServiceLastAccessedDetailsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more