aws-sdk-ecs 1.204.0 → 1.205.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 +10 -6
- data/lib/aws-sdk-ecs/client_api.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +21 -15
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +6 -2
- data/sig/types.rbs +1 -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: efcb22e2ac4d043597f1353ad23f4ee49ca1c3c0a2ce05bd2b5901820d12da2f
|
4
|
+
data.tar.gz: e378a98df4a0fd037c174541728e261f5697b52fd51e15b676347a7bb88aed42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a2ee5a3fc4a0c99c6c6e5e9c753b50fa8c2894362248ae2108ccea98da0047c3886a45e91ea75e369ea0581eb280ea64fdccfab7110a75e3b8ab1e586345c03
|
7
|
+
data.tar.gz: 0ce427cc8fa23bb3da8db00a9971969b30f7f2698ba37c23638e9f5316dc9e1a1f4a9c2b4d99ae506294d70767edad95aac1312e9dc166d70cf31758d09bb3cf
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.205.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1096,8 +1096,8 @@ module Aws::ECS
|
|
1096
1096
|
# The default behavior of `AvailabilityZoneRebalancing` differs between
|
1097
1097
|
# create and update requests:
|
1098
1098
|
#
|
1099
|
-
# * For create service requests, when
|
1100
|
-
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
1099
|
+
# * For create service requests, when no value is specified for
|
1100
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
1101
1101
|
# `ENABLED`.
|
1102
1102
|
#
|
1103
1103
|
# * For update service requests, when no value is specified for
|
@@ -1617,6 +1617,8 @@ module Aws::ECS
|
|
1617
1617
|
# hook_target_arn: "String",
|
1618
1618
|
# role_arn: "IAMRoleArn",
|
1619
1619
|
# 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
|
1620
|
+
# hook_details: {
|
1621
|
+
# },
|
1620
1622
|
# },
|
1621
1623
|
# ],
|
1622
1624
|
# },
|
@@ -9087,7 +9089,7 @@ module Aws::ECS
|
|
9087
9089
|
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
9088
9090
|
# The details of the volume that was `configuredAtLaunch`. You can
|
9089
9091
|
# configure the size, volumeType, IOPS, throughput, snapshot and
|
9090
|
-
# encryption in
|
9092
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
9091
9093
|
# the volume must match the `name` from the task definition.
|
9092
9094
|
#
|
9093
9095
|
#
|
@@ -11712,8 +11714,8 @@ module Aws::ECS
|
|
11712
11714
|
# The default behavior of `AvailabilityZoneRebalancing` differs between
|
11713
11715
|
# create and update requests:
|
11714
11716
|
#
|
11715
|
-
# * For create service requests, when
|
11716
|
-
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
11717
|
+
# * For create service requests, when no value is specified for
|
11718
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
11717
11719
|
# `ENABLED`.
|
11718
11720
|
#
|
11719
11721
|
# * For update service requests, when no value is specified for
|
@@ -12005,6 +12007,8 @@ module Aws::ECS
|
|
12005
12007
|
# hook_target_arn: "String",
|
12006
12008
|
# role_arn: "IAMRoleArn",
|
12007
12009
|
# 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
|
12010
|
+
# hook_details: {
|
12011
|
+
# },
|
12008
12012
|
# },
|
12009
12013
|
# ],
|
12010
12014
|
# },
|
@@ -12833,7 +12837,7 @@ module Aws::ECS
|
|
12833
12837
|
tracer: tracer
|
12834
12838
|
)
|
12835
12839
|
context[:gem_name] = 'aws-sdk-ecs'
|
12836
|
-
context[:gem_version] = '1.
|
12840
|
+
context[:gem_version] = '1.205.0'
|
12837
12841
|
Seahorse::Client::Request.new(handlers, context)
|
12838
12842
|
end
|
12839
12843
|
|
@@ -188,6 +188,7 @@ 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)
|
191
192
|
HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
|
192
193
|
HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
|
193
194
|
HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
|
@@ -896,6 +897,7 @@ module Aws::ECS
|
|
896
897
|
DeploymentLifecycleHook.add_member(:hook_target_arn, Shapes::ShapeRef.new(shape: String, location_name: "hookTargetArn"))
|
897
898
|
DeploymentLifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "roleArn"))
|
898
899
|
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"))
|
899
901
|
DeploymentLifecycleHook.struct_class = Types::DeploymentLifecycleHook
|
900
902
|
|
901
903
|
DeploymentLifecycleHookList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHook)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -1328,12 +1328,12 @@ module Aws::ECS
|
|
1328
1328
|
# so you can't access a container's mapped port from the host
|
1329
1329
|
# itself.
|
1330
1330
|
#
|
1331
|
-
# This parameter maps to `PortBindings` in the
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
#
|
1336
|
-
#
|
1331
|
+
# This parameter maps to `PortBindings` in the docker container create
|
1332
|
+
# command and the `--publish` option to docker run. If the network
|
1333
|
+
# mode of a task definition is set to `none`, then you can't specify
|
1334
|
+
# port mappings. If the network mode of a task definition is set to
|
1335
|
+
# `host`, then host ports must either be undefined or they must match
|
1336
|
+
# the container port in the port mapping.
|
1337
1337
|
#
|
1338
1338
|
# <note markdown="1"> After a task reaches the `RUNNING` status, manual and automatic host
|
1339
1339
|
# and container port assignments are visible in the **Network
|
@@ -2728,8 +2728,8 @@ module Aws::ECS
|
|
2728
2728
|
# The default behavior of `AvailabilityZoneRebalancing` differs
|
2729
2729
|
# between create and update requests:
|
2730
2730
|
#
|
2731
|
-
# * For create service requests, when
|
2732
|
-
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
2731
|
+
# * For create service requests, when no value is specified for
|
2732
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
2733
2733
|
# `ENABLED`.
|
2734
2734
|
#
|
2735
2735
|
# * For update service requests, when no value is specified for
|
@@ -4307,12 +4307,18 @@ module Aws::ECS
|
|
4307
4307
|
# lifecycle hook.
|
4308
4308
|
# @return [Array<String>]
|
4309
4309
|
#
|
4310
|
+
# @!attribute [rw] hook_details
|
4311
|
+
# Use this field to specify custom parameters that Amazon ECS will
|
4312
|
+
# pass to your hook target invocations (such as a Lambda function).
|
4313
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
4314
|
+
#
|
4310
4315
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHook AWS API Documentation
|
4311
4316
|
#
|
4312
4317
|
class DeploymentLifecycleHook < Struct.new(
|
4313
4318
|
:hook_target_arn,
|
4314
4319
|
:role_arn,
|
4315
|
-
:lifecycle_stages
|
4320
|
+
:lifecycle_stages,
|
4321
|
+
:hook_details)
|
4316
4322
|
SENSITIVE = []
|
4317
4323
|
include Aws::Structure
|
4318
4324
|
end
|
@@ -9600,8 +9606,8 @@ module Aws::ECS
|
|
9600
9606
|
# @!attribute [rw] volume_configurations
|
9601
9607
|
# The details of the volume that was `configuredAtLaunch`. You can
|
9602
9608
|
# configure the size, volumeType, IOPS, throughput, snapshot and
|
9603
|
-
# encryption in
|
9604
|
-
#
|
9609
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
9610
|
+
# the volume must match the `name` from the task definition.
|
9605
9611
|
#
|
9606
9612
|
#
|
9607
9613
|
#
|
@@ -10044,8 +10050,8 @@ module Aws::ECS
|
|
10044
10050
|
# The default behavior of `AvailabilityZoneRebalancing` differs
|
10045
10051
|
# between create and update requests:
|
10046
10052
|
#
|
10047
|
-
# * For create service requests, when
|
10048
|
-
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
10053
|
+
# * For create service requests, when no value is specified for
|
10054
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
10049
10055
|
# `ENABLED`.
|
10050
10056
|
#
|
10051
10057
|
# * For update service requests, when no value is specified for
|
@@ -13966,8 +13972,8 @@ module Aws::ECS
|
|
13966
13972
|
# The default behavior of `AvailabilityZoneRebalancing` differs
|
13967
13973
|
# between create and update requests:
|
13968
13974
|
#
|
13969
|
-
# * For create service requests, when
|
13970
|
-
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
13975
|
+
# * For create service requests, when no value is specified for
|
13976
|
+
# `AvailabilityZoneRebalancing`, Amazon ECS defaults the value to
|
13971
13977
|
# `ENABLED`.
|
13972
13978
|
#
|
13973
13979
|
# * For update service requests, when no value is specified for
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -219,7 +219,9 @@ module Aws
|
|
219
219
|
{
|
220
220
|
hook_target_arn: ::String?,
|
221
221
|
role_arn: ::String?,
|
222
|
-
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
|
+
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")]?,
|
223
|
+
hook_details: {
|
224
|
+
}?
|
223
225
|
},
|
224
226
|
]?
|
225
227
|
},
|
@@ -1688,7 +1690,9 @@ module Aws
|
|
1688
1690
|
{
|
1689
1691
|
hook_target_arn: ::String?,
|
1690
1692
|
role_arn: ::String?,
|
1691
|
-
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
|
+
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")]?,
|
1694
|
+
hook_details: {
|
1695
|
+
}?
|
1692
1696
|
},
|
1693
1697
|
]?
|
1694
1698
|
},
|
data/sig/types.rbs
CHANGED
@@ -521,6 +521,7 @@ 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
|
524
525
|
SENSITIVE: []
|
525
526
|
end
|
526
527
|
|