aws-sdk-ecs 1.215.0 → 1.216.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50e741af095dfe28ec91fc7a90f41ce291ad5e698e83fba1aca72a7175df0abd
4
- data.tar.gz: 84095b0ea5c0b4e06a1006b4b834fc155e5ea91024e8763bebce28594b8f6998
3
+ metadata.gz: 944612011e66dbc1bcd887661582f92863f5e59830eda1d40fb12b1e126a9500
4
+ data.tar.gz: 8e25545261421f634ab8f19c18c9f0a7fd350a5e71bc1ebc5c5e529bc01f3fb8
5
5
  SHA512:
6
- metadata.gz: 6489dfe28922bd87fc69c8810b44b86cdcbd21d1e05a6564ead45a2af2b60f70391fb286112a3ab56bd29b73f2c67c7c3edd2dde41bd62c9654ba28165c23a62
7
- data.tar.gz: 412fa1aa19bb1f36946ba3f9ed2cda2e420a6abb383f3e85236bf9cd503f1579e120690eb3fcc5cf9a11ae61df9916c0bf3c26fc7b9d422ceb889667d34b4e30
6
+ metadata.gz: 0e028d6275f00485366aea5acbd350e64925cf301dd9cb8dac95097055ae9c8450ea99b5273861f7210f333347f3bf82980067ace46173f26a2b60d5dba308b6
7
+ data.tar.gz: 6a5ef0f9689b4d6440dcd94bf6ecf5513f7550cc27dcd586e06859af30a94c0115cf395f344c1454ab583e176bc6217d8574f0e4e690eebe0146999996d4378f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.216.0 (2025-12-18)
5
+ ------------------
6
+
7
+ * Feature - Adding support for Event Windows via a new ECS account setting "fargateEventWindows". When enabled, ECS Fargate will use the configured event window for patching tasks. Introducing "CapacityOptionType" for CreateCapacityProvider API, allowing support for Spot capacity for ECS Managed Instances.
8
+
4
9
  1.215.0 (2025-12-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.215.0
1
+ 1.216.0
@@ -612,6 +612,7 @@ module Aws::ECS
612
612
  # storage_size_gi_b: 1,
613
613
  # },
614
614
  # monitoring: "BASIC", # accepts BASIC, DETAILED
615
+ # capacity_option_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
615
616
  # instance_requirements: {
616
617
  # v_cpu_count: { # required
617
618
  # min: 1, # required
@@ -701,6 +702,7 @@ module Aws::ECS
701
702
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
702
703
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
703
704
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
705
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
704
706
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
705
707
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
706
708
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -2786,13 +2788,13 @@ module Aws::ECS
2786
2788
  # @example Request syntax with placeholder values
2787
2789
  #
2788
2790
  # resp = client.delete_account_setting({
2789
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
2791
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode, fargateEventWindows
2790
2792
  # principal_arn: "String",
2791
2793
  # })
2792
2794
  #
2793
2795
  # @example Response structure
2794
2796
  #
2795
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
2797
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode", "fargateEventWindows"
2796
2798
  # resp.setting.value #=> String
2797
2799
  # resp.setting.principal_arn #=> String
2798
2800
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -2978,6 +2980,7 @@ module Aws::ECS
2978
2980
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
2979
2981
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
2980
2982
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
2983
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
2981
2984
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
2982
2985
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
2983
2986
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -4512,6 +4515,7 @@ module Aws::ECS
4512
4515
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
4513
4516
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
4514
4517
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
4518
+ # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
4515
4519
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
4516
4520
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
4517
4521
  # resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -6669,7 +6673,7 @@ module Aws::ECS
6669
6673
  # @example Request syntax with placeholder values
6670
6674
  #
6671
6675
  # resp = client.list_account_settings({
6672
- # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
6676
+ # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode, fargateEventWindows
6673
6677
  # value: "String",
6674
6678
  # principal_arn: "String",
6675
6679
  # effective_settings: false,
@@ -6680,7 +6684,7 @@ module Aws::ECS
6680
6684
  # @example Response structure
6681
6685
  #
6682
6686
  # resp.settings #=> Array
6683
- # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
6687
+ # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode", "fargateEventWindows"
6684
6688
  # resp.settings[0].value #=> String
6685
6689
  # resp.settings[0].principal_arn #=> String
6686
6690
  # resp.settings[0].type #=> String, one of "user", "aws_managed"
@@ -7782,6 +7786,13 @@ module Aws::ECS
7782
7786
  # maintenance, see [Amazon Web Services Fargate task maintenance][5]
7783
7787
  # in the *Amazon ECS Developer Guide*.
7784
7788
  #
7789
+ # * `fargateEventWindows` - When Amazon Web Services determines that a
7790
+ # security or infrastructure update is needed for an Amazon ECS task
7791
+ # hosted on Fargate, the tasks need to be stopped and new tasks
7792
+ # launched to replace them. Use `fargateEventWindows` to use EC2 Event
7793
+ # Windows associated with Fargate tasks to configure time windows for
7794
+ # task retirement.
7795
+ #
7785
7796
  # * `tagResourceAuthorization` - Amazon ECS is introducing tagging
7786
7797
  # authorization for resource creation. Users must have permissions for
7787
7798
  # actions that create the resource, such as `ecsCreateCluster`. If
@@ -7916,14 +7927,14 @@ module Aws::ECS
7916
7927
  # @example Request syntax with placeholder values
7917
7928
  #
7918
7929
  # resp = client.put_account_setting({
7919
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
7930
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode, fargateEventWindows
7920
7931
  # value: "String", # required
7921
7932
  # principal_arn: "String",
7922
7933
  # })
7923
7934
  #
7924
7935
  # @example Response structure
7925
7936
  #
7926
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
7937
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode", "fargateEventWindows"
7927
7938
  # resp.setting.value #=> String
7928
7939
  # resp.setting.principal_arn #=> String
7929
7940
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -8021,6 +8032,13 @@ module Aws::ECS
8021
8032
  # maintenance, see [Amazon Web Services Fargate task maintenance][5]
8022
8033
  # in the *Amazon ECS Developer Guide*.
8023
8034
  #
8035
+ # * `fargateEventWindows` - When Amazon Web Services determines that a
8036
+ # security or infrastructure update is needed for an Amazon ECS task
8037
+ # hosted on Fargate, the tasks need to be stopped and new tasks
8038
+ # launched to replace them. Use `fargateEventWindows` to use EC2 Event
8039
+ # Windows associated with Fargate tasks to configure time windows for
8040
+ # task retirement.
8041
+ #
8024
8042
  # * `tagResourceAuthorization` - Amazon ECS is introducing tagging
8025
8043
  # authorization for resource creation. Users must have permissions for
8026
8044
  # actions that create the resource, such as `ecsCreateCluster`. If
@@ -8116,13 +8134,13 @@ module Aws::ECS
8116
8134
  # @example Request syntax with placeholder values
8117
8135
  #
8118
8136
  # resp = client.put_account_setting_default({
8119
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode
8137
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod, guardDutyActivate, defaultLogDriverMode, fargateEventWindows
8120
8138
  # value: "String", # required
8121
8139
  # })
8122
8140
  #
8123
8141
  # @example Response structure
8124
8142
  #
8125
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode"
8143
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod", "guardDutyActivate", "defaultLogDriverMode", "fargateEventWindows"
8126
8144
  # resp.setting.value #=> String
8127
8145
  # resp.setting.principal_arn #=> String
8128
8146
  # resp.setting.type #=> String, one of "user", "aws_managed"
@@ -11520,6 +11538,7 @@ module Aws::ECS
11520
11538
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.network_configuration.security_groups[0] #=> String
11521
11539
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.storage_configuration.storage_size_gi_b #=> Integer
11522
11540
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.monitoring #=> String, one of "BASIC", "DETAILED"
11541
+ # resp.capacity_provider.managed_instances_provider.instance_launch_template.capacity_option_type #=> String, one of "ON_DEMAND", "SPOT"
11523
11542
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.min #=> Integer
11524
11543
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.v_cpu_count.max #=> Integer
11525
11544
  # resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.memory_mi_b.min #=> Integer
@@ -14014,7 +14033,7 @@ module Aws::ECS
14014
14033
  tracer: tracer
14015
14034
  )
