@aws-sdk/client-ecs 3.935.0 → 3.937.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.
Files changed (40) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +526 -45
  3. package/dist-es/ECS.js +8 -0
  4. package/dist-es/commands/CreateExpressGatewayServiceCommand.js +16 -0
  5. package/dist-es/commands/DeleteExpressGatewayServiceCommand.js +16 -0
  6. package/dist-es/commands/DescribeExpressGatewayServiceCommand.js +16 -0
  7. package/dist-es/commands/UpdateExpressGatewayServiceCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +28 -0
  10. package/dist-es/models/errors.js +8 -8
  11. package/dist-es/schemas/schemas_0.js +429 -37
  12. package/dist-types/ECS.d.ts +28 -0
  13. package/dist-types/ECSClient.d.ts +6 -2
  14. package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +240 -0
  15. package/dist-types/commands/CreateServiceCommand.d.ts +10 -0
  16. package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +187 -0
  17. package/dist-types/commands/DeleteServiceCommand.d.ts +10 -0
  18. package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +184 -0
  19. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +105 -0
  20. package/dist-types/commands/DescribeServicesCommand.d.ts +10 -0
  21. package/dist-types/commands/ListServicesCommand.d.ts +1 -0
  22. package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +222 -0
  23. package/dist-types/commands/UpdateServiceCommand.d.ts +10 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/enums.d.ts +76 -0
  26. package/dist-types/models/errors.d.ts +12 -12
  27. package/dist-types/models/models_0.d.ts +3808 -2758
  28. package/dist-types/schemas/schemas_0.d.ts +46 -0
  29. package/dist-types/ts3.4/ECS.d.ts +68 -0
  30. package/dist-types/ts3.4/ECSClient.d.ts +24 -0
  31. package/dist-types/ts3.4/commands/CreateExpressGatewayServiceCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  36. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  37. package/dist-types/ts3.4/models/errors.d.ts +6 -6
  38. package/dist-types/ts3.4/models/models_0.d.ts +229 -4
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
  40. package/package.json +12 -12
@@ -48,6 +48,18 @@ export declare const AcceleratorType: {
48
48
  * @public
49
49
  */
50
50
  export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorType];
51
+ /**
52
+ * @public
53
+ * @enum
54
+ */
55
+ export declare const AccessType: {
56
+ readonly PRIVATE: "PRIVATE";
57
+ readonly PUBLIC: "PUBLIC";
58
+ };
59
+ /**
60
+ * @public
61
+ */
62
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
51
63
  /**
52
64
  * @public
53
65
  * @enum
@@ -271,6 +283,32 @@ export declare const ClusterSettingName: {
271
283
  * @public
272
284
  */
273
285
  export type ClusterSettingName = (typeof ClusterSettingName)[keyof typeof ClusterSettingName];
286
+ /**
287
+ * @public
288
+ * @enum
289
+ */
290
+ export declare const ExpressGatewayServiceScalingMetric: {
291
+ readonly AverageCPUUtilization: "AVERAGE_CPU";
292
+ readonly AverageMemoryUtilization: "AVERAGE_MEMORY";
293
+ readonly RequestCountPerTarget: "REQUEST_COUNT_PER_TARGET";
294
+ };
295
+ /**
296
+ * @public
297
+ */
298
+ export type ExpressGatewayServiceScalingMetric = (typeof ExpressGatewayServiceScalingMetric)[keyof typeof ExpressGatewayServiceScalingMetric];
299
+ /**
300
+ * @public
301
+ * @enum
302
+ */
303
+ export declare const ExpressGatewayServiceStatusCode: {
304
+ readonly ACTIVE: "ACTIVE";
305
+ readonly DRAINING: "DRAINING";
306
+ readonly INACTIVE: "INACTIVE";
307
+ };
308
+ /**
309
+ * @public
310
+ */
311
+ export type ExpressGatewayServiceStatusCode = (typeof ExpressGatewayServiceStatusCode)[keyof typeof ExpressGatewayServiceStatusCode];
274
312
  /**
275
313
  * @public
276
314
  * @enum
@@ -483,6 +521,18 @@ export declare const DeploymentRolloutState: {
483
521
  * @public
484
522
  */
