aws-sdk-ecs 1.211.0 → 1.212.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +11 -1
- data/lib/aws-sdk-ecs/client_api.rb +7 -0
- data/lib/aws-sdk-ecs/types.rb +57 -3
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +8 -2
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6a544fd26af3d1adbacc503f65585563628ed68f6f30ea6ea041a449b878f82
|
|
4
|
+
data.tar.gz: 4f8493385fc03dd58dc5349d9fd9aa1c27f4a873bf142cec91948b1f94ab2086
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f7cc710208a4e56c34270fdb9d9d078dbb5a071fd71920925211fb884b12fcd14016dd5537c3e8133792a698b4fc40396119b3d934407b898b474f021337ffc
|
|
7
|
+
data.tar.gz: bbe20013bf8095679812b089f367dce90af7d99622f114992c50c8c9e630d6a2ebf18cf232fb8860e9c2801fd805065e202427fcd9bff8c1245bb59a2b9421e5
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.212.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -667,6 +667,9 @@ module Aws::ECS
|
|
|
667
667
|
# },
|
|
668
668
|
# },
|
|
669
669
|
# propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
|
|
670
|
+
# infrastructure_optimization: {
|
|
671
|
+
# scale_in_after: 1,
|
|
672
|
+
# },
|
|
670
673
|
# },
|
|
671
674
|
# tags: [
|
|
672
675
|
# {
|
|
@@ -740,6 +743,7 @@ module Aws::ECS
|
|
|
740
743
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
|
741
744
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
|
742
745
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
746
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
743
747
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
744
748
|
# resp.capacity_provider.update_status_reason #=> String
|
|
745
749
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -2772,6 +2776,7 @@ module Aws::ECS
|
|
|
2772
2776
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
|
2773
2777
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
|
2774
2778
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
2779
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
2775
2780
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
2776
2781
|
# resp.capacity_provider.update_status_reason #=> String
|
|
2777
2782
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -4215,6 +4220,7 @@ module Aws::ECS
|
|
|
4215
4220
|
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
|
4216
4221
|
# resp.capacity_providers[0].managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
|
4217
4222
|
# resp.capacity_providers[0].managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
4223
|
+
# resp.capacity_providers[0].managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
4218
4224
|
# resp.capacity_providers[0].update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
4219
4225
|
# resp.capacity_providers[0].update_status_reason #=> String
|
|
4220
4226
|
# resp.capacity_providers[0].tags #=> Array
|
|
@@ -10982,6 +10988,9 @@ module Aws::ECS
|
|
|
10982
10988
|
# },
|
|
10983
10989
|
# },
|
|
10984
10990
|
# propagate_tags: "CAPACITY_PROVIDER", # accepts CAPACITY_PROVIDER, NONE
|
|
10991
|
+
# infrastructure_optimization: {
|
|
10992
|
+
# scale_in_after: 1,
|
|
10993
|
+
# },
|
|
10985
10994
|
# },
|
|
10986
10995
|
# })
|
|
10987
10996
|
#
|
|
@@ -11049,6 +11058,7 @@ module Aws::ECS
|
|
|
11049
11058
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.allowed_instance_types[0] #=> String
|
|
11050
11059
|
# resp.capacity_provider.managed_instances_provider.instance_launch_template.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price #=> Integer
|
|
11051
11060
|
# resp.capacity_provider.managed_instances_provider.propagate_tags #=> String, one of "CAPACITY_PROVIDER", "NONE"
|
|
11061
|
+
# resp.capacity_provider.managed_instances_provider.infrastructure_optimization.scale_in_after #=> Integer
|
|
11052
11062
|
# resp.capacity_provider.update_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED"
|
|
11053
11063
|
# resp.capacity_provider.update_status_reason #=> String
|
|
11054
11064
|
# resp.capacity_provider.tags #=> Array
|
|
@@ -13352,7 +13362,7 @@ module Aws::ECS
|
|
|
13352
13362
|
tracer: tracer
|
|
13353
13363
|
)
|
|
13354
13364
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
13355
|
-
context[:gem_version] = '1.
|
|
13365
|
+
context[:gem_version] = '1.212.0'
|
|
13356
13366
|
Seahorse::Client::Request.new(handlers, context)
|
|
13357
13367
|
end
|
|
13358
13368
|
|
|
@@ -219,6 +219,7 @@ module Aws::ECS
|
|
|
219
219
|
InferenceAcceleratorOverride = Shapes::StructureShape.new(name: 'InferenceAcceleratorOverride')
|
|
220
220
|
InferenceAcceleratorOverrides = Shapes::ListShape.new(name: 'InferenceAcceleratorOverrides')
|
|
221
221
|
InferenceAccelerators = Shapes::ListShape.new(name: 'InferenceAccelerators')
|
|
222
|
+
InfrastructureOptimization = Shapes::StructureShape.new(name: 'InfrastructureOptimization')
|
|
222
223
|
InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
|
|
223
224
|
InstanceGenerationSet = Shapes::ListShape.new(name: 'InstanceGenerationSet')
|
|
224
225
|
InstanceHealthCheckResult = Shapes::StructureShape.new(name: 'InstanceHealthCheckResult')
|
|
@@ -827,6 +828,7 @@ module Aws::ECS
|
|
|
827
828
|
CreateManagedInstancesProviderConfiguration.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
|
|
828
829
|
CreateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, required: true, location_name: "instanceLaunchTemplate"))
|
|
829
830
|
CreateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
831
|
+
CreateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
830
832
|
CreateManagedInstancesProviderConfiguration.struct_class = Types::CreateManagedInstancesProviderConfiguration
|
|
831
833
|
|
|
832
834
|
CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
|
@@ -1234,6 +1236,9 @@ module Aws::ECS
|
|
|
1234
1236
|
|
|
1235
1237
|
InferenceAccelerators.member = Shapes::ShapeRef.new(shape: InferenceAccelerator)
|
|
1236
1238
|
|
|
1239
|
+
InfrastructureOptimization.add_member(:scale_in_after, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "scaleInAfter"))
|
|
1240
|
+
InfrastructureOptimization.struct_class = Types::InfrastructureOptimization
|
|
1241
|
+
|
|
1237
1242
|
InstanceGenerationSet.member = Shapes::ShapeRef.new(shape: InstanceGeneration)
|
|
1238
1243
|
|
|
1239
1244
|
InstanceHealthCheckResult.add_member(:type, Shapes::ShapeRef.new(shape: InstanceHealthCheckType, location_name: "type"))
|
|
@@ -1470,6 +1475,7 @@ module Aws::ECS
|
|
|
1470
1475
|
ManagedInstancesProvider.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "infrastructureRoleArn"))
|
|
1471
1476
|
ManagedInstancesProvider.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplate, location_name: "instanceLaunchTemplate"))
|
|
1472
1477
|
ManagedInstancesProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
1478
|
+
ManagedInstancesProvider.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
1473
1479
|
ManagedInstancesProvider.struct_class = Types::ManagedInstancesProvider
|
|
1474
1480
|
|
|
1475
1481
|
ManagedInstancesStorageConfiguration.add_member(:storage_size_gi_b, Shapes::ShapeRef.new(shape: TaskVolumeStorageGiB, location_name: "storageSizeGiB"))
|
|
@@ -2279,6 +2285,7 @@ module Aws::ECS
|
|
|
2279
2285
|
UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
|
|
2280
2286
|
UpdateManagedInstancesProviderConfiguration.add_member(:instance_launch_template, Shapes::ShapeRef.new(shape: InstanceLaunchTemplateUpdate, required: true, location_name: "instanceLaunchTemplate"))
|
|
2281
2287
|
UpdateManagedInstancesProviderConfiguration.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateMITags, location_name: "propagateTags"))
|
|
2288
|
+
UpdateManagedInstancesProviderConfiguration.add_member(:infrastructure_optimization, Shapes::ShapeRef.new(shape: InfrastructureOptimization, location_name: "infrastructureOptimization"))
|
|
2282
2289
|
UpdateManagedInstancesProviderConfiguration.struct_class = Types::UpdateManagedInstancesProviderConfiguration
|
|
2283
2290
|
|
|
2284
2291
|
UpdateServicePrimaryTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -2877,12 +2877,20 @@ module Aws::ECS
|
|
|
2877
2877
|
# launched by this provider.
|
|
2878
2878
|
# @return [String]
|
|
2879
2879
|
#
|
|
2880
|
+
# @!attribute [rw] infrastructure_optimization
|
|
2881
|
+
# Defines how Amazon ECS Managed Instances optimizes the
|
|
2882
|
+
# infrastastructure in your capacity provider. Provides control over
|
|
2883
|
+
# the delay between when EC2 instances become idle or underutilized
|
|
2884
|
+
# and when Amazon ECS optimizes them.
|
|
2885
|
+
# @return [Types::InfrastructureOptimization]
|
|
2886
|
+
#
|
|
2880
2887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateManagedInstancesProviderConfiguration AWS API Documentation
|
|
2881
2888
|
#
|
|
2882
2889
|
class CreateManagedInstancesProviderConfiguration < Struct.new(
|
|
2883
2890
|
:infrastructure_role_arn,
|
|
2884
2891
|
:instance_launch_template,
|
|
2885
|
-
:propagate_tags
|
|
2892
|
+
:propagate_tags,
|
|
2893
|
+
:infrastructure_optimization)
|
|
2886
2894
|
SENSITIVE = []
|
|
2887
2895
|
include Aws::Structure
|
|
2888
2896
|
end
|
|
@@ -6171,6 +6179,36 @@ module Aws::ECS
|
|
|
6171
6179
|
include Aws::Structure
|
|
6172
6180
|
end
|
|
6173
6181
|
|
|
6182
|
+
# The configuration that controls how Amazon ECS optimizes your
|
|
6183
|
+
# infrastructure.
|
|
6184
|
+
#
|
|
6185
|
+
# @!attribute [rw] scale_in_after
|
|
6186
|
+
# This parameter defines the number of seconds Amazon ECS Managed
|
|
6187
|
+
# Instances waits before optimizing EC2 instances that have become
|
|
6188
|
+
# idle or underutilized. A longer delay increases the likelihood of
|
|
6189
|
+
# placing new tasks on idle or underutilized instances instances,
|
|
6190
|
+
# reducing startup time. A shorter delay helps reduce infrastructure
|
|
6191
|
+
# costs by optimizing idle or underutilized instances,instances more
|
|
6192
|
+
# quickly.
|
|
6193
|
+
#
|
|
6194
|
+
# Valid values are:
|
|
6195
|
+
#
|
|
6196
|
+
# * `null` - Uses the default optimization behavior.
|
|
6197
|
+
#
|
|
6198
|
+
# * `-1` - Disables automatic infrastructure optimization.
|
|
6199
|
+
#
|
|
6200
|
+
# * A value between `0` and `3600` (inclusive) - Specifies the number
|
|
6201
|
+
# of seconds to wait before optimizing instances.
|
|
6202
|
+
# @return [Integer]
|
|
6203
|
+
#
|
|
6204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/InfrastructureOptimization AWS API Documentation
|
|
6205
|
+
#
|
|
6206
|
+
class InfrastructureOptimization < Struct.new(
|
|
6207
|
+
:scale_in_after)
|
|
6208
|
+
SENSITIVE = []
|
|
6209
|
+
include Aws::Structure
|
|
6210
|
+
end
|
|
6211
|
+
|
|
6174
6212
|
# An object representing the result of a container instance health
|
|
6175
6213
|
# status check.
|
|
6176
6214
|
#
|
|
@@ -8191,12 +8229,21 @@ module Aws::ECS
|
|
|
8191
8229
|
# across your infrastructure.
|
|
8192
8230
|
# @return [String]
|
|
8193
8231
|
#
|
|
8232
|
+
# @!attribute [rw] infrastructure_optimization
|
|
8233
|
+
# Defines how Amazon ECS Managed Instances optimizes the
|
|
8234
|
+
# infrastastructure in your capacity provider. Configure it to turn on
|
|
8235
|
+
# or off the infrastructure optimization in your capacity provider,
|
|
8236
|
+
# and to control the idle or underutilized EC2 instances optimization
|
|
8237
|
+
# delay.
|
|
8238
|
+
# @return [Types::InfrastructureOptimization]
|
|
8239
|
+
#
|
|
8194
8240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedInstancesProvider AWS API Documentation
|
|
8195
8241
|
#
|
|
8196
8242
|
class ManagedInstancesProvider < Struct.new(
|
|
8197
8243
|
:infrastructure_role_arn,
|
|
8198
8244
|
:instance_launch_template,
|
|
8199
|
-
:propagate_tags
|
|
8245
|
+
:propagate_tags,
|
|
8246
|
+
:infrastructure_optimization)
|
|
8200
8247
|
SENSITIVE = []
|
|
8201
8248
|
include Aws::Structure
|
|
8202
8249
|
end
|
|
@@ -14797,12 +14844,19 @@ module Aws::ECS
|
|
|
14797
14844
|
# new instances launched after the update.
|
|
14798
14845
|
# @return [String]
|
|
14799
14846
|
#
|
|
14847
|
+
# @!attribute [rw] infrastructure_optimization
|
|
14848
|
+
# The updated infrastructure optimization configuration. Changes to
|
|
14849
|
+
# this setting affect how Amazon ECS optimizes instances going
|
|
14850
|
+
# forward.
|
|
14851
|
+
# @return [Types::InfrastructureOptimization]
|
|
14852
|
+
#
|
|
14800
14853
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateManagedInstancesProviderConfiguration AWS API Documentation
|
|
14801
14854
|
#
|
|
14802
14855
|
class UpdateManagedInstancesProviderConfiguration < Struct.new(
|
|
14803
14856
|
:infrastructure_role_arn,
|
|
14804
14857
|
:instance_launch_template,
|
|
14805
|
-
:propagate_tags
|
|
14858
|
+
:propagate_tags,
|
|
14859
|
+
:infrastructure_optimization)
|
|
14806
14860
|
SENSITIVE = []
|
|
14807
14861
|
include Aws::Structure
|
|
14808
14862
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -165,7 +165,10 @@ module Aws
|
|
|
165
165
|
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
|
|
166
166
|
}?
|
|
167
167
|
},
|
|
168
|
-
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
168
|
+
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
|
|
169
|
+
infrastructure_optimization: {
|
|
170
|
+
scale_in_after: ::Integer?
|
|
171
|
+
}?
|
|
169
172
|
},
|
|
170
173
|
?tags: Array[
|
|
171
174
|
{
|
|
@@ -1726,7 +1729,10 @@ module Aws
|
|
|
1726
1729
|
max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
|
|
1727
1730
|
}?
|
|
1728
1731
|
},
|
|
1729
|
-
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
1732
|
+
propagate_tags: ("CAPACITY_PROVIDER" | "NONE")?,
|
|
1733
|
+
infrastructure_optimization: {
|
|
1734
|
+
scale_in_after: ::Integer?
|
|
1735
|
+
}?
|
|
1730
1736
|
}
|
|
1731
1737
|
) -> _UpdateCapacityProviderResponseSuccess
|
|
1732
1738
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -353,6 +353,7 @@ module Aws::ECS
|
|
|
353
353
|
attr_accessor infrastructure_role_arn: ::String
|
|
354
354
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
|
|
355
355
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
356
|
+
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
356
357
|
SENSITIVE: []
|
|
357
358
|
end
|
|
358
359
|
|
|
@@ -871,6 +872,11 @@ module Aws::ECS
|
|
|
871
872
|
SENSITIVE: []
|
|
872
873
|
end
|
|
873
874
|
|
|
875
|
+
class InfrastructureOptimization
|
|
876
|
+
attr_accessor scale_in_after: ::Integer
|
|
877
|
+
SENSITIVE: []
|
|
878
|
+
end
|
|
879
|
+
|
|
874
880
|
class InstanceHealthCheckResult
|
|
875
881
|
attr_accessor type: ("CONTAINER_RUNTIME")
|
|
876
882
|
attr_accessor status: ("OK" | "IMPAIRED" | "INSUFFICIENT_DATA" | "INITIALIZING")
|
|
@@ -1163,6 +1169,7 @@ module Aws::ECS
|
|
|
1163
1169
|
attr_accessor infrastructure_role_arn: ::String
|
|
1164
1170
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplate
|
|
1165
1171
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
1172
|
+
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
1166
1173
|
SENSITIVE: []
|
|
1167
1174
|
end
|
|
1168
1175
|
|
|
@@ -2106,6 +2113,7 @@ module Aws::ECS
|
|
|
2106
2113
|
attr_accessor infrastructure_role_arn: ::String
|
|
2107
2114
|
attr_accessor instance_launch_template: Types::InstanceLaunchTemplateUpdate
|
|
2108
2115
|
attr_accessor propagate_tags: ("CAPACITY_PROVIDER" | "NONE")
|
|
2116
|
+
attr_accessor infrastructure_optimization: Types::InfrastructureOptimization
|
|
2109
2117
|
SENSITIVE: []
|
|
2110
2118
|
end
|
|
2111
2119
|
|