Struct aws_sdk_ecs::input::DeleteAccountSettingInput
source · [−]#[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 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
sourceimpl DeleteAccountSettingInput
impl DeleteAccountSettingInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteAccountSettingInput
sourceimpl 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 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
sourceimpl Clone for DeleteAccountSettingInput
impl Clone for DeleteAccountSettingInput
sourcefn clone(&self) -> DeleteAccountSettingInput
fn clone(&self) -> DeleteAccountSettingInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeleteAccountSettingInput
impl Debug for DeleteAccountSettingInput
sourceimpl PartialEq<DeleteAccountSettingInput> for DeleteAccountSettingInput
impl PartialEq<DeleteAccountSettingInput> for DeleteAccountSettingInput
sourcefn eq(&self, other: &DeleteAccountSettingInput) -> bool
fn eq(&self, other: &DeleteAccountSettingInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteAccountSettingInput) -> bool
fn ne(&self, other: &DeleteAccountSettingInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteAccountSettingInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more