@aws-sdk/client-ecs 3.496.0 → 3.497.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 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
- AccessDeniedException,
5990
- AgentUpdateStatus,
5991
- ApplicationProtocol,
5992
- AssignPublicIp,
5993
- AttributeLimitExceededException,
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
- waitUntilTasksStopped
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
@@ -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
@@ -1765,6 +1765,68 @@ export interface ServiceConnectClientAlias {
1765
1765
  */
1766
1766
  dnsName?: string;
1767
1767
  }
1768
+ /**
1769
+ * @public
1770
+ * <p>An object that represents the timeout configurations for Service Connect.</p>
1771
+ * <note>
1772
+ * <p>If <code>idleTimeout</code> is set to a time that is less than
1773
+ * <code>perRequestTimeout</code>, the connection will close when the
1774
+ * <code>idleTimeout</code> is reached and not the
1775
+ * <code>perRequestTimeout</code>.</p>
1776
+ * </note>
1777
+ */
1778
+ export interface TimeoutConfiguration {
1779
+ /**
1780
+ * @public
1781
+ * <p>The amount of time in seconds a connection will stay active while idle. A
1782
+ * value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p>
1783
+ * <p>The <code>idleTimeout</code> default for
1784
+ * <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p>
1785
+ * <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>
1786
+ */
1787
+ idleTimeoutSeconds?: number;
1788
+ /**
1789
+ * @public
1790
+ * <p>The amount of time waiting for the upstream to respond with a complete response
1791
+ * per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>.
1792
+ * <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code>
1793
+ * isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code>
1794
+ * <code>appProtocol</code>.</p>
1795
+ */
1796
+ perRequestTimeoutSeconds?: number;
1797
+ }
1798
+ /**
1799
+ * @public
1800
+ * <p>An object that represents the Amazon Web Services Private Certificate Authority certificate.</p>
1801
+ */
1802
+ export interface ServiceConnectTlsCertificateAuthority {
1803
+ /**
1804
+ * @public
1805
+ * <p>The ARN of the Amazon Web Services Private Certificate Authority certificate.</p>
1806
+ */
1807
+ awsPcaAuthorityArn?: string;
1808
+ }
1809
+ /**
1810
+ * @public
1811
+ * <p>An object that represents the configuration for Service Connect TLS.</p>
1812
+ */
1813
+ export interface ServiceConnectTlsConfiguration {
1814
+ /**
1815
+ * @public
1816
+ * <p>The signer certificate authority.</p>
1817
+ */
1818
+ issuerCertificateAuthority: ServiceConnectTlsCertificateAuthority | undefined;
1819
+ /**
1820
+ * @public
1821
+ * <p>The Amazon Web Services Key Management Service key.</p>
1822
+ */
1823
+ kmsKey?: string;
1824
+ /**
1825
+ * @public
1826
+ * <p>The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.</p>
1827
+ */
1828
+ roleArn?: string;
1829
+ }
1768
1830
  /**
1769
1831
  * @public
1770
1832
  * <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 +1871,16 @@ export interface ServiceConnectService {
1809
1871
  * Service Connect proxy.</p>
1810
1872
  */
1811
1873
  ingressPortOverride?: number;
1874
+ /**
1875
+ * @public
1876
+ * <p>A reference to an object that represents the configured timeouts for Service Connect.</p>
1877
+ */
1878
+ timeout?: TimeoutConfiguration;
1879
+ /**
1880
+ * @public
1881
+ * <p>An object that represents the configuration for Service Connect TLS.</p>
1882
+ */
1883
+ tls?: ServiceConnectTlsConfiguration;
1812
1884
  }
1813
1885
  /**
1814
1886
  * @public
@@ -6136,9 +6208,9 @@ export interface Volume {
6136
6208
  * task definition revision may only have one volume configured at launch in the volume
6137
6209
  * configuration.</p>
6138
6210
  * <p>To configure a volume at launch time, use this task definition revision and specify a
6139
- * <code>volumeConfigurations</code> object when calling the
6211
+ * <code>volumeConfigurations</code> object when calling the
6140
6212
  * <code>CreateService</code>, <code>UpdateService</code>, <code>RunTask</code> or
6141
- * <code>StartTask</code> APIs.</p>
6213
+ * <code>StartTask</code> APIs.</p>
6142
6214
  */
6143
6215
  configuredAtLaunch?: boolean;
6144
6216
  }
@@ -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.496.0",
4
+ "version": "3.497.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",