aws-sdk-ecs 1.40.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 407e993f9e909fa19d956389ebaf06e29b5a5cc3
4
- data.tar.gz: 1f0440c269550335af726a564b7f51f0c4b10383
3
+ metadata.gz: 885f517efd7cc2cd06d4ba55885042e67b8f9e06
4
+ data.tar.gz: 8fce6ac5d793fff001c95023b82f58098bdb1215
5
5
  SHA512:
6
- metadata.gz: 836c668d30e8032217bc4f90f450d272ce90e9ee30dbe4ba6cbdd2bcd2765077a00a9808f8aad5ad431832476a160a99007feafe64dcb34bc3e5df1e10f0c8c3
7
- data.tar.gz: 81ac8494584951a8cdc06481bfb0839df21485bc5a0bb9407067e8ab9c7c9d437d9d0c437c297ce4e3ee4392c8a5972e3d271b96ae61b8973d539753a6e4df82
6
+ metadata.gz: 60dbccd1a2ee0a40a090678112509505382377629a00782a5d66f4789c91819893dc1a5a57b5238c37b001cc0a245dc1ea9fc7350cf41ec82449b6dea84518cf
7
+ data.tar.gz: b5f25d16c2f5860aab723c1b5d8123f74c533371c1ca44551c92a1e21eb7c8c89932754207025bc3a3fabe9f76ef4e25830e288b36b92333a1accb04b3ece247
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.40.0'
46
+ GEM_VERSION = '1.41.0'
47
47
 
48
48
  end
@@ -277,13 +277,12 @@ module Aws::ECS
277
277
  #
278
278
  #
279
279
  #
280
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
280
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
281
281
  #
282
282
  # @option params [String] :cluster_name
283
283
  # The name of your cluster. If you do not specify a name for your
284
284
  # cluster, you create a cluster named `default`. Up to 255 letters
285
- # (uppercase and lowercase), numbers, hyphens, and underscores are
286
- # allowed.
285
+ # (uppercase and lowercase), numbers, and hyphens are allowed.
287
286
  #
288
287
  # @option params [Array<Types::Tag>] :tags
289
288
  # The metadata that you apply to the cluster to help you categorize and
@@ -480,9 +479,9 @@ module Aws::ECS
480
479
  #
481
480
  # @option params [required, String] :service_name
482
481
  # The name of your service. Up to 255 letters (uppercase and lowercase),
483
- # numbers, hyphens, and underscores are allowed. Service names must be
484
- # unique within a cluster, but you can have similarly named services in
485
- # multiple clusters within a Region or across multiple Regions.
482
+ # numbers, and hyphens are allowed. Service names must be unique within
483
+ # a cluster, but you can have similarly named services in multiple
484
+ # clusters within a Region or across multiple Regions.
486
485
  #
487
486
  # @option params [String] :task_definition
488
487
  # The `family` and `revision` (`family:revision`) or full ARN of the
@@ -550,8 +549,8 @@ module Aws::ECS
550
549
  #
551
550
  #
552
551
  #
553
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
554
- # [2]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
552
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
553
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
555
554
  #
556
555
  # @option params [Integer] :desired_count
557
556
  # The number of instantiations of the specified task definition to place
@@ -607,7 +606,7 @@ module Aws::ECS
607
606
  #
608
607
  #
609
608
  #
610
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
609
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
611
610
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names
612
611
  #
613
612
  # @option params [Types::DeploymentConfiguration] :deployment_configuration
@@ -633,7 +632,7 @@ module Aws::ECS
633
632
  #
634
633
  #
635
634
  #
636
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
635
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
637
636
  #
638
637
  # @option params [Integer] :health_check_grace_period_seconds
639
638
  # The period of time, in seconds, that the Amazon ECS service scheduler
@@ -674,7 +673,7 @@ module Aws::ECS
674
673
  #
675
674
  #
676
675
  #
677
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
676
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
678
677
  #
679
678
  # @option params [Types::DeploymentController] :deployment_controller
680
679
  # The deployment controller to use for the service.
@@ -695,7 +694,7 @@ module Aws::ECS
695
694
  #
