Struct rusoto_iam::AttachedPolicy[][src]

pub struct AttachedPolicy {
    pub policy_arn: Option<String>,
    pub policy_name: Option<String>,
}

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

Fields

The friendly name of the attached policy.

Trait Implementations

impl Default for AttachedPolicy
[src]

Returns the "default value" for a type. Read more

impl Debug for AttachedPolicy
[src]

Formats the value using the given formatter. Read more

impl Clone for AttachedPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for AttachedPolicy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations