aws-sdk-ecs 1.43.0 → 1.44.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 +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +61 -27
- data/lib/aws-sdk-ecs/client_api.rb +11 -0
- data/lib/aws-sdk-ecs/types.rb +76 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ef8c3879eda85b43d19ae3398434af3ed7b053d
|
4
|
+
data.tar.gz: ee9525c37955aec76cb3627eb6d33a1b8ca7d19c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5141bb8e0a5e4d98dee6e906b55a5d28d2d7736268ee037deab90151ee17000b4049d127743aac4a0feb22f2efef8051094944727ab4a84852bb05a8ab86cad
|
7
|
+
data.tar.gz: e7e9e1b5e94592b5358683a43d9088eddccda9a2beccf3c706eb75d2766b521f5d9b2f794d7a20cccad8b24ccd89a9688deb2361de6f5e33df5527943f6e7294
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -295,6 +295,12 @@ module Aws::ECS
|
|
295
295
|
# 128 characters, and tag values can have a maximum length of 256
|
296
296
|
# characters.
|
297
297
|
#
|
298
|
+
# @option params [Array<Types::ClusterSetting>] :settings
|
299
|
+
# The setting to use when creating a cluster. This parameter is used to
|
300
|
+
# enable CloudWatch Container Insights for a cluster. If this value is
|
301
|
+
# specified, it will override the `containerInsights` value set with
|
302
|
+
# PutAccountSetting or PutAccountSettingDefault.
|
303
|
+
#
|
298
304
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
299
305
|
#
|
300
306
|
# * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
|
@@ -331,6 +337,12 @@ module Aws::ECS
|
|
331
337
|
# value: "TagValue",
|
332
338
|
# },
|
333
339
|
# ],
|
340
|
+
# settings: [
|
341
|
+
# {
|
342
|
+
# name: "containerInsights", # accepts containerInsights
|
343
|
+
# value: "String",
|
344
|
+
# },
|
345
|
+
# ],
|
334
346
|
# })
|
335
347
|
#
|
336
348
|
# @example Response structure
|
@@ -348,6 +360,9 @@ module Aws::ECS
|
|
348
360
|
# resp.cluster.tags #=> Array
|
349
361
|
# resp.cluster.tags[0].key #=> String
|
350
362
|
# resp.cluster.tags[0].value #=> String
|
363
|
+
# resp.cluster.settings #=> Array
|
364
|
+
# resp.cluster.settings[0].name #=> String, one of "containerInsights"
|
365
|
+
# resp.cluster.settings[0].value #=> String
|
351
366
|
#
|
352
367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster AWS API Documentation
|
353
368
|
#
|
@@ -1226,13 +1241,13 @@ module Aws::ECS
|
|
1226
1241
|
# @example Request syntax with placeholder values
|
1227
1242
|
#
|
1228
1243
|
# resp = client.delete_account_setting({
|
1229
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
1244
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
1230
1245
|
# principal_arn: "String",
|
1231
1246
|
# })
|
1232
1247
|
#
|
1233
1248
|
# @example Response structure
|
1234
1249
|
#
|
1235
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
|
1250
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights"
|
1236
1251
|
# resp.setting.value #=> String
|
1237
1252
|
# resp.setting.principal_arn #=> String
|
1238
1253
|
#
|
@@ -1349,6 +1364,9 @@ module Aws::ECS
|
|
1349
1364
|
# resp.cluster.tags #=> Array
|
1350
1365
|
# resp.cluster.tags[0].key #=> String
|
1351
1366
|
# resp.cluster.tags[0].value #=> String
|
1367
|
+
# resp.cluster.settings #=> Array
|
1368
|
+
# resp.cluster.settings[0].name #=> String, one of "containerInsights"
|
1369
|
+
# resp.cluster.settings[0].value #=> String
|
1352
1370
|
#
|
1353
1371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster AWS API Documentation
|
1354
1372
|
#
|
@@ -2005,6 +2023,9 @@ module Aws::ECS
|
|
2005
2023
|
# resp.clusters[0].tags #=> Array
|
2006
2024
|
# resp.clusters[0].tags[0].key #=> String
|
2007
2025
|
# resp.clusters[0].tags[0].value #=> String
|
2026
|
+
# resp.clusters[0].settings #=> Array
|
2027
|
+
# resp.clusters[0].settings[0].name #=> String, one of "containerInsights"
|
2028
|
+
# resp.clusters[0].settings[0].value #=> String
|
2008
2029
|
# resp.failures #=> Array
|
2009
2030
|
# resp.failures[0].arn #=> String
|
2010
2031
|
# resp.failures[0].reason #=> String
|
@@ -3051,7 +3072,7 @@ module Aws::ECS
|
|
3051
3072
|
# @example Request syntax with placeholder values
|
3052
3073
|
#
|
3053
3074
|
# resp = client.list_account_settings({
|
3054
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
3075
|
+
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
3055
3076
|
# value: "String",
|
3056
3077
|
# principal_arn: "String",
|
3057
3078
|
# effective_settings: false,
|
@@ -3062,7 +3083,7 @@ module Aws::ECS
|
|
3062
3083
|
# @example Response structure
|
3063
3084
|
#
|
3064
3085
|
# resp.settings #=> Array
|
3065
|
-
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
|
3086
|
+
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights"
|
3066
3087
|
# resp.settings[0].value #=> String
|
3067
3088
|
# resp.settings[0].principal_arn #=> String
|
3068
3089
|
# resp.next_token #=> String
|
@@ -3832,21 +3853,21 @@ module Aws::ECS
|
|
3832
3853
|
req.send_request(options)
|
3833
3854
|
end
|
3834
3855
|
|
3835
|
-
# Modifies an account setting.
|
3836
|
-
#
|
3837
|
-
#
|
3856
|
+
# Modifies an account setting. If you change the account setting for the
|
3857
|
+
# root user, the default settings for all of the IAM users and roles for
|
3858
|
+
# which no individual account setting has been specified are reset. For
|
3859
|
+
# more information, see [Account Settings][1] in the *Amazon Elastic
|
3860
|
+
# Container Service Developer Guide*.
|
3838
3861
|
#
|
3839
3862
|
# When `serviceLongArnFormat`, `taskLongArnFormat`, or
|
3840
|
-
# `containerInstanceLongArnFormat` are specified, the
|
3841
|
-
# ID format of the resource type for a specified
|
3842
|
-
# the root user for an account is
|
3843
|
-
#
|
3844
|
-
#
|
3845
|
-
#
|
3846
|
-
#
|
3847
|
-
#
|
3848
|
-
# of the IAM user or role that created the resource. You must enable
|
3849
|
-
# this setting to use Amazon ECS features such as resource tagging.
|
3863
|
+
# `containerInstanceLongArnFormat` are specified, the Amazon Resource
|
3864
|
+
# Name (ARN) and resource ID format of the resource type for a specified
|
3865
|
+
# IAM user, IAM role, or the root user for an account is affected. The
|
3866
|
+
# opt-in and opt-out account setting must be set for each Amazon ECS
|
3867
|
+
# resource separately. The ARN and resource ID format of a resource will
|
3868
|
+
# be defined by the opt-in status of the IAM user or role that created
|
3869
|
+
# the resource. You must enable this setting to use Amazon ECS features
|
3870
|
+
# such as resource tagging.
|
3850
3871
|
#
|
3851
3872
|
# When `awsvpcTrunking` is specified, the elastic network interface
|
3852
3873
|
# (ENI) limit for any new container instances that support the feature
|
@@ -3856,20 +3877,31 @@ module Aws::ECS
|
|
3856
3877
|
# Interface Trunking][2] in the *Amazon Elastic Container Service
|
3857
3878
|
# Developer Guide*.
|
3858
3879
|
#
|
3880
|
+
# When `containerInsights` is specified, the default setting indicating
|
3881
|
+
# whether CloudWatch Container Insights is enabled for your clusters is
|
3882
|
+
# changed. If `containerInsights` is enabled, any new clusters that are
|
3883
|
+
# created will have Container Insights enabled unless you disable it
|
3884
|
+
# during cluster creation. For more information, see [CloudWatch
|
3885
|
+
# Container Insights][3] in the *Amazon Elastic Container Service
|
3886
|
+
# Developer Guide*.
|
3887
|
+
#
|
3859
3888
|
#
|
3860
3889
|
#
|
3861
3890
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
|
3862
3891
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
|
3892
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
3863
3893
|
#
|
3864
3894
|
# @option params [required, String] :name
|
3865
|
-
# The resource name for which to modify the account setting.
|
3866
|
-
# `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
3895
|
+
# The Amazon ECS resource name for which to modify the account setting.
|
3896
|
+
# If `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
|
3867
3897
|
# services is affected. If `taskLongArnFormat` is specified, the ARN and
|
3868
3898
|
# resource ID for your Amazon ECS tasks is affected. If
|
3869
3899
|
# `containerInstanceLongArnFormat` is specified, the ARN and resource ID
|
3870
3900
|
# for your Amazon ECS container instances is affected. If
|
3871
|
-
# `awsvpcTrunking` is specified, the
|
3872
|
-
# container instances is affected.
|
3901
|
+
# `awsvpcTrunking` is specified, the elastic network interface (ENI)
|
3902
|
+
# limit for your Amazon ECS container instances is affected. If
|
3903
|
+
# `containerInsights` is specified, the default setting for CloudWatch
|
3904
|
+
# Container Insights for your clusters is affected.
|
3873
3905
|
#
|
3874
3906
|
# @option params [required, String] :value
|
3875
3907
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -3932,14 +3964,14 @@ module Aws::ECS
|
|
3932
3964
|
# @example Request syntax with placeholder values
|
3933
3965
|
#
|
3934
3966
|
# resp = client.put_account_setting({
|
3935
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
3967
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
3936
3968
|
# value: "String", # required
|
3937
3969
|
# principal_arn: "String",
|
3938
3970
|
# })
|
3939
3971
|
#
|
3940
3972
|
# @example Response structure
|
3941
3973
|
#
|
3942
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
|
3974
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights"
|
3943
3975
|
# resp.setting.value #=> String
|
3944
3976
|
# resp.setting.principal_arn #=> String
|
3945
3977
|
#
|
@@ -3963,7 +3995,9 @@ module Aws::ECS
|
|
3963
3995
|
# `containerInstanceLongArnFormat` is specified, the ARN and resource ID
|
3964
3996
|
# for your Amazon ECS container instances is affected. If
|
3965
3997
|
# `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
|
3966
|
-
# container instances is affected.
|
3998
|
+
# container instances is affected. If `containerInsights` is specified,
|
3999
|
+
# the default setting for CloudWatch Container Insights for your
|
4000
|
+
# clusters is affected.
|
3967
4001
|
#
|
3968
4002
|
# @option params [required, String] :value
|
3969
4003
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -3997,13 +4031,13 @@ module Aws::ECS
|
|
3997
4031
|
# @example Request syntax with placeholder values
|
3998
4032
|
#
|
3999
4033
|
# resp = client.put_account_setting_default({
|
4000
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
4034
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
4001
4035
|
# value: "String", # required
|
4002
4036
|
# })
|
4003
4037
|
#
|
4004
4038
|
# @example Response structure
|
4005
4039
|
#
|
4006
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking"
|
4040
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights"
|
4007
4041
|
# resp.setting.value #=> String
|
4008
4042
|
# resp.setting.principal_arn #=> String
|
4009
4043
|
#
|
@@ -6670,7 +6704,7 @@ module Aws::ECS
|
|
6670
6704
|
params: params,
|
6671
6705
|
config: config)
|
6672
6706
|
context[:gem_name] = 'aws-sdk-ecs'
|
6673
|
-
context[:gem_version] = '1.
|
6707
|
+
context[:gem_version] = '1.44.0'
|
6674
6708
|
Seahorse::Client::Request.new(handlers, context)
|
6675
6709
|
end
|
6676
6710
|
|
@@ -35,6 +35,9 @@ module Aws::ECS
|
|
35
35
|
ClusterField = Shapes::StringShape.new(name: 'ClusterField')
|
36
36
|
ClusterFieldList = Shapes::ListShape.new(name: 'ClusterFieldList')
|
37
37
|
ClusterNotFoundException = Shapes::StructureShape.new(name: 'ClusterNotFoundException')
|
38
|
+
ClusterSetting = Shapes::StructureShape.new(name: 'ClusterSetting')
|
39
|
+
ClusterSettingName = Shapes::StringShape.new(name: 'ClusterSettingName')
|
40
|
+
ClusterSettings = Shapes::ListShape.new(name: 'ClusterSettings')
|
38
41
|
Clusters = Shapes::ListShape.new(name: 'Clusters')
|
39
42
|
Compatibility = Shapes::StringShape.new(name: 'Compatibility')
|
40
43
|
CompatibilityList = Shapes::ListShape.new(name: 'CompatibilityList')
|
@@ -322,10 +325,17 @@ module Aws::ECS
|
|
322
325
|
Cluster.add_member(:active_services_count, Shapes::ShapeRef.new(shape: Integer, location_name: "activeServicesCount"))
|
323
326
|
Cluster.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
|
324
327
|
Cluster.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
328
|
+
Cluster.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, location_name: "settings"))
|
325
329
|
Cluster.struct_class = Types::Cluster
|
326
330
|
|
327
331
|
ClusterFieldList.member = Shapes::ShapeRef.new(shape: ClusterField)
|
328
332
|
|
333
|
+
ClusterSetting.add_member(:name, Shapes::ShapeRef.new(shape: ClusterSettingName, location_name: "name"))
|
334
|
+
ClusterSetting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
335
|
+
ClusterSetting.struct_class = Types::ClusterSetting
|
336
|
+
|
337
|
+
ClusterSettings.member = Shapes::ShapeRef.new(shape: ClusterSetting)
|
338
|
+
|
329
339
|
Clusters.member = Shapes::ShapeRef.new(shape: Cluster)
|
330
340
|
|
331
341
|
CompatibilityList.member = Shapes::ShapeRef.new(shape: Compatibility)
|
@@ -438,6 +448,7 @@ module Aws::ECS
|
|
438
448
|
|
439
449
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
440
450
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
451
|
+
CreateClusterRequest.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, location_name: "settings"))
|
441
452
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
442
453
|
|
443
454
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -250,6 +250,11 @@ module Aws::ECS
|
|
250
250
|
# of 256 characters.
|
251
251
|
# @return [Array<Types::Tag>]
|
252
252
|
#
|
253
|
+
# @!attribute [rw] settings
|
254
|
+
# The settings for the cluster. This parameter indicates whether
|
255
|
+
# CloudWatch Container Insights is enabled or disabled for a cluster.
|
256
|
+
# @return [Array<Types::ClusterSetting>]
|
257
|
+
#
|
253
258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Cluster AWS API Documentation
|
254
259
|
#
|
255
260
|
class Cluster < Struct.new(
|
@@ -261,7 +266,42 @@ module Aws::ECS
|
|
261
266
|
:pending_tasks_count,
|
262
267
|
:active_services_count,
|
263
268
|
:statistics,
|
264
|
-
:tags
|
269
|
+
:tags,
|
270
|
+
:settings)
|
271
|
+
include Aws::Structure
|
272
|
+
end
|
273
|
+
|
274
|
+
# The settings to use when creating a cluster. This parameter is used to
|
275
|
+
# enable CloudWatch Container Insights for a cluster.
|
276
|
+
#
|
277
|
+
# @note When making an API call, you may pass ClusterSetting
|
278
|
+
# data as a hash:
|
279
|
+
#
|
280
|
+
# {
|
281
|
+
# name: "containerInsights", # accepts containerInsights
|
282
|
+
# value: "String",
|
283
|
+
# }
|
284
|
+
#
|
285
|
+
# @!attribute [rw] name
|
286
|
+
# The name of the cluster setting. The only supported value is
|
287
|
+
# `containerInsights`.
|
288
|
+
# @return [String]
|
289
|
+
#
|
290
|
+
# @!attribute [rw] value
|
291
|
+
# The value to set for the cluster setting. The supported values are
|
292
|
+
# `enabled` and `disabled`. If `enabled` is specified, CloudWatch
|
293
|
+
# Container Insights will be enabled for the cluster, otherwise it
|
294
|
+
# will be disabled unless the `containerInsights` account setting is
|
295
|
+
# enabled. If a cluster value is specified, it will override the
|
296
|
+
# `containerInsights` value set with PutAccountSetting or
|
297
|
+
# PutAccountSettingDefault.
|
298
|
+
# @return [String]
|
299
|
+
#
|
300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ClusterSetting AWS API Documentation
|
301
|
+
#
|
302
|
+
class ClusterSetting < Struct.new(
|
303
|
+
:name,
|
304
|
+
:value)
|
265
305
|
include Aws::Structure
|
266
306
|
end
|
267
307
|
|
@@ -1736,6 +1776,12 @@ module Aws::ECS
|
|
1736
1776
|
# value: "TagValue",
|
1737
1777
|
# },
|
1738
1778
|
# ],
|
1779
|
+
# settings: [
|
1780
|
+
# {
|
1781
|
+
# name: "containerInsights", # accepts containerInsights
|
1782
|
+
# value: "String",
|
1783
|
+
# },
|
1784
|
+
# ],
|
1739
1785
|
# }
|
1740
1786
|
#
|
1741
1787
|
# @!attribute [rw] cluster_name
|
@@ -1752,11 +1798,19 @@ module Aws::ECS
|
|
1752
1798
|
# of 256 characters.
|
1753
1799
|
# @return [Array<Types::Tag>]
|
1754
1800
|
#
|
1801
|
+
# @!attribute [rw] settings
|
1802
|
+
# The setting to use when creating a cluster. This parameter is used
|
1803
|
+
# to enable CloudWatch Container Insights for a cluster. If this value
|
1804
|
+
# is specified, it will override the `containerInsights` value set
|
1805
|
+
# with PutAccountSetting or PutAccountSettingDefault.
|
1806
|
+
# @return [Array<Types::ClusterSetting>]
|
1807
|
+
#
|
1755
1808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterRequest AWS API Documentation
|
1756
1809
|
#
|
1757
1810
|
class CreateClusterRequest < Struct.new(
|
1758
1811
|
:cluster_name,
|
1759
|
-
:tags
|
1812
|
+
:tags,
|
1813
|
+
:settings)
|
1760
1814
|
include Aws::Structure
|
1761
1815
|
end
|
1762
1816
|
|
@@ -2285,7 +2339,7 @@ module Aws::ECS
|
|
2285
2339
|
# data as a hash:
|
2286
2340
|
#
|
2287
2341
|
# {
|
2288
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
2342
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
2289
2343
|
# principal_arn: "String",
|
2290
2344
|
# }
|
2291
2345
|
#
|
@@ -3698,7 +3752,7 @@ module Aws::ECS
|
|
3698
3752
|
# data as a hash:
|
3699
3753
|
#
|
3700
3754
|
# {
|
3701
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
3755
|
+
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
3702
3756
|
# value: "String",
|
3703
3757
|
# principal_arn: "String",
|
3704
3758
|
# effective_settings: false,
|
@@ -5043,7 +5097,7 @@ module Aws::ECS
|
|
5043
5097
|
# data as a hash:
|
5044
5098
|
#
|
5045
5099
|
# {
|
5046
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
5100
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
5047
5101
|
# value: "String", # required
|
5048
5102
|
# }
|
5049
5103
|
#
|
@@ -5055,7 +5109,9 @@ module Aws::ECS
|
|
5055
5109
|
# `containerInstanceLongArnFormat` is specified, the ARN and resource
|
5056
5110
|
# ID for your Amazon ECS container instances is affected. If
|
5057
5111
|
# `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
|
5058
|
-
# container instances is affected.
|
5112
|
+
# container instances is affected. If `containerInsights` is
|
5113
|
+
# specified, the default setting for CloudWatch Container Insights for
|
5114
|
+
# your clusters is affected.
|
5059
5115
|
# @return [String]
|
5060
5116
|
#
|
5061
5117
|
# @!attribute [rw] value
|
@@ -5086,20 +5142,22 @@ module Aws::ECS
|
|
5086
5142
|
# data as a hash:
|
5087
5143
|
#
|
5088
5144
|
# {
|
5089
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking
|
5145
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights
|
5090
5146
|
# value: "String", # required
|
5091
5147
|
# principal_arn: "String",
|
5092
5148
|
# }
|
5093
5149
|
#
|
5094
5150
|
# @!attribute [rw] name
|
5095
|
-
# The resource name for which to modify the account
|
5096
|
-
# `serviceLongArnFormat` is specified, the ARN for your
|
5097
|
-
# services is affected. If `taskLongArnFormat` is
|
5098
|
-
# and resource ID for your Amazon ECS tasks is
|
5099
|
-
# `containerInstanceLongArnFormat` is specified, the ARN
|
5100
|
-
# ID for your Amazon ECS container instances is affected.
|
5101
|
-
# `awsvpcTrunking` is specified, the
|
5102
|
-
# container instances is affected.
|
5151
|
+
# The Amazon ECS resource name for which to modify the account
|
5152
|
+
# setting. If `serviceLongArnFormat` is specified, the ARN for your
|
5153
|
+
# Amazon ECS services is affected. If `taskLongArnFormat` is
|
5154
|
+
# specified, the ARN and resource ID for your Amazon ECS tasks is
|
5155
|
+
# affected. If `containerInstanceLongArnFormat` is specified, the ARN
|
5156
|
+
# and resource ID for your Amazon ECS container instances is affected.
|
5157
|
+
# If `awsvpcTrunking` is specified, the elastic network interface
|
5158
|
+
# (ENI) limit for your Amazon ECS container instances is affected. If
|
5159
|
+
# `containerInsights` is specified, the default setting for CloudWatch
|
5160
|
+
# Container Insights for your clusters is affected.
|
5103
5161
|
# @return [String]
|
5104
5162
|
#
|
5105
5163
|
# @!attribute [rw] value
|
@@ -6566,14 +6624,12 @@ module Aws::ECS
|
|
6566
6624
|
# The current account setting for a resource.
|
6567
6625
|
#
|
6568
6626
|
# @!attribute [rw] name
|
6569
|
-
# The
|
6627
|
+
# The Amazon ECS resource name.
|
6570
6628
|
# @return [String]
|
6571
6629
|
#
|
6572
6630
|
# @!attribute [rw] value
|
6573
|
-
#
|
6574
|
-
# resource
|
6575
|
-
# identifier (ID) format. If `disabled`, the resource receives the old
|
6576
|
-
# Amazon Resource Name (ARN) and resource identifier (ID) format.
|
6631
|
+
# Whether the account setting is enabled or disabled for the specified
|
6632
|
+
# resource.
|
6577
6633
|
# @return [String]
|
6578
6634
|
#
|
6579
6635
|
# @!attribute [rw] principal_arn
|
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.44.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: 2019-07-
|
11
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|