696
695
  #
697
696
  #
698
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
697
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
699
698
  #
700
699
  # @option params [String] :propagate_tags
701
700
  # Specifies whether to propagate the tags from the task definition or
@@ -1009,7 +1008,7 @@ module Aws::ECS
1009
1008
  #
1010
1009
  #
1011
1010
  #
1012
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1011
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1013
1012
  #
1014
1013
  # @option params [required, String] :service
1015
1014
  # The short name or full Amazon Resource Name (ARN) of the service to
@@ -1044,7 +1043,7 @@ module Aws::ECS
1044
1043
  #
1045
1044
  #
1046
1045
  #
1047
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
1046
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
1048
1047
  #
1049
1048
  # @option params [String] :launch_type
1050
1049
  # The launch type that new tasks in the task set will use. For more
@@ -1158,26 +1157,26 @@ module Aws::ECS
1158
1157
  req.send_request(options)
1159
1158
  end
1160
1159
 
1161
- # Modifies the ARN and resource ID format of a resource for a specified
1162
- # IAM user, IAM role, or the root user for an account. You can specify
1163
- # whether the new ARN and resource ID format are disabled for new
1164
- # resources that are created.
1160
+ # Disables an account setting for a specified IAM user, IAM role, or the
1161
+ # root user for an account.
1165
1162
  #
1166
1163
  # @option params [required, String] :name
1167
- # The resource name for which to disable the new format. If
1164
+ # The resource name for which to disable the account setting. If
1168
1165
  # `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
1169
1166
  # services is affected. If `taskLongArnFormat` is specified, the ARN and
1170
1167
  # resource ID for your Amazon ECS tasks is affected. If
1171
1168
  # `containerInstanceLongArnFormat` is specified, the ARN and resource ID
1172
- # for your Amazon ECS container instances is affected.
1169
+ # for your Amazon ECS container instances is affected. If
1170
+ # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
1171
+ # container instances is affected.
1173
1172
  #
1174
1173
  # @option params [String] :principal_arn
1175
1174
  # The ARN of the principal, which can be an IAM user, IAM role, or the
1176
- # root user. If you specify the root user, it modifies the ARN and
1177
- # resource ID format for all IAM users, IAM roles, and the root user of
1178
- # the account unless an IAM user or role explicitly overrides these
1179
- # settings for themselves. If this field is omitted, the setting are
1180
- # changed only for the authenticated user.
1175
+ # root user. If you specify the root user, it disables the account
1176
+ # setting for all IAM users, IAM roles, and the root user of the account
1177
+ # unless an IAM user or role explicitly overrides these settings. If
1178
+ # this field is omitted, the setting is changed only for the
1179
+ # authenticated user.
1181
1180
  #
1182
1181
  # @return [Types::DeleteAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1183
1182
  #
@@ -1223,13 +1222,13 @@ module Aws::ECS
1223
1222
  # @example Request syntax with placeholder values
1224
1223
  #
1225
1224
  # resp = client.delete_account_setting({
1226
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat
1225
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
1227
1226
  # principal_arn: "String",
1228
1227
  # })
1229
1228
  #
1230
1229
  # @example Response structure
1231
1230
  #
1232
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat"
1231
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
1233
1232
  # resp.setting.value #=> String
1234
1233
  # resp.setting.principal_arn #=> String
1235
1234
  #
@@ -1536,7 +1535,7 @@ module Aws::ECS
1536
1535
  #
1537
1536
  #
1538
1537
  #
1539
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1538
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
1540
1539
  #
1541
1540
  # @option params [required, String] :cluster
1542
1541
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -1644,8 +1643,7 @@ module Aws::ECS
1644
1643
  # the Region of the container instance, the AWS account ID of the
1645
1644
  # container instance owner, the `container-instance` namespace, and then
1646
1645
  # the container instance ID. For example,
1647
- # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
1648
- # `.
1646
+ # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
1649
1647
  #
1650
1648
  # @option params [Boolean] :force
1651
1649
  # Forces the deregistration of the container instance. If you have tasks
