Struct aws_sdk_redshift::input::ModifyClusterIamRolesInput [−][src]
#[non_exhaustive]pub struct ModifyClusterIamRolesInput {
pub cluster_identifier: Option<String>,
pub add_iam_roles: Option<Vec<String>>,
pub remove_iam_roles: Option<Vec<String>>,
pub default_iam_role_arn: Option<String>,
}
Expand description
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.cluster_identifier: Option<String>
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
add_iam_roles: Option<Vec<String>>
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
remove_iam_roles: Option<Vec<String>>
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
default_iam_role_arn: Option<String>
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterIamRoles, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyClusterIamRoles, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyClusterIamRoles
>
Creates a new builder-style object to manufacture ModifyClusterIamRolesInput
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
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 RefUnwindSafe for ModifyClusterIamRolesInput
impl Send for ModifyClusterIamRolesInput
impl Sync for ModifyClusterIamRolesInput
impl Unpin for ModifyClusterIamRolesInput
impl UnwindSafe for ModifyClusterIamRolesInput
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