Struct rusoto_iam::AttachUserPolicyRequest[][src]

pub struct AttachUserPolicyRequest {
    pub policy_arn: String,
    pub user_name: String,
}

Fields

The Amazon Resource Name (ARN) of the IAM policy you want to attach.

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The name (friendly name, not ARN) of the IAM user to attach the policy to.

This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Trait Implementations

impl Default for AttachUserPolicyRequest
[src]

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

impl Debug for AttachUserPolicyRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for AttachUserPolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for AttachUserPolicyRequest
[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