AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ECS::Types::DeleteAccountSettingRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass DeleteAccountSettingRequest data as a hash:

{
  name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
  principal_arn: "String",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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.

Returns:

  • (String)


3289
3290
3291
3292
3293
3294
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3289

class DeleteAccountSettingRequest < Struct.new(
  :name,
  :principal_arn)
  SENSITIVE = []
  include Aws::Structure
end

#principal_arnString

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.

Returns:

  • (String)


3289
3290
3291
3292
3293
3294
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3289

class DeleteAccountSettingRequest < Struct.new(
  :name,
  :principal_arn)
  SENSITIVE = []
  include Aws::Structure
end