aws-sdk-ecs 1.196.0 → 1.197.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 +271 -61
- data/lib/aws-sdk-ecs/client_api.rb +57 -0
- data/lib/aws-sdk-ecs/types.rb +440 -39
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +66 -7
- data/sig/types.rbs +51 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
@@ -171,7 +171,13 @@ module Aws
|
|
171
171
|
target_group_arn: ::String?,
|
172
172
|
load_balancer_name: ::String?,
|
173
173
|
container_name: ::String?,
|
174
|
-
container_port: ::Integer
|
174
|
+
container_port: ::Integer?,
|
175
|
+
advanced_configuration: {
|
176
|
+
alternate_target_group_arn: ::String?,
|
177
|
+
production_listener_rule: ::String?,
|
178
|
+
test_listener_rule: ::String?,
|
179
|
+
role_arn: ::String?
|
180
|
+
}?
|
175
181
|
},
|
176
182
|
],
|
177
183
|
?service_registries: Array[
|
@@ -205,7 +211,18 @@ module Aws
|
|
205
211
|
alarm_names: Array[::String],
|
206
212
|
rollback: bool,
|
207
213
|
enable: bool
|
208
|
-
}
|
214
|
+
}?,
|
215
|
+
strategy: ("ROLLING" | "BLUE_GREEN")?,
|
216
|
+
bake_time_in_minutes: ::Integer?,
|
217
|
+
lifecycle_hooks: Array[
|
218
|
+
{
|
219
|
+
hook_target_arn: ::String?,
|
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
|
+
}?
|
224
|
+
},
|
225
|
+
]?
|
209
226
|
},
|
210
227
|
?placement_constraints: Array[
|
211
228
|
{
|
@@ -250,7 +267,15 @@ module Aws
|
|
250
267
|
client_aliases: Array[
|
251
268
|
{
|
252
269
|
port: ::Integer,
|
253
|
-
dns_name: ::String
|
270
|
+
dns_name: ::String?,
|
271
|
+
test_traffic_rules: {
|
272
|
+
header: {
|
273
|
+
name: ::String,
|
274
|
+
value: {
|
275
|
+
exact: ::String
|
276
|
+
}?
|
277
|
+
}
|
278
|
+
}?
|
254
279
|
},
|
255
280
|
]?,
|
256
281
|
ingress_port_override: ::Integer?,
|
@@ -339,7 +364,13 @@ module Aws
|
|
339
364
|
target_group_arn: ::String?,
|
340
365
|
load_balancer_name: ::String?,
|
341
366
|
container_name: ::String?,
|
342
|
-
container_port: ::Integer
|
367
|
+
container_port: ::Integer?,
|
368
|
+
advanced_configuration: {
|
369
|
+
alternate_target_group_arn: ::String?,
|
370
|
+
production_listener_rule: ::String?,
|
371
|
+
test_listener_rule: ::String?,
|
372
|
+
role_arn: ::String?
|
373
|
+
}?
|
343
374
|
},
|
344
375
|
],
|
345
376
|
?service_registries: Array[
|
@@ -1651,7 +1682,18 @@ module Aws
|
|
1651
1682
|
alarm_names: Array[::String],
|
1652
1683
|
rollback: bool,
|
1653
1684
|
enable: bool
|
1654
|
-
}
|
1685
|
+
}?,
|
1686
|
+
strategy: ("ROLLING" | "BLUE_GREEN")?,
|
1687
|
+
bake_time_in_minutes: ::Integer?,
|
1688
|
+
lifecycle_hooks: Array[
|
1689
|
+
{
|
1690
|
+
hook_target_arn: ::String?,
|
1691
|
+
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
|
+
}?
|
1695
|
+
},
|
1696
|
+
]?
|
1655
1697
|
},
|
1656
1698
|
?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
|
1657
1699
|
?network_configuration: {
|
@@ -1676,6 +1718,9 @@ module Aws
|
|
1676
1718
|
?platform_version: ::String,
|
1677
1719
|
?force_new_deployment: bool,
|
1678
1720
|
?health_check_grace_period_seconds: ::Integer,
|
1721
|
+
?deployment_controller: {
|
1722
|
+
type: ("ECS" | "CODE_DEPLOY" | "EXTERNAL")
|
1723
|
+
},
|
1679
1724
|
?enable_execute_command: bool,
|
1680
1725
|
?enable_ecs_managed_tags: bool,
|
1681
1726
|
?load_balancers: Array[
|
@@ -1683,7 +1728,13 @@ module Aws
|
|
1683
1728
|
target_group_arn: ::String?,
|
1684
1729
|
load_balancer_name: ::String?,
|
1685
1730
|
container_name: ::String?,
|
1686
|
-
container_port: ::Integer
|
1731
|
+
container_port: ::Integer?,
|
1732
|
+
advanced_configuration: {
|
1733
|
+
alternate_target_group_arn: ::String?,
|
1734
|
+
production_listener_rule: ::String?,
|
1735
|
+
test_listener_rule: ::String?,
|
1736
|
+
role_arn: ::String?
|
1737
|
+
}?
|
1687
1738
|
},
|
1688
1739
|
],
|
1689
1740
|
?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
|
@@ -1705,7 +1756,15 @@ module Aws
|
|
1705
1756
|
client_aliases: Array[
|
1706
1757
|
{
|
1707
1758
|
port: ::Integer,
|
1708
|
-
dns_name: ::String
|
1759
|
+
dns_name: ::String?,
|
1760
|
+
test_traffic_rules: {
|
1761
|
+
header: {
|
1762
|
+
name: ::String,
|
1763
|
+
value: {
|
1764
|
+
exact: ::String
|
1765
|
+
}?
|
1766
|
+
}
|
1767
|
+
}?
|
1709
1768
|
},
|
1710
1769
|
]?,
|
1711
1770
|
ingress_port_override: ::Integer?,
|
data/sig/types.rbs
CHANGED
@@ -11,6 +11,14 @@ module Aws::ECS
|
|
11
11
|
class AccessDeniedException < Aws::EmptyStructure
|
12
12
|
end
|
13
13
|
|
14
|
+
class AdvancedConfiguration
|
15
|
+
attr_accessor alternate_target_group_arn: ::String
|
16
|
+
attr_accessor production_listener_rule: ::String
|
17
|
+
attr_accessor test_listener_rule: ::String
|
18
|
+
attr_accessor role_arn: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
14
22
|
class Attachment
|
15
23
|
attr_accessor id: ::String
|
16
24
|
attr_accessor type: ::String
|
@@ -493,6 +501,9 @@ module Aws::ECS
|
|
493
501
|
attr_accessor maximum_percent: ::Integer
|
494
502
|
attr_accessor minimum_healthy_percent: ::Integer
|
495
503
|
attr_accessor alarms: Types::DeploymentAlarms
|
504
|
+
attr_accessor strategy: ("ROLLING" | "BLUE_GREEN")
|
505
|
+
attr_accessor bake_time_in_minutes: ::Integer
|
506
|
+
attr_accessor lifecycle_hooks: ::Array[Types::DeploymentLifecycleHook]
|
496
507
|
SENSITIVE: []
|
497
508
|
end
|
498
509
|
|
@@ -506,6 +517,14 @@ module Aws::ECS
|
|
506
517
|
SENSITIVE: []
|
507
518
|
end
|
508
519
|
|
520
|
+
class DeploymentLifecycleHook
|
521
|
+
attr_accessor hook_target_arn: ::String
|
522
|
+
attr_accessor role_arn: ::String
|
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
|
+
SENSITIVE: []
|
526
|
+
end
|
527
|
+
|
509
528
|
class DeregisterContainerInstanceRequest
|
510
529
|
attr_accessor cluster: ::String
|
511
530
|
attr_accessor container_instance: ::String
|
@@ -1012,6 +1031,7 @@ module Aws::ECS
|
|
1012
1031
|
attr_accessor load_balancer_name: ::String
|
1013
1032
|
attr_accessor container_name: ::String
|
1014
1033
|
attr_accessor container_port: ::Integer
|
1034
|
+
attr_accessor advanced_configuration: Types::AdvancedConfiguration
|
1015
1035
|
SENSITIVE: []
|
1016
1036
|
end
|
1017
1037
|
|
@@ -1236,6 +1256,11 @@ module Aws::ECS
|
|
1236
1256
|
SENSITIVE: []
|
1237
1257
|
end
|
1238
1258
|
|
1259
|
+
class ResolvedConfiguration
|
1260
|
+
attr_accessor load_balancers: ::Array[Types::ServiceRevisionLoadBalancer]
|
1261
|
+
SENSITIVE: []
|
1262
|
+
end
|
1263
|
+
|
1239
1264
|
class Resource
|
1240
1265
|
attr_accessor name: ::String
|
1241
1266
|
attr_accessor type: ::String
|
@@ -1356,6 +1381,7 @@ module Aws::ECS
|
|
1356
1381
|
class ServiceConnectClientAlias
|
1357
1382
|
attr_accessor port: ::Integer
|
1358
1383
|
attr_accessor dns_name: ::String
|
1384
|
+
attr_accessor test_traffic_rules: Types::ServiceConnectTestTrafficRules
|
1359
1385
|
SENSITIVE: []
|
1360
1386
|
end
|
1361
1387
|
|
@@ -1383,6 +1409,22 @@ module Aws::ECS
|
|
1383
1409
|
SENSITIVE: []
|
1384
1410
|
end
|
1385
1411
|
|
1412
|
+
class ServiceConnectTestTrafficHeaderMatchRules
|
1413
|
+
attr_accessor exact: ::String
|
1414
|
+
SENSITIVE: []
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
class ServiceConnectTestTrafficHeaderRules
|
1418
|
+
attr_accessor name: ::String
|
1419
|
+
attr_accessor value: Types::ServiceConnectTestTrafficHeaderMatchRules
|
1420
|
+
SENSITIVE: []
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
class ServiceConnectTestTrafficRules
|
1424
|
+
attr_accessor header: Types::ServiceConnectTestTrafficHeaderRules
|
1425
|
+
SENSITIVE: []
|
1426
|
+
end
|
1427
|
+
|
1386
1428
|
class ServiceConnectTlsCertificateAuthority
|
1387
1429
|
attr_accessor aws_pca_authority_arn: ::String
|
1388
1430
|
SENSITIVE: []
|
@@ -1408,6 +1450,7 @@ module Aws::ECS
|
|
1408
1450
|
attr_accessor target_service_revision: Types::ServiceRevisionSummary
|
1409
1451
|
attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
|
1410
1452
|
attr_accessor status_reason: ::String
|
1453
|
+
attr_accessor lifecycle_stage: ("RECONCILE_SERVICE" | "PRE_SCALE_UP" | "SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT" | "BAKE_TIME" | "CLEAN_UP")
|
1411
1454
|
attr_accessor deployment_configuration: Types::DeploymentConfiguration
|
1412
1455
|
attr_accessor rollback: Types::Rollback
|
1413
1456
|
attr_accessor deployment_circuit_breaker: Types::ServiceDeploymentCircuitBreaker
|
@@ -1500,6 +1543,13 @@ module Aws::ECS
|
|
1500
1543
|
attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
|
1501
1544
|
attr_accessor created_at: ::Time
|
1502
1545
|
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
1546
|
+
attr_accessor resolved_configuration: Types::ResolvedConfiguration
|
1547
|
+
SENSITIVE: []
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
class ServiceRevisionLoadBalancer
|
1551
|
+
attr_accessor target_group_arn: ::String
|
1552
|
+
attr_accessor production_listener_rule: ::String
|
1503
1553
|
SENSITIVE: []
|
1504
1554
|
end
|
1505
1555
|
|
@@ -1924,6 +1974,7 @@ module Aws::ECS
|
|
1924
1974
|
attr_accessor platform_version: ::String
|
1925
1975
|
attr_accessor force_new_deployment: bool
|
1926
1976
|
attr_accessor health_check_grace_period_seconds: ::Integer
|
1977
|
+
attr_accessor deployment_controller: Types::DeploymentController
|
1927
1978
|
attr_accessor enable_execute_command: bool
|
1928
1979
|
attr_accessor enable_ecs_managed_tags: bool
|
1929
1980
|
attr_accessor load_balancers: ::Array[Types::LoadBalancer]
|