@@ -1715,6 +1713,7 @@ module Aws::ECS
1715
1713
  # resp.container_instance.registered_resources[0].string_set_value #=> Array
1716
1714
  # resp.container_instance.registered_resources[0].string_set_value[0] #=> String
1717
1715
  # resp.container_instance.status #=> String
1716
+ # resp.container_instance.status_reason #=> String
1718
1717
  # resp.container_instance.agent_connected #=> Boolean
1719
1718
  # resp.container_instance.running_tasks_count #=> Integer
1720
1719
  # resp.container_instance.pending_tasks_count #=> Integer
@@ -2022,7 +2021,9 @@ module Aws::ECS
2022
2021
  # @option params [String] :cluster
2023
2022
  # The short name or full Amazon Resource Name (ARN) of the cluster that
2024
2023
  # hosts the container instances to describe. If you do not specify a
2025
- # cluster, the default cluster is assumed.
2024
+ # cluster, the default cluster is assumed. This parameter is required if
2025
+ # the container instance or container instances you are describing were
2026
+ # launched in any cluster other than the default cluster.
2026
2027
  #
2027
2028
  # @option params [required, Array<String>] :container_instances
2028
2029
  # A list of up to 100 container instance IDs or full Amazon Resource
@@ -2161,6 +2162,7 @@ module Aws::ECS
2161
2162
  # resp.container_instances[0].registered_resources[0].string_set_value #=> Array
2162
2163
  # resp.container_instances[0].registered_resources[0].string_set_value[0] #=> String
2163
2164
  # resp.container_instances[0].status #=> String
2165
+ # resp.container_instances[0].status_reason #=> String
2164
2166
  # resp.container_instances[0].agent_connected #=> Boolean
2165
2167
  # resp.container_instances[0].running_tasks_count #=> Integer
2166
2168
  # resp.container_instances[0].pending_tasks_count #=> Integer
@@ -2199,7 +2201,9 @@ module Aws::ECS
2199
2201
  # @option params [String] :cluster
2200
2202
  # The short name or full Amazon Resource Name (ARN)the cluster that
2201
2203
  # hosts the service to describe. If you do not specify a cluster, the
2202
- # default cluster is assumed.
2204
+ # default cluster is assumed. This parameter is required if the service
2205
+ # or services you are describing were launched in any cluster other than
2206
+ # the default cluster.
2203
2207
  #
2204
2208
  # @option params [required, Array<String>] :services
2205
2209
  # A list of services to describe. You may specify up to 10 services to
@@ -2641,7 +2645,7 @@ module Aws::ECS
2641
2645
  #
2642
2646
  #
2643
2647
  #
2644
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
2648
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
2645
2649
  #
2646
2650
  # @option params [required, String] :cluster
2647
2651
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -2721,8 +2725,10 @@ module Aws::ECS
2721
2725
  #
2722
2726
  # @option params [String] :cluster
2723
2727
  # The short name or full Amazon Resource Name (ARN) of the cluster that
2724
- # hosts the task to describe. If you do not specify a cluster, the
2725
- # default cluster is assumed.
2728
+ # hosts the task or tasks to describe. If you do not specify a cluster,
2729
+ # the default cluster is assumed. This parameter is required if the task
2730
+ # or tasks you are describing were launched in any cluster other than
2731
+ # the default cluster.
2726
2732
  #
2727
2733
  # @option params [required, Array<String>] :tasks
2728
2734
  # A list of up to 100 task IDs or full ARN entries.
@@ -2896,8 +2902,7 @@ module Aws::ECS
2896
2902
  # the container instance, the AWS account ID of the container instance
2897
2903
  # owner, the `container-instance` namespace, and then the container
2898
2904
  # instance ID. For example,
2899
- # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID
2900
- # `.
2905
+ # `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
2901
2906
  #
2902
2907
  # @option params [String] :cluster
2903
2908
  # The short name or full Amazon Resource Name (ARN) of the cluster to
@@ -2929,8 +2934,7 @@ module Aws::ECS
2929
2934
  req.send_request(options)
2930
2935
  end
2931
2936
 
