Struct rusoto_iam::AttachRolePolicyRequest [] [src]

pub struct AttachRolePolicyRequest {
    pub policy_arn: String,
    pub role_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 role 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 AttachRolePolicyRequest
[src]

[src]

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

impl Debug for AttachRolePolicyRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for AttachRolePolicyRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more