Struct rusoto_iam::ServiceLastAccessed
source · [−]pub struct ServiceLastAccessed {
pub last_authenticated: Option<String>,
pub last_authenticated_entity: Option<String>,
pub last_authenticated_region: Option<String>,
pub service_name: String,
pub service_namespace: String,
pub total_authenticated_entities: Option<i64>,
pub tracked_actions_last_accessed: Option<Vec<TrackedActionLastAccessed>>,
}
Expand description
Contains details about the most recent attempt to access the service.
This data type is used as a response element in the GetServiceLastAccessedDetails operation.
Fields
last_authenticated: Option<String>
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
last_authenticated_entity: Option<String>
The ARN of the authenticated entity (user or role) that last attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
last_authenticated_region: Option<String>
The Region from which the authenticated entity (user or role) last attempted to access the service. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
service_name: String
The name of the service in which access was attempted.
service_namespace: String
The namespace of the service in which access was attempted.
To learn the service namespace of a service, see Actions, resources, and condition keys for AWS services in the Service Authorization Reference. Choose the name of the service to view details for that service. In the first paragraph, find the service prefix. For example, (service prefix: a4b)
. For more information about service namespaces, see AWS Service Namespaces in the AWS General Reference.
total_authenticated_entities: Option<i64>
The total number of authenticated principals (root user, IAM users, or IAM roles) that have attempted to access the service.
This field is null if no principals attempted to access the service within the reporting period.
tracked_actions_last_accessed: Option<Vec<TrackedActionLastAccessed>>
An object that contains details about the most recent attempt to access a tracked action within the service.
This field is null if there no tracked actions or if the principal did not use the tracked actions within the reporting period. This field is also null if the report was generated at the service level and not the action level. For more information, see the Granularity
field in GenerateServiceLastAccessedDetails.
Trait Implementations
sourceimpl Clone for ServiceLastAccessed
impl Clone for ServiceLastAccessed
sourcefn clone(&self) -> ServiceLastAccessed
fn clone(&self) -> ServiceLastAccessed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceLastAccessed
impl Debug for ServiceLastAccessed
sourceimpl Default for ServiceLastAccessed
impl Default for ServiceLastAccessed
sourcefn default() -> ServiceLastAccessed
fn default() -> ServiceLastAccessed
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ServiceLastAccessed> for ServiceLastAccessed
impl PartialEq<ServiceLastAccessed> for ServiceLastAccessed
sourcefn eq(&self, other: &ServiceLastAccessed) -> bool
fn eq(&self, other: &ServiceLastAccessed) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceLastAccessed) -> bool
fn ne(&self, other: &ServiceLastAccessed) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceLastAccessed
Auto Trait Implementations
impl RefUnwindSafe for ServiceLastAccessed
impl Send for ServiceLastAccessed
impl Sync for ServiceLastAccessed
impl Unpin for ServiceLastAccessed
impl UnwindSafe for ServiceLastAccessed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more