Struct aws_sdk_securityhub::model::AwsIamPolicyDetails
source · [−]#[non_exhaustive]pub struct AwsIamPolicyDetails { /* private fields */ }
Expand description
Represents an IAM permissions policy.
Implementations
sourceimpl AwsIamPolicyDetails
impl AwsIamPolicyDetails
sourcepub fn attachment_count(&self) -> i32
pub fn attachment_count(&self) -> i32
The number of users, groups, and roles that the policy is attached to.
sourcepub fn create_date(&self) -> Option<&str>
pub fn create_date(&self) -> Option<&str>
When the policy was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn default_version_id(&self) -> Option<&str>
pub fn default_version_id(&self) -> Option<&str>
The identifier of the default version of the policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the policy.
sourcepub fn is_attachable(&self) -> bool
pub fn is_attachable(&self) -> bool
Whether the policy can be attached to a user, group, or role.
sourcepub fn permissions_boundary_usage_count(&self) -> i32
pub fn permissions_boundary_usage_count(&self) -> i32
The number of users and roles that use the policy to set the permissions boundary.
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
sourcepub fn policy_version_list(&self) -> Option<&[AwsIamPolicyVersion]>
pub fn policy_version_list(&self) -> Option<&[AwsIamPolicyVersion]>
List of versions of the policy.
sourcepub fn update_date(&self) -> Option<&str>
pub fn update_date(&self) -> Option<&str>
When the policy was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourceimpl AwsIamPolicyDetails
impl AwsIamPolicyDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsIamPolicyDetails
.
Trait Implementations
sourceimpl Clone for AwsIamPolicyDetails
impl Clone for AwsIamPolicyDetails
sourcefn clone(&self) -> AwsIamPolicyDetails
fn clone(&self) -> AwsIamPolicyDetails
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 AwsIamPolicyDetails
impl Debug for AwsIamPolicyDetails
sourceimpl PartialEq<AwsIamPolicyDetails> for AwsIamPolicyDetails
impl PartialEq<AwsIamPolicyDetails> for AwsIamPolicyDetails
sourcefn eq(&self, other: &AwsIamPolicyDetails) -> bool
fn eq(&self, other: &AwsIamPolicyDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsIamPolicyDetails) -> bool
fn ne(&self, other: &AwsIamPolicyDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsIamPolicyDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsIamPolicyDetails
impl Send for AwsIamPolicyDetails
impl Sync for AwsIamPolicyDetails
impl Unpin for AwsIamPolicyDetails
impl UnwindSafe for AwsIamPolicyDetails
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