#[non_exhaustive]pub struct DeleteAccountSettingInput {
pub name: Option<SettingName>,
pub principal_arn: 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.name: Option<SettingName>
The resource name to disable the account setting for. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the ENI limit for your Amazon ECS container instances is affected.
principal_arn: Option<String>
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Implementations§
source§impl DeleteAccountSettingInput
impl DeleteAccountSettingInput
sourcepub fn name(&self) -> Option<&SettingName>
pub fn name(&self) -> Option<&SettingName>
The resource name to disable the account setting for. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the ENI limit for your Amazon ECS container instances is affected.
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
source§impl DeleteAccountSettingInput
impl DeleteAccountSettingInput
sourcepub fn builder() -> DeleteAccountSettingInputBuilder
pub fn builder() -> DeleteAccountSettingInputBuilder
Creates a new builder-style object to manufacture DeleteAccountSettingInput
.
Trait Implementations§
source§impl Clone for DeleteAccountSettingInput
impl Clone for DeleteAccountSettingInput
source§fn clone(&self) -> DeleteAccountSettingInput
fn clone(&self) -> DeleteAccountSettingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAccountSettingInput
impl Debug for DeleteAccountSettingInput
source§impl PartialEq for DeleteAccountSettingInput
impl PartialEq for DeleteAccountSettingInput
source§fn eq(&self, other: &DeleteAccountSettingInput) -> bool
fn eq(&self, other: &DeleteAccountSettingInput) -> bool
self
and other
values to be equal, and is used
by ==
.