Struct aws_sdk_ecs::input::DeleteAccountSettingInput [−][src]
#[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 for which to disable the account setting. 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 ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAccountSetting, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAccountSetting, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteAccountSetting
>
Creates a new builder-style object to manufacture DeleteAccountSettingInput
The resource name for which to disable the account setting. 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.
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
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 DeleteAccountSettingInput
impl Send for DeleteAccountSettingInput
impl Sync for DeleteAccountSettingInput
impl Unpin for DeleteAccountSettingInput
impl UnwindSafe for DeleteAccountSettingInput
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