Struct rusoto_iot::CreatePolicyRequest
[−]
[src]
pub struct CreatePolicyRequest { pub policy_document: String, pub policy_name: String, }
The input for the CreatePolicy operation.
Fields
policy_document: String
The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.
policy_name: String
The policy name.
Trait Implementations
impl Default for CreatePolicyRequest
[src]
fn default() -> CreatePolicyRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreatePolicyRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CreatePolicyRequest
[src]
fn clone(&self) -> CreatePolicyRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more