2932
- # Lists the account settings for an Amazon ECS resource for a specified
2933
- # principal.
2937
+ # Lists the account settings for a specified principal.
2934
2938
  #
2935
2939
  # @option params [String] :name
2936
2940
  # The resource name you want to list the account settings for.
@@ -2947,7 +2951,7 @@ module Aws::ECS
2947
2951
  # @option params [Boolean] :effective_settings
2948
2952
  # Specifies whether to return the effective settings. If `true`, the
2949
2953
  # account settings for the root user or the default setting for the
2950
- # `principalArn`. If `false`, the account settings for the
2954
+ # `principalArn` are returned. If `false`, the account settings for the
2951
2955
  # `principalArn` are returned if they are set. Otherwise, no account
2952
2956
  # settings are returned.
2953
2957
  #
@@ -3043,7 +3047,7 @@ module Aws::ECS
3043
3047
  # @example Request syntax with placeholder values
3044
3048
  #
3045
3049
  # resp = client.list_account_settings({
3046
- # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat
3050
+ # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
3047
3051
  # value: "String",
3048
3052
  # principal_arn: "String",
3049
3053
  # effective_settings: false,
@@ -3054,7 +3058,7 @@ module Aws::ECS
3054
3058
  # @example Response structure
3055
3059
  #
3056
3060
  # resp.settings #=> Array
3057
- # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat"
3061
+ # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
3058
3062
  # resp.settings[0].value #=> String
3059
3063
  # resp.settings[0].principal_arn #=> String
3060
3064
  # resp.next_token #=> String
@@ -3269,7 +3273,7 @@ module Aws::ECS
3269
3273
  # the `DRAINING` status, the results include only container instances
3270
3274
  # that have been set to `DRAINING` using UpdateContainerInstancesState.
3271
3275
  # If you do not specify this parameter, the default is to include
3272
- # container instances set to `ACTIVE` and `DRAINING`.
3276
+ # container instances set to all states other than `INACTIVE`.
3273
3277
  #
3274
3278
  # @return [Types::ListContainerInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3275
3279
  #
@@ -3300,7 +3304,7 @@ module Aws::ECS
3300
3304
  # filter: "String",
3301
3305
  # next_token: "String",
3302
3306
  # max_results: 1,
3303
- # status: "ACTIVE", # accepts ACTIVE, DRAINING
3307
+ # status: "ACTIVE", # accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
3304
3308
  # })
3305
3309
  #
3306
3310
  # @example Response structure
@@ -3824,29 +3828,44 @@ module Aws::ECS
3824
3828
  req.send_request(options)
3825
3829
  end
3826
3830
 
3827
- # Modifies the ARN and resource ID format of a resource type for a
3828
- # specified IAM user, IAM role, or the root user for an account. If the
3829
- # account setting for the root user is changed, it sets the default
3830
- # setting for all of the IAM users and roles for which no individual
3831
- # account setting has been set. The opt-in and opt-out account setting
3832
- # can be set for each Amazon ECS resource separately. The ARN and
3831
+ # Modifies an account setting. For more information, see [Account
3832
+ # Settings][1] in the *Amazon Elastic Container Service Developer
3833
+ # Guide*.
3834
+ #
3835
+ # When `serviceLongArnFormat`, `taskLongArnFormat`, or
3836
+ # `containerInstanceLongArnFormat` are specified, the ARN and resource
3837
+ # ID format of the resource type for a specified IAM user, IAM role, or
3838
+ # the root user for an account is changed. If you change the account
3839
+ # setting for the root user, the default settings for all of the IAM
3840
+ # users and roles for which no individual account setting has been
3841
+ # specified are reset. The opt-in and opt-out account setting can be
3842
+ # specified for each Amazon ECS resource separately. The ARN and
3833
3843
  # resource ID format of a resource will be defined by the opt-in status
