aws-sdk-ecs 1.137.0 → 1.138.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +43 -1
- data/lib/aws-sdk-ecs/client_api.rb +18 -0
- data/lib/aws-sdk-ecs/types.rb +88 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 790a3a94d91437d16e4f629c589e1880ef1fbf831ab5ba1095d459abe10fab23
|
4
|
+
data.tar.gz: 0d23237919cad844eacade43d22d9cd2e4f03ed006d5794ed2d8854346ad3171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eafa9caaaff0b2cad1fa5efcaa930dbc67b2129556fe3c1a367bc0ef9f799a627dd8bb8bfdb475e69784014a00c688a19172480f3608c952ba16286fb21e7ea5
|
7
|
+
data.tar.gz: 488ce9ff95934600916da828b120ae3c0e3f3b32b36eefdd49da50b7ecaae9c33543bc5bc552fc28084d5ca071dc0d039eb0871002596e414f312853fd86f556
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.138.0 (2024-01-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Transport Layer Security (TLS) and Configurable Timeout to ECS Service Connect. TLS facilitates privacy and data security for inter-service communications, while Configurable Timeout allows customized per-request timeout and idle timeout for Service Connect services.
|
8
|
+
|
4
9
|
1.137.0 (2024-01-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.138.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1450,6 +1450,17 @@ module Aws::ECS
|
|
1450
1450
|
# },
|
1451
1451
|
# ],
|
1452
1452
|
# ingress_port_override: 1,
|
1453
|
+
# timeout: {
|
1454
|
+
# idle_timeout_seconds: 1,
|
1455
|
+
# per_request_timeout_seconds: 1,
|
1456
|
+
# },
|
1457
|
+
# tls: {
|
1458
|
+
# issuer_certificate_authority: { # required
|
1459
|
+
# aws_pca_authority_arn: "String",
|
1460
|
+
# },
|
1461
|
+
# kms_key: "String",
|
1462
|
+
# role_arn: "String",
|
1463
|
+
# },
|
1453
1464
|
# },
|
1454
1465
|
# ],
|
1455
1466
|
# log_configuration: {
|
@@ -1606,6 +1617,11 @@ module Aws::ECS
|
|
1606
1617
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
1607
1618
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
1608
1619
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
1620
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
1621
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
1622
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
1623
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
1624
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
1609
1625
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
1610
1626
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
1611
1627
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -2374,6 +2390,11 @@ module Aws::ECS
|
|
2374
2390
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
2375
2391
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
2376
2392
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
2393
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
2394
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
2395
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
2396
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
2397
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
2377
2398
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
2378
2399
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
2379
2400
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -3713,6 +3734,11 @@ module Aws::ECS
|
|
3713
3734
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
3714
3735
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
3715
3736
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
3737
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
3738
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
3739
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
3740
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
3741
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
3716
3742
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
3717
3743
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
3718
3744
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -9535,6 +9561,17 @@ module Aws::ECS
|
|
9535
9561
|
# },
|
9536
9562
|
# ],
|
9537
9563
|
# ingress_port_override: 1,
|
9564
|
+
# timeout: {
|
9565
|
+
# idle_timeout_seconds: 1,
|
9566
|
+
# per_request_timeout_seconds: 1,
|
9567
|
+
# },
|
9568
|
+
# tls: {
|
9569
|
+
# issuer_certificate_authority: { # required
|
9570
|
+
# aws_pca_authority_arn: "String",
|
9571
|
+
# },
|
9572
|
+
# kms_key: "String",
|
9573
|
+
# role_arn: "String",
|
9574
|
+
# },
|
9538
9575
|
# },
|
9539
9576
|
# ],
|
9540
9577
|
# log_configuration: {
|
@@ -9691,6 +9728,11 @@ module Aws::ECS
|
|
9691
9728
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
9692
9729
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
9693
9730
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
9731
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
9732
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
9733
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
9734
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
9735
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
9694
9736
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
9695
9737
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
9696
9738
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -10123,7 +10165,7 @@ module Aws::ECS
|
|
10123
10165
|
params: params,
|
10124
10166
|
config: config)
|
10125
10167
|
context[:gem_name] = 'aws-sdk-ecs'
|
10126
|
-
context[:gem_version] = '1.
|
10168
|
+
context[:gem_version] = '1.138.0'
|
10127
10169
|
Seahorse::Client::Request.new(handlers, context)
|
10128
10170
|
end
|
10129
10171
|
|
@@ -137,6 +137,7 @@ module Aws::ECS
|
|
137
137
|
DockerLabelsMap = Shapes::MapShape.new(name: 'DockerLabelsMap')
|
138
138
|
DockerVolumeConfiguration = Shapes::StructureShape.new(name: 'DockerVolumeConfiguration')
|
139
139
|
Double = Shapes::FloatShape.new(name: 'Double')
|
140
|
+
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
140
141
|
EBSKMSKeyId = Shapes::StringShape.new(name: 'EBSKMSKeyId')
|
141
142
|
EBSResourceType = Shapes::StringShape.new(name: 'EBSResourceType')
|
142
143
|
EBSSnapshotId = Shapes::StringShape.new(name: 'EBSSnapshotId')
|
@@ -302,6 +303,8 @@ module Aws::ECS
|
|
302
303
|
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
303
304
|
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
304
305
|
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
306
|
+
ServiceConnectTlsCertificateAuthority = Shapes::StructureShape.new(name: 'ServiceConnectTlsCertificateAuthority')
|
307
|
+
ServiceConnectTlsConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectTlsConfiguration')
|
305
308
|
ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
|
306
309
|
ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
|
307
310
|
ServiceField = Shapes::StringShape.new(name: 'ServiceField')
|
@@ -372,6 +375,7 @@ module Aws::ECS
|
|
372
375
|
TaskVolumeConfiguration = Shapes::StructureShape.new(name: 'TaskVolumeConfiguration')
|
373
376
|
TaskVolumeConfigurations = Shapes::ListShape.new(name: 'TaskVolumeConfigurations')
|
374
377
|
Tasks = Shapes::ListShape.new(name: 'Tasks')
|
378
|
+
TimeoutConfiguration = Shapes::StructureShape.new(name: 'TimeoutConfiguration')
|
375
379
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
376
380
|
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
377
381
|
TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
|
@@ -1466,6 +1470,8 @@ module Aws::ECS
|
|
1466
1470
|
ServiceConnectService.add_member(:discovery_name, Shapes::ShapeRef.new(shape: String, location_name: "discoveryName"))
|
1467
1471
|
ServiceConnectService.add_member(:client_aliases, Shapes::ShapeRef.new(shape: ServiceConnectClientAliasList, location_name: "clientAliases"))
|
1468
1472
|
ServiceConnectService.add_member(:ingress_port_override, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ingressPortOverride"))
|
1473
|
+
ServiceConnectService.add_member(:timeout, Shapes::ShapeRef.new(shape: TimeoutConfiguration, location_name: "timeout"))
|
1474
|
+
ServiceConnectService.add_member(:tls, Shapes::ShapeRef.new(shape: ServiceConnectTlsConfiguration, location_name: "tls"))
|
1469
1475
|
ServiceConnectService.struct_class = Types::ServiceConnectService
|
1470
1476
|
|
1471
1477
|
ServiceConnectServiceList.member = Shapes::ShapeRef.new(shape: ServiceConnectService)
|
@@ -1476,6 +1482,14 @@ module Aws::ECS
|
|
1476
1482
|
|
1477
1483
|
ServiceConnectServiceResourceList.member = Shapes::ShapeRef.new(shape: ServiceConnectServiceResource)
|
1478
1484
|
|
1485
|
+
ServiceConnectTlsCertificateAuthority.add_member(:aws_pca_authority_arn, Shapes::ShapeRef.new(shape: String, location_name: "awsPcaAuthorityArn"))
|
1486
|
+
ServiceConnectTlsCertificateAuthority.struct_class = Types::ServiceConnectTlsCertificateAuthority
|
1487
|
+
|
1488
|
+
ServiceConnectTlsConfiguration.add_member(:issuer_certificate_authority, Shapes::ShapeRef.new(shape: ServiceConnectTlsCertificateAuthority, required: true, location_name: "issuerCertificateAuthority"))
|
1489
|
+
ServiceConnectTlsConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: String, location_name: "kmsKey"))
|
1490
|
+
ServiceConnectTlsConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
1491
|
+
ServiceConnectTlsConfiguration.struct_class = Types::ServiceConnectTlsConfiguration
|
1492
|
+
|
1479
1493
|
ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
1480
1494
|
ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1481
1495
|
ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -1764,6 +1778,10 @@ module Aws::ECS
|
|
1764
1778
|
|
1765
1779
|
Tasks.member = Shapes::ShapeRef.new(shape: Task)
|
1766
1780
|
|
1781
|
+
TimeoutConfiguration.add_member(:idle_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "idleTimeoutSeconds"))
|
1782
|
+
TimeoutConfiguration.add_member(:per_request_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "perRequestTimeoutSeconds"))
|
1783
|
+
TimeoutConfiguration.struct_class = Types::TimeoutConfiguration
|
1784
|
+
|
1767
1785
|
Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
|
1768
1786
|
Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
|
1769
1787
|
Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -9222,13 +9222,24 @@ module Aws::ECS
|
|
9222
9222
|
# ephemeral port of the Service Connect proxy.
|
9223
9223
|
# @return [Integer]
|
9224
9224
|
#
|
9225
|
+
# @!attribute [rw] timeout
|
9226
|
+
# A reference to an object that represents the configured timeouts for
|
9227
|
+
# Service Connect.
|
9228
|
+
# @return [Types::TimeoutConfiguration]
|
9229
|
+
#
|
9230
|
+
# @!attribute [rw] tls
|
9231
|
+
# An object that represents the configuration for Service Connect TLS.
|
9232
|
+
# @return [Types::ServiceConnectTlsConfiguration]
|
9233
|
+
#
|
9225
9234
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectService AWS API Documentation
|
9226
9235
|
#
|
9227
9236
|
class ServiceConnectService < Struct.new(
|
9228
9237
|
:port_name,
|
9229
9238
|
:discovery_name,
|
9230
9239
|
:client_aliases,
|
9231
|
-
:ingress_port_override
|
9240
|
+
:ingress_port_override,
|
9241
|
+
:timeout,
|
9242
|
+
:tls)
|
9232
9243
|
SENSITIVE = []
|
9233
9244
|
include Aws::Structure
|
9234
9245
|
end
|
@@ -9274,6 +9285,47 @@ module Aws::ECS
|
|
9274
9285
|
include Aws::Structure
|
9275
9286
|
end
|
9276
9287
|
|
9288
|
+
# An object that represents the Amazon Web Services Private Certificate
|
9289
|
+
# Authority certificate.
|
9290
|
+
#
|
9291
|
+
# @!attribute [rw] aws_pca_authority_arn
|
9292
|
+
# The ARN of the Amazon Web Services Private Certificate Authority
|
9293
|
+
# certificate.
|
9294
|
+
# @return [String]
|
9295
|
+
#
|
9296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectTlsCertificateAuthority AWS API Documentation
|
9297
|
+
#
|
9298
|
+
class ServiceConnectTlsCertificateAuthority < Struct.new(
|
9299
|
+
:aws_pca_authority_arn)
|
9300
|
+
SENSITIVE = []
|
9301
|
+
include Aws::Structure
|
9302
|
+
end
|
9303
|
+
|
9304
|
+
# An object that represents the configuration for Service Connect TLS.
|
9305
|
+
#
|
9306
|
+
# @!attribute [rw] issuer_certificate_authority
|
9307
|
+
# The signer certificate authority.
|
9308
|
+
# @return [Types::ServiceConnectTlsCertificateAuthority]
|
9309
|
+
#
|
9310
|
+
# @!attribute [rw] kms_key
|
9311
|
+
# The Amazon Web Services Key Management Service key.
|
9312
|
+
# @return [String]
|
9313
|
+
#
|
9314
|
+
# @!attribute [rw] role_arn
|
9315
|
+
# The Amazon Resource Name (ARN) of the IAM role that's associated
|
9316
|
+
# with the Service Connect TLS.
|
9317
|
+
# @return [String]
|
9318
|
+
#
|
9319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectTlsConfiguration AWS API Documentation
|
9320
|
+
#
|
9321
|
+
class ServiceConnectTlsConfiguration < Struct.new(
|
9322
|
+
:issuer_certificate_authority,
|
9323
|
+
:kms_key,
|
9324
|
+
:role_arn)
|
9325
|
+
SENSITIVE = []
|
9326
|
+
include Aws::Structure
|
9327
|
+
end
|
9328
|
+
|
9277
9329
|
# The details for an event that's associated with a service.
|
9278
9330
|
#
|
9279
9331
|
# @!attribute [rw] id
|
@@ -11603,6 +11655,41 @@ module Aws::ECS
|
|
11603
11655
|
include Aws::Structure
|
11604
11656
|
end
|
11605
11657
|
|
11658
|
+
# An object that represents the timeout configurations for Service
|
11659
|
+
# Connect.
|
11660
|
+
#
|
11661
|
+
# <note markdown="1"> If `idleTimeout` is set to a time that is less than
|
11662
|
+
# `perRequestTimeout`, the connection will close when the `idleTimeout`
|
11663
|
+
# is reached and not the `perRequestTimeout`.
|
11664
|
+
#
|
11665
|
+
# </note>
|
11666
|
+
#
|
11667
|
+
# @!attribute [rw] idle_timeout_seconds
|
11668
|
+
# The amount of time in seconds a connection will stay active while
|
11669
|
+
# idle. A value of `0` can be set to disable `idleTimeout`.
|
11670
|
+
#
|
11671
|
+
# The `idleTimeout` default for `HTTP`/`HTTP2`/`GRPC` is 5 minutes.
|
11672
|
+
#
|
11673
|
+
# The `idleTimeout` default for `TCP` is 1 hour.
|
11674
|
+
# @return [Integer]
|
11675
|
+
#
|
11676
|
+
# @!attribute [rw] per_request_timeout_seconds
|
11677
|
+
# The amount of time waiting for the upstream to respond with a
|
11678
|
+
# complete response per request. A value of `0` can be set to disable
|
11679
|
+
# `perRequestTimeout`. `perRequestTimeout` can only be set if Service
|
11680
|
+
# Connect `appProtocol` isn't `TCP`. Only `idleTimeout` is allowed
|
11681
|
+
# for `TCP` `appProtocol`.
|
11682
|
+
# @return [Integer]
|
11683
|
+
#
|
11684
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TimeoutConfiguration AWS API Documentation
|
11685
|
+
#
|
11686
|
+
class TimeoutConfiguration < Struct.new(
|
11687
|
+
:idle_timeout_seconds,
|
11688
|
+
:per_request_timeout_seconds)
|
11689
|
+
SENSITIVE = []
|
11690
|
+
include Aws::Structure
|
11691
|
+
end
|
11692
|
+
|
11606
11693
|
# The container path, mount options, and size of the tmpfs mount.
|
11607
11694
|
#
|
11608
11695
|
# @!attribute [rw] container_path
|
data/lib/aws-sdk-ecs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.138.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|