aws-sdk-ecs 1.197.0 → 1.198.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 +3 -6
- data/lib/aws-sdk-ecs/client_api.rb +0 -2
- data/lib/aws-sdk-ecs/types.rb +93 -52
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +2 -6
- data/sig/types.rbs +0 -1
- 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: b784ef6b59e1a4036e11bfc5e6ecbeaba44fbc2b97295f7a1c3a3761dd794596
|
4
|
+
data.tar.gz: 5608a525a4a88b2386326682b21016466c52985647441fa93a202b35a913666b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da692a4ec5494712eaf2dad08452756ee23a303cb32daf4d52e1ee180766a9256cda6bca8ec48252c768aef83cabdd018c0b955e78032bc2e75db7930edf62a9
|
7
|
+
data.tar.gz: a8fefdcc245350f4c8207cf6024722b4ec87786b7dfc6f69b3b7fea9e5896041168f014ec216b4a85dac377c6b347e1ec60f888fed16a37139f393740900bbd6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.198.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -944,7 +944,8 @@ module Aws::ECS
|
|
944
944
|
#
|
945
945
|
# When you create a service which uses the `ECS` deployment
|
946
946
|
# controller, you can choose between the following deployment
|
947
|
-
# strategies
|
947
|
+
# strategies (which you can set in the “`strategy`” field in
|
948
|
+
# “`deploymentConfiguration`”): :
|
948
949
|
#
|
949
950
|
# * `ROLLING`: When you create a service which uses the *rolling
|
950
951
|
# update* (`ROLLING`) deployment strategy, the Amazon ECS service
|
@@ -1603,8 +1604,6 @@ module Aws::ECS
|
|
1603
1604
|
# hook_target_arn: "String",
|
1604
1605
|
# role_arn: "IAMRoleArn",
|
1605
1606
|
# lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
|
1606
|
-
# hook_details: {
|
1607
|
-
# },
|
1608
1607
|
# },
|
1609
1608
|
# ],
|
1610
1609
|
# },
|
@@ -11945,8 +11944,6 @@ module Aws::ECS
|
|
11945
11944
|
# hook_target_arn: "String",
|
11946
11945
|
# role_arn: "IAMRoleArn",
|
11947
11946
|
# lifecycle_stages: ["RECONCILE_SERVICE"], # accepts RECONCILE_SERVICE, PRE_SCALE_UP, POST_SCALE_UP, TEST_TRAFFIC_SHIFT, POST_TEST_TRAFFIC_SHIFT, PRODUCTION_TRAFFIC_SHIFT, POST_PRODUCTION_TRAFFIC_SHIFT
|
11948
|
-
# hook_details: {
|
11949
|
-
# },
|
11950
11947
|
# },
|
11951
11948
|
# ],
|
11952
11949
|
# },
|
@@ -12775,7 +12772,7 @@ module Aws::ECS
|
|
12775
12772
|
tracer: tracer
|
12776
12773
|
)
|
12777
12774
|
context[:gem_name] = 'aws-sdk-ecs'
|
12778
|
-
context[:gem_version] = '1.
|
12775
|
+
context[:gem_version] = '1.198.0'
|
12779
12776
|
Seahorse::Client::Request.new(handlers, context)
|
12780
12777
|
end
|
12781
12778
|
|
@@ -188,7 +188,6 @@ module Aws::ECS
|
|
188
188
|
GpuIds = Shapes::ListShape.new(name: 'GpuIds')
|
189
189
|
HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
|
190
190
|
HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
|
191
|
-
HookDetails = Shapes::DocumentShape.new(name: 'HookDetails', document: true)
|
192
191
|
HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
|
193
192
|
HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
|
194
193
|
HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
|
@@ -897,7 +896,6 @@ module Aws::ECS
|
|
897
896
|
DeploymentLifecycleHook.add_member(:hook_target_arn, Shapes::ShapeRef.new(shape: String, location_name: "hookTargetArn"))
|
898
897
|
DeploymentLifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "roleArn"))
|
899
898
|
DeploymentLifecycleHook.add_member(:lifecycle_stages, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStageList, location_name: "lifecycleStages"))
|
900
|
-
DeploymentLifecycleHook.add_member(:hook_details, Shapes::ShapeRef.new(shape: HookDetails, location_name: "hookDetails"))
|
901
899
|
DeploymentLifecycleHook.struct_class = Types::DeploymentLifecycleHook
|
902
900
|
|
903
901
|
DeploymentLifecycleHookList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHook)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -33,13 +33,17 @@ module Aws::ECS
|
|
33
33
|
# @return [String]
|
34
34
|
#
|
35
35
|
# @!attribute [rw] production_listener_rule
|
36
|
-
# The Amazon Resource Name (ARN) that identifies the production
|
37
|
-
# listener rule
|
36
|
+
# The Amazon Resource Name (ARN) that that identifies the production
|
37
|
+
# listener rule (in the case of an Application Load Balancer) or
|
38
|
+
# listener (in the case for an Network Load Balancer) for routing
|
39
|
+
# production traffic.
|
38
40
|
# @return [String]
|
39
41
|
#
|
40
42
|
# @!attribute [rw] test_listener_rule
|
41
|
-
# The Amazon Resource Name (ARN) that identifies
|
42
|
-
# rule
|
43
|
+
# The Amazon Resource Name (ARN) that identifies ) that identifies the
|
44
|
+
# test listener rule (in the case of an Application Load Balancer) or
|
45
|
+
# listener (in the case for an Network Load Balancer) for routing test
|
46
|
+
# traffic.
|
43
47
|
# @return [String]
|
44
48
|
#
|
45
49
|
# @!attribute [rw] role_arn
|
@@ -3772,7 +3776,7 @@ module Aws::ECS
|
|
3772
3776
|
# your service to the last completed deployment after a failure.
|
3773
3777
|
#
|
3774
3778
|
# You can only use the `DeploymentAlarms` method to detect failures when
|
3775
|
-
# the `DeploymentController` is set to `ECS
|
3779
|
+
# the `DeploymentController` is set to `ECS`.
|
3776
3780
|
#
|
3777
3781
|
# For more information, see [Rolling update][1] in the <i> <i>Amazon
|
3778
3782
|
# Elastic Container Service Developer Guide</i> </i>.
|
@@ -4029,8 +4033,8 @@ module Aws::ECS
|
|
4029
4033
|
# @return [String]
|
4030
4034
|
#
|
4031
4035
|
# @!attribute [rw] bake_time_in_minutes
|
4032
|
-
# The
|
4033
|
-
# simultaneously after the production traffic has shifted.
|
4036
|
+
# The time period when both blue and green service revisions are
|
4037
|
+
# running simultaneously after the production traffic has shifted.
|
4034
4038
|
#
|
4035
4039
|
# You must provide this parameter when you use the `BLUE_GREEN`
|
4036
4040
|
# deployment strategy.
|
@@ -4038,8 +4042,7 @@ module Aws::ECS
|
|
4038
4042
|
#
|
4039
4043
|
# @!attribute [rw] lifecycle_hooks
|
4040
4044
|
# An array of deployment lifecycle hook objects to run custom logic at
|
4041
|
-
# specific stages of the deployment lifecycle.
|
4042
|
-
# to run custom logic at key points during the deployment process.
|
4045
|
+
# specific stages of the deployment lifecycle.
|
4043
4046
|
# @return [Array<Types::DeploymentLifecycleHook>]
|
4044
4047
|
#
|
4045
4048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration AWS API Documentation
|
@@ -4176,6 +4179,14 @@ module Aws::ECS
|
|
4176
4179
|
# the deployment process. Currently, you can use Lambda functions as
|
4177
4180
|
# hook targets.
|
4178
4181
|
#
|
4182
|
+
# For more information, see [Lifecycle hooks for Amazon ECS service
|
4183
|
+
# deployments][1] in the <i> Amazon Elastic Container Service Developer
|
4184
|
+
# Guide</i>.
|
4185
|
+
#
|
4186
|
+
#
|
4187
|
+
#
|
4188
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-lifecycle-hooks.html
|
4189
|
+
#
|
4179
4190
|
# @!attribute [rw] hook_target_arn
|
4180
4191
|
# The Amazon Resource Name (ARN) of the hook target. Currently, only
|
4181
4192
|
# Lambda function ARNs are supported.
|
@@ -4189,7 +4200,7 @@ module Aws::ECS
|
|
4189
4200
|
# ECS permission to call Lambda functions on your behalf.
|
4190
4201
|
#
|
4191
4202
|
# For more information, see [Permissions required for Lambda functions
|
4192
|
-
# in Amazon ECS blue/green deployments][1] in the<i> Amazon Elastic
|
4203
|
+
# in Amazon ECS blue/green deployments][1] in the <i> Amazon Elastic
|
4193
4204
|
# Container Service Developer Guide</i>.
|
4194
4205
|
#
|
4195
4206
|
#
|
@@ -4203,8 +4214,9 @@ module Aws::ECS
|
|
4203
4214
|
#
|
4204
4215
|
# * RECONCILE\_SERVICE
|
4205
4216
|
#
|
4206
|
-
#
|
4207
|
-
# with more than 1 service revision in an ACTIVE
|
4217
|
+
# The reconciliation stage that only happens when you start a new
|
4218
|
+
# service deployment with more than 1 service revision in an ACTIVE
|
4219
|
+
# state.
|
4208
4220
|
#
|
4209
4221
|
# You can use a lifecycle hook for this stage.
|
4210
4222
|
#
|
@@ -4216,14 +4228,6 @@ module Aws::ECS
|
|
4216
4228
|
#
|
4217
4229
|
# You can use a lifecycle hook for this stage.
|
4218
4230
|
#
|
4219
|
-
# * SCALE\_UP
|
4220
|
-
#
|
4221
|
-
# The time when the green service revision scales up to 100% and
|
4222
|
-
# launches new tasks. The green service revision is not serving any
|
4223
|
-
# traffic at this point.
|
4224
|
-
#
|
4225
|
-
# You can't use a lifecycle hook for this stage.
|
4226
|
-
#
|
4227
4231
|
# * POST\_SCALE\_UP
|
4228
4232
|
#
|
4229
4233
|
# The green service revision has started. The blue service revision
|
@@ -4259,39 +4263,18 @@ module Aws::ECS
|
|
4259
4263
|
#
|
4260
4264
|
# The production traffic shift is complete.
|
4261
4265
|
#
|
4262
|
-
#
|
4263
|
-
#
|
4264
|
-
# * BAKE\_TIME
|
4265
|
-
#
|
4266
|
-
# The duration when both blue and green service revisions are
|
4267
|
-
# running simultaneously.
|
4268
|
-
#
|
4269
|
-
# You can't use a lifecycle hook for this stage.
|
4270
|
-
#
|
4271
|
-
# * CLEAN\_UP
|
4272
|
-
#
|
4273
|
-
# The blue service revision has completely scaled down to 0 running
|
4274
|
-
# tasks. The green service revision is now the production service
|
4275
|
-
# revision after this stage.
|
4276
|
-
#
|
4277
|
-
# You can't use a lifecycle hook for this stage.
|
4266
|
+
# You can use a lifecycle hook for this stage.
|
4278
4267
|
#
|
4279
4268
|
# You must provide this parameter when configuring a deployment
|
4280
4269
|
# lifecycle hook.
|
4281
4270
|
# @return [Array<String>]
|
4282
4271
|
#
|
4283
|
-
# @!attribute [rw] hook_details
|
4284
|
-
# Optionally provide details about the hook. Use this field to pass
|
4285
|
-
# custom parameters to your hook target (such as a Lambda function).
|
4286
|
-
# @return [Hash,Array,String,Numeric,Boolean]
|
4287
|
-
#
|
4288
4272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHook AWS API Documentation
|
4289
4273
|
#
|
4290
4274
|
class DeploymentLifecycleHook < Struct.new(
|
4291
4275
|
:hook_target_arn,
|
4292
4276
|
:role_arn,
|
4293
|
-
:lifecycle_stages
|
4294
|
-
:hook_details)
|
4277
|
+
:lifecycle_stages)
|
4295
4278
|
SENSITIVE = []
|
4296
4279
|
include Aws::Structure
|
4297
4280
|
end
|
@@ -10395,6 +10378,14 @@ module Aws::ECS
|
|
10395
10378
|
# Amazon ECS blue/green deployments. These rules specify which HTTP
|
10396
10379
|
# headers to examine and what values to match for routing decisions.
|
10397
10380
|
#
|
10381
|
+
# For more information, see [Service Connect for Amazon ECS blue/green
|
10382
|
+
# deployments][1] in the <i> Amazon Elastic Container Service Developer
|
10383
|
+
# Guide</i>.
|
10384
|
+
#
|
10385
|
+
#
|
10386
|
+
#
|
10387
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html
|
10388
|
+
#
|
10398
10389
|
# @!attribute [rw] name
|
10399
10390
|
# The name of the HTTP header to examine for test traffic routing.
|
10400
10391
|
# Common examples include custom headers like `X-Test-Version` or
|
@@ -10421,6 +10412,14 @@ module Aws::ECS
|
|
10421
10412
|
# process, allowing for safe testing before full production traffic
|
10422
10413
|
# shift.
|
10423
10414
|
#
|
10415
|
+
# For more information, see [Service Connect for Amazon ECS blue/green
|
10416
|
+
# deployments][1] in the <i> Amazon Elastic Container Service Developer
|
10417
|
+
# Guide</i>.
|
10418
|
+
#
|
10419
|
+
#
|
10420
|
+
#
|
10421
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html
|
10422
|
+
#
|
10424
10423
|
# @!attribute [rw] header
|
10425
10424
|
# The HTTP header-based routing rules that determine which requests
|
10426
10425
|
# should be routed to the new service version during blue/green
|
@@ -10555,19 +10554,61 @@ module Aws::ECS
|
|
10555
10554
|
# The current lifecycle stage of the deployment. Possible values
|
10556
10555
|
# include:
|
10557
10556
|
#
|
10558
|
-
# *
|
10557
|
+
# * RECONCILE\_SERVICE
|
10559
10558
|
#
|
10560
|
-
#
|
10561
|
-
#
|
10559
|
+
# The reconciliation stage that only happens when you start a new
|
10560
|
+
# service deployment with more than 1 service revision in an ACTIVE
|
10561
|
+
# state.
|
10562
10562
|
#
|
10563
|
-
# *
|
10564
|
-
# traffic to the new (green) tasks
|
10563
|
+
# * PRE\_SCALE\_UP
|
10565
10564
|
#
|
10566
|
-
#
|
10567
|
-
#
|
10568
|
-
# traffic
|
10565
|
+
# The green service revision has not started. The blue service
|
10566
|
+
# revision is handling 100% of the production traffic. There is no
|
10567
|
+
# test traffic.
|
10568
|
+
#
|
10569
|
+
# * SCALE\_UP
|
10570
|
+
#
|
10571
|
+
# The stage when the green service revision scales up to 100% and
|
10572
|
+
# launches new tasks. The green service revision is not serving any
|
10573
|
+
# traffic at this point.
|
10574
|
+
#
|
10575
|
+
# * POST\_SCALE\_UP
|
10576
|
+
#
|
10577
|
+
# The green service revision has started. The blue service revision
|
10578
|
+
# is handling 100% of the production traffic. There is no test
|
10579
|
+
# traffic.
|
10580
|
+
#
|
10581
|
+
# * TEST\_TRAFFIC\_SHIFT
|
10582
|
+
#
|
10583
|
+
# The blue and green service revisions are running. The blue service
|
10584
|
+
# revision handles 100% of the production traffic. The green service
|
10585
|
+
# revision is migrating from 0% to 100% of test traffic.
|
10586
|
+
#
|
10587
|
+
# * POST\_TEST\_TRAFFIC\_SHIFT
|
10588
|
+
#
|
10589
|
+
# The test traffic shift is complete. The green service revision
|
10590
|
+
# handles 100% of the test traffic.
|
10591
|
+
#
|
10592
|
+
# * PRODUCTION\_TRAFFIC\_SHIFT
|
10593
|
+
#
|
10594
|
+
# Production traffic is shifting to the green service revision. The
|
10595
|
+
# green service revision is migrating from 0% to 100% of production
|
10596
|
+
# traffic.
|
10597
|
+
#
|
10598
|
+
# * POST\_PRODUCTION\_TRAFFIC\_SHIFT
|
10599
|
+
#
|
10600
|
+
# The production traffic shift is complete.
|
10601
|
+
#
|
10602
|
+
# * BAKE\_TIME
|
10603
|
+
#
|
10604
|
+
# The stage when both blue and green service revisions are running
|
10605
|
+
# simultaneously after the production traffic has shifted.
|
10606
|
+
#
|
10607
|
+
# * CLEAN\_UP
|
10569
10608
|
#
|
10570
|
-
#
|
10609
|
+
# The stage when the blue service revision has completely scaled
|
10610
|
+
# down to 0 running tasks. The green service revision is now the
|
10611
|
+
# production service revision after this stage.
|
10571
10612
|
# @return [String]
|
10572
10613
|
#
|
10573
10614
|
# @!attribute [rw] deployment_configuration
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -218,9 +218,7 @@ module Aws
|
|
218
218
|
{
|
219
219
|
hook_target_arn: ::String?,
|
220
220
|
role_arn: ::String?,
|
221
|
-
lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]
|
222
|
-
hook_details: {
|
223
|
-
}?
|
221
|
+
lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
|
224
222
|
},
|
225
223
|
]?
|
226
224
|
},
|
@@ -1689,9 +1687,7 @@ module Aws
|
|
1689
1687
|
{
|
1690
1688
|
hook_target_arn: ::String?,
|
1691
1689
|
role_arn: ::String?,
|
1692
|
-
lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]
|
1693
|
-
hook_details: {
|
1694
|
-
}?
|
1690
|
+
lifecycle_stages: Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]?
|
1695
1691
|
},
|
1696
1692
|
]?
|
1697
1693
|
},
|
data/sig/types.rbs
CHANGED
@@ -521,7 +521,6 @@ module Aws::ECS
|
|
521
521
|
attr_accessor hook_target_arn: ::String
|
522
522
|
attr_accessor role_arn: ::String
|
523
523
|
attr_accessor lifecycle_stages: ::Array[("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT")]
|
524
|
-
attr_accessor hook_details: untyped
|
525
524
|
SENSITIVE: []
|
526
525
|
end
|
527
526
|
|