3834
- # of the IAM user or role that created the resource. Enabling this
3835
- # setting is required to use new Amazon ECS features such as resource
3836
- # tagging. For more information, see [Amazon Resource Names (ARNs) and
3837
- # IDs][1] in the *Amazon Elastic Container Service Developer Guide*.
3844
+ # of the IAM user or role that created the resource. You must enable
3845
+ # this setting to use Amazon ECS features such as resource tagging.
3846
+ #
3847
+ # When `awsvpcTrunking` is specified, the elastic network interface
3848
+ # (ENI) limit for any new container instances that support the feature
3849
+ # is changed. If `awsvpcTrunking` is enabled, any new container
3850
+ # instances that support the feature are launched have the increased ENI
3851
+ # limits available to them. For more information, see [Elastic Network
3852
+ # Interface Trunking][2] in the *Amazon Elastic Container Service
3853
+ # Developer Guide*.
3838
3854
  #
3839
3855
  #
3840
3856
  #
3841
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-resource-ids.html
3857
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
3858
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
3842
3859
  #
3843
3860
  # @option params [required, String] :name
3844
- # The resource name for which to enable the new format. If
3861
+ # The resource name for which to modify the account setting. If
3845
3862
  # `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
3846
3863
  # services is affected. If `taskLongArnFormat` is specified, the ARN and
3847
3864
  # resource ID for your Amazon ECS tasks is affected. If
3848
3865
  # `containerInstanceLongArnFormat` is specified, the ARN and resource ID
3849
- # for your Amazon ECS container instances is affected.
3866
+ # for your Amazon ECS container instances is affected. If
3867
+ # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
3868
+ # container instances is affected.
3850
3869
  #
3851
3870
  # @option params [required, String] :value
3852
3871
  # The account setting value for the specified principal ARN. Accepted
@@ -3854,11 +3873,11 @@ module Aws::ECS
3854
3873
  #
3855
3874
  # @option params [String] :principal_arn
3856
3875
  # The ARN of the principal, which can be an IAM user, IAM role, or the
3857
- # root user. If you specify the root user, it modifies the ARN and
3858
- # resource ID format for all IAM users, IAM roles, and the root user of
3859
- # the account unless an IAM user or role explicitly overrides these
3860
- # settings for themselves. If this field is omitted, the settings are
3861
- # changed only for the authenticated user.
3876
+ # root user. If you specify the root user, it modifies the account
3877
+ # setting for all IAM users, IAM roles, and the root user of the account
3878
+ # unless an IAM user or role explicitly overrides these settings. If
3879
+ # this field is omitted, the setting is changed only for the
3880
+ # authenticated user.
3862
3881
  #
3863
3882
  # @return [Types::PutAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3864
3883
  #
@@ -3909,14 +3928,14 @@ module Aws::ECS
3909
3928
  # @example Request syntax with placeholder values
3910
3929
  #
3911
3930
  # resp = client.put_account_setting({
3912
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat
3931
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
3913
3932
  # value: "String", # required
3914
3933
  # principal_arn: "String",
3915
3934
  # })
3916
3935
  #
3917
3936
  # @example Response structure
3918
3937
  #
3919
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat"
3938
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
3920
3939
  # resp.setting.value #=> String
3921
3940
  # resp.setting.principal_arn #=> String
3922
3941
  #
@@ -3929,18 +3948,18 @@ module Aws::ECS
3929
3948
  req.send_request(options)
3930
3949
  end
3931
3950
 
3932
- # Modifies the ARN and resource ID format of a resource type for all IAM
3933
- # users on an account for which no individual account setting has been
3934
- # set. Enabling this setting is required to use new Amazon ECS features
3935
- # such as resource tagging.
3951
+ # Modifies an account setting for all IAM users on an account for whom
3952
+ # no individual account setting has been specified.
3936
3953
  #
3937
3954
  # @option params [required, String] :name
3938
- # The resource type to enable the new format for. If
3955
+ # The resource name for which to modify the account setting. If
3939
3956
  # `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
3940
3957
  # services is affected. If `taskLongArnFormat` is specified, the ARN and
3941
- # resource ID for your Amazon ECS tasks are affected. If
3958
+ # resource ID for your Amazon ECS tasks is affected. If
3942
3959
  # `containerInstanceLongArnFormat` is specified, the ARN and resource ID
