Struct rusoto_iam::AttachUserPolicyRequest
[−]
[src]
pub struct AttachUserPolicyRequest { pub policy_arn: String, pub user_name: String, }
Fields
policy_arn: String
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.
user_name: String
The name (friendly name, not ARN) of the IAM user 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 AttachUserPolicyRequest
[src]
fn default() -> AttachUserPolicyRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for AttachUserPolicyRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for AttachUserPolicyRequest
[src]
fn clone(&self) -> AttachUserPolicyRequest
[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