aws-sdk-ecs 1.172.0 → 1.174.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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)
@@ -246,8 +246,7 @@ module Aws::ECS
246
246
  #
247
247
  # @!attribute [rw] subnets
248
248
  # The IDs of the subnets associated with the task or service. There's
249
- # a limit of 16 subnets that can be specified per
250
- # `awsvpcConfiguration`.
249
+ # a limit of 16 subnets that can be specified.
251
250
  #
252
251
  # <note markdown="1"> All specified subnets must be from the same VPC.
253
252
  #
@@ -258,7 +257,7 @@ module Aws::ECS
258
257
  # The IDs of the security groups associated with the task or service.
259
258
  # If you don't specify a security group, the default security group
260
259
  # for the VPC is used. There's a limit of 5 security groups that can
261
- # be specified per `awsvpcConfiguration`.
260
+ # be specified.
262
261
  #
263
262
  # <note markdown="1"> All specified security groups must be from the same VPC.
264
263
  #
@@ -3869,9 +3868,10 @@ module Aws::ECS
3869
3868
  #
3870
3869
  # </note>
3871
3870
  #
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.
3871
+ # If the service uses either the blue/green (`CODE_DEPLOY`) or
3872
+ # `EXTERNAL` deployment types, and the tasks in the service use the
3873
+ # Fargate launch type, the maximum percent value is not used. The
3874
+ # value is still returned when describing your service.
3875
3875
  #
3876
3876
  #
3877
3877
  #
@@ -6148,7 +6148,7 @@ module Aws::ECS
6148
6148
  # name or ARN. Starting April 15, 2023, Amazon Web Services will not
6149
6149
  # onboard new customers to Amazon Elastic Inference (EI), and will
6150
6150
  # help current customers migrate their workloads to options that offer
6151
- # better price and performanceIf you don't specify a cluster,
6151
+ # better price and performance. If you don't specify a cluster,
6152
6152
  # `default` is used.
6153
6153
  # @return [String]
6154
6154
  #
@@ -7019,7 +7019,8 @@ module Aws::ECS
7019
7019
  # When you export logs to Amazon OpenSearch Service, you can specify
7020
7020
  # options like `Name`, `Host` (OpenSearch Service endpoint without
7021
7021
  # protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
7022
- # `Suppress_Type_Name`, and `tls`.
7022
+ # `Suppress_Type_Name`, and `tls`. For more information, see [Under
7023
+ # the hood: FireLens for Amazon ECS Tasks][4].
7023
7024
  #
7024
7025
  # When you export logs to Amazon S3, you can specify the bucket using
7025
7026
  # the `bucket` option. You can also specify `region`,
@@ -7037,6 +7038,7 @@ module Aws::ECS
7037
7038
  # [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
7038
7039
  # [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
7039
7040
  # [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
7041
+ # [4]: http://aws.amazon.com/blogs/containers/under-the-hood-firelens-for-amazon-ecs-tasks/
7040
7042
  # @return [Hash<String,String>]
7041
7043
  #
7042
7044
  # @!attribute [rw] secret_options
@@ -8713,6 +8715,12 @@ module Aws::ECS
8713
8715
  # family is specified only for tasks using the Fargate launch type.
8714
8716
  # @return [Types::RuntimePlatform]
8715
8717
  #
8718
+ # @!attribute [rw] enable_fault_injection
8719
+ # Enables fault injection when you register your task definition and
8720
+ # allows for fault injection requests to be accepted from the task's
8721
+ # containers. The default value is `false`.
8722
+ # @return [Boolean]
8723
+ #
8716
8724
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
8717
8725
  #
8718
8726
  class RegisterTaskDefinitionRequest < Struct.new(
@@ -8732,7 +8740,8 @@ module Aws::ECS
8732
8740
  :proxy_configuration,
8733
8741
  :inference_accelerators,
8734
8742
  :ephemeral_storage,
8735
- :runtime_platform)
8743
+ :runtime_platform,
8744
+ :enable_fault_injection)
8736
8745
  SENSITIVE = []
8737
8746
  include Aws::Structure
8738
8747
  end
@@ -12138,6 +12147,12 @@ module Aws::ECS
12138
12147
  # definition.
12139
12148
  # @return [Types::EphemeralStorage]
12140
12149
  #
12150
+ # @!attribute [rw] enable_fault_injection
12151
+ # Enables fault injection and allows for fault injection requests to
12152
+ # be accepted from the task's containers. The default value is
12153
+ # `false`.
12154
+ # @return [Boolean]
12155
+ #
12141
12156
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
12142
12157
  #
12143
12158
  class TaskDefinition < Struct.new(
@@ -12164,7 +12179,8 @@ module Aws::ECS
12164
12179
  :registered_at,
12165
12180
  :deregistered_at,
12166
12181
  :registered_by,
12167
- :ephemeral_storage)
12182
+ :ephemeral_storage,
12183
+ :enable_fault_injection)
12168
12184
  SENSITIVE = []
12169
12185
  include Aws::Structure
12170
12186
  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.174.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.174.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: 2025-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core