Struct aws_sdk_iam::output::GetRolePolicyOutput [−][src]
#[non_exhaustive]pub struct GetRolePolicyOutput {
pub role_name: Option<String>,
pub policy_name: Option<String>,
pub policy_document: Option<String>,
}
Expand description
Contains the response to a successful GetRolePolicy 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.role_name: Option<String>
The role 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 GetRolePolicyOutput
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 GetRolePolicyOutput
impl Send for GetRolePolicyOutput
impl Sync for GetRolePolicyOutput
impl Unpin for GetRolePolicyOutput
impl UnwindSafe for GetRolePolicyOutput
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