aws-sdk-ecs 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5038f04dbfc45007750d7053fae6ad7f6c670036
4
- data.tar.gz: 6a1a71b427cc3aafa7fc64b57c170c22f5ade26b
3
+ metadata.gz: 6d4d88a71c047f052a41c45b6f5d88b318573f16
4
+ data.tar.gz: 74bd00cf38d8698cec8ebc92125cdefaa7df2387
5
5
  SHA512:
6
- metadata.gz: 2e21e2fb46f01ca0f5664595664edb7547fa71bd145d7dc5415b65e9deb5fa07951ca7c5374ef8b3957bf61b45e56cdc4dd751f422d474a51e95ca2d90e88b20
7
- data.tar.gz: a3ddf994a71ce9e6bf1ba12d872e023a07042feb9541231eac9819cb5b99655fa78b0b5fdaf1338a87554cc19e2cacae6408bc578a9d00c7cbf0d1f3afd09bc5
6
+ metadata.gz: ca641171516e86d86dda16a30673e115fe300bdae4bfd93aab263f0084942056b95c62ee984a4de06170c57a121cc7170b5b0751ae184ef079241e5820c97297
7
+ data.tar.gz: 5e9a91b349c3d512524f03e869f0d5022e933d521ea9991a65783895882c8bd6ac803b69013ce203c6a2685a1808963f9eab47a73d210f44d60670af496db5fd
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.56.0'
46
+ GEM_VERSION = '1.57.0'
47
47
 
48
48
  end
@@ -1243,6 +1243,9 @@ module Aws::ECS
1243
1243
  # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
1244
1244
  # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1245
1245
  # resp.service.task_sets[0].stability_status_at #=> Time
1246
+ # resp.service.task_sets[0].tags #=> Array
1247
+ # resp.service.task_sets[0].tags[0].key #=> String
1248
+ # resp.service.task_sets[0].tags[0].value #=> String
1246
1249
  # resp.service.deployments #=> Array
1247
1250
  # resp.service.deployments[0].id #=> String
1248
1251
  # resp.service.deployments[0].status #=> String
@@ -1397,6 +1400,37 @@ module Aws::ECS
1397
1400
  # Unique, case-sensitive identifier that you provide to ensure the
1398
1401
  # idempotency of the request. Up to 32 ASCII characters are allowed.
1399
1402
  #
1403
+ # @option params [Array<Types::Tag>] :tags
1404
+ # The metadata that you apply to the task set to help you categorize and
1405
+ # organize them. Each tag consists of a key and an optional value, both
1406
+ # of which you define. When a service is deleted, the tags are deleted
1407
+ # as well.
1408
+ #
1409
+ # The following basic restrictions apply to tags:
1410
+ #
1411
+ # * Maximum number of tags per resource - 50
1412
+ #
1413
+ # * For each resource, each tag key must be unique, and each tag key can
1414
+ # have only one value.
1415
+ #
1416
+ # * Maximum key length - 128 Unicode characters in UTF-8
1417
+ #
1418
+ # * Maximum value length - 256 Unicode characters in UTF-8
1419
+ #
1420
+ # * If your tagging schema is used across multiple services and
1421
+ # resources, remember that other services may have restrictions on
1422
+ # allowed characters. Generally allowed characters are: letters,
1423
+ # numbers, and spaces representable in UTF-8, and the following
1424
+ # characters: + - = . \_ : / @.
1425
+ #
1426
+ # * Tag keys and values are case-sensitive.
1427
+ #
1428
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1429
+ # such as a prefix for either keys or values as it is reserved for AWS
1430
+ # use. You cannot edit or delete tag keys or values with this prefix.
1431
+ # Tags with this prefix do not count against your tags per resource
1432
+ # limit.
1433
+ #
1400
1434
  # @return [Types::CreateTaskSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1401
1435
  #
1402
1436
  # * {Types::CreateTaskSetResponse#task_set #task_set} => Types::TaskSet
@@ -1445,6 +1479,12 @@ module Aws::ECS
1445
1479
  # unit: "PERCENT", # accepts PERCENT
1446
1480
  # },