3943
- # for your Amazon ECS container instances are affected.
3960
+ # for your Amazon ECS container instances is affected. If
3961
+ # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
3962
+ # container instances is affected.
3944
3963
  #
3945
3964
  # @option params [required, String] :value
3946
3965
  # The account setting value for the specified principal ARN. Accepted
@@ -3974,13 +3993,13 @@ module Aws::ECS
3974
3993
  # @example Request syntax with placeholder values
3975
3994
  #
3976
3995
  # resp = client.put_account_setting_default({
3977
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat
3996
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
3978
3997
  # value: "String", # required
3979
3998
  # })
3980
3999
  #
3981
4000
  # @example Response structure
3982
4001
  #
3983
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat"
4002
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
3984
4003
  # resp.setting.value #=> String
3985
4004
  # resp.setting.principal_arn #=> String
3986
4005
  #
@@ -4171,6 +4190,7 @@ module Aws::ECS
4171
4190
  # resp.container_instance.registered_resources[0].string_set_value #=> Array
4172
4191
  # resp.container_instance.registered_resources[0].string_set_value[0] #=> String
4173
4192
  # resp.container_instance.status #=> String
4193
+ # resp.container_instance.status_reason #=> String
4174
4194
  # resp.container_instance.agent_connected #=> Boolean
4175
4195
  # resp.container_instance.running_tasks_count #=> Integer
4176
4196
  # resp.container_instance.pending_tasks_count #=> Integer
@@ -4230,13 +4250,13 @@ module Aws::ECS
4230
4250
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html
4231
4251
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
4232
4252
  # [3]: https://docs.docker.com/engine/reference/run/#/network-settings
4233
- # [4]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
4253
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
4234
4254
  #
4235
4255
  # @option params [required, String] :family
4236
4256
  # You must specify a `family` for a task definition, which allows you to
4237
4257
  # track multiple versions of the same task definition. The `family` is
4238
4258
  # used as a name for your task definition. Up to 255 letters (uppercase
4239
- # and lowercase), numbers, hyphens, and underscores are allowed.
4259
+ # and lowercase), numbers, and hyphens are allowed.
4240
4260
  #
4241
4261
  # @option params [String] :task_role_arn
4242
4262
  # The short name or full Amazon Resource Name (ARN) of the IAM role that
@@ -4299,7 +4319,7 @@ module Aws::ECS
4299
4319
  #
4300
4320
  #
4301
4321
  #
4302
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
4322
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
4303
4323
  # [2]: https://docs.docker.com/engine/reference/run/#network-settings
4304
4324
  #
4305
4325
  # @option params [required, Array<Types::ContainerDefinition>] :container_definitions
@@ -4458,7 +4478,7 @@ module Aws::ECS
4458
4478
  #
4459
4479
  # [1]: https://docs.docker.com/engine/reference/run/#ipc-settings---ipc
4460
4480
  # [2]: https://docs.docker.com/engine/security/security/
4461
- # [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
4481
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
4462
4482
  #
4463
4483
  # @option params [Types::ProxyConfiguration] :proxy_configuration
4464
4484
  # The configuration details for the App Mesh proxy.
@@ -4472,13 +4492,12 @@ module Aws::ECS
4472
4492
  # see [Amazon ECS-optimized Linux AMI][1] in the *Amazon Elastic
4473
4493
  # Container Service Developer Guide*.
4474
4494
  #
4475
- # This parameter is available for tasks using the Fargate launch type in
4476
- # the Ohio (us-east-2) region only and the task or service requires
4495
+ # For tasks using the Fargate launch type, the task or service requires
4477
4496
  # platform version 1.3.0 or later.
4478
4497
  #
4479
4498
  #
4480
4499
  #
4481
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
4500
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
4482
4501
  #
4483
4502
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4484
4503
  #
@@ -4999,7 +5018,7 @@ module Aws::ECS
4999
5018
  #
5000
5019
  #
5001
5020
  #
5002
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
5021
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
5003
5022
  #
5004
5023
  # @option params [Array<Types::Tag>] :tags
5005
5024
  # The metadata that you apply to the task to help you categorize and
