pub struct CreateIAMPolicyAssignmentRequest {
pub assignment_name: String,
pub assignment_status: String,
pub aws_account_id: String,
pub identities: Option<HashMap<String, Vec<String>>>,
pub namespace: String,
pub policy_arn: Option<String>,
}
Fields§
§assignment_name: String
The name of the assignment, also called a rule. It must be unique within an AWS account.
assignment_status: String
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
aws_account_id: String
The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.
identities: Option<HashMap<String, Vec<String>>>
The QuickSight users, groups, or both that you want to assign the policy to.
namespace: String
The namespace that contains the assignment.
policy_arn: Option<String>
The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.
Trait Implementations§
Source§impl Clone for CreateIAMPolicyAssignmentRequest
impl Clone for CreateIAMPolicyAssignmentRequest
Source§fn clone(&self) -> CreateIAMPolicyAssignmentRequest
fn clone(&self) -> CreateIAMPolicyAssignmentRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateIAMPolicyAssignmentRequest
impl Default for CreateIAMPolicyAssignmentRequest
Source§fn default() -> CreateIAMPolicyAssignmentRequest
fn default() -> CreateIAMPolicyAssignmentRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateIAMPolicyAssignmentRequest
impl PartialEq for CreateIAMPolicyAssignmentRequest
Source§fn eq(&self, other: &CreateIAMPolicyAssignmentRequest) -> bool
fn eq(&self, other: &CreateIAMPolicyAssignmentRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateIAMPolicyAssignmentRequest
Auto Trait Implementations§
impl Freeze for CreateIAMPolicyAssignmentRequest
impl RefUnwindSafe for CreateIAMPolicyAssignmentRequest
impl Send for CreateIAMPolicyAssignmentRequest
impl Sync for CreateIAMPolicyAssignmentRequest
impl Unpin for CreateIAMPolicyAssignmentRequest
impl UnwindSafe for CreateIAMPolicyAssignmentRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more