aws-sdk-ecs 1.196.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +268 -61
- data/lib/aws-sdk-ecs/client_api.rb +55 -0
- data/lib/aws-sdk-ecs/types.rb +482 -40
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +62 -7
- data/sig/types.rbs +50 -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,16 @@ 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
|
+
},
|
223
|
+
]?
|
209
224
|
},
|
210
225
|
?placement_constraints: Array[
|
211
226
|
{
|
@@ -250,7 +265,15 @@ module Aws
|
|
250
265
|
client_aliases: Array[
|
251
266
|
{
|
252
267
|
port: ::Integer,
|
253
|
-
dns_name: ::String
|
268
|
+
dns_name: ::String?,
|
269
|
+
test_traffic_rules: {
|
270
|
+
header: {
|
271
|
+
name: ::String,
|
272
|
+
value: {
|
273
|
+
exact: ::String
|
274
|
+
}?
|
275
|
+
}
|
276
|
+
}?
|
254
277
|
},
|
255
278
|
]?,
|
256
279
|
ingress_port_override: ::Integer?,
|
@@ -339,7 +362,13 @@ module Aws
|
|
339
362
|
target_group_arn: ::String?,
|
340
363
|
load_balancer_name: ::String?,
|
341
364
|
container_name: ::String?,
|
342
|
-
container_port: ::Integer
|
365
|
+
container_port: ::Integer?,
|
366
|
+
advanced_configuration: {
|
367
|
+
alternate_target_group_arn: ::String?,
|
368
|
+
production_listener_rule: ::String?,
|
369
|
+
test_listener_rule: ::String?,
|
370
|
+
role_arn: ::String?
|
371
|
+
}?
|
343
372
|
},
|
344
373
|
],
|
345
374
|
?service_registries: Array[
|
@@ -1651,7 +1680,16 @@ module Aws
|
|
1651
1680
|
alarm_names: Array[::String],
|
1652
1681
|
rollback: bool,
|
1653
1682
|
enable: bool
|
1654
|
-
}
|
1683
|
+
}?,
|
1684
|
+
strategy: ("ROLLING" | "BLUE_GREEN")?,
|
1685
|
+
bake_time_in_minutes: ::Integer?,
|
1686
|
+
lifecycle_hooks: Array[
|
1687
|
+
{
|
1688
|
+
hook_target_arn: ::String?,
|
1689
|
+
role_arn: ::String?,
|
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")]?
|
1691
|
+
},
|
1692
|
+
]?
|
1655
1693
|
},
|
1656
1694
|
?availability_zone_rebalancing: ("ENABLED" | "DISABLED"),
|
1657
1695
|
?network_configuration: {
|
@@ -1676,6 +1714,9 @@ module Aws
|
|
1676
1714
|
?platform_version: ::String,
|
1677
1715
|
?force_new_deployment: bool,
|
1678
1716
|
?health_check_grace_period_seconds: ::Integer,
|
1717
|
+
?deployment_controller: {
|
1718
|
+
type: ("ECS" | "CODE_DEPLOY" | "EXTERNAL")
|
1719
|
+
},
|
1679
1720
|
?enable_execute_command: bool,
|
1680
1721
|
?enable_ecs_managed_tags: bool,
|
1681
1722
|
?load_balancers: Array[
|
@@ -1683,7 +1724,13 @@ module Aws
|
|
1683
1724
|
target_group_arn: ::String?,
|
1684
1725
|
load_balancer_name: ::String?,
|
1685
1726
|
container_name: ::String?,
|
1686
|
-
container_port: ::Integer
|
1727
|
+
container_port: ::Integer?,
|
1728
|
+
advanced_configuration: {
|
1729
|
+
alternate_target_group_arn: ::String?,
|
1730
|
+
production_listener_rule: ::String?,
|
1731
|
+
test_listener_rule: ::String?,
|
1732
|
+
role_arn: ::String?
|
1733
|
+
}?
|
1687
1734
|
},
|
1688
1735
|
],
|
1689
1736
|
?propagate_tags: ("TASK_DEFINITION" | "SERVICE" | "NONE"),
|
@@ -1705,7 +1752,15 @@ module Aws
|
|
1705
1752
|
client_aliases: Array[
|
1706
1753
|
{
|
1707
1754
|
port: ::Integer,
|
1708
|
-
dns_name: ::String
|
1755
|
+
dns_name: ::String?,
|
1756
|
+
test_traffic_rules: {
|
1757
|
+
header: {
|
1758
|
+
name: ::String,
|
1759
|
+
value: {
|
1760
|
+
exact: ::String
|
1761
|
+
}?
|
1762
|
+
}
|
1763
|
+
}?
|
1709
1764
|
},
|
1710
1765
|
]?,
|
1711
1766
|
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,13 @@ 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
|
+
SENSITIVE: []
|
525
|
+
end
|
526
|
+
|
509
527
|
class DeregisterContainerInstanceRequest
|
510
528
|
attr_accessor cluster: ::String
|
511
529
|
attr_accessor container_instance: ::String
|
@@ -1012,6 +1030,7 @@ module Aws::ECS
|
|
1012
1030
|
attr_accessor load_balancer_name: ::String
|
1013
1031
|
attr_accessor container_name: ::String
|
1014
1032
|
attr_accessor container_port: ::Integer
|
1033
|
+
attr_accessor advanced_configuration: Types::AdvancedConfiguration
|
1015
1034
|
SENSITIVE: []
|
1016
1035
|
end
|
1017
1036
|
|
@@ -1236,6 +1255,11 @@ module Aws::ECS
|
|
1236
1255
|
SENSITIVE: []
|
1237
1256
|
end
|
1238
1257
|
|
1258
|
+
class ResolvedConfiguration
|
1259
|
+
attr_accessor load_balancers: ::Array[Types::ServiceRevisionLoadBalancer]
|
1260
|
+
SENSITIVE: []
|
1261
|
+
end
|
1262
|
+
|
1239
1263
|
class Resource
|
1240
1264
|
attr_accessor name: ::String
|
1241
1265
|
attr_accessor type: ::String
|
@@ -1356,6 +1380,7 @@ module Aws::ECS
|
|
1356
1380
|
class ServiceConnectClientAlias
|
1357
1381
|
attr_accessor port: ::Integer
|
1358
1382
|
attr_accessor dns_name: ::String
|
1383
|
+
attr_accessor test_traffic_rules: Types::ServiceConnectTestTrafficRules
|
1359
1384
|
SENSITIVE: []
|
1360
1385
|
end
|
1361
1386
|
|
@@ -1383,6 +1408,22 @@ module Aws::ECS
|
|
1383
1408
|
SENSITIVE: []
|
1384
1409
|
end
|
1385
1410
|
|
1411
|
+
class ServiceConnectTestTrafficHeaderMatchRules
|
1412
|
+
attr_accessor exact: ::String
|
1413
|
+
SENSITIVE: []
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
class ServiceConnectTestTrafficHeaderRules
|
1417
|
+
attr_accessor name: ::String
|
1418
|
+
attr_accessor value: Types::ServiceConnectTestTrafficHeaderMatchRules
|
1419
|
+
SENSITIVE: []
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
class ServiceConnectTestTrafficRules
|
1423
|
+
attr_accessor header: Types::ServiceConnectTestTrafficHeaderRules
|
1424
|
+
SENSITIVE: []
|
1425
|
+
end
|
1426
|
+
|
1386
1427
|
class ServiceConnectTlsCertificateAuthority
|
1387
1428
|
attr_accessor aws_pca_authority_arn: ::String
|
1388
1429
|
SENSITIVE: []
|
@@ -1408,6 +1449,7 @@ module Aws::ECS
|
|
1408
1449
|
attr_accessor target_service_revision: Types::ServiceRevisionSummary
|
1409
1450
|
attr_accessor status: ("PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED")
|
1410
1451
|
attr_accessor status_reason: ::String
|
1452
|
+
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
1453
|
attr_accessor deployment_configuration: Types::DeploymentConfiguration
|
1412
1454
|
attr_accessor rollback: Types::Rollback
|
1413
1455
|
attr_accessor deployment_circuit_breaker: Types::ServiceDeploymentCircuitBreaker
|
@@ -1500,6 +1542,13 @@ module Aws::ECS
|
|
1500
1542
|
attr_accessor fargate_ephemeral_storage: Types::DeploymentEphemeralStorage
|
1501
1543
|
attr_accessor created_at: ::Time
|
1502
1544
|
attr_accessor vpc_lattice_configurations: ::Array[Types::VpcLatticeConfiguration]
|
1545
|
+
attr_accessor resolved_configuration: Types::ResolvedConfiguration
|
1546
|
+
SENSITIVE: []
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
class ServiceRevisionLoadBalancer
|
1550
|
+
attr_accessor target_group_arn: ::String
|
1551
|
+
attr_accessor production_listener_rule: ::String
|
1503
1552
|
SENSITIVE: []
|
1504
1553
|
end
|
1505
1554
|
|
@@ -1924,6 +1973,7 @@ module Aws::ECS
|
|
1924
1973
|
attr_accessor platform_version: ::String
|
1925
1974
|
attr_accessor force_new_deployment: bool
|
1926
1975
|
attr_accessor health_check_grace_period_seconds: ::Integer
|
1976
|
+
attr_accessor deployment_controller: Types::DeploymentController
|
1927
1977
|
attr_accessor enable_execute_command: bool
|
1928
1978
|
attr_accessor enable_ecs_managed_tags: bool
|
1929
1979
|
attr_accessor load_balancers: ::Array[Types::LoadBalancer]
|