Struct rusoto_iot::CreatePolicyRequest[][src]

pub struct CreatePolicyRequest {
    pub policy_document: String,
    pub policy_name: String,
}

The input for the CreatePolicy operation.

Fields

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

The policy name.

Trait Implementations

impl Default for CreatePolicyRequest
[src]

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

impl Debug for CreatePolicyRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for CreatePolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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