1447
1481
  # client_token: "String",
1482
+ # tags: [
1483
+ # {
1484
+ # key: "TagKey",
1485
+ # value: "TagValue",
1486
+ # },
1487
+ # ],
1448
1488
  # })
1449
1489
  #
1450
1490
  # @example Response structure
@@ -1487,6 +1527,9 @@ module Aws::ECS
1487
1527
  # resp.task_set.scale.unit #=> String, one of "PERCENT"
1488
1528
  # resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1489
1529
  # resp.task_set.stability_status_at #=> Time
1530
+ # resp.task_set.tags #=> Array
1531
+ # resp.task_set.tags[0].key #=> String
1532
+ # resp.task_set.tags[0].value #=> String
1490
1533
  #
1491
1534
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet AWS API Documentation
1492
1535
  #
@@ -1847,6 +1890,9 @@ module Aws::ECS
1847
1890
  # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
1848
1891
  # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1849
1892
  # resp.service.task_sets[0].stability_status_at #=> Time
1893
+ # resp.service.task_sets[0].tags #=> Array
1894
+ # resp.service.task_sets[0].tags[0].key #=> String
1895
+ # resp.service.task_sets[0].tags[0].value #=> String
1850
1896
  # resp.service.deployments #=> Array
1851
1897
  # resp.service.deployments[0].id #=> String
1852
1898
  # resp.service.deployments[0].status #=> String
@@ -1981,6 +2027,9 @@ module Aws::ECS
1981
2027
  # resp.task_set.scale.unit #=> String, one of "PERCENT"
1982
2028
  # resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
1983
2029
  # resp.task_set.stability_status_at #=> Time
2030
+ # resp.task_set.tags #=> Array
2031
+ # resp.task_set.tags[0].key #=> String
2032
+ # resp.task_set.tags[0].value #=> String
1984
2033
  #
1985
2034
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet AWS API Documentation
1986
2035
  #
@@ -2854,6 +2903,9 @@ module Aws::ECS
2854
2903
  # resp.services[0].task_sets[0].scale.unit #=> String, one of "PERCENT"
2855
2904
  # resp.services[0].task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
2856
2905
  # resp.services[0].task_sets[0].stability_status_at #=> Time
2906
+ # resp.services[0].task_sets[0].tags #=> Array
2907
+ # resp.services[0].task_sets[0].tags[0].key #=> String
2908
+ # resp.services[0].task_sets[0].tags[0].value #=> String
2857
2909
  # resp.services[0].deployments #=> Array
2858
2910
  # resp.services[0].deployments[0].id #=> String
2859
2911
  # resp.services[0].deployments[0].status #=> String
@@ -3185,6 +3237,11 @@ module Aws::ECS
3185
3237
  # @option params [Array<String>] :task_sets
3186
3238
  # The ID or full Amazon Resource Name (ARN) of task sets to describe.
3187
3239
  #
3240
+ # @option params [Array<String>] :include
3241
+ # Specifies whether to see the resource tags for the task set. If `TAGS`
3242
+ # is specified, the tags are included in the response. If this field is
3243
+ # omitted, tags are not included in the response.
3244
+ #
3188
3245
  # @return [Types::DescribeTaskSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3189
3246
  #
3190
3247
  # * {Types::DescribeTaskSetsResponse#task_sets #task_sets} => Array&lt;Types::TaskSet&gt;
@@ -3196,6 +3253,7 @@ module Aws::ECS
3196
3253
  # cluster: "String", # required
3197
3254
  # service: "String", # required
3198
3255
  # task_sets: ["String"],
3256
+ # include: ["TAGS"], # accepts TAGS
3199
3257
  # })
3200
3258
  #
3201
3259
  # @example Response structure
@@ -3239,6 +3297,9 @@ module Aws::ECS
3239
3297
  # resp.task_sets[0].scale.unit #=> String, one of "PERCENT"
3240
3298
  # resp.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
3241
3299
  # resp.task_sets[0].stability_status_at #=> Time
3300
+ # resp.task_sets[0].tags #=> Array
3301
+ # resp.task_sets[0].tags[0].key #=> String
3302
+ # resp.task_sets[0].tags[0].value #=> String
3242
3303
  # resp.failures #=> Array
