#[non_exhaustive]pub struct ListPoliciesGrantingServiceAccessEntry {
pub service_namespace: Option<String>,
pub policies: Option<Vec<PolicyGrantingServiceAccess>>,
}
Expand description
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
This data type is used as a response element in the ListPoliciesGrantingServiceAccess
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_namespace: Option<String>
The namespace of the service that was accessed.
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.
policies: Option<Vec<PolicyGrantingServiceAccess>>
The PoliciesGrantingServiceAccess
object that contains details about the policy.
Implementations
sourceimpl ListPoliciesGrantingServiceAccessEntry
impl ListPoliciesGrantingServiceAccessEntry
sourcepub fn service_namespace(&self) -> Option<&str>
pub fn service_namespace(&self) -> Option<&str>
The namespace of the service that was accessed.
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 policies(&self) -> Option<&[PolicyGrantingServiceAccess]>
pub fn policies(&self) -> Option<&[PolicyGrantingServiceAccess]>
The PoliciesGrantingServiceAccess
object that contains details about the policy.
sourceimpl ListPoliciesGrantingServiceAccessEntry
impl ListPoliciesGrantingServiceAccessEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListPoliciesGrantingServiceAccessEntry
Trait Implementations
sourceimpl Clone for ListPoliciesGrantingServiceAccessEntry
impl Clone for ListPoliciesGrantingServiceAccessEntry
sourcefn clone(&self) -> ListPoliciesGrantingServiceAccessEntry
fn clone(&self) -> ListPoliciesGrantingServiceAccessEntry
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 PartialEq<ListPoliciesGrantingServiceAccessEntry> for ListPoliciesGrantingServiceAccessEntry
impl PartialEq<ListPoliciesGrantingServiceAccessEntry> for ListPoliciesGrantingServiceAccessEntry
sourcefn eq(&self, other: &ListPoliciesGrantingServiceAccessEntry) -> bool
fn eq(&self, other: &ListPoliciesGrantingServiceAccessEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListPoliciesGrantingServiceAccessEntry) -> bool
fn ne(&self, other: &ListPoliciesGrantingServiceAccessEntry) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListPoliciesGrantingServiceAccessEntry
Auto Trait Implementations
impl RefUnwindSafe for ListPoliciesGrantingServiceAccessEntry
impl Send for ListPoliciesGrantingServiceAccessEntry
impl Sync for ListPoliciesGrantingServiceAccessEntry
impl Unpin for ListPoliciesGrantingServiceAccessEntry
impl UnwindSafe for ListPoliciesGrantingServiceAccessEntry
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