aws-sdk-ecs 1.172.0 → 1.173.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
  SHA256:
3
- metadata.gz: 1db135791584d4b921a5ab4762a1856526a38456a99ecb4c0e55042eb60211ae
4
- data.tar.gz: 9c75d37ec40380f91c9e32ad246dc3c3b5f5f3cfc0d45969af3350ae3217e524
3
+ metadata.gz: 0b7b5db14d446165f70a152e4c9589026089ddb9aacd8b5ca6c6471e09e28e8c
4
+ data.tar.gz: 1e7fc9d1c5809e152bf609aedca5cf57a438122c0c3f61ebb5d8c2249e0a620b
5
5
  SHA512:
6
- metadata.gz: b098a1d94d71bfeb12f6d5fc7165f13f97032bb5c0eb1d3d7784cd5ed2151cf602f1a2aebaba6fb0f9c772d3fda175c86f93348de4b377764cd46698519fc93e
7
- data.tar.gz: 990b252f86a3beb2edbc8d31aa65c1e4f67519fc6ee4a97b63157af00a607a6672d46a65b5e99bcf51808ba1403b8fa9fe80eaf124793fe6f11b2ef606bc592b
6
+ metadata.gz: 23e8ef3d922f2283ae7e10ba1371856fc14122ca252182e31ed441cae3ea65ecf637f641b04b39aa081c56b339648214cb41c5514141d1c1b5259ec159c1dc20
7
+ data.tar.gz: c070dc46c15486aac753dca5730b271fa482c65aa7f08de836c835fefb6988c5018af286ae3e280a58e8d1bd9ca3e6464ac237cd481fc39eceee6fce6971ddb8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.173.0 (2024-12-17)
5
+ ------------------
6
+
7
+ * Feature - Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks.
8
+
4
9
  1.172.0 (2024-12-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.172.0
1
+ 1.173.0
@@ -2820,6 +2820,7 @@ module Aws::ECS
2820
2820
  # resp.task_definitions[0].deregistered_at #=> Time
2821
2821
  # resp.task_definitions[0].registered_by #=> String
2822
2822
  # resp.task_definitions[0].ephemeral_storage.size_in_gi_b #=> Integer
2823
+ # resp.task_definitions[0].enable_fault_injection #=> Boolean
2823
2824
  # resp.failures #=> Array
2824
2825
  # resp.failures[0].arn #=> String
2825
2826
  # resp.failures[0].reason #=> String
@@ -3282,6 +3283,7 @@ module Aws::ECS
3282
3283
  # resp.task_definition.deregistered_at #=> Time
3283
3284
  # resp.task_definition.registered_by #=> String
3284
3285
  # resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
3286
+ # resp.task_definition.enable_fault_injection #=> Boolean
3285
3287
  #
3286
3288
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
3287
3289
  #
@@ -4453,6 +4455,7 @@ module Aws::ECS
4453
4455
  # resp.task_definition.deregistered_at #=> Time
4454
4456
  # resp.task_definition.registered_by #=> String
4455
4457
  # resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
4458
+ # resp.task_definition.enable_fault_injection #=> Boolean
4456
4459
  # resp.tags #=> Array
4457
4460
  # resp.tags[0].key #=> String
4458
4461
  # resp.tags[0].value #=> String
@@ -5396,7 +5399,7 @@ module Aws::ECS
5396
5399
  # name or ARN. Starting April 15, 2023, Amazon Web Services will not
5397
5400
  # onboard new customers to Amazon Elastic Inference (EI), and will help
5398
5401
  # current customers migrate their workloads to options that offer better
5399
- # price and performanceIf you don't specify a cluster, `default` is
5402
+ # price and performance. If you don't specify a cluster, `default` is
5400
5403
  # used.
5401
5404
  #
5402
5405
  # @option params [Array<String>] :status
@@ -7193,6 +7196,11 @@ module Aws::ECS
7193
7196
  # The operating system that your tasks definitions run on. A platform
7194
7197
  # family is specified only for tasks using the Fargate launch type.
7195
7198
  #
7199
+ # @option params [Boolean] :enable_fault_injection
7200
+ # Enables fault injection when you register your task definition and
7201
+ # allows for fault injection requests to be accepted from the task's
7202
+ # containers. The default value is `false`.
7203
+ #
7196
7204
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7197
7205
  #
7198
7206
  # * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
@@ -7500,6 +7508,7 @@ module Aws::ECS
7500
7508
  # cpu_architecture: "X86_64", # accepts X86_64, ARM64
7501
7509
  # operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts WINDOWS_SERVER_2019_FULL, WINDOWS_SERVER_2019_CORE, WINDOWS_SERVER_2016_FULL, WINDOWS_SERVER_2004_CORE, WINDOWS_SERVER_2022_CORE, WINDOWS_SERVER_2022_FULL, WINDOWS_SERVER_20H2_CORE, LINUX
7502
7510
  # },
7511
+ # enable_fault_injection: false,
7503
7512
  # })
7504
7513
  #
7505
7514
  # @example Response structure
@@ -7673,6 +7682,7 @@ module Aws::ECS
7673
7682
  # resp.task_definition.deregistered_at #=> Time
7674
7683
  # resp.task_definition.registered_by #=> String
7675
7684
  # resp.task_definition.ephemeral_storage.size_in_gi_b #=> Integer
7685
+ # resp.task_definition.enable_fault_injection #=> Boolean
7676
7686
  # resp.tags #=> Array
7677
7687
  # resp.tags[0].key #=> String
7678
7688
  # resp.tags[0].value #=> String
@@ -10839,7 +10849,7 @@ module Aws::ECS
10839
10849
  tracer: tracer
10840
10850
  )