3243
3304
  # resp.failures[0].arn #=> String
3244
3305
  # resp.failures[0].reason #=> String
@@ -7472,6 +7533,9 @@ module Aws::ECS
7472
7533
  # resp.service.task_sets[0].scale.unit #=> String, one of "PERCENT"
7473
7534
  # resp.service.task_sets[0].stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
7474
7535
  # resp.service.task_sets[0].stability_status_at #=> Time
7536
+ # resp.service.task_sets[0].tags #=> Array
7537
+ # resp.service.task_sets[0].tags[0].key #=> String
7538
+ # resp.service.task_sets[0].tags[0].value #=> String
7475
7539
  # resp.service.deployments #=> Array
7476
7540
  # resp.service.deployments[0].id #=> String
7477
7541
  # resp.service.deployments[0].status #=> String
@@ -7603,6 +7667,9 @@ module Aws::ECS
7603
7667
  # resp.task_set.scale.unit #=> String, one of "PERCENT"
7604
7668
  # resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
7605
7669
  # resp.task_set.stability_status_at #=> Time
7670
+ # resp.task_set.tags #=> Array
7671
+ # resp.task_set.tags[0].key #=> String
7672
+ # resp.task_set.tags[0].value #=> String
7606
7673
  #
7607
7674
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet AWS API Documentation
7608
7675
  #
@@ -7694,6 +7761,9 @@ module Aws::ECS
7694
7761
  # resp.task_set.scale.unit #=> String, one of "PERCENT"
7695
7762
  # resp.task_set.stability_status #=> String, one of "STEADY_STATE", "STABILIZING"
7696
7763
  # resp.task_set.stability_status_at #=> Time
7764
+ # resp.task_set.tags #=> Array
7765
+ # resp.task_set.tags[0].key #=> String
7766
+ # resp.task_set.tags[0].value #=> String
7697
7767
  #
7698
7768
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet AWS API Documentation
7699
7769
  #
@@ -7717,7 +7787,7 @@ module Aws::ECS
7717
7787
  params: params,
7718
7788
  config: config)
7719
7789
  context[:gem_name] = 'aws-sdk-ecs'
7720
- context[:gem_version] = '1.56.0'
7790
+ context[:gem_version] = '1.57.0'
7721
7791
  Seahorse::Client::Request.new(handlers, context)
7722
7792
  end
7723
7793
 
@@ -284,6 +284,8 @@ module Aws::ECS
284
284
  TaskFieldList = Shapes::ListShape.new(name: 'TaskFieldList')
285
285
  TaskOverride = Shapes::StructureShape.new(name: 'TaskOverride')
286
286
  TaskSet = Shapes::StructureShape.new(name: 'TaskSet')
287
+ TaskSetField = Shapes::StringShape.new(name: 'TaskSetField')
288
+ TaskSetFieldList = Shapes::ListShape.new(name: 'TaskSetFieldList')
287
289
  TaskSetNotFoundException = Shapes::StructureShape.new(name: 'TaskSetNotFoundException')
288
290
  TaskSets = Shapes::ListShape.new(name: 'TaskSets')
289
291
  TaskStopCode = Shapes::StringShape.new(name: 'TaskStopCode')
@@ -569,6 +571,7 @@ module Aws::ECS
569
571
  CreateTaskSetRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
570
572
  CreateTaskSetRequest.add_member(:scale, Shapes::ShapeRef.new(shape: Scale, location_name: "scale"))
571
573
  CreateTaskSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
574
+ CreateTaskSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
572
575
  CreateTaskSetRequest.struct_class = Types::CreateTaskSetRequest
573
576
 
574
577
  CreateTaskSetResponse.add_member(:task_set, Shapes::ShapeRef.new(shape: TaskSet, location_name: "taskSet"))
@@ -696,6 +699,7 @@ module Aws::ECS
696
699
  DescribeTaskSetsRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
697
700
  DescribeTaskSetsRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
698
701
  DescribeTaskSetsRequest.add_member(:task_sets, Shapes::ShapeRef.new(shape: StringList, location_name: "taskSets"))
