Struct rusoto_iot::AttachPrincipalPolicyRequest[][src]

pub struct AttachPrincipalPolicyRequest {
    pub policy_name: String,
    pub principal: String,
}

The input for the AttachPrincipalPolicy operation.

Fields

The policy name.

The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

Trait Implementations

impl Default for AttachPrincipalPolicyRequest
[src]

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

impl Debug for AttachPrincipalPolicyRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for AttachPrincipalPolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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