10841
10851
  context[:gem_name] = 'aws-sdk-ecs'
10842
- context[:gem_version] = '1.172.0'
10852
+ context[:gem_version] = '1.173.0'
10843
10853
  Seahorse::Client::Request.new(handlers, context)
10844
10854
  end
10845
10855
 
@@ -1437,6 +1437,7 @@ module Aws::ECS
1437
1437
  RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
1438
1438
  RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
1439
1439
  RegisterTaskDefinitionRequest.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
1440
+ RegisterTaskDefinitionRequest.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
1440
1441
  RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
1441
1442
 
1442
1443
  RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
@@ -1872,6 +1873,7 @@ module Aws::ECS
1872
1873
  TaskDefinition.add_member(:deregistered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deregisteredAt"))
1873
1874
  TaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
1874
1875
  TaskDefinition.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
1876
+ TaskDefinition.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
1875
1877
  TaskDefinition.struct_class = Types::TaskDefinition
1876
1878
 
1877
1879
  TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
@@ -3869,9 +3869,10 @@ module Aws::ECS
3869
3869
  #
3870
3870
  # </note>
3871
3871
  #
3872
- # If the tasks in the service use the Fargate launch type, the maximum
3873
- # percent value is not used, although it is returned when describing
3874
- # your service.
3872
+ # If the service uses either the blue/green (`CODE_DEPLOY`) or
3873
+ # `EXTERNAL` deployment types, and the tasks in the service use the
3874
+ # Fargate launch type, the maximum percent value is not used. The
3875
+ # value is still returned when describing your service.
3875
3876
  #
3876
3877
  #
3877
3878
  #
@@ -6148,7 +6149,7 @@ module Aws::ECS
6148
6149
  # name or ARN. Starting April 15, 2023, Amazon Web Services will not
6149
6150
  # onboard new customers to Amazon Elastic Inference (EI), and will
6150
6151
  # help current customers migrate their workloads to options that offer
6151
- # better price and performanceIf you don't specify a cluster,
6152
+ # better price and performance. If you don't specify a cluster,
6152
6153
  # `default` is used.
6153
6154
  # @return [String]
6154
6155
  #
@@ -7019,7 +7020,8 @@ module Aws::ECS
7019
7020
  # When you export logs to Amazon OpenSearch Service, you can specify
7020
7021
  # options like `Name`, `Host` (OpenSearch Service endpoint without
7021
7022
  # protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
7022
- # `Suppress_Type_Name`, and `tls`.
7023
+ # `Suppress_Type_Name`, and `tls`. For more information, see [Under
7024
+ # the hood: FireLens for Amazon ECS Tasks][4].
7023
7025
  #
7024
7026
  # When you export logs to Amazon S3, you can specify the bucket using
7025
7027
  # the `bucket` option. You can also specify `region`,
@@ -7037,6 +7039,7 @@ module Aws::ECS
7037
7039
  # [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
7038
7040
  # [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
7039
7041
  # [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
7042
+ # [4]: http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
7040
7043
  # @return [Hash<String,String>]
7041
7044
  #
7042
7045
  # @!attribute [rw] secret_options
@@ -8713,6 +8716,12 @@ module Aws::ECS
8713
8716
  # family is specified only for tasks using the Fargate launch type.
8714
8717
  # @return [Types::RuntimePlatform]
8715
8718
  #
8719
+ # @!attribute [rw] enable_fault_injection
8720
+ # Enables fault injection when you register your task definition and
8721
+ # allows for fault injection requests to be accepted from the task's
8722
+ # containers. The default value is `false`.
8723
+ # @return [Boolean]
8724
+ #
8716
8725
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
8717
8726
  #
8718
8727
  class RegisterTaskDefinitionRequest < Struct.new(
@@ -8732,7 +8741,8 @@ module Aws::ECS
8732
8741
  :proxy_configuration,
8733
8742
  :inference_accelerators,
8734
8743
  :ephemeral_storage,
8735
- :runtime_platform)
8744
+ :runtime_platform,
8745
+ :enable_fault_injection)
8736
8746
  SENSITIVE = []
