Struct aws_sdk_iam::output::GetUserPolicyOutput [−][src]
#[non_exhaustive]pub struct GetUserPolicyOutput {
pub user_name: Option<String>,
pub policy_name: Option<String>,
pub policy_document: Option<String>,
}
Expand description
Contains the response to a successful GetUserPolicy request.
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.user_name: Option<String>
The user the policy is associated with.
policy_name: Option<String>
The name of the policy.
policy_document: Option<String>
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.
Implementations
The name of the policy.
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.
Creates a new builder-style object to manufacture GetUserPolicyOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more