aws-sdk-ecs 1.240.0 → 1.241.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 +2 -1
- data/lib/aws-sdk-ecs/client_api.rb +9 -0
- data/lib/aws-sdk-ecs/types.rb +68 -14
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/types.rbs +11 -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: e921cf4287e936722a676b108c3fde74fbabb546053db663b79b01d21cff6418
|
|
4
|
+
data.tar.gz: bcde8b8f84df1b572d4ef15a82ff72c890fef20cb3348bdf10600b15e0491a2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a6a7c70f935decdd8e5685c29eb8b0dc235ac925846e4d1f26ea78918d17b954967241ba3e2c02bd1ea0d2bf006436574b80f9ee44fcfccac3f4ae50fd2b4a1
|
|
7
|
+
data.tar.gz: 5bf4085197a4407c38b8ca00c0a95556826a97b87af42b9c12f87219185a99692debd2ce9abcd5257bd226352b22306119126b06dfa52478cd5e1ffafd3327a7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.241.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -6581,6 +6581,7 @@ module Aws::ECS
|
|
|
6581
6581
|
# resp.service_revisions[0].ecs_managed_resources.log_groups[0].status_reason #=> String
|
|
6582
6582
|
# resp.service_revisions[0].ecs_managed_resources.log_groups[0].updated_at #=> Time
|
|
6583
6583
|
# resp.service_revisions[0].ecs_managed_resources.log_groups[0].log_group_name #=> String
|
|
6584
|
+
# resp.service_revisions[0].overrides.runtime_platform.cpu_architecture #=> String
|
|
6584
6585
|
# resp.service_revisions[0].monitoring.metric_configurations #=> Array
|
|
6585
6586
|
# resp.service_revisions[0].monitoring.metric_configurations[0].metric_names #=> Array
|
|
6586
6587
|
# resp.service_revisions[0].monitoring.metric_configurations[0].metric_names[0] #=> String
|
|
@@ -16246,7 +16247,7 @@ module Aws::ECS
|
|
|
16246
16247
|
tracer: tracer
|
|
16247
16248
|
)
|
|
16248
16249
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
16249
|
-
context[:gem_version] = '1.
|
|
16250
|
+
context[:gem_version] = '1.241.0'
|
|
16250
16251
|
Seahorse::Client::Request.new(handlers, context)
|
|
16251
16252
|
end
|
|
16252
16253
|
|
|
@@ -484,6 +484,7 @@ module Aws::ECS
|
|
|
484
484
|
RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
|
|
485
485
|
RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
|
|
486
486
|
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
|
487
|
+
RuntimePlatformOverride = Shapes::StructureShape.new(name: 'RuntimePlatformOverride')
|
|
487
488
|
S3FilesVolumeConfiguration = Shapes::StructureShape.new(name: 'S3FilesVolumeConfiguration')
|
|
488
489
|
Scale = Shapes::StructureShape.new(name: 'Scale')
|
|
489
490
|
ScaleUnit = Shapes::StringShape.new(name: 'ScaleUnit')
|
|
@@ -534,6 +535,7 @@ module Aws::ECS
|
|
|
534
535
|
ServiceRevision = Shapes::StructureShape.new(name: 'ServiceRevision')
|
|
535
536
|
ServiceRevisionLoadBalancer = Shapes::StructureShape.new(name: 'ServiceRevisionLoadBalancer')
|
|
536
537
|
ServiceRevisionLoadBalancers = Shapes::ListShape.new(name: 'ServiceRevisionLoadBalancers')
|
|
538
|
+
ServiceRevisionOverrides = Shapes::StructureShape.new(name: 'ServiceRevisionOverrides')
|
|
537
539
|
ServiceRevisionSummary = Shapes::StructureShape.new(name: 'ServiceRevisionSummary')
|
|
538
540
|
ServiceRevisions = Shapes::ListShape.new(name: 'ServiceRevisions')
|
|
539
541
|
ServiceRevisionsSummaryList = Shapes::ListShape.new(name: 'ServiceRevisionsSummaryList')
|
|
@@ -2456,6 +2458,9 @@ module Aws::ECS
|
|
|
2456
2458
|
RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: OSFamily, location_name: "operatingSystemFamily"))
|
|
2457
2459
|
RuntimePlatform.struct_class = Types::RuntimePlatform
|
|
2458
2460
|
|
|
2461
|
+
RuntimePlatformOverride.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: String, location_name: "cpuArchitecture"))
|
|
2462
|
+
RuntimePlatformOverride.struct_class = Types::RuntimePlatformOverride
|
|
2463
|
+
|
|
2459
2464
|
S3FilesVolumeConfiguration.add_member(:file_system_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemArn"))
|
|
2460
2465
|
S3FilesVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, location_name: "rootDirectory"))
|
|
2461
2466
|
S3FilesVolumeConfiguration.add_member(:transit_encryption_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "transitEncryptionPort"))
|
|
@@ -2678,6 +2683,7 @@ module Aws::ECS
|
|
|
2678
2683
|
ServiceRevision.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
|
2679
2684
|
ServiceRevision.add_member(:resolved_configuration, Shapes::ShapeRef.new(shape: ResolvedConfiguration, location_name: "resolvedConfiguration"))
|
|
2680
2685
|
ServiceRevision.add_member(:ecs_managed_resources, Shapes::ShapeRef.new(shape: ECSManagedResources, location_name: "ecsManagedResources"))
|
|
2686
|
+
ServiceRevision.add_member(:overrides, Shapes::ShapeRef.new(shape: ServiceRevisionOverrides, location_name: "overrides"))
|
|
2681
2687
|
ServiceRevision.add_member(:monitoring, Shapes::ShapeRef.new(shape: MonitoringConfiguration, location_name: "monitoring"))
|
|
2682
2688
|
ServiceRevision.struct_class = Types::ServiceRevision
|
|
2683
2689
|
|
|
@@ -2687,6 +2693,9 @@ module Aws::ECS
|
|
|
2687
2693
|
|
|
2688
2694
|
ServiceRevisionLoadBalancers.member = Shapes::ShapeRef.new(shape: ServiceRevisionLoadBalancer)
|
|
2689
2695
|
|
|
2696
|
+
ServiceRevisionOverrides.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatformOverride, location_name: "runtimePlatform"))
|
|
2697
|
+
ServiceRevisionOverrides.struct_class = Types::ServiceRevisionOverrides
|
|
2698
|
+
|
|
2690
2699
|
ServiceRevisionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
2691
2700
|
ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
|
|
2692
2701
|
ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -5740,15 +5740,18 @@ module Aws::ECS
|
|
|
5740
5740
|
# @return [Boolean]
|
|
5741
5741
|
#
|
|
5742
5742
|
# @!attribute [rw] reset_on_healthy_task
|
|
5743
|
-
#
|
|
5743
|
+
# Specifies whether the deployment circuit breaker resets its failure
|
|
5744
5744
|
# count when a task reaches a healthy state. When set to `true`, a
|
|
5745
|
-
# healthy
|
|
5746
|
-
#
|
|
5745
|
+
# task that reaches a healthy state resets the failure count to `0`.
|
|
5746
|
+
# When set to `false`, Amazon ECS does not reset the failure count.
|
|
5747
|
+
# The default is `true`.
|
|
5747
5748
|
# @return [Boolean]
|
|
5748
5749
|
#
|
|
5749
5750
|
# @!attribute [rw] threshold_configuration
|
|
5750
5751
|
# The threshold configuration that controls when the deployment
|
|
5751
|
-
# circuit breaker triggers.
|
|
5752
|
+
# circuit breaker triggers. The `type` and `value` together determine
|
|
5753
|
+
# how many task failures are tolerated before the circuit breaker
|
|
5754
|
+
# activates.
|
|
5752
5755
|
# @return [Types::ThresholdConfiguration]
|
|
5753
5756
|
#
|
|
5754
5757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentCircuitBreaker AWS API Documentation
|
|
@@ -14107,6 +14110,32 @@ module Aws::ECS
|
|
|
14107
14110
|
include Aws::Structure
|
|
14108
14111
|
end
|
|
14109
14112
|
|
|
14113
|
+
# The runtime platform that Amazon ECS applies to a service revision.
|
|
14114
|
+
# This value overrides the runtime platform specified in the task
|
|
14115
|
+
# definition. You can't set this value.
|
|
14116
|
+
#
|
|
14117
|
+
# @!attribute [rw] cpu_architecture
|
|
14118
|
+
# The CPU architecture that tasks in this service revision run on.
|
|
14119
|
+
# This value might differ from the architecture declared in the task
|
|
14120
|
+
# definition—for example, when Amazon ECS detects an architecture
|
|
14121
|
+
# mismatch during an Amazon ECS Express deployment and runs tasks on a
|
|
14122
|
+
# different architecture. You can't set this value.
|
|
14123
|
+
#
|
|
14124
|
+
# Valid values:
|
|
14125
|
+
#
|
|
14126
|
+
# * `X86_64` - The x86 64-bit architecture.
|
|
14127
|
+
#
|
|
14128
|
+
# * `ARM64` - The 64-bit ARM architecture.
|
|
14129
|
+
# @return [String]
|
|
14130
|
+
#
|
|
14131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RuntimePlatformOverride AWS API Documentation
|
|
14132
|
+
#
|
|
14133
|
+
class RuntimePlatformOverride < Struct.new(
|
|
14134
|
+
:cpu_architecture)
|
|
14135
|
+
SENSITIVE = []
|
|
14136
|
+
include Aws::Structure
|
|
14137
|
+
end
|
|
14138
|
+
|
|
14110
14139
|
# This parameter is specified when you're using an Amazon S3 Files file
|
|
14111
14140
|
# system for task storage. For more information, see [Amazon S3 Files
|
|
14112
14141
|
# volumes][1] in the *Amazon Elastic Container Service Developer Guide*.
|
|
@@ -15914,6 +15943,13 @@ module Aws::ECS
|
|
|
15914
15943
|
# Express service for Amazon ECS.
|
|
15915
15944
|
# @return [Types::ECSManagedResources]
|
|
15916
15945
|
#
|
|
15946
|
+
# @!attribute [rw] overrides
|
|
15947
|
+
# The effective runtime overrides that Amazon ECS applies to this
|
|
15948
|
+
# service revision. This value is present only when Amazon ECS detects
|
|
15949
|
+
# a difference between the task definition and the actual runtime
|
|
15950
|
+
# configuration.
|
|
15951
|
+
# @return [Types::ServiceRevisionOverrides]
|
|
15952
|
+
#
|
|
15917
15953
|
# @!attribute [rw] monitoring
|
|
15918
15954
|
# The optional monitoring configuration for the service, which defines
|
|
15919
15955
|
# the resolution for the service-level `CPUUtilization` and
|
|
@@ -15944,6 +15980,7 @@ module Aws::ECS
|
|
|
15944
15980
|
:vpc_lattice_configurations,
|
|
15945
15981
|
:resolved_configuration,
|
|
15946
15982
|
:ecs_managed_resources,
|
|
15983
|
+
:overrides,
|
|
15947
15984
|
:monitoring)
|
|
15948
15985
|
SENSITIVE = []
|
|
15949
15986
|
include Aws::Structure
|
|
@@ -15973,6 +16010,23 @@ module Aws::ECS
|
|
|
15973
16010
|
include Aws::Structure
|
|
15974
16011
|
end
|
|
15975
16012
|
|
|
16013
|
+
# Contains the runtime overrides that Amazon ECS automatically applies
|
|
16014
|
+
# to a service revision when the effective runtime configuration differs
|
|
16015
|
+
# from the task definition. This value is read-only.
|
|
16016
|
+
#
|
|
16017
|
+
# @!attribute [rw] runtime_platform
|
|
16018
|
+
# The runtime platform override that Amazon ECS automatically applies
|
|
16019
|
+
# to the service revision. You can't set this value.
|
|
16020
|
+
# @return [Types::RuntimePlatformOverride]
|
|
16021
|
+
#
|
|
16022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceRevisionOverrides AWS API Documentation
|
|
16023
|
+
#
|
|
16024
|
+
class ServiceRevisionOverrides < Struct.new(
|
|
16025
|
+
:runtime_platform)
|
|
16026
|
+
SENSITIVE = []
|
|
16027
|
+
include Aws::Structure
|
|
16028
|
+
end
|
|
16029
|
+
|
|
15976
16030
|
# The information about the number of requested, pending, and running
|
|
15977
16031
|
# tasks for a service revision.
|
|
15978
16032
|
#
|
|
@@ -18197,19 +18251,19 @@ module Aws::ECS
|
|
|
18197
18251
|
# `BOUNDED_PERCENT` with a `value` of `50`.
|
|
18198
18252
|
#
|
|
18199
18253
|
# @!attribute [rw] type
|
|
18200
|
-
# Determines how `value`
|
|
18201
|
-
# For the percentage types (`BOUNDED_PERCENT` and
|
|
18202
|
-
# `UNBOUNDED_PERCENT`), `value`
|
|
18203
|
-
# desired count
|
|
18204
|
-
# `BOUNDED_PERCENT`.
|
|
18254
|
+
# Determines how Amazon ECS uses `value` to calculate the failure
|
|
18255
|
+
# threshold. For the percentage types (`BOUNDED_PERCENT` and
|
|
18256
|
+
# `UNBOUNDED_PERCENT`), Amazon ECS multiplies `value` by the latest
|
|
18257
|
+
# service desired count. For `COUNT`, Amazon ECS uses `value` directly
|
|
18258
|
+
# as the threshold. The default is `BOUNDED_PERCENT`.
|
|
18205
18259
|
# @return [String]
|
|
18206
18260
|
#
|
|
18207
18261
|
# @!attribute [rw] value
|
|
18208
|
-
#
|
|
18209
|
-
# `COUNT`, this is the failure
|
|
18210
|
-
#
|
|
18211
|
-
# by the latest service desired count to
|
|
18212
|
-
# threshold.
|
|
18262
|
+
# Specifies the integer that Amazon ECS uses to calculate the failure
|
|
18263
|
+
# threshold. When `type` is `COUNT`, this value is the failure
|
|
18264
|
+
# threshold itself. When `type` is a percentage type, Amazon ECS
|
|
18265
|
+
# multiplies this value by the latest service desired count to produce
|
|
18266
|
+
# the failure threshold. The default is `50`.
|
|
18213
18267
|
# @return [Integer]
|
|
18214
18268
|
#
|
|
18215
18269
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ThresholdConfiguration AWS API Documentation
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -2191,6 +2191,11 @@ module Aws::ECS
|
|
|
2191
2191
|
SENSITIVE: []
|
|
2192
2192
|
end
|
|
2193
2193
|
|
|
2194
|
+
class RuntimePlatformOverride
|
|
2195
|
+
attr_accessor cpu_architecture: ::String
|
|
2196
|
+
SENSITIVE: []
|
|
2197
|
+
end
|
|
2198
|
+
|
|
2194
2199
|
class S3FilesVolumeConfiguration
|
|
2195
2200
|
attr_accessor file_system_arn: ::String
|
|
2196
2201
|
attr_accessor root_directory: ::String
|
|
@@ -2444,6 +2449,7 @@ module Aws::ECS
|
|
|
2444
2449
|
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
|
2445
2450
|
attr_accessor resolved_configuration: Types::ResolvedConfiguration
|
|
2446
2451
|
attr_accessor ecs_managed_resources: Types::ECSManagedResources
|
|
2452
|
+
attr_accessor overrides: Types::ServiceRevisionOverrides
|
|
2447
2453
|
attr_accessor monitoring: Types::MonitoringConfiguration
|
|
2448
2454
|
SENSITIVE: []
|
|
2449
2455
|
end
|
|
@@ -2454,6 +2460,11 @@ module Aws::ECS
|
|
|
2454
2460
|
SENSITIVE: []
|
|
2455
2461
|
end
|
|
2456
2462
|
|
|
2463
|
+
class ServiceRevisionOverrides
|
|
2464
|
+
attr_accessor runtime_platform: Types::RuntimePlatformOverride
|
|
2465
|
+
SENSITIVE: []
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2457
2468
|
class ServiceRevisionSummary
|
|
2458
2469
|
attr_accessor arn: ::String
|
|
2459
2470
|
attr_accessor requested_task_count: ::Integer
|