485
523
  export type DeploymentRolloutState = (typeof DeploymentRolloutState)[keyof typeof DeploymentRolloutState];
524
+ /**
525
+ * @public
526
+ * @enum
527
+ */
528
+ export declare const ResourceManagementType: {
529
+ readonly CUSTOMER: "CUSTOMER";
530
+ readonly ECS: "ECS";
531
+ };
532
+ /**
533
+ * @public
534
+ */
535
+ export type ResourceManagementType = (typeof ResourceManagementType)[keyof typeof ResourceManagementType];
486
536
  /**
487
537
  * @public
488
538
  * @enum
@@ -892,6 +942,17 @@ export declare const ContainerInstanceField: {
892
942
  * @public
893
943
  */
894
944
  export type ContainerInstanceField = (typeof ContainerInstanceField)[keyof typeof ContainerInstanceField];
945
+ /**
946
+ * @public
947
+ * @enum
948
+ */
949
+ export declare const ExpressGatewayServiceInclude: {
950
+ readonly TAGS: "TAGS";
951
+ };
952
+ /**
953
+ * @public
954
+ */
955
+ export type ExpressGatewayServiceInclude = (typeof ExpressGatewayServiceInclude)[keyof typeof ExpressGatewayServiceInclude];
895
956
  /**
896
957
  * @public
897
958
  * @enum
@@ -945,6 +1006,21 @@ export declare const ServiceDeploymentStatus: {
945
1006
  * @public
946
1007
  */
947
1008
  export type ServiceDeploymentStatus = (typeof ServiceDeploymentStatus)[keyof typeof ServiceDeploymentStatus];
1009
+ /**
1010
+ * @public
1011
+ * @enum
1012
+ */
1013
+ export declare const ManagedResourceStatus: {
1014
+ readonly ACTIVE: "ACTIVE";
1015
+ readonly DELETED: "DELETED";
1016
+ readonly DEPROVISIONING: "DEPROVISIONING";
1017
+ readonly FAILED: "FAILED";
1018
+ readonly PROVISIONING: "PROVISIONING";
1019
+ };
1020
+ /**
1021
+ * @public
1022
+ */
1023
+ export type ManagedResourceStatus = (typeof ManagedResourceStatus)[keyof typeof ManagedResourceStatus];
948
1024
  /**
949
1025
  * @public
950
1026
  * @enum
@@ -252,6 +252,18 @@ export declare class TaskSetNotFoundException extends __BaseException {
252
252
  */
253
253
  constructor(opts: __ExceptionOptionType<TaskSetNotFoundException, __BaseException>);
254
254
  }
255
+ /**
256
+ * <p>The specified resource wasn't found.</p>
257
+ * @public
258
+ */
259
+ export declare class ResourceNotFoundException extends __BaseException {
260
+ readonly name: "ResourceNotFoundException";
261
+ readonly $fault: "client";
262
+ /**
263
+ * @internal
264
+ */
265
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
266
+ }
255
267
  /**
256
268
  * <p>The execute command cannot run. This error can be caused by any of the following
257
269
  * configuration issues:</p>
@@ -280,18 +292,6 @@ export declare class TargetNotConnectedException extends __BaseException {
280
292
  */
281
293
  constructor(opts: __ExceptionOptionType<TargetNotConnectedException, __BaseException>);
282
294
  }
283
- /**
284
- * <p>The specified resource wasn't found.</p>
285
- * @public
286
- */
287
- export declare class ResourceNotFoundException extends __BaseException {
288
- readonly name: "ResourceNotFoundException";
289
- readonly $fault: "client";
290
- /**
291
- * @internal
292
- */
293
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
294
- }
295
295
  /**
296
296
  * <p>You can apply up to 10 custom attributes for each resource. You can view the
297
297
  * attributes of a resource with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListAttributes.html">ListAttributes</a>.