14016
14035
  context[:gem_name] = 'aws-sdk-ecs'
14017
- context[:gem_version] = '1.215.0'
14036
+ context[:gem_version] = '1.216.0'
14018
14037
  Seahorse::Client::Request.new(handlers, context)
14019
14038
  end
14020
14039
 
@@ -52,6 +52,7 @@ module Aws::ECS
52
52
  BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
53
53
  CPUArchitecture = Shapes::StringShape.new(name: 'CPUArchitecture')
54
54
  CanaryConfiguration = Shapes::StructureShape.new(name: 'CanaryConfiguration')
55
+ CapacityOptionType = Shapes::StringShape.new(name: 'CapacityOptionType')
55
56
  CapacityProvider = Shapes::StructureShape.new(name: 'CapacityProvider')
56
57
  CapacityProviderField = Shapes::StringShape.new(name: 'CapacityProviderField')
57
58
  CapacityProviderFieldList = Shapes::ListShape.new(name: 'CapacityProviderFieldList')
@@ -1403,6 +1404,7 @@ module Aws::ECS
1403
1404
  InstanceLaunchTemplate.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesNetworkConfiguration, required: true, location_name: "networkConfiguration"))
1404
1405
  InstanceLaunchTemplate.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: ManagedInstancesStorageConfiguration, location_name: "storageConfiguration"))
