#[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.
remove_iam_roles: Option<Vec<String>>Zero or more IAM roles in ARN format to disassociate from the cluster.
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§
source§impl ModifyClusterIamRolesInput
impl ModifyClusterIamRolesInput
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
sourcepub fn add_iam_roles(&self) -> &[String]
pub fn add_iam_roles(&self) -> &[String]
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_iam_roles.is_none().
sourcepub fn remove_iam_roles(&self) -> &[String]
pub fn remove_iam_roles(&self) -> &[String]
Zero or more IAM roles in ARN format to disassociate from the cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .remove_iam_roles.is_none().
sourcepub fn default_iam_role_arn(&self) -> Option<&str>
pub fn default_iam_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
source§impl ModifyClusterIamRolesInput
impl ModifyClusterIamRolesInput
sourcepub fn builder() -> ModifyClusterIamRolesInputBuilder
pub fn builder() -> ModifyClusterIamRolesInputBuilder
Creates a new builder-style object to manufacture ModifyClusterIamRolesInput.
Trait Implementations§
source§impl Clone for ModifyClusterIamRolesInput
impl Clone for ModifyClusterIamRolesInput
source§fn clone(&self) -> ModifyClusterIamRolesInput
fn clone(&self) -> ModifyClusterIamRolesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyClusterIamRolesInput
impl Debug for ModifyClusterIamRolesInput
impl StructuralPartialEq for ModifyClusterIamRolesInput
Auto Trait Implementations§
impl Freeze for ModifyClusterIamRolesInput
impl RefUnwindSafe for ModifyClusterIamRolesInput
impl Send for ModifyClusterIamRolesInput
impl Sync for ModifyClusterIamRolesInput
impl Unpin for ModifyClusterIamRolesInput
impl UnwindSafe for ModifyClusterIamRolesInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more