#[non_exhaustive]pub struct CreateIamPolicyAssignmentInput {
pub aws_account_id: Option<String>,
pub assignment_name: Option<String>,
pub assignment_status: Option<AssignmentStatus>,
pub policy_arn: Option<String>,
pub identities: Option<HashMap<String, Vec<String>>>,
pub namespace: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aws_account_id: Option<String>The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
assignment_name: Option<String>The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.
assignment_status: Option<AssignmentStatus>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.
policy_arn: Option<String>The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
identities: Option<HashMap<String, Vec<String>>>The Amazon QuickSight users, groups, or both that you want to assign the policy to.
namespace: Option<String>The namespace that contains the assignment.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateIAMPolicyAssignment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateIAMPolicyAssignment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateIAMPolicyAssignment>
Creates a new builder-style object to manufacture CreateIamPolicyAssignmentInput
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.
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.
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for CreateIamPolicyAssignmentInput
impl Sync for CreateIamPolicyAssignmentInput
impl Unpin for CreateIamPolicyAssignmentInput
impl UnwindSafe for CreateIamPolicyAssignmentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more