1405
1406
  InstanceLaunchTemplate.add_member(:monitoring, Shapes::ShapeRef.new(shape: ManagedInstancesMonitoringOptions, location_name: "monitoring"))
1407
+ InstanceLaunchTemplate.add_member(:capacity_option_type, Shapes::ShapeRef.new(shape: CapacityOptionType, location_name: "capacityOptionType"))
1406
1408
  InstanceLaunchTemplate.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "instanceRequirements"))
1407
1409
  InstanceLaunchTemplate.struct_class = Types::InstanceLaunchTemplate
1408
1410
 
@@ -6870,6 +6870,31 @@ module Aws::ECS
6870
6870
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/detailed-monitoring-managed-instances.html
6871
6871
  # @return [String]
6872
6872
  #
6873
+ # @!attribute [rw] capacity_option_type
6874
+ # The capacity option type. This determines whether Amazon ECS
6875
+ # launches On-Demand or Spot Instances for your managed instance
6876
+ # capacity provider.
6877
+ #
6878
+ # Valid values are:
6879
+ #
6880
+ # * `ON_DEMAND` - Launches standard On-Demand Instances. On-Demand
6881
+ # Instances provide predictable pricing and availability.
6882
+ #
6883
+ # * `SPOT` - Launches Spot Instances that use spare Amazon EC2
6884
+ # capacity at reduced cost. Spot Instances can be interrupted by
6885
+ # Amazon EC2 with a two-minute notification when the capacity is
6886
+ # needed back.
6887
+ #
6888
+ # The default is On-Demand
6889
+ #
6890
+ # For more information about Amazon EC2 capacity options, see
6891
+ # [Instance purchasing options][1] in the *Amazon EC2 User Guide*.
6892
+ #
6893
+ #
6894
+ #
6895
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
6896
+ # @return [String]
6897
+ #
6873
6898
  # @!attribute [rw] instance_requirements
6874
6899
  # The instance requirements. You can specify:
6875
6900
  #
@@ -6889,6 +6914,7 @@ module Aws::ECS
6889
6914
  :network_configuration,
6890
6915
  :storage_configuration,
6891
6916
  :monitoring,
6917
+ :capacity_option_type,
6892
6918
  :instance_requirements)
6893
6919
  SENSITIVE = []
6894
6920
  include Aws::Structure
@@ -10224,6 +10250,13 @@ module Aws::ECS
10224
10250
  # maintenance, see [Amazon Web Services Fargate task maintenance][5]
10225
10251
  # in the *Amazon ECS Developer Guide*.
10226
10252
  #
10253
+ # * `fargateEventWindows` - When Amazon Web Services determines that a
10254
+ # security or infrastructure update is needed for an Amazon ECS task
10255
+ # hosted on Fargate, the tasks need to be stopped and new tasks
10256
+ # launched to replace them. Use `fargateEventWindows` to use EC2
10257
+ # Event Windows associated with Fargate tasks to configure time
10258
+ # windows for task retirement.
10259
+ #
10227
10260
  # * `tagResourceAuthorization` - Amazon ECS is introducing tagging
10228
10261
  # authorization for resource creation. Users must have permissions
10229
10262
  # for actions that create the resource, such as `ecsCreateCluster`.
@@ -10391,6 +10424,13 @@ module Aws::ECS
10391
10424
  # maintenance, see [Amazon Web Services Fargate task maintenance][5]
10392
10425
  # in the *Amazon ECS Developer Guide*.
10393
10426
  #
10427
+ # * `fargateEventWindows` - When Amazon Web Services determines that a
10428
+ # security or infrastructure update is needed for an Amazon ECS task
10429
+ # hosted on Fargate, the tasks need to be stopped and new tasks
10430
+ # launched to replace them. Use `fargateEventWindows` to use EC2
10431
+ # Event Windows associated with Fargate tasks to configure time
10432
+ # windows for task retirement.
10433
+ #
10394
10434
  # * `tagResourceAuthorization` - Amazon ECS is introducing tagging