@@ -5015,7 +5034,7 @@ module Aws::ECS
5015
5034
  #
5016
5035
  #
5017
5036
  #
5018
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
5037
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
5019
5038
  #
5020
5039
  # @option params [String] :propagate_tags
5021
5040
  # Specifies whether to propagate the tags from the task definition to
@@ -5300,7 +5319,7 @@ module Aws::ECS
5300
5319
  #
5301
5320
  #
5302
5321
  #
5303
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
5322
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
5304
5323
  #
5305
5324
  # @option params [String] :propagate_tags
5306
5325
  # Specifies whether to propagate the tags from the task definition or
@@ -5582,6 +5601,49 @@ module Aws::ECS
5582
5601
  req.send_request(options)
5583
5602
  end
5584
5603
 
5604
+ # <note markdown="1"> This action is only used by the Amazon ECS agent, and it is not
5605
+ # intended for use outside of the agent.
5606
+ #
5607
+ # </note>
5608
+ #
5609
+ # Sent to acknowledge that an attachment changed states.
5610
+ #
5611
+ # @option params [String] :cluster
5612
+ # The short name or full ARN of the cluster that hosts the container
5613
+ # instance the attachment belongs to.
5614
+ #
5615
+ # @option params [required, Array<Types::AttachmentStateChange>] :attachments
5616
+ # Any attachments associated with the state change request.
5617
+ #
5618
+ # @return [Types::SubmitAttachmentStateChangesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5619
+ #
5620
+ # * {Types::SubmitAttachmentStateChangesResponse#acknowledgment #acknowledgment} => String
5621
+ #
5622
+ # @example Request syntax with placeholder values
5623
+ #
5624
+ # resp = client.submit_attachment_state_changes({
5625
+ # cluster: "String",
5626
+ # attachments: [ # required
5627
+ # {
5628
+ # attachment_arn: "String", # required
5629
+ # status: "String", # required
5630
+ # },
5631
+ # ],
5632
+ # })
5633
+ #
5634
+ # @example Response structure
5635
+ #
5636
+ # resp.acknowledgment #=> String
5637
+ #
5638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges AWS API Documentation
5639
+ #
5640
+ # @overload submit_attachment_state_changes(params = {})
5641
+ # @param [Hash] params ({})
5642
+ def submit_attachment_state_changes(params = {}, options = {})
5643
+ req = build_request(:submit_attachment_state_changes, params)
5644
+ req.send_request(options)
5645
+ end
5646
+
5585
5647
  # <note markdown="1"> This action is only used by the Amazon ECS agent, and it is not
5586
5648
  # intended for use outside of the agent.
5587
5649
  #
@@ -5897,6 +5959,7 @@ module Aws::ECS
5897
5959
  # resp.container_instance.registered_resources[0].string_set_value #=> Array
5898
5960
  # resp.container_instance.registered_resources[0].string_set_value[0] #=> String
5899
5961
  # resp.container_instance.status #=> String
5962
+ # resp.container_instance.status_reason #=> String
5900
5963
  # resp.container_instance.agent_connected #=> Boolean
5901
5964
  # resp.container_instance.running_tasks_count #=> Integer
5902
5965
  # resp.container_instance.pending_tasks_count #=> Integer
@@ -5929,10 +5992,14 @@ module Aws::ECS
5929
5992
 
5930
5993
  # Modifies the status of an Amazon ECS container instance.
5931
5994
  #
5932
- # You can change the status of a container instance to `DRAINING` to
5933
- # manually remove an instance from a cluster, for example to perform
5934
- # system updates, update the Docker daemon, or scale down the cluster
5935
- # size.
5995
+ # Once a container instance has reached an `ACTIVE` state, you can
5996
+ # change the status of a container instance to `DRAINING` to manually
5997
+ # remove an instance from a cluster, for example to perform system
5998
+ # updates, update the Docker daemon, or scale down the cluster size.
5999
+ #
6000
+ # A container instance cannot be changed to `DRAINING` until it has
6001
+ # reached an `ACTIVE` status. If the instance is in any other status, an
6002
+ # error will be received.
5936
6003
  #
