Struct aws_sdk_iam::output::GetUserPolicyOutput
source · [−]#[non_exhaustive]pub struct GetUserPolicyOutput { /* private fields */ }Expand description
Contains the response to a successful GetUserPolicy request.
Implementations
sourceimpl GetUserPolicyOutput
impl GetUserPolicyOutput
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The policy document.
IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
sourceimpl GetUserPolicyOutput
impl GetUserPolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetUserPolicyOutput.
Trait Implementations
sourceimpl Clone for GetUserPolicyOutput
impl Clone for GetUserPolicyOutput
sourcefn clone(&self) -> GetUserPolicyOutput
fn clone(&self) -> GetUserPolicyOutput
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 moresourceimpl Debug for GetUserPolicyOutput
impl Debug for GetUserPolicyOutput
sourceimpl PartialEq<GetUserPolicyOutput> for GetUserPolicyOutput
impl PartialEq<GetUserPolicyOutput> for GetUserPolicyOutput
sourcefn eq(&self, other: &GetUserPolicyOutput) -> bool
fn eq(&self, other: &GetUserPolicyOutput) -> bool
impl StructuralPartialEq for GetUserPolicyOutput
Auto Trait Implementations
impl RefUnwindSafe for GetUserPolicyOutput
impl Send for GetUserPolicyOutput
impl Sync for GetUserPolicyOutput
impl Unpin for GetUserPolicyOutput
impl UnwindSafe for GetUserPolicyOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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