10395
10435
  # authorization for resource creation. Users must have permissions
10396
10436
  # for actions that create the resource, such as `ecsCreateCluster`.
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.215.0'
58
+ GEM_VERSION = '1.216.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -111,6 +111,7 @@ module Aws
111
111
  storage_size_gi_b: ::Integer?
112
112
  }?,
113
113
  monitoring: ("BASIC" | "DETAILED")?,
114
+ capacity_option_type: ("ON_DEMAND" | "SPOT")?,
114
115
  instance_requirements: {
115
116
  v_cpu_count: {
116
117
  min: ::Integer,
@@ -552,7 +553,7 @@ module Aws
552
553
  end
553
554
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#delete_account_setting-instance_method
554
555
  def delete_account_setting: (
555
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
556
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows"),
556
557
  ?principal_arn: ::String
557
558
  ) -> _DeleteAccountSettingResponseSuccess
558
559
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccountSettingResponseSuccess
@@ -841,7 +842,7 @@ module Aws
841
842
  end
842
843
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#list_account_settings-instance_method
843
844
  def list_account_settings: (
844
- ?name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
845
+ ?name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows"),
845
846
  ?value: ::String,
846
847
  ?principal_arn: ::String,
847
848
  ?effective_settings: bool,
@@ -1005,7 +1006,7 @@ module Aws
1005
1006
  end
1006
1007
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting-instance_method
1007
1008
  def put_account_setting: (
1008
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
1009
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows"),
1009
1010
  value: ::String,
1010
1011
  ?principal_arn: ::String
1011
1012
  ) -> _PutAccountSettingResponseSuccess
@@ -1017,7 +1018,7 @@ module Aws
1017
1018
  end
1018
1019
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#put_account_setting_default-instance_method
1019
1020
  def put_account_setting_default: (
1020
- name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"),
1021
+ name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows"),
1021
1022
  value: ::String
1022
1023
  ) -> _PutAccountSettingDefaultResponseSuccess
1023
1024
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingDefaultResponseSuccess
data/sig/types.rbs CHANGED
@@ -442,7 +442,7 @@ module Aws::ECS
442
442
  end
443
443
 
444
444
  class DeleteAccountSettingRequest
445
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
445
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows")
446
446
  attr_accessor principal_arn: ::String
447
447
  SENSITIVE: []
448
448
  end
@@ -1018,6 +1018,7 @@ module Aws::ECS
1018
1018
  attr_accessor network_configuration: Types::ManagedInstancesNetworkConfiguration
1019
1019
  attr_accessor storage_configuration: Types::ManagedInstancesStorageConfiguration
1020
1020
  attr_accessor monitoring: ("BASIC" | "DETAILED")
1021
+ attr_accessor capacity_option_type: ("ON_DEMAND" | "SPOT")
1021
1022
  attr_accessor instance_requirements: Types::InstanceRequirementsRequest
1022
1023
  SENSITIVE: []
1023
1024
  end
@@ -1095,7 +1096,7 @@ module Aws::ECS
1095
1096
  end
1096
1097
 
1097
1098
  class ListAccountSettingsRequest
1098
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1099
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows")
1099
1100
  attr_accessor value: ::String
1100
1101
  attr_accessor principal_arn: ::String
1101
1102
  attr_accessor effective_settings: bool
@@ -1544,7 +1545,7 @@ module Aws::ECS
1544
1545
  end
1545
1546
 
1546
1547
  class PutAccountSettingDefaultRequest
1547
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1548
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows")
1548
1549
  attr_accessor value: ::String
1549
1550
  SENSITIVE: []
1550
1551
  end
@@ -1555,7 +1556,7 @@ module Aws::ECS
1555
1556
  end
1556
1557
 
1557
1558
  class PutAccountSettingRequest
1558
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1559
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows")
1559
1560
  attr_accessor value: ::String
1560
1561
  attr_accessor principal_arn: ::String
1561
1562
  SENSITIVE: []
@@ -1980,7 +1981,7 @@ module Aws::ECS
1980
1981
  end
1981
1982
 
1982
1983
  class Setting
1983
- attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode")
1984
+ attr_accessor name: ("serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode" | "fargateEventWindows")
1984
1985
  attr_accessor value: ::String
1985
1986
  attr_accessor principal_arn: ::String
1986
1987
  attr_accessor type: ("user" | "aws_managed")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.215.0
4
+ version: 1.216.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services