5937
6004
  # When you set a container instance to `DRAINING`, Amazon ECS prevents
5938
6005
  # new tasks from being scheduled for placement on the container instance
@@ -5974,8 +6041,9 @@ module Aws::ECS
5974
6041
  # A container instance has completed draining when it has no more
5975
6042
  # `RUNNING` tasks. You can verify this using ListTasks.
5976
6043
  #
5977
- # When you set a container instance to `ACTIVE`, the Amazon ECS
5978
- # scheduler can begin scheduling tasks on the instance again.
6044
+ # When a container instance has been drained, you can set a container
6045
+ # instance to `ACTIVE` status and once it has reached that status the
6046
+ # Amazon ECS scheduler can begin scheduling tasks on the instance again.
5979
6047
  #
5980
6048
  # @option params [String] :cluster
5981
6049
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -5987,7 +6055,12 @@ module Aws::ECS
5987
6055
  #
5988
6056
  # @option params [required, String] :status
5989
6057
  # The container instance state with which to update the container
5990
- # instance.
6058
+ # instance. The only valid values for this action are `ACTIVE` and
6059
+ # `DRAINING`. A container instance can only be updated to `DRAINING`
6060
+ # status once it has reached an `ACTIVE` state. If a container instance
6061
+ # is in `REGISTERING`, `DEREGISTERING`, or `REGISTRATION_FAILED` state
6062
+ # you can describe the container instance but will be unable to update
6063
+ # the container instance state.
5991
6064
  #
5992
6065
  # @return [Types::UpdateContainerInstancesStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5993
6066
  #
@@ -5999,7 +6072,7 @@ module Aws::ECS
5999
6072
  # resp = client.update_container_instances_state({
6000
6073
  # cluster: "String",
6001
6074
  # container_instances: ["String"], # required
6002
- # status: "ACTIVE", # required, accepts ACTIVE, DRAINING
6075
+ # status: "ACTIVE", # required, accepts ACTIVE, DRAINING, REGISTERING, DEREGISTERING, REGISTRATION_FAILED
6003
6076
  # })
6004
6077
  #
6005
6078
  # @example Response structure
@@ -6028,6 +6101,7 @@ module Aws::ECS
6028
6101
  # resp.container_instances[0].registered_resources[0].string_set_value #=> Array
6029
6102
  # resp.container_instances[0].registered_resources[0].string_set_value[0] #=> String
6030
6103
  # resp.container_instances[0].status #=> String
6104
+ # resp.container_instances[0].status_reason #=> String
6031
6105
  # resp.container_instances[0].agent_connected #=> Boolean
6032
6106
  # resp.container_instances[0].running_tasks_count #=> Integer
6033
6107
  # resp.container_instances[0].pending_tasks_count #=> Integer
@@ -6212,7 +6286,7 @@ module Aws::ECS
6212
6286
  #
6213
6287
  #
6214
6288
  #
6215
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
6289
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
6216
6290
  #
6217
6291
  # @option params [String] :platform_version
6218
6292
  # The platform version on which your tasks in the service are running. A
@@ -6420,7 +6494,7 @@ module Aws::ECS
6420
6494
  #
6421
6495
  #
6422
6496
  #
6423
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
6497
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
6424
6498
  #
6425
6499
  # @option params [required, String] :cluster
6426
6500
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -6499,7 +6573,7 @@ module Aws::ECS
6499
6573
  #
6500
6574
  #
6501
6575
  #
6502
- # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
6576
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
6503
6577
  #
6504
6578
  # @option params [required, String] :cluster
6505
6579
  # The short name or full Amazon Resource Name (ARN) of the cluster that
@@ -6592,7 +6666,7 @@ module Aws::ECS
6592
6666
  params: params,
6593
6667
  config: config)
6594
6668
  context[:gem_name] = 'aws-sdk-ecs'
6595
- context[:gem_version] = '1.40.0'
6669
+ context[:gem_version] = '1.41.0'
6596
6670
  Seahorse::Client::Request.new(handlers, context)
6597
6671
  end
6598
6672