Struct aws_sdk_ecs::input::PutAccountSettingInput
source · #[non_exhaustive]pub struct PutAccountSettingInput { /* private fields */ }Implementations§
source§impl PutAccountSettingInput
impl PutAccountSettingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccountSetting, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAccountSetting, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutAccountSetting>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutAccountSettingInput.
source§impl PutAccountSettingInput
impl PutAccountSettingInput
sourcepub fn name(&self) -> Option<&SettingName>
pub fn name(&self) -> Option<&SettingName>
The Amazon ECS resource name for which to modify 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 elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The account setting value for the specified principal ARN. Accepted values are enabled and disabled.
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies 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.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
Trait Implementations§
source§impl Clone for PutAccountSettingInput
impl Clone for PutAccountSettingInput
source§fn clone(&self) -> PutAccountSettingInput
fn clone(&self) -> PutAccountSettingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutAccountSettingInput
impl Debug for PutAccountSettingInput
source§impl PartialEq<PutAccountSettingInput> for PutAccountSettingInput
impl PartialEq<PutAccountSettingInput> for PutAccountSettingInput
source§fn eq(&self, other: &PutAccountSettingInput) -> bool
fn eq(&self, other: &PutAccountSettingInput) -> bool
self and other values to be equal, and is used
by ==.