@aws-sdk/client-ecs 3.496.0 → 3.499.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.
- package/dist-cjs/index.js +100 -99
- package/dist-types/commands/CreateServiceCommand.d.ts +22 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteServiceCommand.d.ts +11 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +11 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +22 -0
- package/dist-types/models/models_0.d.ts +87 -46
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -5986,29 +5986,11 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
5986
5986
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5987
5987
|
|
|
5988
5988
|
0 && (module.exports = {
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
BlockedException,
|
|
5995
|
-
CPUArchitecture,
|
|
5996
|
-
CapacityProviderField,
|
|
5997
|
-
CapacityProviderStatus,
|
|
5998
|
-
CapacityProviderUpdateStatus,
|
|
5999
|
-
ClientException,
|
|
6000
|
-
ClusterContainsContainerInstancesException,
|
|
6001
|
-
ClusterContainsServicesException,
|
|
6002
|
-
ClusterContainsTasksException,
|
|
6003
|
-
ClusterField,
|
|
6004
|
-
ClusterNotFoundException,
|
|
6005
|
-
ClusterSettingName,
|
|
6006
|
-
Compatibility,
|
|
6007
|
-
ConflictException,
|
|
6008
|
-
Connectivity,
|
|
6009
|
-
ContainerCondition,
|
|
6010
|
-
ContainerInstanceField,
|
|
6011
|
-
ContainerInstanceStatus,
|
|
5989
|
+
ECSServiceException,
|
|
5990
|
+
__Client,
|
|
5991
|
+
ECSClient,
|
|
5992
|
+
ECS,
|
|
5993
|
+
$Command,
|
|
6012
5994
|
CreateCapacityProviderCommand,
|
|
6013
5995
|
CreateClusterCommand,
|
|
6014
5996
|
CreateServiceCommand,
|
|
@@ -6020,8 +6002,6 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6020
6002
|
DeleteServiceCommand,
|
|
6021
6003
|
DeleteTaskDefinitionsCommand,
|
|
6022
6004
|
DeleteTaskSetCommand,
|
|
6023
|
-
DeploymentControllerType,
|
|
6024
|
-
DeploymentRolloutState,
|
|
6025
6005
|
DeregisterContainerInstanceCommand,
|
|
6026
6006
|
DeregisterTaskDefinitionCommand,
|
|
6027
6007
|
DescribeCapacityProvidersCommand,
|
|
@@ -6031,28 +6011,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6031
6011
|
DescribeTaskDefinitionCommand,
|
|
6032
6012
|
DescribeTaskSetsCommand,
|
|
6033
6013
|
DescribeTasksCommand,
|
|
6034
|
-
DesiredStatus,
|
|
6035
|
-
DeviceCgroupPermission,
|
|
6036
6014
|
DiscoverPollEndpointCommand,
|
|
6037
|
-
EBSResourceType,
|
|
6038
|
-
ECS,
|
|
6039
|
-
ECSClient,
|
|
6040
|
-
ECSServiceException,
|
|
6041
|
-
EFSAuthorizationConfigIAM,
|
|
6042
|
-
EFSTransitEncryption,
|
|
6043
|
-
EnvironmentFileType,
|
|
6044
6015
|
ExecuteCommandCommand,
|
|
6045
|
-
ExecuteCommandLogging,
|
|
6046
|
-
ExecuteCommandResponseFilterSensitiveLog,
|
|
6047
|
-
FirelensConfigurationType,
|
|
6048
6016
|
GetTaskProtectionCommand,
|
|
6049
|
-
HealthStatus,
|
|
6050
|
-
InstanceHealthCheckState,
|
|
6051
|
-
InstanceHealthCheckType,
|
|
6052
|
-
InvalidParameterException,
|
|
6053
|
-
IpcMode,
|
|
6054
|
-
LaunchType,
|
|
6055
|
-
LimitExceededException,
|
|
6056
6017
|
ListAccountSettingsCommand,
|
|
6057
6018
|
ListAttributesCommand,
|
|
6058
6019
|
ListClustersCommand,
|
|
@@ -6063,95 +6024,135 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6063
6024
|
ListTaskDefinitionFamiliesCommand,
|
|
6064
6025
|
ListTaskDefinitionsCommand,
|
|
6065
6026
|
ListTasksCommand,
|
|
6066
|
-
LogDriver,
|
|
6067
|
-
ManagedAgentName,
|
|
6068
|
-
ManagedDraining,
|
|
6069
|
-
ManagedScalingStatus,
|
|
6070
|
-
ManagedTerminationProtection,
|
|
6071
|
-
MissingVersionException,
|
|
6072
|
-
NamespaceNotFoundException,
|
|
6073
|
-
NetworkMode,
|
|
6074
|
-
NoUpdateAvailableException,
|
|
6075
|
-
OSFamily,
|
|
6076
|
-
PidMode,
|
|
6077
|
-
PlacementConstraintType,
|
|
6078
|
-
PlacementStrategyType,
|
|
6079
|
-
PlatformDeviceType,
|
|
6080
|
-
PlatformTaskDefinitionIncompatibilityException,
|
|
6081
|
-
PlatformUnknownException,
|
|
6082
|
-
PropagateTags,
|
|
6083
|
-
ProxyConfigurationType,
|
|
6084
6027
|
PutAccountSettingCommand,
|
|
6085
6028
|
PutAccountSettingDefaultCommand,
|
|
6086
6029
|
PutAttributesCommand,
|
|
6087
6030
|
PutClusterCapacityProvidersCommand,
|
|
6088
6031
|
RegisterContainerInstanceCommand,
|
|
6089
6032
|
RegisterTaskDefinitionCommand,
|
|
6090
|
-
ResourceInUseException,
|
|
6091
|
-
ResourceNotFoundException,
|
|
6092
|
-
ResourceType,
|
|
6093
6033
|
RunTaskCommand,
|
|
6094
|
-
ScaleUnit,
|
|
6095
|
-
SchedulingStrategy,
|
|
6096
|
-
Scope,
|
|
6097
|
-
ServerException,
|
|
6098
|
-
ServiceField,
|
|
6099
|
-
ServiceNotActiveException,
|
|
6100
|
-
ServiceNotFoundException,
|
|
6101
|
-
SessionFilterSensitiveLog,
|
|
6102
|
-
SettingName,
|
|
6103
|
-
SettingType,
|
|
6104
|
-
SortOrder,
|
|
6105
|
-
StabilityStatus,
|
|
6106
6034
|
StartTaskCommand,
|
|
6107
6035
|
StopTaskCommand,
|
|
6108
6036
|
SubmitAttachmentStateChangesCommand,
|
|
6109
6037
|
SubmitContainerStateChangeCommand,
|
|
6110
6038
|
SubmitTaskStateChangeCommand,
|
|
6111
6039
|
TagResourceCommand,
|
|
6112
|
-
TargetNotConnectedException,
|
|
6113
|
-
TargetNotFoundException,
|
|
6114
|
-
TargetType,
|
|
6115
|
-
TaskDefinitionFamilyStatus,
|
|
6116
|
-
TaskDefinitionField,
|
|
6117
|
-
TaskDefinitionPlacementConstraintType,
|
|
6118
|
-
TaskDefinitionStatus,
|
|
6119
|
-
TaskField,
|
|
6120
|
-
TaskFilesystemType,
|
|
6121
|
-
TaskSetField,
|
|
6122
|
-
TaskSetNotFoundException,
|
|
6123
|
-
TaskStopCode,
|
|
6124
|
-
TransportProtocol,
|
|
6125
|
-
UlimitName,
|
|
6126
|
-
UnsupportedFeatureException,
|
|
6127
6040
|
UntagResourceCommand,
|
|
6128
6041
|
UpdateCapacityProviderCommand,
|
|
6129
6042
|
UpdateClusterCommand,
|
|
6130
6043
|
UpdateClusterSettingsCommand,
|
|
6131
6044
|
UpdateContainerAgentCommand,
|
|
6132
6045
|
UpdateContainerInstancesStateCommand,
|
|
6133
|
-
UpdateInProgressException,
|
|
6134
6046
|
UpdateServiceCommand,
|
|
6135
6047
|
UpdateServicePrimaryTaskSetCommand,
|
|
6136
6048
|
UpdateTaskProtectionCommand,
|
|
6137
6049
|
UpdateTaskSetCommand,
|
|
6138
|
-
__Client,
|
|
6139
6050
|
paginateListAccountSettings,
|
|
6140
6051
|
paginateListAttributes,
|
|
6141
6052
|
paginateListClusters,
|
|
6142
6053
|
paginateListContainerInstances,
|
|
6143
|
-
paginateListServices,
|
|
6144
6054
|
paginateListServicesByNamespace,
|
|
6055
|
+
paginateListServices,
|
|
6145
6056
|
paginateListTaskDefinitionFamilies,
|
|
6146
6057
|
paginateListTaskDefinitions,
|
|
6147
6058
|
paginateListTasks,
|
|
6148
6059
|
waitForServicesInactive,
|
|
6149
|
-
waitForServicesStable,
|
|
6150
|
-
waitForTasksRunning,
|
|
6151
|
-
waitForTasksStopped,
|
|
6152
6060
|
waitUntilServicesInactive,
|
|
6061
|
+
waitForServicesStable,
|
|
6153
6062
|
waitUntilServicesStable,
|
|
6063
|
+
waitForTasksRunning,
|
|
6154
6064
|
waitUntilTasksRunning,
|
|
6155
|
-
|
|
6065
|
+
waitForTasksStopped,
|
|
6066
|
+
waitUntilTasksStopped,
|
|
6067
|
+
AccessDeniedException,
|
|
6068
|
+
AgentUpdateStatus,
|
|
6069
|
+
ClientException,
|
|
6070
|
+
ManagedDraining,
|
|
6071
|
+
ManagedScalingStatus,
|
|
6072
|
+
ManagedTerminationProtection,
|
|
6073
|
+
CapacityProviderStatus,
|
|
6074
|
+
CapacityProviderUpdateStatus,
|
|
6075
|
+
InvalidParameterException,
|
|
6076
|
+
LimitExceededException,
|
|
6077
|
+
ServerException,
|
|
6078
|
+
UpdateInProgressException,
|
|
6079
|
+
ExecuteCommandLogging,
|
|
6080
|
+
ClusterSettingName,
|
|
6081
|
+
NamespaceNotFoundException,
|
|
6082
|
+
ClusterNotFoundException,
|
|
6083
|
+
DeploymentControllerType,
|
|
6084
|
+
LaunchType,
|
|
6085
|
+
AssignPublicIp,
|
|
6086
|
+
PlacementConstraintType,
|
|
6087
|
+
PlacementStrategyType,
|
|
6088
|
+
PropagateTags,
|
|
6089
|
+
SchedulingStrategy,
|
|
6090
|
+
LogDriver,
|
|
6091
|
+
TaskFilesystemType,
|
|
6092
|
+
EBSResourceType,
|
|
6093
|
+
DeploymentRolloutState,
|
|
6094
|
+
ScaleUnit,
|
|
6095
|
+
StabilityStatus,
|
|
6096
|
+
PlatformTaskDefinitionIncompatibilityException,
|
|
6097
|
+
PlatformUnknownException,
|
|
6098
|
+
UnsupportedFeatureException,
|
|
6099
|
+
ServiceNotActiveException,
|
|
6100
|
+
ServiceNotFoundException,
|
|
6101
|
+
SettingName,
|
|
6102
|
+
SettingType,
|
|
6103
|
+
TargetType,
|
|
6104
|
+
TargetNotFoundException,
|
|
6105
|
+
ClusterContainsContainerInstancesException,
|
|
6106
|
+
ClusterContainsServicesException,
|
|
6107
|
+
ClusterContainsTasksException,
|
|
6108
|
+
Compatibility,
|
|
6109
|
+
ContainerCondition,
|
|
6110
|
+
EnvironmentFileType,
|
|
6111
|
+
FirelensConfigurationType,
|
|
6112
|
+
DeviceCgroupPermission,
|
|
6113
|
+
ApplicationProtocol,
|
|
6114
|
+
TransportProtocol,
|
|
6115
|
+
ResourceType,
|
|
6116
|
+
UlimitName,
|
|
6117
|
+
IpcMode,
|
|
6118
|
+
NetworkMode,
|
|
6119
|
+
PidMode,
|
|
6120
|
+
TaskDefinitionPlacementConstraintType,
|
|
6121
|
+
ProxyConfigurationType,
|
|
6122
|
+
CPUArchitecture,
|
|
6123
|
+
OSFamily,
|
|
6124
|
+
TaskDefinitionStatus,
|
|
6125
|
+
Scope,
|
|
6126
|
+
EFSAuthorizationConfigIAM,
|
|
6127
|
+
EFSTransitEncryption,
|
|
6128
|
+
TaskSetNotFoundException,
|
|
6129
|
+
InstanceHealthCheckState,
|
|
6130
|
+
InstanceHealthCheckType,
|
|
6131
|
+
CapacityProviderField,
|
|
6132
|
+
ClusterField,
|
|
6133
|
+
ContainerInstanceField,
|
|
6134
|
+
ServiceField,
|
|
6135
|
+
TaskDefinitionField,
|
|
6136
|
+
TaskField,
|
|
6137
|
+
Connectivity,
|
|
6138
|
+
HealthStatus,
|
|
6139
|
+
ManagedAgentName,
|
|
6140
|
+
TaskStopCode,
|
|
6141
|
+
TaskSetField,
|
|
6142
|
+
TargetNotConnectedException,
|
|
6143
|
+
ResourceNotFoundException,
|
|
6144
|
+
ContainerInstanceStatus,
|
|
6145
|
+
TaskDefinitionFamilyStatus,
|
|
6146
|
+
SortOrder,
|
|
6147
|
+
DesiredStatus,
|
|
6148
|
+
AttributeLimitExceededException,
|
|
6149
|
+
ResourceInUseException,
|
|
6150
|
+
PlatformDeviceType,
|
|
6151
|
+
BlockedException,
|
|
6152
|
+
ConflictException,
|
|
6153
|
+
MissingVersionException,
|
|
6154
|
+
NoUpdateAvailableException,
|
|
6155
|
+
SessionFilterSensitiveLog,
|
|
6156
|
+
ExecuteCommandResponseFilterSensitiveLog
|
|
6156
6157
|
});
|
|
6157
6158
|
|
|
@@ -213,6 +213,17 @@ declare const CreateServiceCommand_base: {
|
|
|
213
213
|
* },
|
|
214
214
|
* ],
|
|
215
215
|
* ingressPortOverride: Number("int"),
|
|
216
|
+
* timeout: { // TimeoutConfiguration
|
|
217
|
+
* idleTimeoutSeconds: Number("int"),
|
|
218
|
+
* perRequestTimeoutSeconds: Number("int"),
|
|
219
|
+
* },
|
|
220
|
+
* tls: { // ServiceConnectTlsConfiguration
|
|
221
|
+
* issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
222
|
+
* awsPcaAuthorityArn: "STRING_VALUE",
|
|
223
|
+
* },
|
|
224
|
+
* kmsKey: "STRING_VALUE",
|
|
225
|
+
* roleArn: "STRING_VALUE",
|
|
226
|
+
* },
|
|
216
227
|
* },
|
|
217
228
|
* ],
|
|
218
229
|
* logConfiguration: { // LogConfiguration
|
|
@@ -424,6 +435,17 @@ declare const CreateServiceCommand_base: {
|
|
|
424
435
|
* // },
|
|
425
436
|
* // ],
|
|
426
437
|
* // ingressPortOverride: Number("int"),
|
|
438
|
+
* // timeout: { // TimeoutConfiguration
|
|
439
|
+
* // idleTimeoutSeconds: Number("int"),
|
|
440
|
+
* // perRequestTimeoutSeconds: Number("int"),
|
|
441
|
+
* // },
|
|
442
|
+
* // tls: { // ServiceConnectTlsConfiguration
|
|
443
|
+
* // issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
444
|
+
* // awsPcaAuthorityArn: "STRING_VALUE",
|
|
445
|
+
* // },
|
|
446
|
+
* // kmsKey: "STRING_VALUE",
|
|
447
|
+
* // roleArn: "STRING_VALUE",
|
|
448
|
+
* // },
|
|
427
449
|
* // },
|
|
428
450
|
* // ],
|
|
429
451
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -30,7 +30,7 @@ declare const CreateTaskSetCommand_base: {
|
|
|
30
30
|
* uses the <code>EXTERNAL</code> deployment controller type. For more information, see
|
|
31
31
|
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html">Amazon ECS deployment
|
|
32
32
|
* types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
33
|
-
* <p>
|
|
33
|
+
* <p>For information about the maximum number of task sets and otther quotas, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html">Amazon ECS service quotas</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -225,6 +225,17 @@ declare const DeleteServiceCommand_base: {
|
|
|
225
225
|
* // },
|
|
226
226
|
* // ],
|
|
227
227
|
* // ingressPortOverride: Number("int"),
|
|
228
|
+
* // timeout: { // TimeoutConfiguration
|
|
229
|
+
* // idleTimeoutSeconds: Number("int"),
|
|
230
|
+
* // perRequestTimeoutSeconds: Number("int"),
|
|
231
|
+
* // },
|
|
232
|
+
* // tls: { // ServiceConnectTlsConfiguration
|
|
233
|
+
* // issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
234
|
+
* // awsPcaAuthorityArn: "STRING_VALUE",
|
|
235
|
+
* // },
|
|
236
|
+
* // kmsKey: "STRING_VALUE",
|
|
237
|
+
* // roleArn: "STRING_VALUE",
|
|
238
|
+
* // },
|
|
228
239
|
* // },
|
|
229
240
|
* // ],
|
|
230
241
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -210,6 +210,17 @@ declare const DescribeServicesCommand_base: {
|
|
|
210
210
|
* // },
|
|
211
211
|
* // ],
|
|
212
212
|
* // ingressPortOverride: Number("int"),
|
|
213
|
+
* // timeout: { // TimeoutConfiguration
|
|
214
|
+
* // idleTimeoutSeconds: Number("int"),
|
|
215
|
+
* // perRequestTimeoutSeconds: Number("int"),
|
|
216
|
+
* // },
|
|
217
|
+
* // tls: { // ServiceConnectTlsConfiguration
|
|
218
|
+
* // issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
219
|
+
* // awsPcaAuthorityArn: "STRING_VALUE",
|
|
220
|
+
* // },
|
|
221
|
+
* // kmsKey: "STRING_VALUE",
|
|
222
|
+
* // roleArn: "STRING_VALUE",
|
|
223
|
+
* // },
|
|
213
224
|
* // },
|
|
214
225
|
* // ],
|
|
215
226
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -251,6 +251,17 @@ declare const UpdateServiceCommand_base: {
|
|
|
251
251
|
* },
|
|
252
252
|
* ],
|
|
253
253
|
* ingressPortOverride: Number("int"),
|
|
254
|
+
* timeout: { // TimeoutConfiguration
|
|
255
|
+
* idleTimeoutSeconds: Number("int"),
|
|
256
|
+
* perRequestTimeoutSeconds: Number("int"),
|
|
257
|
+
* },
|
|
258
|
+
* tls: { // ServiceConnectTlsConfiguration
|
|
259
|
+
* issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
260
|
+
* awsPcaAuthorityArn: "STRING_VALUE",
|
|
261
|
+
* },
|
|
262
|
+
* kmsKey: "STRING_VALUE",
|
|
263
|
+
* roleArn: "STRING_VALUE",
|
|
264
|
+
* },
|
|
254
265
|
* },
|
|
255
266
|
* ],
|
|
256
267
|
* logConfiguration: { // LogConfiguration
|
|
@@ -462,6 +473,17 @@ declare const UpdateServiceCommand_base: {
|
|
|
462
473
|
* // },
|
|
463
474
|
* // ],
|
|
464
475
|
* // ingressPortOverride: Number("int"),
|
|
476
|
+
* // timeout: { // TimeoutConfiguration
|
|
477
|
+
* // idleTimeoutSeconds: Number("int"),
|
|
478
|
+
* // perRequestTimeoutSeconds: Number("int"),
|
|
479
|
+
* // },
|
|
480
|
+
* // tls: { // ServiceConnectTlsConfiguration
|
|
481
|
+
* // issuerCertificateAuthority: { // ServiceConnectTlsCertificateAuthority
|
|
482
|
+
* // awsPcaAuthorityArn: "STRING_VALUE",
|
|
483
|
+
* // },
|
|
484
|
+
* // kmsKey: "STRING_VALUE",
|
|
485
|
+
* // roleArn: "STRING_VALUE",
|
|
486
|
+
* // },
|
|
465
487
|
* // },
|
|
466
488
|
* // ],
|
|
467
489
|
* // logConfiguration: { // LogConfiguration
|
|
@@ -1272,8 +1272,8 @@ export interface DeploymentConfiguration {
|
|
|
1272
1272
|
* the container health check settings. </p>
|
|
1273
1273
|
* </li>
|
|
1274
1274
|
* </ul>
|
|
1275
|
-
* <p>For services
|
|
1276
|
-
*
|
|
1275
|
+
* <p>For services that <i>do</i> use a load balancer, the following should be
|
|
1276
|
+
* noted:</p>
|
|
1277
1277
|
* <ul>
|
|
1278
1278
|
* <li>
|
|
1279
1279
|
* <p>If a task has no essential containers with a health check defined, the service
|
|
@@ -1437,7 +1437,9 @@ export declare const AssignPublicIp: {
|
|
|
1437
1437
|
export type AssignPublicIp = (typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
1438
1438
|
/**
|
|
1439
1439
|
* @public
|
|
1440
|
-
* <p>An object representing the networking details for a task or service
|
|
1440
|
+
* <p>An object representing the networking details for a task or service. For example
|
|
1441
|
+
* <code>awsvpcConfiguration=\{subnets=["subnet-12344321"],securityGroups=["sg-12344321"]\}</code>
|
|
1442
|
+
* </p>
|
|
1441
1443
|
*/
|
|
1442
1444
|
export interface AwsVpcConfiguration {
|
|
1443
1445
|
/**
|
|
@@ -1765,6 +1767,68 @@ export interface ServiceConnectClientAlias {
|
|
|
1765
1767
|
*/
|
|
1766
1768
|
dnsName?: string;
|
|
1767
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* @public
|
|
1772
|
+
* <p>An object that represents the timeout configurations for Service Connect.</p>
|
|
1773
|
+
* <note>
|
|
1774
|
+
* <p>If <code>idleTimeout</code> is set to a time that is less than
|
|
1775
|
+
* <code>perRequestTimeout</code>, the connection will close when the
|
|
1776
|
+
* <code>idleTimeout</code> is reached and not the
|
|
1777
|
+
* <code>perRequestTimeout</code>.</p>
|
|
1778
|
+
* </note>
|
|
1779
|
+
*/
|
|
1780
|
+
export interface TimeoutConfiguration {
|
|
1781
|
+
/**
|
|
1782
|
+
* @public
|
|
1783
|
+
* <p>The amount of time in seconds a connection will stay active while idle. A
|
|
1784
|
+
* value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p>
|
|
1785
|
+
* <p>The <code>idleTimeout</code> default for
|
|
1786
|
+
* <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p>
|
|
1787
|
+
* <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>
|
|
1788
|
+
*/
|
|
1789
|
+
idleTimeoutSeconds?: number;
|
|
1790
|
+
/**
|
|
1791
|
+
* @public
|
|
1792
|
+
* <p>The amount of time waiting for the upstream to respond with a complete response
|
|
1793
|
+
* per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>.
|
|
1794
|
+
* <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code>
|
|
1795
|
+
* isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code>
|
|
1796
|
+
* <code>appProtocol</code>.</p>
|
|
1797
|
+
*/
|
|
1798
|
+
perRequestTimeoutSeconds?: number;
|
|
1799
|
+
}
|
|
1800
|
+
/**
|
|
1801
|
+
* @public
|
|
1802
|
+
* <p>An object that represents the Amazon Web Services Private Certificate Authority certificate.</p>
|
|
1803
|
+
*/
|
|
1804
|
+
export interface ServiceConnectTlsCertificateAuthority {
|
|
1805
|
+
/**
|
|
1806
|
+
* @public
|
|
1807
|
+
* <p>The ARN of the Amazon Web Services Private Certificate Authority certificate.</p>
|
|
1808
|
+
*/
|
|
1809
|
+
awsPcaAuthorityArn?: string;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* @public
|
|
1813
|
+
* <p>An object that represents the configuration for Service Connect TLS.</p>
|
|
1814
|
+
*/
|
|
1815
|
+
export interface ServiceConnectTlsConfiguration {
|
|
1816
|
+
/**
|
|
1817
|
+
* @public
|
|
1818
|
+
* <p>The signer certificate authority.</p>
|
|
1819
|
+
*/
|
|
1820
|
+
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
1821
|
+
/**
|
|
1822
|
+
* @public
|
|
1823
|
+
* <p>The Amazon Web Services Key Management Service key.</p>
|
|
1824
|
+
*/
|
|
1825
|
+
kmsKey?: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* @public
|
|
1828
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.</p>
|
|
1829
|
+
*/
|
|
1830
|
+
roleArn?: string;
|
|
1831
|
+
}
|
|
1768
1832
|
/**
|
|
1769
1833
|
* @public
|
|
1770
1834
|
* <p>The Service Connect service object configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
@@ -1809,6 +1873,16 @@ export interface ServiceConnectService {
|
|
|
1809
1873
|
* Service Connect proxy.</p>
|
|
1810
1874
|
*/
|
|
1811
1875
|
ingressPortOverride?: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* @public
|
|
1878
|
+
* <p>A reference to an object that represents the configured timeouts for Service Connect.</p>
|
|
1879
|
+
*/
|
|
1880
|
+
timeout?: TimeoutConfiguration;
|
|
1881
|
+
/**
|
|
1882
|
+
* @public
|
|
1883
|
+
* <p>A reference to an object that represents a Transport Layer Security (TLS) configuration.</p>
|
|
1884
|
+
*/
|
|
1885
|
+
tls?: ServiceConnectTlsConfiguration;
|
|
1812
1886
|
}
|
|
1813
1887
|
/**
|
|
1814
1888
|
* @public
|
|
@@ -3862,6 +3936,7 @@ export type ContainerCondition = (typeof ContainerCondition)[keyof typeof Contai
|
|
|
3862
3936
|
* </li>
|
|
3863
3937
|
* </ul>
|
|
3864
3938
|
* </note>
|
|
3939
|
+
* <p>For more information about how to create a container dependency, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency">Container dependency</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
3865
3940
|
*/
|
|
3866
3941
|
export interface ContainerDependency {
|
|
3867
3942
|
/**
|
|
@@ -4793,7 +4868,7 @@ export type UlimitName = (typeof UlimitName)[keyof typeof UlimitName];
|
|
|
4793
4868
|
* overrides. The <code>nofile</code> resource limit sets a restriction on
|
|
4794
4869
|
* the number of open files that a container can use. The default
|
|
4795
4870
|
* <code>nofile</code> soft limit is <code>1024</code> and the default hard limit
|
|
4796
|
-
* is <code>
|
|
4871
|
+
* is <code>65535</code>.</p>
|
|
4797
4872
|
* <p>You can specify the <code>ulimit</code> settings for a container in a task
|
|
4798
4873
|
* definition.</p>
|
|
4799
4874
|
*/
|
|
@@ -5441,7 +5516,7 @@ export interface ContainerDefinition {
|
|
|
5441
5516
|
* overrides. The <code>nofile</code> resource limit sets a restriction on
|
|
5442
5517
|
* the number of open files that a container can use. The default
|
|
5443
5518
|
* <code>nofile</code> soft limit is <code>1024</code> and the default hard limit
|
|
5444
|
-
* is <code>
|
|
5519
|
+
* is <code>65535</code>.</p>
|
|
5445
5520
|
* <p>This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: <code>sudo docker version --format '\{\{.Server.APIVersion\}\}'</code>
|
|
5446
5521
|
* </p>
|
|
5447
5522
|
* <note>
|
|
@@ -6136,9 +6211,9 @@ export interface Volume {
|
|
|
6136
6211
|
* task definition revision may only have one volume configured at launch in the volume
|
|
6137
6212
|
* configuration.</p>
|
|
6138
6213
|
* <p>To configure a volume at launch time, use this task definition revision and specify a
|
|
6139
|
-
*
|
|
6214
|
+
* <code>volumeConfigurations</code> object when calling the
|
|
6140
6215
|
* <code>CreateService</code>, <code>UpdateService</code>, <code>RunTask</code> or
|
|
6141
|
-
*
|
|
6216
|
+
* <code>StartTask</code> APIs.</p>
|
|
6142
6217
|
*/
|
|
6143
6218
|
configuredAtLaunch?: boolean;
|
|
6144
6219
|
}
|
|
@@ -7945,41 +8020,7 @@ export interface Task {
|
|
|
7945
8020
|
* @public
|
|
7946
8021
|
* <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
|
|
7947
8022
|
* contain additional details. </p>
|
|
7948
|
-
* <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html">Stopped tasks error
|
|
7949
|
-
* codes</a> in the <i>Amazon ECS User Guide</i>.</p>
|
|
7950
|
-
* <p>The following are valid values:</p>
|
|
7951
|
-
* <ul>
|
|
7952
|
-
* <li>
|
|
7953
|
-
* <p>
|
|
7954
|
-
* <code>TaskFailedToStart</code>
|
|
7955
|
-
* </p>
|
|
7956
|
-
* </li>
|
|
7957
|
-
* <li>
|
|
7958
|
-
* <p>
|
|
7959
|
-
* <code>EssentialContainerExited</code>
|
|
7960
|
-
* </p>
|
|
7961
|
-
* </li>
|
|
7962
|
-
* <li>
|
|
7963
|
-
* <p>
|
|
7964
|
-
* <code>UserInitiated</code>
|
|
7965
|
-
* </p>
|
|
7966
|
-
* </li>
|
|
7967
|
-
* <li>
|
|
7968
|
-
* <p>
|
|
7969
|
-
* <code>TerminationNotice</code>
|
|
7970
|
-
* </p>
|
|
7971
|
-
* </li>
|
|
7972
|
-
* <li>
|
|
7973
|
-
* <p>
|
|
7974
|
-
* <code>ServiceSchedulerInitiated</code>
|
|
7975
|
-
* </p>
|
|
7976
|
-
* </li>
|
|
7977
|
-
* <li>
|
|
7978
|
-
* <p>
|
|
7979
|
-
* <code>SpotInterruption</code>
|
|
7980
|
-
* </p>
|
|
7981
|
-
* </li>
|
|
7982
|
-
* </ul>
|
|
8023
|
+
* <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html">Stopped tasks error codes</a> in the <i>Amazon ECS User Guide</i>.</p>
|
|
7983
8024
|
*/
|
|
7984
8025
|
stopCode?: TaskStopCode;
|
|
7985
8026
|
/**
|
|
@@ -10488,10 +10529,10 @@ export interface StopTaskRequest {
|
|
|
10488
10529
|
task: string | undefined;
|
|
10489
10530
|
/**
|
|
10490
10531
|
* @public
|
|
10491
|
-
* <p>An optional message specified when a task is stopped. For example, if you're using a
|
|
10492
|
-
*
|
|
10493
|
-
*
|
|
10494
|
-
*
|
|
10532
|
+
* <p>An optional message specified when a task is stopped. For example, if you're using a custom
|
|
10533
|
+
* scheduler, you can use this parameter to specify the reason for stopping the task here,
|
|
10534
|
+
* and the message appears in subsequent <a>DescribeTasks</a> API operations on
|
|
10535
|
+
* this task.</p>
|
|
10495
10536
|
*/
|
|
10496
10537
|
reason?: string;
|
|
10497
10538
|
}
|
|
@@ -320,11 +320,25 @@ export interface ServiceConnectClientAlias {
|
|
|
320
320
|
port: number | undefined;
|
|
321
321
|
dnsName?: string;
|
|
322
322
|
}
|
|
323
|
+
export interface TimeoutConfiguration {
|
|
324
|
+
idleTimeoutSeconds?: number;
|
|
325
|
+
perRequestTimeoutSeconds?: number;
|
|
326
|
+
}
|
|
327
|
+
export interface ServiceConnectTlsCertificateAuthority {
|
|
328
|
+
awsPcaAuthorityArn?: string;
|
|
329
|
+
}
|
|
330
|
+
export interface ServiceConnectTlsConfiguration {
|
|
331
|
+
issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
|
|
332
|
+
kmsKey?: string;
|
|
333
|
+
roleArn?: string;
|
|
334
|
+
}
|
|
323
335
|
export interface ServiceConnectService {
|
|
324
336
|
portName: string | undefined;
|
|
325
337
|
discoveryName?: string;
|
|
326
338
|
clientAliases?: ServiceConnectClientAlias[];
|
|
327
339
|
ingressPortOverride?: number;
|
|
340
|
+
timeout?: TimeoutConfiguration;
|
|
341
|
+
tls?: ServiceConnectTlsConfiguration;
|
|
328
342
|
}
|
|
329
343
|
export interface ServiceConnectConfiguration {
|
|
330
344
|
enabled: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.499.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecs",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.499.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.499.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.496.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|