702
+ DescribeTaskSetsRequest.add_member(:include, Shapes::ShapeRef.new(shape: TaskSetFieldList, location_name: "include"))
699
703
  DescribeTaskSetsRequest.struct_class = Types::DescribeTaskSetsRequest
700
704
 
701
705
  DescribeTaskSetsResponse.add_member(:task_sets, Shapes::ShapeRef.new(shape: TaskSets, location_name: "taskSets"))
@@ -1340,8 +1344,11 @@ module Aws::ECS
1340
1344
  TaskSet.add_member(:scale, Shapes::ShapeRef.new(shape: Scale, location_name: "scale"))
1341
1345
  TaskSet.add_member(:stability_status, Shapes::ShapeRef.new(shape: StabilityStatus, location_name: "stabilityStatus"))
1342
1346
  TaskSet.add_member(:stability_status_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stabilityStatusAt"))
1347
+ TaskSet.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1343
1348
  TaskSet.struct_class = Types::TaskSet
1344
1349
 
1350
+ TaskSetFieldList.member = Shapes::ShapeRef.new(shape: TaskSetField)
1351
+
1345
1352
  TaskSets.member = Shapes::ShapeRef.new(shape: TaskSet)
1346
1353
 
1347
1354
  Tasks.member = Shapes::ShapeRef.new(shape: Task)
@@ -2805,6 +2805,12 @@ module Aws::ECS
2805
2805
  # unit: "PERCENT", # accepts PERCENT
2806
2806
  # },
2807
2807
  # client_token: "String",
2808
+ # tags: [
2809
+ # {
2810
+ # key: "TagKey",
2811
+ # value: "TagValue",
2812
+ # },
2813
+ # ],
2808
2814
  # }
2809
2815
  #
2810
2816
  # @!attribute [rw] service
@@ -2909,6 +2915,38 @@ module Aws::ECS
2909
2915
  # idempotency of the request. Up to 32 ASCII characters are allowed.
2910
2916
  # @return [String]
2911
2917
  #
2918
+ # @!attribute [rw] tags
2919
+ # The metadata that you apply to the task set to help you categorize
2920
+ # and organize them. Each tag consists of a key and an optional value,
2921
+ # both of which you define. When a service is deleted, the tags are
2922
+ # deleted as well.
2923
+ #
2924
+ # The following basic restrictions apply to tags:
2925
+ #
2926
+ # * Maximum number of tags per resource - 50
2927
+ #
2928
+ # * For each resource, each tag key must be unique, and each tag key
2929
+ # can have only one value.
2930
+ #
2931
+ # * Maximum key length - 128 Unicode characters in UTF-8
2932
+ #
2933
+ # * Maximum value length - 256 Unicode characters in UTF-8
2934
+ #
2935
+ # * If your tagging schema is used across multiple services and
2936
+ # resources, remember that other services may have restrictions on
2937
+ # allowed characters. Generally allowed characters are: letters,
2938
+ # numbers, and spaces representable in UTF-8, and the following
2939
+ # characters: + - = . \_ : / @.
2940
+ #
2941
+ # * Tag keys and values are case-sensitive.
2942
+ #
2943
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
2944
+ # of such as a prefix for either keys or values as it is reserved
2945
+ # for AWS use. You cannot edit or delete tag keys or values with
2946
+ # this prefix. Tags with this prefix do not count against your tags
2947
+ # per resource limit.
2948
+ # @return [Array<Types::Tag>]
2949
+ #
2912
2950
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSetRequest AWS API Documentation
2913
2951
  #
2914
2952
  class CreateTaskSetRequest < Struct.new(
@@ -2923,7 +2961,8 @@ module Aws::ECS
2923
2961
  :capacity_provider_strategy,
2924
2962
  :platform_version,
2925
2963
  :scale,
2926
- :client_token)
2964
+ :client_token,
2965
+ :tags)
2927
2966
  include Aws::Structure
2928
2967
  end
2929
2968
 
@@ -3824,6 +3863,7 @@ module Aws::ECS
3824
3863
  # cluster: "String", # required
