aws-sdk-ecs 1.83.0 → 1.84.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +29 -21
- data/lib/aws-sdk-ecs/types.rb +53 -33
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d78e0eeeb6faf3d55148ef4d32e5b24674a62cbd067f9cc496494f1ad3cefb17
|
4
|
+
data.tar.gz: 98cbf5a074ad894e02a5b70a576f258c4cb6660c2549c7c2f75735d4532942f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae6fe3f5b57df0fec9e0bdaed2e08d6645dd426ce5422c1bb679e32907585229b1c93150a60ff2ae9d709f27967c6417336eea680c87c58320e2413e8c9d0414
|
7
|
+
data.tar.gz: 521478a2bf843e71186d6abc09f4dc5f30ee295d9df2f3724d25d71870ffeefeeb1c886ab3d45d21002c5399ed3d7738ce7bd51d68dbee3da31bdc3f0296683a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -528,7 +528,7 @@ module Aws::ECS
|
|
528
528
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
529
529
|
# The capacity provider strategy to set as the default for the cluster.
|
530
530
|
# When a default capacity provider strategy is set for a cluster, when
|
531
|
-
# calling the RunTask or CreateService APIs
|
531
|
+
# calling the RunTask or CreateService APIs with no capacity provider
|
532
532
|
# strategy or launch type specified, the default capacity provider
|
533
533
|
# strategy for the cluster is used.
|
534
534
|
#
|
@@ -913,6 +913,9 @@ module Aws::ECS
|
|
913
913
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
914
914
|
# the cluster is used.
|
915
915
|
#
|
916
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
917
|
+
# providers.
|
918
|
+
#
|
916
919
|
# @option params [String] :platform_version
|
917
920
|
# The platform version that your tasks in the service are running on. A
|
918
921
|
# platform version is specified only for tasks using the Fargate launch
|
@@ -966,7 +969,7 @@ module Aws::ECS
|
|
966
969
|
#
|
967
970
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
968
971
|
# The placement strategy objects to use for tasks in your service. You
|
969
|
-
# can specify a maximum of
|
972
|
+
# can specify a maximum of 5 strategy rules per service.
|
970
973
|
#
|
971
974
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
972
975
|
# The network configuration for the service. This parameter is required
|
@@ -2252,9 +2255,9 @@ module Aws::ECS
|
|
2252
2255
|
# @option params [required, String] :container_instance
|
2253
2256
|
# The container instance ID or full ARN of the container instance to
|
2254
2257
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
|
2255
|
-
# the Region of the container instance, the
|
2256
|
-
# instance owner, the `container-instance`
|
2257
|
-
# container instance ID. For example,
|
2258
|
+
# the Region of the container instance, the Amazon Web Services account
|
2259
|
+
# ID of the container instance owner, the `container-instance`
|
2260
|
+
# namespace, and then the container instance ID. For example,
|
2258
2261
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
2259
2262
|
#
|
2260
2263
|
# @option params [Boolean] :force
|
@@ -2661,6 +2664,9 @@ module Aws::ECS
|
|
2661
2664
|
#
|
2662
2665
|
# If `SETTINGS` is specified, the settings for the cluster are included.
|
2663
2666
|
#
|
2667
|
+
# If `CONFIGURATIONS` is specified, the configuration for the cluster is
|
2668
|
+
# included.
|
2669
|
+
#
|
2664
2670
|
# If `STATISTICS` is specified, the task and service count is included,
|
2665
2671
|
# separated by launch type.
|
2666
2672
|
#
|
@@ -3746,9 +3752,9 @@ module Aws::ECS
|
|
3746
3752
|
# @option params [String] :container_instance
|
3747
3753
|
# The container instance ID or full ARN of the container instance. The
|
3748
3754
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
3749
|
-
# the container instance, the account ID of the
|
3750
|
-
# owner, the `container-instance` namespace, and then
|
3751
|
-
# instance ID. For example,
|
3755
|
+
# the container instance, the Amazon Web Services account ID of the
|
3756
|
+
# container instance owner, the `container-instance` namespace, and then
|
3757
|
+
# the container instance ID. For example,
|
3752
3758
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
3753
3759
|
#
|
3754
3760
|
# @option params [String] :cluster
|
@@ -6156,6 +6162,9 @@ module Aws::ECS
|
|
6156
6162
|
# When you use cluster auto scaling, you must specify
|
6157
6163
|
# `capacityProviderStrategy` and not `launchType`.
|
6158
6164
|
#
|
6165
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
6166
|
+
# providers.
|
6167
|
+
#
|
6159
6168
|
# @option params [String] :cluster
|
6160
6169
|
# The short name or full Amazon Resource Name (ARN) of the cluster on
|
6161
6170
|
# which to run your task. If you do not specify a cluster, the default
|
@@ -6182,7 +6191,7 @@ module Aws::ECS
|
|
6182
6191
|
# @option params [String] :group
|
6183
6192
|
# The name of the task group to associate with the task. The default
|
6184
6193
|
# value is the family name of the task definition (for example,
|
6185
|
-
# family:my-family-name).
|
6194
|
+
# `family:my-family-name`).
|
6186
6195
|
#
|
6187
6196
|
# @option params [String] :launch_type
|
6188
6197
|
# The infrastructure on which to run your standalone task. For more
|
@@ -6220,7 +6229,7 @@ module Aws::ECS
|
|
6220
6229
|
# The network configuration for the task. This parameter is required for
|
6221
6230
|
# task definitions that use the `awsvpc` network mode to receive their
|
6222
6231
|
# own elastic network interface, and it is not supported for other
|
6223
|
-
# network modes. For more information, see [Task
|
6232
|
+
# network modes. For more information, see [Task networking][1] in the
|
6224
6233
|
# *Amazon Elastic Container Service Developer Guide*.
|
6225
6234
|
#
|
6226
6235
|
#
|
@@ -6237,11 +6246,9 @@ module Aws::ECS
|
|
6237
6246
|
# on a container or add new environment variables to it with an
|
6238
6247
|
# `environment` override.
|
6239
6248
|
#
|
6240
|
-
#
|
6249
|
+
# A total of 8192 characters are allowed for overrides. This limit
|
6241
6250
|
# includes the JSON formatting characters of the override structure.
|
6242
6251
|
#
|
6243
|
-
# </note>
|
6244
|
-
#
|
6245
6252
|
# @option params [Array<Types::PlacementConstraint>] :placement_constraints
|
6246
6253
|
# An array of placement constraint objects to use for the task. You can
|
6247
6254
|
# specify up to 10 constraints per task (including constraints in the
|
@@ -6249,14 +6256,14 @@ module Aws::ECS
|
|
6249
6256
|
#
|
6250
6257
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
6251
6258
|
# The placement strategy objects to use for the task. You can specify a
|
6252
|
-
# maximum of
|
6259
|
+
# maximum of 5 strategy rules per task.
|
6253
6260
|
#
|
6254
6261
|
# @option params [String] :platform_version
|
6255
|
-
# The platform version the task should
|
6256
|
-
# specified for tasks
|
6257
|
-
#
|
6258
|
-
#
|
6259
|
-
#
|
6262
|
+
# The platform version the task should use. A platform version is only
|
6263
|
+
# specified for tasks hosted on Fargate. If one is not specified, the
|
6264
|
+
# `LATEST` platform version is used by default. For more information,
|
6265
|
+
# see [Fargate platform versions][1] in the *Amazon Elastic Container
|
6266
|
+
# Service Developer Guide*.
|
6260
6267
|
#
|
6261
6268
|
#
|
6262
6269
|
#
|
@@ -6274,7 +6281,8 @@ module Aws::ECS
|
|
6274
6281
|
# </note>
|
6275
6282
|
#
|
6276
6283
|
# @option params [String] :reference_id
|
6277
|
-
# The reference ID to use for the task.
|
6284
|
+
# The reference ID to use for the task. The reference ID can have a
|
6285
|
+
# maximum length of 1024 characters.
|
6278
6286
|
#
|
6279
6287
|
# @option params [String] :started_by
|
6280
6288
|
# An optional tag specified when a task is started. For example, if you
|
@@ -8491,7 +8499,7 @@ module Aws::ECS
|
|
8491
8499
|
params: params,
|
8492
8500
|
config: config)
|
8493
8501
|
context[:gem_name] = 'aws-sdk-ecs'
|
8494
|
-
context[:gem_version] = '1.
|
8502
|
+
context[:gem_version] = '1.84.0'
|
8495
8503
|
Seahorse::Client::Request.new(handlers, context)
|
8496
8504
|
end
|
8497
8505
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -426,6 +426,9 @@ module Aws::ECS
|
|
426
426
|
# available to all accounts and only need to be associated with a
|
427
427
|
# cluster to be used in a capacity provider strategy.
|
428
428
|
#
|
429
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
430
|
+
# providers.
|
431
|
+
#
|
429
432
|
# @note When making an API call, you may pass CapacityProviderStrategyItem
|
430
433
|
# data as a hash:
|
431
434
|
#
|
@@ -505,8 +508,8 @@ module Aws::ECS
|
|
505
508
|
# @!attribute [rw] cluster_arn
|
506
509
|
# The Amazon Resource Name (ARN) that identifies the cluster. The ARN
|
507
510
|
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
508
|
-
# cluster, the account ID of the cluster owner,
|
509
|
-
# namespace, and then the cluster name. For example,
|
511
|
+
# cluster, the Amazon Web Services account ID of the cluster owner,
|
512
|
+
# the `cluster` namespace, and then the cluster name. For example,
|
510
513
|
# `arn:aws:ecs:region:012345678910:cluster/test`.
|
511
514
|
# @return [String]
|
512
515
|
#
|
@@ -2054,9 +2057,9 @@ module Aws::ECS
|
|
2054
2057
|
# @!attribute [rw] container_instance_arn
|
2055
2058
|
# The Amazon Resource Name (ARN) of the container instance. The ARN
|
2056
2059
|
# contains the `arn:aws:ecs` namespace, followed by the Region of the
|
2057
|
-
# container instance, the account ID of the
|
2058
|
-
# the `container-instance` namespace, and
|
2059
|
-
# ID. For example,
|
2060
|
+
# container instance, the Amazon Web Services account ID of the
|
2061
|
+
# container instance owner, the `container-instance` namespace, and
|
2062
|
+
# then the container instance ID. For example,
|
2060
2063
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
2061
2064
|
# @return [String]
|
2062
2065
|
#
|
@@ -2600,7 +2603,7 @@ module Aws::ECS
|
|
2600
2603
|
# @!attribute [rw] default_capacity_provider_strategy
|
2601
2604
|
# The capacity provider strategy to set as the default for the
|
2602
2605
|
# cluster. When a default capacity provider strategy is set for a
|
2603
|
-
# cluster, when calling the RunTask or CreateService APIs
|
2606
|
+
# cluster, when calling the RunTask or CreateService APIs with no
|
2604
2607
|
# capacity provider strategy or launch type specified, the default
|
2605
2608
|
# capacity provider strategy for the cluster is used.
|
2606
2609
|
#
|
@@ -2862,6 +2865,9 @@ module Aws::ECS
|
|
2862
2865
|
# parameter must be omitted. If no `capacityProviderStrategy` or
|
2863
2866
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
2864
2867
|
# the cluster is used.
|
2868
|
+
#
|
2869
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
2870
|
+
# providers.
|
2865
2871
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
2866
2872
|
#
|
2867
2873
|
# @!attribute [rw] platform_version
|
@@ -2924,7 +2930,7 @@ module Aws::ECS
|
|
2924
2930
|
#
|
2925
2931
|
# @!attribute [rw] placement_strategy
|
2926
2932
|
# The placement strategy objects to use for tasks in your service. You
|
2927
|
-
# can specify a maximum of
|
2933
|
+
# can specify a maximum of 5 strategy rules per service.
|
2928
2934
|
# @return [Array<Types::PlacementStrategy>]
|
2929
2935
|
#
|
2930
2936
|
# @!attribute [rw] network_configuration
|
@@ -3938,9 +3944,9 @@ module Aws::ECS
|
|
3938
3944
|
# @!attribute [rw] container_instance
|
3939
3945
|
# The container instance ID or full ARN of the container instance to
|
3940
3946
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed
|
3941
|
-
# by the Region of the container instance, the
|
3942
|
-
# container instance owner, the `container-instance`
|
3943
|
-
# then the container instance ID. For example,
|
3947
|
+
# by the Region of the container instance, the Amazon Web Services
|
3948
|
+
# account ID of the container instance owner, the `container-instance`
|
3949
|
+
# namespace, and then the container instance ID. For example,
|
3944
3950
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
3945
3951
|
# @return [String]
|
3946
3952
|
#
|
@@ -4126,6 +4132,9 @@ module Aws::ECS
|
|
4126
4132
|
# If `SETTINGS` is specified, the settings for the cluster are
|
4127
4133
|
# included.
|
4128
4134
|
#
|
4135
|
+
# If `CONFIGURATIONS` is specified, the configuration for the cluster
|
4136
|
+
# is included.
|
4137
|
+
#
|
4129
4138
|
# If `STATISTICS` is specified, the task and service count is
|
4130
4139
|
# included, separated by launch type.
|
4131
4140
|
#
|
@@ -4503,9 +4512,9 @@ module Aws::ECS
|
|
4503
4512
|
# @!attribute [rw] container_instance
|
4504
4513
|
# The container instance ID or full ARN of the container instance. The
|
4505
4514
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
4506
|
-
# the container instance, the account ID of the
|
4507
|
-
# owner, the `container-instance` namespace, and
|
4508
|
-
# instance ID. For example,
|
4515
|
+
# the container instance, the Amazon Web Services account ID of the
|
4516
|
+
# container instance owner, the `container-instance` namespace, and
|
4517
|
+
# then the container instance ID. For example,
|
4509
4518
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
4510
4519
|
# @return [String]
|
4511
4520
|
#
|
@@ -5298,10 +5307,19 @@ module Aws::ECS
|
|
5298
5307
|
# A string array representing the command that the container runs to
|
5299
5308
|
# determine if it is healthy. The string array must start with `CMD`
|
5300
5309
|
# to execute the command arguments directly, or `CMD-SHELL` to run the
|
5301
|
-
# command with the container's default shell.
|
5310
|
+
# command with the container's default shell.
|
5311
|
+
#
|
5312
|
+
# When you use the Amazon Web Services Management Console JSON panel,
|
5313
|
+
# the Command Line Interface, or the APIs, you should enclose the list
|
5314
|
+
# of commands in brackets, as shown below.
|
5302
5315
|
#
|
5303
5316
|
# `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`
|
5304
5317
|
#
|
5318
|
+
# You do not need to include the brackets when you use the Amazon Web
|
5319
|
+
# Services Management Consoleas shown below.
|
5320
|
+
#
|
5321
|
+
# ` "CMD-SHELL", "curl -f http://localhost/ || exit 1" `
|
5322
|
+
#
|
5305
5323
|
# An exit code of 0 indicates success, and non-zero exit code
|
5306
5324
|
# indicates failure. For more information, see `HealthCheck` in the
|
5307
5325
|
# [Create a container][1] section of the [Docker Remote API][2].
|
@@ -7070,11 +7088,11 @@ module Aws::ECS
|
|
7070
7088
|
# @return [String]
|
7071
7089
|
#
|
7072
7090
|
# @!attribute [rw] expression
|
7073
|
-
# A cluster query language expression to apply to the constraint.
|
7074
|
-
#
|
7075
|
-
#
|
7076
|
-
#
|
7077
|
-
# Guide*.
|
7091
|
+
# A cluster query language expression to apply to the constraint. The
|
7092
|
+
# expression can have a maximum length of 2000 characters. You can't
|
7093
|
+
# specify an expression if the constraint type is `distinctInstance`.
|
7094
|
+
# For more information, see [Cluster query language][1] in the *Amazon
|
7095
|
+
# Elastic Container Service Developer Guide*.
|
7078
7096
|
#
|
7079
7097
|
#
|
7080
7098
|
#
|
@@ -8579,6 +8597,9 @@ module Aws::ECS
|
|
8579
8597
|
#
|
8580
8598
|
# When you use cluster auto scaling, you must specify
|
8581
8599
|
# `capacityProviderStrategy` and not `launchType`.
|
8600
|
+
#
|
8601
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
8602
|
+
# providers.
|
8582
8603
|
# @return [Array<Types::CapacityProviderStrategyItem>]
|
8583
8604
|
#
|
8584
8605
|
# @!attribute [rw] cluster
|
@@ -8611,7 +8632,7 @@ module Aws::ECS
|
|
8611
8632
|
# @!attribute [rw] group
|
8612
8633
|
# The name of the task group to associate with the task. The default
|
8613
8634
|
# value is the family name of the task definition (for example,
|
8614
|
-
# family:my-family-name).
|
8635
|
+
# `family:my-family-name`).
|
8615
8636
|
# @return [String]
|
8616
8637
|
#
|
8617
8638
|
# @!attribute [rw] launch_type
|
@@ -8651,7 +8672,7 @@ module Aws::ECS
|
|
8651
8672
|
# The network configuration for the task. This parameter is required
|
8652
8673
|
# for task definitions that use the `awsvpc` network mode to receive
|
8653
8674
|
# their own elastic network interface, and it is not supported for
|
8654
|
-
# other network modes. For more information, see [Task
|
8675
|
+
# other network modes. For more information, see [Task networking][1]
|
8655
8676
|
# in the *Amazon Elastic Container Service Developer Guide*.
|
8656
8677
|
#
|
8657
8678
|
#
|
@@ -8669,10 +8690,8 @@ module Aws::ECS
|
|
8669
8690
|
# image) on a container or add new environment variables to it with an
|
8670
8691
|
# `environment` override.
|
8671
8692
|
#
|
8672
|
-
#
|
8693
|
+
# A total of 8192 characters are allowed for overrides. This limit
|
8673
8694
|
# includes the JSON formatting characters of the override structure.
|
8674
|
-
#
|
8675
|
-
# </note>
|
8676
8695
|
# @return [Types::TaskOverride]
|
8677
8696
|
#
|
8678
8697
|
# @!attribute [rw] placement_constraints
|
@@ -8683,15 +8702,15 @@ module Aws::ECS
|
|
8683
8702
|
#
|
8684
8703
|
# @!attribute [rw] placement_strategy
|
8685
8704
|
# The placement strategy objects to use for the task. You can specify
|
8686
|
-
# a maximum of
|
8705
|
+
# a maximum of 5 strategy rules per task.
|
8687
8706
|
# @return [Array<Types::PlacementStrategy>]
|
8688
8707
|
#
|
8689
8708
|
# @!attribute [rw] platform_version
|
8690
|
-
# The platform version the task should
|
8691
|
-
# specified for tasks
|
8692
|
-
#
|
8693
|
-
#
|
8694
|
-
#
|
8709
|
+
# The platform version the task should use. A platform version is only
|
8710
|
+
# specified for tasks hosted on Fargate. If one is not specified, the
|
8711
|
+
# `LATEST` platform version is used by default. For more information,
|
8712
|
+
# see [Fargate platform versions][1] in the *Amazon Elastic Container
|
8713
|
+
# Service Developer Guide*.
|
8695
8714
|
#
|
8696
8715
|
#
|
8697
8716
|
#
|
@@ -8711,7 +8730,8 @@ module Aws::ECS
|
|
8711
8730
|
# @return [String]
|
8712
8731
|
#
|
8713
8732
|
# @!attribute [rw] reference_id
|
8714
|
-
# The reference ID to use for the task.
|
8733
|
+
# The reference ID to use for the task. The reference ID can have a
|
8734
|
+
# maximum length of 1024 characters.
|
8715
8735
|
# @return [String]
|
8716
8736
|
#
|
8717
8737
|
# @!attribute [rw] started_by
|
@@ -8904,8 +8924,8 @@ module Aws::ECS
|
|
8904
8924
|
# @!attribute [rw] service_arn
|
8905
8925
|
# The ARN that identifies the service. The ARN contains the
|
8906
8926
|
# `arn:aws:ecs` namespace, followed by the Region of the service, the
|
8907
|
-
# account ID of the service owner, the `service`
|
8908
|
-
# the service name. For example,
|
8927
|
+
# Amazon Web Services account ID of the service owner, the `service`
|
8928
|
+
# namespace, and then the service name. For example,
|
8909
8929
|
# `arn:aws:ecs:region:012345678910:service/my-service`.
|
8910
8930
|
# @return [String]
|
8911
8931
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.84.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|