aws-sdk-ecs 1.235.0 → 1.237.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 +71 -9
- data/lib/aws-sdk-ecs/client_api.rb +11 -2
- data/lib/aws-sdk-ecs/types.rb +135 -26
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +9 -5
- data/sig/types.rbs +7 -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: 3fa8f274d8ebb5e3f32853a8afcd1295d5eff74276d2cad9cb813e2d5a4289fa
|
|
4
|
+
data.tar.gz: 229c5e928be336d438ffbf41ad32f6336651031cb7d3ab83a64e8ed3d0fd4b6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bca215c6e29f93e71f6301e20db100d632d46600c19341f9c9ccdcf332c330bcbd7b83b8e6f0d03b9918894a322294fdbc99383182e5512afc8a12694b1c0dfe
|
|
7
|
+
data.tar.gz: 04dab105f0f10aeaf980bc29c616ec044e01b0e50948e7e7b9b015ceef8182cd60c9016edbb0acaa337e23842926d2e5b286d446c5c668fa7e84422361ce9521
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.237.0 (2026-06-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Releasing the ability to bring-your-own task-definition for CreateExpressGatewayService and UpdateGatewayExpressService
|
|
8
|
+
|
|
9
|
+
1.236.0 (2026-06-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon ECS Managed Daemon task definitions now support pidMode and ipcMode parameters. Set shared to allow daemons to share PID or IPC namespaces with co-located tasks on Managed Instances, enabling process tracing and shared memory communication.
|
|
13
|
+
|
|
4
14
|
1.235.0 (2026-06-01)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.237.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -493,9 +493,14 @@ module Aws::ECS
|
|
|
493
493
|
# [DescribeServiceDeployments][1] and inspect the `lifecycleHookDetails`
|
|
494
494
|
# field.
|
|
495
495
|
#
|
|
496
|
+
# For more information, see [Continuing Amazon ECS service
|
|
497
|
+
# deployments][2] in the *Amazon Elastic Container Service Developer
|
|
498
|
+
# Guide*.
|
|
499
|
+
#
|
|
496
500
|
#
|
|
497
501
|
#
|
|
498
502
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html
|
|
503
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/continue-service-deployment.html
|
|
499
504
|
#
|
|
500
505
|
# @option params [required, String] :service_deployment_arn
|
|
501
506
|
# The ARN of the service deployment to continue or roll back.
|
|
@@ -531,7 +536,7 @@ module Aws::ECS
|
|
|
531
536
|
#
|
|
532
537
|
# resp = client.continue_service_deployment({
|
|
533
538
|
# action: "CONTINUE",
|
|
534
|
-
# hook_id: "
|
|
539
|
+
# hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
535
540
|
# service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
|
|
536
541
|
# })
|
|
537
542
|
#
|
|
@@ -547,7 +552,7 @@ module Aws::ECS
|
|
|
547
552
|
#
|
|
548
553
|
# resp = client.continue_service_deployment({
|
|
549
554
|
# action: "ROLLBACK",
|
|
550
|
-
# hook_id: "
|
|
555
|
+
# hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
551
556
|
# service_deployment_arn: "arn:aws:ecs:us-east-1:123456789012:service-deployment/MyCluster/MyService/r9i43YFjvgF_xlg7m2eJ1r",
|
|
552
557
|
# })
|
|
553
558
|
#
|
|
@@ -1326,7 +1331,7 @@ module Aws::ECS
|
|
|
1326
1331
|
# Provide an execution role for task operations and an infrastructure
|
|
1327
1332
|
# role for managing Amazon Web Services resources on your behalf.
|
|
1328
1333
|
#
|
|
1329
|
-
# @option params [
|
|
1334
|
+
# @option params [String] :execution_role_arn
|
|
1330
1335
|
# The Amazon Resource Name (ARN) of the task execution role that grants
|
|
1331
1336
|
# the Amazon ECS container agent permission to make Amazon Web Services
|
|
1332
1337
|
# API calls on your behalf. This role is required for Amazon ECS to pull
|
|
@@ -1378,7 +1383,7 @@ module Aws::ECS
|
|
|
1378
1383
|
# check path must start with a forward slash and can include query
|
|
1379
1384
|
# parameters. Examples: `/health`, `/api/status`, `/ping?format=json`.
|
|
1380
1385
|
#
|
|
1381
|
-
# @option params [
|
|
1386
|
+
# @option params [Types::ExpressGatewayContainer] :primary_container
|
|
1382
1387
|
# The primary container configuration for the Express service. This
|
|
1383
1388
|
# defines the main application container that will receive traffic from
|
|
1384
1389
|
# the Application Load Balancer.
|
|
@@ -1436,6 +1441,20 @@ module Aws::ECS
|
|
|
1436
1441
|
# and organize it. Each tag consists of a key and an optional value. You
|
|
1437
1442
|
# can apply up to 50 tags to a service.
|
|
1438
1443
|
#
|
|
1444
|
+
# @option params [String] :task_definition_arn
|
|
1445
|
+
# The Amazon Resource Name (ARN) of a task definition to use to create
|
|
1446
|
+
# the Express Gateway service. This allows you to manage your own task
|
|
1447
|
+
# definition, giving you more control over the service configuration
|
|
1448
|
+
# such as adding sidecar containers.
|
|
1449
|
+
#
|
|
1450
|
+
# The task definition must have a container named `Main` with a single
|
|
1451
|
+
# TCP port mapping that includes a container port and port name. The
|
|
1452
|
+
# task definition must also have `FARGATE` compatibility.
|
|
1453
|
+
#
|
|
1454
|
+
# If you provide a task definition ARN, you cannot also specify
|
|
1455
|
+
# `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
|
|
1456
|
+
# `memory`.
|
|
1457
|
+
#
|
|
1439
1458
|
# @return [Types::CreateExpressGatewayServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1440
1459
|
#
|
|
1441
1460
|
# * {Types::CreateExpressGatewayServiceResponse#service #service} => Types::ECSExpressGatewayService
|
|
@@ -1443,12 +1462,12 @@ module Aws::ECS
|
|
|
1443
1462
|
# @example Request syntax with placeholder values
|
|
1444
1463
|
#
|
|
1445
1464
|
# resp = client.create_express_gateway_service({
|
|
1446
|
-
# execution_role_arn: "String",
|
|
1465
|
+
# execution_role_arn: "String",
|
|
1447
1466
|
# infrastructure_role_arn: "String", # required
|
|
1448
1467
|
# service_name: "String",
|
|
1449
1468
|
# cluster: "String",
|
|
1450
1469
|
# health_check_path: "String",
|
|
1451
|
-
# primary_container: {
|
|
1470
|
+
# primary_container: {
|
|
1452
1471
|
# image: "String", # required
|
|
1453
1472
|
# container_port: 1,
|
|
1454
1473
|
# aws_logs_configuration: {
|
|
@@ -1491,6 +1510,7 @@ module Aws::ECS
|
|
|
1491
1510
|
# value: "TagValue",
|
|
1492
1511
|
# },
|
|
1493
1512
|
# ],
|
|
1513
|
+
# task_definition_arn: "String",
|
|
1494
1514
|
# })
|
|
1495
1515
|
#
|
|
1496
1516
|
# @example Response structure
|
|
@@ -1506,6 +1526,7 @@ module Aws::ECS
|
|
|
1506
1526
|
# resp.service.active_configurations[0].service_revision_arn #=> String
|
|
1507
1527
|
# resp.service.active_configurations[0].execution_role_arn #=> String
|
|
1508
1528
|
# resp.service.active_configurations[0].task_role_arn #=> String
|
|
1529
|
+
# resp.service.active_configurations[0].task_definition_arn #=> String
|
|
1509
1530
|
# resp.service.active_configurations[0].cpu #=> String
|
|
1510
1531
|
# resp.service.active_configurations[0].memory #=> String
|
|
1511
1532
|
# resp.service.active_configurations[0].network_configuration.security_groups #=> Array
|
|
@@ -3674,6 +3695,7 @@ module Aws::ECS
|
|
|
3674
3695
|
# resp.service.active_configurations[0].service_revision_arn #=> String
|
|
3675
3696
|
# resp.service.active_configurations[0].execution_role_arn #=> String
|
|
3676
3697
|
# resp.service.active_configurations[0].task_role_arn #=> String
|
|
3698
|
+
# resp.service.active_configurations[0].task_definition_arn #=> String
|
|
3677
3699
|
# resp.service.active_configurations[0].cpu #=> String
|
|
3678
3700
|
# resp.service.active_configurations[0].memory #=> String
|
|
3679
3701
|
# resp.service.active_configurations[0].network_configuration.security_groups #=> Array
|
|
@@ -5888,6 +5910,8 @@ module Aws::ECS
|
|
|
5888
5910
|
# resp.daemon_task_definition.registered_at #=> Time
|
|
5889
5911
|
# resp.daemon_task_definition.delete_requested_at #=> Time
|
|
5890
5912
|
# resp.daemon_task_definition.registered_by #=> String
|
|
5913
|
+
# resp.daemon_task_definition.pid_mode #=> String, one of "none", "shared"
|
|
5914
|
+
# resp.daemon_task_definition.ipc_mode #=> String, one of "none", "shared"
|
|
5891
5915
|
#
|
|
5892
5916
|
#
|
|
5893
5917
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -5949,6 +5973,7 @@ module Aws::ECS
|
|
|
5949
5973
|
# resp.service.active_configurations[0].service_revision_arn #=> String
|
|
5950
5974
|
# resp.service.active_configurations[0].execution_role_arn #=> String
|
|
5951
5975
|
# resp.service.active_configurations[0].task_role_arn #=> String
|
|
5976
|
+
# resp.service.active_configurations[0].task_definition_arn #=> String
|
|
5952
5977
|
# resp.service.active_configurations[0].cpu #=> String
|
|
5953
5978
|
# resp.service.active_configurations[0].memory #=> String
|
|
5954
5979
|
# resp.service.active_configurations[0].network_configuration.security_groups #=> Array
|
|
@@ -6095,7 +6120,7 @@ module Aws::ECS
|
|
|
6095
6120
|
# lifecycle_hook_details: [
|
|
6096
6121
|
# {
|
|
6097
6122
|
# expires_at: Time.parse("2026-05-06T17:00:00.000Z"),
|
|
6098
|
-
# hook_id: "
|
|
6123
|
+
# hook_id: "ecs-pause-Xk7rT2mP9sLwQn4vB8fYd3hJ6gA1cE5iO0uR_ZpWq",
|
|
6099
6124
|
# status: "AWAITING_ACTION",
|
|
6100
6125
|
# target_type: "PAUSE",
|
|
6101
6126
|
# timeout_action: "ROLLBACK",
|
|
@@ -8370,7 +8395,7 @@ module Aws::ECS
|
|
|
8370
8395
|
#
|
|
8371
8396
|
# @option params [String] :cluster_arn
|
|
8372
8397
|
# The Amazon Resource Name (ARN) of the cluster to filter daemons by. If
|
|
8373
|
-
# not
|
|
8398
|
+
# you do not specify a cluster, the default cluster is assumed.
|
|
8374
8399
|
#
|
|
8375
8400
|
# @option params [Array<String>] :capacity_provider_arns
|
|
8376
8401
|
# The Amazon Resource Names (ARNs) of the capacity providers to filter
|
|
@@ -10390,6 +10415,26 @@ module Aws::ECS
|
|
|
10390
10415
|
# values with this prefix. Tags with this prefix do not count against
|
|
10391
10416
|
# your tags per resource limit.
|
|
10392
10417
|
#
|
|
10418
|
+
# @option params [String] :pid_mode
|
|
10419
|
+
# The PID namespace mode for the daemon. The valid values are `none` and
|
|
10420
|
+
# `shared`. The default is `none`.
|
|
10421
|
+
#
|
|
10422
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
10423
|
+
# its own PID namespace, isolated from other tasks. If `shared` is
|
|
10424
|
+
# specified, the daemon joins the host PID namespace, making it
|
|
10425
|
+
# accessible to non-daemon tasks that use `pidMode: "host"` or other
|
|
10426
|
+
# daemons that use `pidMode: "shared"`.
|
|
10427
|
+
#
|
|
10428
|
+
# @option params [String] :ipc_mode
|
|
10429
|
+
# The IPC namespace mode for the daemon. The valid values are `none` and
|
|
10430
|
+
# `shared`. The default is `none`.
|
|
10431
|
+
#
|
|
10432
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
10433
|
+
# its own IPC namespace, isolated from other tasks. If `shared` is
|
|
10434
|
+
# specified, the daemon joins the host IPC namespace, making it
|
|
10435
|
+
# accessible to non-daemon tasks that use `ipcMode: "host"` or other
|
|
10436
|
+
# daemons that use `ipcMode: "shared"`.
|
|
10437
|
+
#
|
|
10393
10438
|
# @return [Types::RegisterDaemonTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10394
10439
|
#
|
|
10395
10440
|
# * {Types::RegisterDaemonTaskDefinitionResponse#daemon_task_definition_arn #daemon_task_definition_arn} => String
|
|
@@ -10576,6 +10621,8 @@ module Aws::ECS
|
|
|
10576
10621
|
# value: "TagValue",
|
|
10577
10622
|
# },
|
|
10578
10623
|
# ],
|
|
10624
|
+
# pid_mode: "none", # accepts none, shared
|
|
10625
|
+
# ipc_mode: "none", # accepts none, shared
|
|
10579
10626
|
# })
|
|
10580
10627
|
#
|
|
10581
10628
|
# @example Response structure
|
|
@@ -14491,6 +14538,19 @@ module Aws::ECS
|
|
|
14491
14538
|
# @option params [Types::ExpressGatewayScalingTarget] :scaling_target
|
|
14492
14539
|
# The auto-scaling configuration for the Express service.
|
|
14493
14540
|
#
|
|
14541
|
+
# @option params [String] :task_definition_arn
|
|
14542
|
+
# The Amazon Resource Name (ARN) of a task definition to use to update
|
|
14543
|
+
# the Express Gateway service. This allows you to manage your own task
|
|
14544
|
+
# definition, giving you more control over the service configuration
|
|
14545
|
+
# such as adding sidecar containers.
|
|
14546
|
+
#
|
|
14547
|
+
# The task definition must have a container named `Main` with a single
|
|
14548
|
+
# TCP port mapping that includes a container port and port name. The
|
|
14549
|
+
# task definition must also have `FARGATE` compatibility.
|
|
14550
|
+
#
|
|
14551
|
+
# If you provide a task definition ARN, you cannot also specify
|
|
14552
|
+
# `primaryContainer`, `taskRoleArn`, `cpu`, or `memory`.
|
|
14553
|
+
#
|
|
14494
14554
|
# @return [Types::UpdateExpressGatewayServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
14495
14555
|
#
|
|
14496
14556
|
# * {Types::UpdateExpressGatewayServiceResponse#service #service} => Types::UpdatedExpressGatewayService
|
|
@@ -14538,6 +14598,7 @@ module Aws::ECS
|
|
|
14538
14598
|
# auto_scaling_metric: "AVERAGE_CPU", # accepts AVERAGE_CPU, AVERAGE_MEMORY, REQUEST_COUNT_PER_TARGET
|
|
14539
14599
|
# auto_scaling_target_value: 1,
|
|
14540
14600
|
# },
|
|
14601
|
+
# task_definition_arn: "String",
|
|
14541
14602
|
# })
|
|
14542
14603
|
#
|
|
14543
14604
|
# @example Response structure
|
|
@@ -14550,6 +14611,7 @@ module Aws::ECS
|
|
|
14550
14611
|
# resp.service.target_configuration.service_revision_arn #=> String
|
|
14551
14612
|
# resp.service.target_configuration.execution_role_arn #=> String
|
|
14552
14613
|
# resp.service.target_configuration.task_role_arn #=> String
|
|
14614
|
+
# resp.service.target_configuration.task_definition_arn #=> String
|
|
14553
14615
|
# resp.service.target_configuration.cpu #=> String
|
|
14554
14616
|
# resp.service.target_configuration.memory #=> String
|
|
14555
14617
|
# resp.service.target_configuration.network_configuration.security_groups #=> Array
|
|
@@ -16010,7 +16072,7 @@ module Aws::ECS
|
|
|
16010
16072
|
tracer: tracer
|
|
16011
16073
|
)
|
|
16012
16074
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
16013
|
-
context[:gem_version] = '1.
|
|
16075
|
+
context[:gem_version] = '1.237.0'
|
|
16014
16076
|
Seahorse::Client::Request.new(handlers, context)
|
|
16015
16077
|
end
|
|
16016
16078
|
|
|
@@ -149,9 +149,11 @@ module Aws::ECS
|
|
|
149
149
|
DaemonDeploymentSummaryList = Shapes::ListShape.new(name: 'DaemonDeploymentSummaryList')
|
|
150
150
|
DaemonDetail = Shapes::StructureShape.new(name: 'DaemonDetail')
|
|
151
151
|
DaemonDrainPercent = Shapes::FloatShape.new(name: 'DaemonDrainPercent')
|
|
152
|
+
DaemonIpcMode = Shapes::StringShape.new(name: 'DaemonIpcMode')
|
|
152
153
|
DaemonLinuxParameters = Shapes::StructureShape.new(name: 'DaemonLinuxParameters')
|
|
153
154
|
DaemonNotActiveException = Shapes::StructureShape.new(name: 'DaemonNotActiveException')
|
|
154
155
|
DaemonNotFoundException = Shapes::StructureShape.new(name: 'DaemonNotFoundException')
|
|
156
|
+
DaemonPidMode = Shapes::StringShape.new(name: 'DaemonPidMode')
|
|
155
157
|
DaemonPropagateTags = Shapes::StringShape.new(name: 'DaemonPropagateTags')
|
|
156
158
|
DaemonRevision = Shapes::StructureShape.new(name: 'DaemonRevision')
|
|
157
159
|
DaemonRevisionDetail = Shapes::StructureShape.new(name: 'DaemonRevisionDetail')
|
|
@@ -1000,18 +1002,19 @@ module Aws::ECS
|
|
|
1000
1002
|
CreateDaemonResponse.add_member(:deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "deploymentArn"))
|
|
1001
1003
|
CreateDaemonResponse.struct_class = Types::CreateDaemonResponse
|
|
1002
1004
|
|
|
1003
|
-
CreateExpressGatewayServiceRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String,
|
|
1005
|
+
CreateExpressGatewayServiceRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
|
1004
1006
|
CreateExpressGatewayServiceRequest.add_member(:infrastructure_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "infrastructureRoleArn"))
|
|
1005
1007
|
CreateExpressGatewayServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
|
1006
1008
|
CreateExpressGatewayServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
|
1007
1009
|
CreateExpressGatewayServiceRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: String, location_name: "healthCheckPath"))
|
|
1008
|
-
CreateExpressGatewayServiceRequest.add_member(:primary_container, Shapes::ShapeRef.new(shape: ExpressGatewayContainer,
|
|
1010
|
+
CreateExpressGatewayServiceRequest.add_member(:primary_container, Shapes::ShapeRef.new(shape: ExpressGatewayContainer, location_name: "primaryContainer"))
|
|
1009
1011
|
CreateExpressGatewayServiceRequest.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
|
1010
1012
|
CreateExpressGatewayServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ExpressGatewayServiceNetworkConfiguration, location_name: "networkConfiguration"))
|
|
1011
1013
|
CreateExpressGatewayServiceRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
|
1012
1014
|
CreateExpressGatewayServiceRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
|
1013
1015
|
CreateExpressGatewayServiceRequest.add_member(:scaling_target, Shapes::ShapeRef.new(shape: ExpressGatewayScalingTarget, location_name: "scalingTarget"))
|
|
1014
1016
|
CreateExpressGatewayServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
1017
|
+
CreateExpressGatewayServiceRequest.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
|
1015
1018
|
CreateExpressGatewayServiceRequest.struct_class = Types::CreateExpressGatewayServiceRequest
|
|
1016
1019
|
|
|
1017
1020
|
CreateExpressGatewayServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: ECSExpressGatewayService, location_name: "service"))
|
|
@@ -1259,6 +1262,8 @@ module Aws::ECS
|
|
|
1259
1262
|
DaemonTaskDefinition.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "registeredAt"))
|
|
1260
1263
|
DaemonTaskDefinition.add_member(:delete_requested_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deleteRequestedAt"))
|
|
1261
1264
|
DaemonTaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
|
|
1265
|
+
DaemonTaskDefinition.add_member(:pid_mode, Shapes::ShapeRef.new(shape: DaemonPidMode, location_name: "pidMode"))
|
|
1266
|
+
DaemonTaskDefinition.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: DaemonIpcMode, location_name: "ipcMode"))
|
|
1262
1267
|
DaemonTaskDefinition.struct_class = Types::DaemonTaskDefinition
|
|
1263
1268
|
|
|
1264
1269
|
DaemonTaskDefinitionSummaries.member = Shapes::ShapeRef.new(shape: DaemonTaskDefinitionSummary)
|
|
@@ -1682,6 +1687,7 @@ module Aws::ECS
|
|
|
1682
1687
|
ExpressGatewayServiceConfiguration.add_member(:service_revision_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRevisionArn"))
|
|
1683
1688
|
ExpressGatewayServiceConfiguration.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
|
1684
1689
|
ExpressGatewayServiceConfiguration.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
|
|
1690
|
+
ExpressGatewayServiceConfiguration.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
|
1685
1691
|
ExpressGatewayServiceConfiguration.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
|
1686
1692
|
ExpressGatewayServiceConfiguration.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
|
1687
1693
|
ExpressGatewayServiceConfiguration.add_member(:network_configuration, Shapes::ShapeRef.new(shape: ExpressGatewayServiceNetworkConfiguration, location_name: "networkConfiguration"))
|
|
@@ -2331,6 +2337,8 @@ module Aws::ECS
|
|
|
2331
2337
|
RegisterDaemonTaskDefinitionRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
|
2332
2338
|
RegisterDaemonTaskDefinitionRequest.add_member(:volumes, Shapes::ShapeRef.new(shape: DaemonVolumeList, location_name: "volumes"))
|
|
2333
2339
|
RegisterDaemonTaskDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
2340
|
+
RegisterDaemonTaskDefinitionRequest.add_member(:pid_mode, Shapes::ShapeRef.new(shape: DaemonPidMode, location_name: "pidMode"))
|
|
2341
|
+
RegisterDaemonTaskDefinitionRequest.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: DaemonIpcMode, location_name: "ipcMode"))
|
|
2334
2342
|
RegisterDaemonTaskDefinitionRequest.struct_class = Types::RegisterDaemonTaskDefinitionRequest
|
|
2335
2343
|
|
|
2336
2344
|
RegisterDaemonTaskDefinitionResponse.add_member(:daemon_task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "daemonTaskDefinitionArn"))
|
|
@@ -3039,6 +3047,7 @@ module Aws::ECS
|
|
|
3039
3047
|
UpdateExpressGatewayServiceRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
|
|
3040
3048
|
UpdateExpressGatewayServiceRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
|
3041
3049
|
UpdateExpressGatewayServiceRequest.add_member(:scaling_target, Shapes::ShapeRef.new(shape: ExpressGatewayScalingTarget, location_name: "scalingTarget"))
|
|
3050
|
+
UpdateExpressGatewayServiceRequest.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
|
3042
3051
|
UpdateExpressGatewayServiceRequest.struct_class = Types::UpdateExpressGatewayServiceRequest
|
|
3043
3052
|
|
|
3044
3053
|
UpdateExpressGatewayServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: UpdatedExpressGatewayService, location_name: "service"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
|
@@ -3285,6 +3285,21 @@ module Aws::ECS
|
|
|
3285
3285
|
# optional value. You can apply up to 50 tags to a service.
|
|
3286
3286
|
# @return [Array<Types::Tag>]
|
|
3287
3287
|
#
|
|
3288
|
+
# @!attribute [rw] task_definition_arn
|
|
3289
|
+
# The Amazon Resource Name (ARN) of a task definition to use to create
|
|
3290
|
+
# the Express Gateway service. This allows you to manage your own task
|
|
3291
|
+
# definition, giving you more control over the service configuration
|
|
3292
|
+
# such as adding sidecar containers.
|
|
3293
|
+
#
|
|
3294
|
+
# The task definition must have a container named `Main` with a single
|
|
3295
|
+
# TCP port mapping that includes a container port and port name. The
|
|
3296
|
+
# task definition must also have `FARGATE` compatibility.
|
|
3297
|
+
#
|
|
3298
|
+
# If you provide a task definition ARN, you cannot also specify
|
|
3299
|
+
# `primaryContainer`, `executionRoleArn`, `taskRoleArn`, `cpu`, or
|
|
3300
|
+
# `memory`.
|
|
3301
|
+
# @return [String]
|
|
3302
|
+
#
|
|
3288
3303
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateExpressGatewayServiceRequest AWS API Documentation
|
|
3289
3304
|
#
|
|
3290
3305
|
class CreateExpressGatewayServiceRequest < Struct.new(
|
|
@@ -3299,7 +3314,8 @@ module Aws::ECS
|
|
|
3299
3314
|
:cpu,
|
|
3300
3315
|
:memory,
|
|
3301
3316
|
:scaling_target,
|
|
3302
|
-
:tags
|
|
3317
|
+
:tags,
|
|
3318
|
+
:task_definition_arn)
|
|
3303
3319
|
SENSITIVE = []
|
|
3304
3320
|
include Aws::Structure
|
|
3305
3321
|
end
|
|
@@ -4951,6 +4967,28 @@ module Aws::ECS
|
|
|
4951
4967
|
# The principal that registered the daemon task definition.
|
|
4952
4968
|
# @return [String]
|
|
4953
4969
|
#
|
|
4970
|
+
# @!attribute [rw] pid_mode
|
|
4971
|
+
# The PID namespace mode for the daemon. The valid values are `none`
|
|
4972
|
+
# and `shared`. The default is `none`.
|
|
4973
|
+
#
|
|
4974
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
4975
|
+
# its own PID namespace, isolated from other tasks. If `shared` is
|
|
4976
|
+
# specified, the daemon joins the host PID namespace, making it
|
|
4977
|
+
# accessible to non-daemon tasks that use `pidMode: "host"` or other
|
|
4978
|
+
# daemons that use `pidMode: "shared"`.
|
|
4979
|
+
# @return [String]
|
|
4980
|
+
#
|
|
4981
|
+
# @!attribute [rw] ipc_mode
|
|
4982
|
+
# The IPC namespace mode for the daemon. The valid values are `none`
|
|
4983
|
+
# and `shared`. The default is `none`.
|
|
4984
|
+
#
|
|
4985
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
4986
|
+
# its own IPC namespace, isolated from other tasks. If `shared` is
|
|
4987
|
+
# specified, the daemon joins the host IPC namespace, making it
|
|
4988
|
+
# accessible to non-daemon tasks that use `ipcMode: "host"` or other
|
|
4989
|
+
# daemons that use `ipcMode: "shared"`.
|
|
4990
|
+
# @return [String]
|
|
4991
|
+
#
|
|
4954
4992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DaemonTaskDefinition AWS API Documentation
|
|
4955
4993
|
#
|
|
4956
4994
|
class DaemonTaskDefinition < Struct.new(
|
|
@@ -4966,7 +5004,9 @@ module Aws::ECS
|
|
|
4966
5004
|
:status,
|
|
4967
5005
|
:registered_at,
|
|
4968
5006
|
:delete_requested_at,
|
|
4969
|
-
:registered_by
|
|
5007
|
+
:registered_by,
|
|
5008
|
+
:pid_mode,
|
|
5009
|
+
:ipc_mode)
|
|
4970
5010
|
SENSITIVE = []
|
|
4971
5011
|
include Aws::Structure
|
|
4972
5012
|
end
|
|
@@ -5901,8 +5941,8 @@ module Aws::ECS
|
|
|
5901
5941
|
# @return [Integer]
|
|
5902
5942
|
#
|
|
5903
5943
|
# @!attribute [rw] lifecycle_hooks
|
|
5904
|
-
# An array of deployment lifecycle hook objects to run custom logic
|
|
5905
|
-
# specific stages of the deployment lifecycle.
|
|
5944
|
+
# An array of deployment lifecycle hook objects to run custom logic or
|
|
5945
|
+
# pause the deployment at specific stages of the deployment lifecycle.
|
|
5906
5946
|
# @return [Array<Types::DeploymentLifecycleHook>]
|
|
5907
5947
|
#
|
|
5908
5948
|
# @!attribute [rw] linear_configuration
|
|
@@ -6051,9 +6091,9 @@ module Aws::ECS
|
|
|
6051
6091
|
include Aws::Structure
|
|
6052
6092
|
end
|
|
6053
6093
|
|
|
6054
|
-
# A deployment lifecycle hook runs custom logic
|
|
6055
|
-
# the deployment process.
|
|
6056
|
-
# hook targets.
|
|
6094
|
+
# A deployment lifecycle hook runs custom logic or pauses the deployment
|
|
6095
|
+
# at specific stages of the deployment process. You can use Lambda
|
|
6096
|
+
# functions or pause hooks as hook targets.
|
|
6057
6097
|
#
|
|
6058
6098
|
# For more information, see [Lifecycle hooks for Amazon ECS service
|
|
6059
6099
|
# deployments][1] in the <i> Amazon Elastic Container Service Developer
|
|
@@ -6078,10 +6118,11 @@ module Aws::ECS
|
|
|
6078
6118
|
# @return [String]
|
|
6079
6119
|
#
|
|
6080
6120
|
# @!attribute [rw] hook_target_arn
|
|
6081
|
-
# The Amazon Resource Name (ARN) of the hook target.
|
|
6082
|
-
# Lambda function
|
|
6121
|
+
# The Amazon Resource Name (ARN) of the hook target. For `AWS_LAMBDA`
|
|
6122
|
+
# hooks, this is the Lambda function ARN. This field is not applicable
|
|
6123
|
+
# for `PAUSE` hooks.
|
|
6083
6124
|
#
|
|
6084
|
-
# You must provide this parameter when configuring
|
|
6125
|
+
# You must provide this parameter when configuring an `AWS_LAMBDA`
|
|
6085
6126
|
# lifecycle hook.
|
|
6086
6127
|
# @return [String]
|
|
6087
6128
|
#
|
|
@@ -6141,11 +6182,20 @@ module Aws::ECS
|
|
|
6141
6182
|
#
|
|
6142
6183
|
# You can use a lifecycle hook for this stage.
|
|
6143
6184
|
#
|
|
6185
|
+
# * PRE\_PRODUCTION\_TRAFFIC\_SHIFT
|
|
6186
|
+
#
|
|
6187
|
+
# Occurs before production traffic shift. For linear and canary
|
|
6188
|
+
# deployments, this stage is invoked before every traffic shift
|
|
6189
|
+
# step.
|
|
6190
|
+
#
|
|
6191
|
+
# You can use a lifecycle hook for this stage.
|
|
6192
|
+
#
|
|
6144
6193
|
# * PRODUCTION\_TRAFFIC\_SHIFT
|
|
6145
6194
|
#
|
|
6146
6195
|
# Production traffic is shifting to the green service revision. The
|
|
6147
6196
|
# green service revision is migrating from 0% to 100% of production
|
|
6148
|
-
# traffic.
|
|
6197
|
+
# traffic. For linear and canary deployments, this stage is invoked
|
|
6198
|
+
# at every traffic shift step.
|
|
6149
6199
|
#
|
|
6150
6200
|
# You can use a lifecycle hook for this stage.
|
|
6151
6201
|
#
|
|
@@ -6155,13 +6205,20 @@ module Aws::ECS
|
|
|
6155
6205
|
#
|
|
6156
6206
|
# You can use a lifecycle hook for this stage.
|
|
6157
6207
|
#
|
|
6208
|
+
# <note markdown="1"> `PAUSE` hooks cannot be configured at `TEST_TRAFFIC_SHIFT` or
|
|
6209
|
+
# `PRODUCTION_TRAFFIC_SHIFT` stages. These stages are only valid for
|
|
6210
|
+
# `AWS_LAMBDA` hooks.
|
|
6211
|
+
#
|
|
6212
|
+
# </note>
|
|
6213
|
+
#
|
|
6158
6214
|
# You must provide this parameter when configuring a deployment
|
|
6159
6215
|
# lifecycle hook.
|
|
6160
6216
|
# @return [Array<String>]
|
|
6161
6217
|
#
|
|
6162
6218
|
# @!attribute [rw] hook_details
|
|
6163
|
-
# Use this field to specify custom parameters that Amazon ECS
|
|
6164
|
-
#
|
|
6219
|
+
# Use this field to specify custom parameters that Amazon ECS passes
|
|
6220
|
+
# to your Lambda function on each invocation. This field is not used
|
|
6221
|
+
# for `PAUSE` hooks.
|
|
6165
6222
|
# @return [Hash,Array,String,Numeric,Boolean]
|
|
6166
6223
|
#
|
|
6167
6224
|
# @!attribute [rw] timeout_configuration
|
|
@@ -6211,14 +6268,9 @@ module Aws::ECS
|
|
|
6211
6268
|
# @return [String]
|
|
6212
6269
|
#
|
|
6213
6270
|
# @!attribute [rw] status
|
|
6214
|
-
# The status of the lifecycle hook. Valid values
|
|
6215
|
-
#
|
|
6216
|
-
#
|
|
6217
|
-
# * For `AWS_LAMBDA` hooks: `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and
|
|
6218
|
-
# `TIMED_OUT`.
|
|
6219
|
-
#
|
|
6220
|
-
# * For `PAUSE` hooks: `AWAITING_ACTION`, `SUCCEEDED`, `FAILED`, and
|
|
6221
|
-
# `TIMED_OUT`.
|
|
6271
|
+
# The status of the lifecycle hook. Valid values include
|
|
6272
|
+
# `AWAITING_ACTION`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`, and
|
|
6273
|
+
# `TIMED_OUT`.
|
|
6222
6274
|
# @return [String]
|
|
6223
6275
|
#
|
|
6224
6276
|
# @!attribute [rw] expires_at
|
|
@@ -6251,6 +6303,8 @@ module Aws::ECS
|
|
|
6251
6303
|
# @!attribute [rw] timeout_in_minutes
|
|
6252
6304
|
# The number of minutes Amazon ECS waits for the lifecycle hook to
|
|
6253
6305
|
# complete before taking the timeout action.
|
|
6306
|
+
#
|
|
6307
|
+
# Default: 1440 (24 hours)
|
|
6254
6308
|
# @return [Integer]
|
|
6255
6309
|
#
|
|
6256
6310
|
# @!attribute [rw] action
|
|
@@ -6261,6 +6315,8 @@ module Aws::ECS
|
|
|
6261
6315
|
#
|
|
6262
6316
|
# * `ROLLBACK` - Rolls back the deployment to the previous service
|
|
6263
6317
|
# revision.
|
|
6318
|
+
#
|
|
6319
|
+
# Default: `ROLLBACK`
|
|
6264
6320
|
# @return [String]
|
|
6265
6321
|
#
|
|
6266
6322
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentLifecycleHookTimeoutConfiguration AWS API Documentation
|
|
@@ -7803,6 +7859,12 @@ module Aws::ECS
|
|
|
7803
7859
|
# The ARN of the task role for the service revision.
|
|
7804
7860
|
# @return [String]
|
|
7805
7861
|
#
|
|
7862
|
+
# @!attribute [rw] task_definition_arn
|
|
7863
|
+
# The ARN of the task definition used by this service revision. This
|
|
7864
|
+
# is present for all Express services and reflects the task definition
|
|
7865
|
+
# in use, whether managed by Amazon ECS or provided by the customer.
|
|
7866
|
+
# @return [String]
|
|
7867
|
+
#
|
|
7806
7868
|
# @!attribute [rw] cpu
|
|
7807
7869
|
# The CPU allocation for tasks in this service revision.
|
|
7808
7870
|
# @return [String]
|
|
@@ -7841,6 +7903,7 @@ module Aws::ECS
|
|
|
7841
7903
|
:service_revision_arn,
|
|
7842
7904
|
:execution_role_arn,
|
|
7843
7905
|
:task_role_arn,
|
|
7906
|
+
:task_definition_arn,
|
|
7844
7907
|
:cpu,
|
|
7845
7908
|
:memory,
|
|
7846
7909
|
:network_configuration,
|
|
@@ -9741,7 +9804,7 @@ module Aws::ECS
|
|
|
9741
9804
|
|
|
9742
9805
|
# @!attribute [rw] cluster_arn
|
|
9743
9806
|
# The Amazon Resource Name (ARN) of the cluster to filter daemons by.
|
|
9744
|
-
# If not
|
|
9807
|
+
# If you do not specify a cluster, the default cluster is assumed.
|
|
9745
9808
|
# @return [String]
|
|
9746
9809
|
#
|
|
9747
9810
|
# @!attribute [rw] capacity_provider_arns
|
|
@@ -13002,6 +13065,28 @@ module Aws::ECS
|
|
|
13002
13065
|
# against your tags per resource limit.
|
|
13003
13066
|
# @return [Array<Types::Tag>]
|
|
13004
13067
|
#
|
|
13068
|
+
# @!attribute [rw] pid_mode
|
|
13069
|
+
# The PID namespace mode for the daemon. The valid values are `none`
|
|
13070
|
+
# and `shared`. The default is `none`.
|
|
13071
|
+
#
|
|
13072
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
13073
|
+
# its own PID namespace, isolated from other tasks. If `shared` is
|
|
13074
|
+
# specified, the daemon joins the host PID namespace, making it
|
|
13075
|
+
# accessible to non-daemon tasks that use `pidMode: "host"` or other
|
|
13076
|
+
# daemons that use `pidMode: "shared"`.
|
|
13077
|
+
# @return [String]
|
|
13078
|
+
#
|
|
13079
|
+
# @!attribute [rw] ipc_mode
|
|
13080
|
+
# The IPC namespace mode for the daemon. The valid values are `none`
|
|
13081
|
+
# and `shared`. The default is `none`.
|
|
13082
|
+
#
|
|
13083
|
+
# If `none` is specified or no value is provided, the daemon runs with
|
|
13084
|
+
# its own IPC namespace, isolated from other tasks. If `shared` is
|
|
13085
|
+
# specified, the daemon joins the host IPC namespace, making it
|
|
13086
|
+
# accessible to non-daemon tasks that use `ipcMode: "host"` or other
|
|
13087
|
+
# daemons that use `ipcMode: "shared"`.
|
|
13088
|
+
# @return [String]
|
|
13089
|
+
#
|
|
13005
13090
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterDaemonTaskDefinitionRequest AWS API Documentation
|
|
13006
13091
|
#
|
|
13007
13092
|
class RegisterDaemonTaskDefinitionRequest < Struct.new(
|
|
@@ -13012,7 +13097,9 @@ module Aws::ECS
|
|
|
13012
13097
|
:cpu,
|
|
13013
13098
|
:memory,
|
|
13014
13099
|
:volumes,
|
|
13015
|
-
:tags
|
|
13100
|
+
:tags,
|
|
13101
|
+
:pid_mode,
|
|
13102
|
+
:ipc_mode)
|
|
13016
13103
|
SENSITIVE = []
|
|
13017
13104
|
include Aws::Structure
|
|
13018
13105
|
end
|
|
@@ -15064,11 +15151,18 @@ module Aws::ECS
|
|
|
15064
15151
|
# The test traffic shift is complete. The green service revision
|
|
15065
15152
|
# handles 100% of the test traffic.
|
|
15066
15153
|
#
|
|
15154
|
+
# * PRE\_PRODUCTION\_TRAFFIC\_SHIFT
|
|
15155
|
+
#
|
|
15156
|
+
# Occurs before production traffic shift. For linear and canary
|
|
15157
|
+
# deployments, this stage is invoked before every traffic shift
|
|
15158
|
+
# step.
|
|
15159
|
+
#
|
|
15067
15160
|
# * PRODUCTION\_TRAFFIC\_SHIFT
|
|
15068
15161
|
#
|
|
15069
15162
|
# Production traffic is shifting to the green service revision. The
|
|
15070
15163
|
# green service revision is migrating from 0% to 100% of production
|
|
15071
|
-
# traffic.
|
|
15164
|
+
# traffic. For linear and canary deployments, this stage is invoked
|
|
15165
|
+
# at every traffic shift step.
|
|
15072
15166
|
#
|
|
15073
15167
|
# * POST\_PRODUCTION\_TRAFFIC\_SHIFT
|
|
15074
15168
|
#
|
|
@@ -15282,7 +15376,7 @@ module Aws::ECS
|
|
|
15282
15376
|
end
|
|
15283
15377
|
|
|
15284
15378
|
# The service deploy ARN that you specified in the
|
|
15285
|
-
# `
|
|
15379
|
+
# `ContinueServiceDeployment` doesn't exist. You can use
|
|
15286
15380
|
# `ListServiceDeployments` to retrieve the service deployment ARNs.
|
|
15287
15381
|
#
|
|
15288
15382
|
# @!attribute [rw] message
|
|
@@ -18567,6 +18661,20 @@ module Aws::ECS
|
|
|
18567
18661
|
# The auto-scaling configuration for the Express service.
|
|
18568
18662
|
# @return [Types::ExpressGatewayScalingTarget]
|
|
18569
18663
|
#
|
|
18664
|
+
# @!attribute [rw] task_definition_arn
|
|
18665
|
+
# The Amazon Resource Name (ARN) of a task definition to use to update
|
|
18666
|
+
# the Express Gateway service. This allows you to manage your own task
|
|
18667
|
+
# definition, giving you more control over the service configuration
|
|
18668
|
+
# such as adding sidecar containers.
|
|
18669
|
+
#
|
|
18670
|
+
# The task definition must have a container named `Main` with a single
|
|
18671
|
+
# TCP port mapping that includes a container port and port name. The
|
|
18672
|
+
# task definition must also have `FARGATE` compatibility.
|
|
18673
|
+
#
|
|
18674
|
+
# If you provide a task definition ARN, you cannot also specify
|
|
18675
|
+
# `primaryContainer`, `taskRoleArn`, `cpu`, or `memory`.
|
|
18676
|
+
# @return [String]
|
|
18677
|
+
#
|
|
18570
18678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateExpressGatewayServiceRequest AWS API Documentation
|
|
18571
18679
|
#
|
|
18572
18680
|
class UpdateExpressGatewayServiceRequest < Struct.new(
|
|
@@ -18578,7 +18686,8 @@ module Aws::ECS
|
|
|
18578
18686
|
:network_configuration,
|
|
18579
18687
|
:cpu,
|
|
18580
18688
|
:memory,
|
|
18581
|
-
:scaling_target
|
|
18689
|
+
:scaling_target,
|
|
18690
|
+
:task_definition_arn)
|
|
18582
18691
|
SENSITIVE = []
|
|
18583
18692
|
include Aws::Structure
|
|
18584
18693
|
end
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -219,12 +219,12 @@ module Aws
|
|
|
219
219
|
end
|
|
220
220
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#create_express_gateway_service-instance_method
|
|
221
221
|
def create_express_gateway_service: (
|
|
222
|
-
execution_role_arn: ::String,
|
|
222
|
+
?execution_role_arn: ::String,
|
|
223
223
|
infrastructure_role_arn: ::String,
|
|
224
224
|
?service_name: ::String,
|
|
225
225
|
?cluster: ::String,
|
|
226
226
|
?health_check_path: ::String,
|
|
227
|
-
primary_container: Params::express_gateway_container,
|
|
227
|
+
?primary_container: Params::express_gateway_container,
|
|
228
228
|
?task_role_arn: ::String,
|
|
229
229
|
?network_configuration: {
|
|
230
230
|
security_groups: Array[::String]?,
|
|
@@ -243,7 +243,8 @@ module Aws
|
|
|
243
243
|
key: ::String?,
|
|
244
244
|
value: ::String?
|
|
245
245
|
}
|
|
246
|
-
]
|
|
246
|
+
],
|
|
247
|
+
?task_definition_arn: ::String
|
|
247
248
|
) -> _CreateExpressGatewayServiceResponseSuccess
|
|
248
249
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExpressGatewayServiceResponseSuccess
|
|
249
250
|
|
|
@@ -1184,7 +1185,9 @@ module Aws
|
|
|
1184
1185
|
key: ::String?,
|
|
1185
1186
|
value: ::String?
|
|
1186
1187
|
}
|
|
1187
|
-
]
|
|
1188
|
+
],
|
|
1189
|
+
?pid_mode: ("none" | "shared"),
|
|
1190
|
+
?ipc_mode: ("none" | "shared")
|
|
1188
1191
|
) -> _RegisterDaemonTaskDefinitionResponseSuccess
|
|
1189
1192
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterDaemonTaskDefinitionResponseSuccess
|
|
1190
1193
|
|
|
@@ -1802,7 +1805,8 @@ module Aws
|
|
|
1802
1805
|
max_task_count: ::Integer?,
|
|
1803
1806
|
auto_scaling_metric: ("AVERAGE_CPU" | "AVERAGE_MEMORY" | "REQUEST_COUNT_PER_TARGET")?,
|
|
1804
1807
|
auto_scaling_target_value: ::Integer?
|
|
1805
|
-
}
|
|
1808
|
+
},
|
|
1809
|
+
?task_definition_arn: ::String
|
|
1806
1810
|
) -> _UpdateExpressGatewayServiceResponseSuccess
|
|
1807
1811
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExpressGatewayServiceResponseSuccess
|
|
1808
1812
|
|
data/sig/types.rbs
CHANGED
|
@@ -425,6 +425,7 @@ module Aws::ECS
|
|
|
425
425
|
attr_accessor memory: ::String
|
|
426
426
|
attr_accessor scaling_target: Types::ExpressGatewayScalingTarget
|
|
427
427
|
attr_accessor tags: ::Array[Types::Tag]
|
|
428
|
+
attr_accessor task_definition_arn: ::String
|
|
428
429
|
SENSITIVE: []
|
|
429
430
|
end
|
|
430
431
|
|
|
@@ -704,6 +705,8 @@ module Aws::ECS
|
|
|
704
705
|
attr_accessor registered_at: ::Time
|
|
705
706
|
attr_accessor delete_requested_at: ::Time
|
|
706
707
|
attr_accessor registered_by: ::String
|
|
708
|
+
attr_accessor pid_mode: ("none" | "shared")
|
|
709
|
+
attr_accessor ipc_mode: ("none" | "shared")
|
|
707
710
|
SENSITIVE: []
|
|
708
711
|
end
|
|
709
712
|
|
|
@@ -1266,6 +1269,7 @@ module Aws::ECS
|
|
|
1266
1269
|
attr_accessor service_revision_arn: ::String
|
|
1267
1270
|
attr_accessor execution_role_arn: ::String
|
|
1268
1271
|
attr_accessor task_role_arn: ::String
|
|
1272
|
+
attr_accessor task_definition_arn: ::String
|
|
1269
1273
|
attr_accessor cpu: ::String
|
|
1270
1274
|
attr_accessor memory: ::String
|
|
1271
1275
|
attr_accessor network_configuration: Types::ExpressGatewayServiceNetworkConfiguration
|
|
@@ -2057,6 +2061,8 @@ module Aws::ECS
|
|
|
2057
2061
|
attr_accessor memory: ::String
|
|
2058
2062
|
attr_accessor volumes: ::Array[Types::DaemonVolume]
|
|
2059
2063
|
attr_accessor tags: ::Array[Types::Tag]
|
|
2064
|
+
attr_accessor pid_mode: ("none" | "shared")
|
|
2065
|
+
attr_accessor ipc_mode: ("none" | "shared")
|
|
2060
2066
|
SENSITIVE: []
|
|
2061
2067
|
end
|
|
2062
2068
|
|
|
@@ -2874,6 +2880,7 @@ module Aws::ECS
|
|
|
2874
2880
|
attr_accessor cpu: ::String
|
|
2875
2881
|
attr_accessor memory: ::String
|
|
2876
2882
|
attr_accessor scaling_target: Types::ExpressGatewayScalingTarget
|
|
2883
|
+
attr_accessor task_definition_arn: ::String
|
|
2877
2884
|
SENSITIVE: []
|
|
2878
2885
|
end
|
|
2879
2886
|
|