aws-sdk-ecs 1.133.0 → 1.134.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/client.rb +37 -9
- data/lib/aws-sdk-ecs/client_api.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +28 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- 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: bfb2780e64afc7da9c43ff71d41117ad999250539905582bca65d3e5dbb26ec0
|
4
|
+
data.tar.gz: 8cfd2ad35e215a42c58ac22cb831b37d8e67f884d6dde130b86baed4fb559f4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a548576a0a4a4aa885e6633e9e9b3b27d7df50ffd00b71cfca52401e1975bad25211581381a0ec823f6a91df9f94dc00bf5358537c2199a71307cedc462b397e
|
7
|
+
data.tar.gz: 0d5b4705960f5b11410917349d4ce8129cb962df68c53ce9f69fda6e371d3a379a08fa59e12b44a9f689fad729954b455d97a0403ed323dcefa56dcf7dec21e4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.134.0 (2023-11-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds a new 'type' property to the Setting structure. Adds a new AccountSetting - guardDutyActivate for ECS.
|
8
|
+
|
4
9
|
1.133.0 (2023-11-22)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.134.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1913,15 +1913,16 @@ module Aws::ECS
|
|
1913
1913
|
# @example Request syntax with placeholder values
|
1914
1914
|
#
|
1915
1915
|
# resp = client.delete_account_setting({
|
1916
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
|
1916
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
|
1917
1917
|
# principal_arn: "String",
|
1918
1918
|
# })
|
1919
1919
|
#
|
1920
1920
|
# @example Response structure
|
1921
1921
|
#
|
1922
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
|
1922
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
|
1923
1923
|
# resp.setting.value #=> String
|
1924
1924
|
# resp.setting.principal_arn #=> String
|
1925
|
+
# resp.setting.type #=> String, one of "user", "aws_managed"
|
1925
1926
|
#
|
1926
1927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting AWS API Documentation
|
1927
1928
|
#
|
@@ -4579,7 +4580,7 @@ module Aws::ECS
|
|
4579
4580
|
# @example Request syntax with placeholder values
|
4580
4581
|
#
|
4581
4582
|
# resp = client.list_account_settings({
|
4582
|
-
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
|
4583
|
+
# name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
|
4583
4584
|
# value: "String",
|
4584
4585
|
# principal_arn: "String",
|
4585
4586
|
# effective_settings: false,
|
@@ -4590,9 +4591,10 @@ module Aws::ECS
|
|
4590
4591
|
# @example Response structure
|
4591
4592
|
#
|
4592
4593
|
# resp.settings #=> Array
|
4593
|
-
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
|
4594
|
+
# resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
|
4594
4595
|
# resp.settings[0].value #=> String
|
4595
4596
|
# resp.settings[0].principal_arn #=> String
|
4597
|
+
# resp.settings[0].type #=> String, one of "user", "aws_managed"
|
4596
4598
|
# resp.next_token #=> String
|
4597
4599
|
#
|
4598
4600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings AWS API Documentation
|
@@ -5499,6 +5501,13 @@ module Aws::ECS
|
|
5499
5501
|
# see [Amazon Web Services Fargate task maintenance][5] in the *Amazon
|
5500
5502
|
# ECS Developer Guide*.
|
5501
5503
|
#
|
5504
|
+
# The `guardDutyActivate` parameter is read-only in Amazon ECS and
|
5505
|
+
# indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
|
5506
|
+
# by your security administrator in your Amazon ECS account. Amazon
|
5507
|
+
# GuardDuty controls this account setting on your behalf. For more
|
5508
|
+
# information, see [Protecting Amazon ECS workloads with Amazon ECS
|
5509
|
+
# Runtime Monitoring][6].
|
5510
|
+
#
|
5502
5511
|
#
|
5503
5512
|
#
|
5504
5513
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
|
@@ -5506,6 +5515,7 @@ module Aws::ECS
|
|
5506
5515
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
|
5507
5516
|
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
|
5508
5517
|
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
5518
|
+
# [6]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
5509
5519
|
#
|
5510
5520
|
# @option params [required, String] :name
|
5511
5521
|
# The Amazon ECS resource name for which to modify the account setting.
|
@@ -5525,9 +5535,17 @@ module Aws::ECS
|
|
5525
5535
|
# Developer Guide*. If you specify `fargateTaskRetirementWaitPeriod`,
|
5526
5536
|
# the wait time to retire a Fargate task is affected.
|
5527
5537
|
#
|
5538
|
+
# The `guardDutyActivate` parameter is read-only in Amazon ECS and
|
5539
|
+
# indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
|
5540
|
+
# by your security administrator in your Amazon ECS account. Amazon
|
5541
|
+
# GuardDuty controls this account setting on your behalf. For more
|
5542
|
+
# information, see [Protecting Amazon ECS workloads with Amazon ECS
|
5543
|
+
# Runtime Monitoring][2].
|
5544
|
+
#
|
5528
5545
|
#
|
5529
5546
|
#
|
5530
5547
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
5548
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
5531
5549
|
#
|
5532
5550
|
# @option params [required, String] :value
|
5533
5551
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -5609,16 +5627,17 @@ module Aws::ECS
|
|
5609
5627
|
# @example Request syntax with placeholder values
|
5610
5628
|
#
|
5611
5629
|
# resp = client.put_account_setting({
|
5612
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
|
5630
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
|
5613
5631
|
# value: "String", # required
|
5614
5632
|
# principal_arn: "String",
|
5615
5633
|
# })
|
5616
5634
|
#
|
5617
5635
|
# @example Response structure
|
5618
5636
|
#
|
5619
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
|
5637
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
|
5620
5638
|
# resp.setting.value #=> String
|
5621
5639
|
# resp.setting.principal_arn #=> String
|
5640
|
+
# resp.setting.type #=> String, one of "user", "aws_managed"
|
5622
5641
|
#
|
5623
5642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting AWS API Documentation
|
5624
5643
|
#
|
@@ -5665,11 +5684,19 @@ module Aws::ECS
|
|
5665
5684
|
# maintenance, see [Amazon Web Services Fargate task maintenance][3] in
|
5666
5685
|
# the *Amazon ECS Developer Guide*.
|
5667
5686
|
#
|
5687
|
+
# The `guardDutyActivate` parameter is read-only in Amazon ECS and
|
5688
|
+
# indicates whether Amazon ECS Runtime Monitoring is enabled or disabled
|
5689
|
+
# by your security administrator in your Amazon ECS account. Amazon
|
5690
|
+
# GuardDuty controls this account setting on your behalf. For more
|
5691
|
+
# information, see [Protecting Amazon ECS workloads with Amazon ECS
|
5692
|
+
# Runtime Monitoring][4].
|
5693
|
+
#
|
5668
5694
|
#
|
5669
5695
|
#
|
5670
5696
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
5671
5697
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
5672
5698
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
5699
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
5673
5700
|
#
|
5674
5701
|
# @option params [required, String] :value
|
5675
5702
|
# The account setting value for the specified principal ARN. Accepted
|
@@ -5715,15 +5742,16 @@ module Aws::ECS
|
|
5715
5742
|
# @example Request syntax with placeholder values
|
5716
5743
|
#
|
5717
5744
|
# resp = client.put_account_setting_default({
|
5718
|
-
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
|
5745
|
+
# name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate
|
5719
5746
|
# value: "String", # required
|
5720
5747
|
# })
|
5721
5748
|
#
|
5722
5749
|
# @example Response structure
|
5723
5750
|
#
|
5724
|
-
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
|
5751
|
+
# resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate"
|
5725
5752
|
# resp.setting.value #=> String
|
5726
5753
|
# resp.setting.principal_arn #=> String
|
5754
|
+
# resp.setting.type #=> String, one of "user", "aws_managed"
|
5727
5755
|
#
|
5728
5756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault AWS API Documentation
|
5729
5757
|
#
|
@@ -9823,7 +9851,7 @@ module Aws::ECS
|
|
9823
9851
|
params: params,
|
9824
9852
|
config: config)
|
9825
9853
|
context[:gem_name] = 'aws-sdk-ecs'
|
9826
|
-
context[:gem_version] = '1.
|
9854
|
+
context[:gem_version] = '1.134.0'
|
9827
9855
|
Seahorse::Client::Request.new(handlers, context)
|
9828
9856
|
end
|
9829
9857
|
|
@@ -305,6 +305,7 @@ module Aws::ECS
|
|
305
305
|
Session = Shapes::StructureShape.new(name: 'Session')
|
306
306
|
Setting = Shapes::StructureShape.new(name: 'Setting')
|
307
307
|
SettingName = Shapes::StringShape.new(name: 'SettingName')
|
308
|
+
SettingType = Shapes::StringShape.new(name: 'SettingType')
|
308
309
|
Settings = Shapes::ListShape.new(name: 'Settings')
|
309
310
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
310
311
|
StabilityStatus = Shapes::StringShape.new(name: 'StabilityStatus')
|
@@ -1477,6 +1478,7 @@ module Aws::ECS
|
|
1477
1478
|
Setting.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, location_name: "name"))
|
1478
1479
|
Setting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
1479
1480
|
Setting.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
|
1481
|
+
Setting.add_member(:type, Shapes::ShapeRef.new(shape: SettingType, location_name: "type"))
|
1480
1482
|
Setting.struct_class = Types::Setting
|
1481
1483
|
|
1482
1484
|
Settings.member = Shapes::ShapeRef.new(shape: Setting)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -7347,11 +7347,19 @@ module Aws::ECS
|
|
7347
7347
|
# the Fargate tasks maintenance, see [Amazon Web Services Fargate task
|
7348
7348
|
# maintenance][3] in the *Amazon ECS Developer Guide*.
|
7349
7349
|
#
|
7350
|
+
# The `guardDutyActivate` parameter is read-only in Amazon ECS and
|
7351
|
+
# indicates whether Amazon ECS Runtime Monitoring is enabled or
|
7352
|
+
# disabled by your security administrator in your Amazon ECS account.
|
7353
|
+
# Amazon GuardDuty controls this account setting on your behalf. For
|
7354
|
+
# more information, see [Protecting Amazon ECS workloads with Amazon
|
7355
|
+
# ECS Runtime Monitoring][4].
|
7356
|
+
#
|
7350
7357
|
#
|
7351
7358
|
#
|
7352
7359
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
7353
7360
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
|
7354
7361
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
|
7362
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
7355
7363
|
# @return [String]
|
7356
7364
|
#
|
7357
7365
|
# @!attribute [rw] value
|
@@ -7411,9 +7419,17 @@ module Aws::ECS
|
|
7411
7419
|
# `fargateTaskRetirementWaitPeriod`, the wait time to retire a Fargate
|
7412
7420
|
# task is affected.
|
7413
7421
|
#
|
7422
|
+
# The `guardDutyActivate` parameter is read-only in Amazon ECS and
|
7423
|
+
# indicates whether Amazon ECS Runtime Monitoring is enabled or
|
7424
|
+
# disabled by your security administrator in your Amazon ECS account.
|
7425
|
+
# Amazon GuardDuty controls this account setting on your behalf. For
|
7426
|
+
# more information, see [Protecting Amazon ECS workloads with Amazon
|
7427
|
+
# ECS Runtime Monitoring][2].
|
7428
|
+
#
|
7414
7429
|
#
|
7415
7430
|
#
|
7416
7431
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
|
7432
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-guard-duty-integration.html
|
7417
7433
|
# @return [String]
|
7418
7434
|
#
|
7419
7435
|
# @!attribute [rw] value
|
@@ -9315,12 +9331,23 @@ module Aws::ECS
|
|
9315
9331
|
# If this field is omitted, the authenticated user is assumed.
|
9316
9332
|
# @return [String]
|
9317
9333
|
#
|
9334
|
+
# @!attribute [rw] type
|
9335
|
+
# Indicates whether Amazon Web Services manages the account setting,
|
9336
|
+
# or if the user manages it.
|
9337
|
+
#
|
9338
|
+
# `aws_managed` account settings are read-only, as Amazon Web Services
|
9339
|
+
# manages such on the customer's behalf. Currently, the
|
9340
|
+
# `guardDutyActivate` account setting is the only one Amazon Web
|
9341
|
+
# Services manages.
|
9342
|
+
# @return [String]
|
9343
|
+
#
|
9318
9344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Setting AWS API Documentation
|
9319
9345
|
#
|
9320
9346
|
class Setting < Struct.new(
|
9321
9347
|
:name,
|
9322
9348
|
:value,
|
9323
|
-
:principal_arn
|
9349
|
+
:principal_arn,
|
9350
|
+
:type)
|
9324
9351
|
SENSITIVE = []
|
9325
9352
|
include Aws::Structure
|
9326
9353
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
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.134.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: 2023-11-
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|