Struct rusoto_iot::AttachPrincipalPolicyRequest
[−]
[src]
pub struct AttachPrincipalPolicyRequest { pub policy_name: String, pub principal: String, }
The input for the AttachPrincipalPolicy operation.
Fields
policy_name: String
The policy name.
principal: String
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]
fn default() -> AttachPrincipalPolicyRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for AttachPrincipalPolicyRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for AttachPrincipalPolicyRequest
[src]
fn clone(&self) -> AttachPrincipalPolicyRequest
[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