8737
8747
  include Aws::Structure
8738
8748
  end
@@ -12138,6 +12148,12 @@ module Aws::ECS
12138
12148
  # definition.
12139
12149
  # @return [Types::EphemeralStorage]
12140
12150
  #
12151
+ # @!attribute [rw] enable_fault_injection
12152
+ # Enables fault injection and allows for fault injection requests to
12153
+ # be accepted from the task's containers. The default value is
12154
+ # `false`.
12155
+ # @return [Boolean]
12156
+ #
12141
12157
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
12142
12158
  #
12143
12159
  class TaskDefinition < Struct.new(
@@ -12164,7 +12180,8 @@ module Aws::ECS
12164
12180
  :registered_at,
12165
12181
  :deregistered_at,
12166
12182
  :registered_by,
12167
- :ephemeral_storage)
12183
+ :ephemeral_storage,
12184
+ :enable_fault_injection)
12168
12185
  SENSITIVE = []
12169
12186
  include Aws::Structure
12170
12187
  end
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.172.0'
58
+ GEM_VERSION = '1.173.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1144,7 +1144,8 @@ module Aws
1144
1144
  ?runtime_platform: {
1145
1145
  cpu_architecture: ("X86_64" | "ARM64")?,
1146
1146
  operating_system_family: ("WINDOWS_SERVER_2019_FULL" | "WINDOWS_SERVER_2019_CORE" | "WINDOWS_SERVER_2016_FULL" | "WINDOWS_SERVER_2004_CORE" | "WINDOWS_SERVER_2022_CORE" | "WINDOWS_SERVER_2022_FULL" | "WINDOWS_SERVER_20H2_CORE" | "LINUX")?
1147
- }
1147
+ },
1148
+ ?enable_fault_injection: bool
1148
1149
  ) -> _RegisterTaskDefinitionResponseSuccess
1149
1150
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTaskDefinitionResponseSuccess
1150
1151
 
data/sig/types.rbs CHANGED
@@ -1221,6 +1221,7 @@ module Aws::ECS
1221
1221
  attr_accessor inference_accelerators: ::Array[Types::InferenceAccelerator]
1222
1222
  attr_accessor ephemeral_storage: Types::EphemeralStorage
1223
1223
  attr_accessor runtime_platform: Types::RuntimePlatform
1224
+ attr_accessor enable_fault_injection: bool
1224
1225
  SENSITIVE: []
1225
1226
  end
1226
1227
 
@@ -1702,6 +1703,7 @@ module Aws::ECS
1702
1703
  attr_accessor deregistered_at: ::Time
1703
1704
  attr_accessor registered_by: ::String
1704
1705
  attr_accessor ephemeral_storage: Types::EphemeralStorage
1706
+ attr_accessor enable_fault_injection: bool
1705
1707
  SENSITIVE: []
1706
1708
  end
1707
1709
 
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.172.0
4
+ version: 1.173.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: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core