3825
3864
  # service: "String", # required
3826
3865
  # task_sets: ["String"],
3866
+ # include: ["TAGS"], # accepts TAGS
3827
3867
  # }
3828
3868
  #
3829
3869
  # @!attribute [rw] cluster
@@ -3840,12 +3880,19 @@ module Aws::ECS
3840
3880
  # The ID or full Amazon Resource Name (ARN) of task sets to describe.
3841
3881
  # @return [Array<String>]
3842
3882
  #
3883
+ # @!attribute [rw] include
3884
+ # Specifies whether to see the resource tags for the task set. If
3885
+ # `TAGS` is specified, the tags are included in the response. If this
3886
+ # field is omitted, tags are not included in the response.
3887
+ # @return [Array<String>]
3888
+ #
3843
3889
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSetsRequest AWS API Documentation
3844
3890
  #
3845
3891
  class DescribeTaskSetsRequest < Struct.new(
3846
3892
  :cluster,
3847
3893
  :service,
3848
- :task_sets)
3894
+ :task_sets,
3895
+ :include)
3849
3896
  include Aws::Structure
3850
3897
  end
3851
3898
 
@@ -8926,8 +8973,11 @@ module Aws::ECS
8926
8973
  # @return [Array<Types::ContainerDefinition>]
8927
8974
  #
8928
8975
  # @!attribute [rw] family
8929
- # The name of a family that this task definition is registered to. A
8930
- # family groups multiple versions of a task definition. Amazon ECS
8976
+ # The name of a family that this task definition is registered to. Up
8977
+ # to 255 letters (uppercase and lowercase), numbers, hyphens, and
8978
+ # underscores are allowed.
8979
+ #
8980
+ # A family groups multiple versions of a task definition. Amazon ECS
8931
8981
  # gives the first task definition that you registered to a family a
8932
8982
  # revision number of 1. Amazon ECS gives sequential revision numbers
8933
8983
  # to each task definition that you add.
@@ -9515,6 +9565,37 @@ module Aws::ECS
9515
9565
  # retrieved.
9516
9566
  # @return [Time]
9517
9567
  #
9568
+ # @!attribute [rw] tags
9569
+ # The metadata that you apply to the task set to help you categorize
9570
+ # and organize them. Each tag consists of a key and an optional value,
9571
+ # both of which you define.
9572
+ #
9573
+ # The following basic restrictions apply to tags:
9574
+ #
9575
+ # * Maximum number of tags per resource - 50
9576
+ #
9577
+ # * For each resource, each tag key must be unique, and each tag key
9578
+ # can have only one value.
9579
+ #
9580
+ # * Maximum key length - 128 Unicode characters in UTF-8
9581
+ #
9582
+ # * Maximum value length - 256 Unicode characters in UTF-8
9583
+ #
9584
+ # * If your tagging schema is used across multiple services and
9585
+ # resources, remember that other services may have restrictions on
9586
+ # allowed characters. Generally allowed characters are: letters,
9587
+ # numbers, and spaces representable in UTF-8, and the following
9588
+ # characters: + - = . \_ : / @.
9589
+ #
9590
+ # * Tag keys and values are case-sensitive.
9591
+ #
9592
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
9593
+ # of such as a prefix for either keys or values as it is reserved
9594
+ # for AWS use. You cannot edit or delete tag keys or values with
9595
+ # this prefix. Tags with this prefix do not count against your tags
9596
+ # per resource limit.
9597
+ # @return [Array<Types::Tag>]
9598
+ #
9518
9599
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskSet AWS API Documentation
9519
9600
  #
9520
9601
  class TaskSet < Struct.new(
@@ -9539,7 +9620,8 @@ module Aws::ECS
9539
9620
  :service_registries,
9540
9621
  :scale,
9541
9622
  :stability_status,
9542
- :stability_status_at)
9623
+ :stability_status_at,
9624
+ :tags)
9543
9625
  include Aws::Structure
9544
9626
  end
9545
9627
 
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.56.0
4
+ version: 1.57.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: 2020-01-17 00:00:00.000000000 Z
11
+ date: 2020-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core