Struct aws_sdk_iam::model::AccessDetail
source · [−]#[non_exhaustive]pub struct AccessDetail {
pub service_name: Option<String>,
pub service_namespace: Option<String>,
pub region: Option<String>,
pub entity_path: Option<String>,
pub last_authenticated_time: Option<DateTime>,
pub total_authenticated_entities: Option<i32>,
}
Expand description
An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.
This data type is a response element in the GetOrganizationsAccessReport
operation.
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.service_name: Option<String>
The name of the service in which access was attempted.
service_namespace: Option<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 Amazon Web Services 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.
region: Option<String>
The Region where the last service access attempt occurred.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
entity_path: Option<String>
The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.
last_authenticated_time: Option<DateTime>
The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
total_authenticated_entities: Option<i32>
The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.
Implementations
sourceimpl AccessDetail
impl AccessDetail
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service in which access was attempted.
sourcepub fn service_namespace(&self) -> Option<&str>
pub fn service_namespace(&self) -> Option<&str>
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 Amazon Web Services 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 Amazon Web Services service namespaces in the Amazon Web Services General Reference.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Region where the last service access attempt occurred.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
sourcepub fn entity_path(&self) -> Option<&str>
pub fn entity_path(&self) -> Option<&str>
The path of the Organizations entity (root, organizational unit, or account) from which an authenticated principal last attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals (IAM users, IAM roles, or root users) in the reported Organizations entity attempted to access the service within the reporting period.
sourcepub fn last_authenticated_time(&self) -> Option<&DateTime>
pub fn last_authenticated_time(&self) -> Option<&DateTime>
The date and time, in ISO 8601 date-time format, when an authenticated principal most recently attempted to access the service. Amazon Web Services does not report unauthenticated requests.
This field is null if no principals in the reported Organizations entity attempted to access the service within the reporting period.
sourcepub fn total_authenticated_entities(&self) -> Option<i32>
pub fn total_authenticated_entities(&self) -> Option<i32>
The number of accounts with authenticated principals (root users, IAM users, and IAM roles) that attempted to access the service in the reporting period.
sourceimpl AccessDetail
impl AccessDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AccessDetail
Trait Implementations
sourceimpl Clone for AccessDetail
impl Clone for AccessDetail
sourcefn clone(&self) -> AccessDetail
fn clone(&self) -> AccessDetail
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 AccessDetail
impl Debug for AccessDetail
sourceimpl PartialEq<AccessDetail> for AccessDetail
impl PartialEq<AccessDetail> for AccessDetail
sourcefn eq(&self, other: &AccessDetail) -> bool
fn eq(&self, other: &AccessDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccessDetail) -> bool
fn ne(&self, other: &AccessDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for AccessDetail
Auto Trait Implementations
impl RefUnwindSafe for AccessDetail
impl Send for AccessDetail
impl Sync for AccessDetail
impl Unpin for AccessDetail
impl UnwindSafe for AccessDetail
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> 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