@aws-sdk/client-ecs 3.1152.0 → 3.1154.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 (93) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +737 -38
  3. package/dist-es/ECS.js +28 -0
  4. package/dist-es/commands/AssociateGatewayWithClusterCommand.js +4 -0
  5. package/dist-es/commands/CreateGatewayCommand.js +4 -0
  6. package/dist-es/commands/DeleteGatewayCommand.js +4 -0
  7. package/dist-es/commands/DescribeGatewayCommand.js +4 -0
  8. package/dist-es/commands/DescribeGatewayResourcesCommand.js +4 -0
  9. package/dist-es/commands/DescribeGatewayRouteCommand.js +4 -0
  10. package/dist-es/commands/DisassociateGatewayFromClusterCommand.js +4 -0
  11. package/dist-es/commands/ListGatewayClusterAssociationsCommand.js +4 -0
  12. package/dist-es/commands/ListGatewayRoutesCommand.js +4 -0
  13. package/dist-es/commands/ListGatewaysCommand.js +4 -0
  14. package/dist-es/commands/UpdateGatewayCommand.js +4 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/enums.js +51 -0
  17. package/dist-es/models/errors.js +26 -13
  18. package/dist-es/pagination/ListGatewayClusterAssociationsPaginator.js +4 -0
  19. package/dist-es/pagination/ListGatewayRoutesPaginator.js +4 -0
  20. package/dist-es/pagination/ListGatewaysPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +518 -25
  23. package/dist-types/ECS.d.ts +101 -0
  24. package/dist-types/ECSClient.d.ts +13 -2
  25. package/dist-types/commands/AssociateGatewayWithClusterCommand.d.ts +113 -0
  26. package/dist-types/commands/CreateGatewayCommand.d.ts +172 -0
  27. package/dist-types/commands/CreateServiceCommand.d.ts +34 -1
  28. package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteGatewayCommand.d.ts +108 -0
  30. package/dist-types/commands/DeleteServiceCommand.d.ts +6 -1
  31. package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeGatewayCommand.d.ts +200 -0
  33. package/dist-types/commands/DescribeGatewayResourcesCommand.d.ts +135 -0
  34. package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +160 -0
  35. package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +53 -2
  36. package/dist-types/commands/DescribeServicesCommand.d.ts +6 -1
  37. package/dist-types/commands/DisassociateGatewayFromClusterCommand.d.ts +116 -0
  38. package/dist-types/commands/ListGatewayClusterAssociationsCommand.d.ts +125 -0
  39. package/dist-types/commands/ListGatewayRoutesCommand.d.ts +132 -0
  40. package/dist-types/commands/ListGatewaysCommand.d.ts +131 -0
  41. package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListServicesCommand.d.ts +1 -1
  43. package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateGatewayCommand.d.ts +143 -0
  46. package/dist-types/commands/UpdateServiceCommand.d.ts +34 -1
  47. package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  48. package/dist-types/commands/index.d.ts +11 -0
  49. package/dist-types/models/enums.d.ts +221 -0
  50. package/dist-types/models/errors.d.ts +25 -12
  51. package/dist-types/models/models_0.d.ts +1245 -1800
  52. package/dist-types/models/models_1.d.ts +2007 -2
  53. package/dist-types/pagination/ListGatewayClusterAssociationsPaginator.d.ts +7 -0
  54. package/dist-types/pagination/ListGatewayRoutesPaginator.d.ts +7 -0
  55. package/dist-types/pagination/ListGatewaysPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +3 -0
  57. package/dist-types/schemas/schemas_0.d.ts +69 -1
  58. package/dist-types/ts3.4/ECS.d.ts +211 -0
  59. package/dist-types/ts3.4/ECSClient.d.ts +66 -0
  60. package/dist-types/ts3.4/commands/AssociateGatewayWithClusterCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +38 -0
  62. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +38 -0
  65. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +38 -0
  68. package/dist-types/ts3.4/commands/DescribeGatewayResourcesCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/DescribeGatewayRouteCommand.d.ts +39 -0
  70. package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +4 -2
  71. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DisassociateGatewayFromClusterCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/ListGatewayClusterAssociationsCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/ListGatewayRoutesCommand.d.ts +39 -0
  75. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  84. package/dist-types/ts3.4/models/enums.d.ts +66 -0
  85. package/dist-types/ts3.4/models/errors.d.ts +12 -6
  86. package/dist-types/ts3.4/models/models_0.d.ts +385 -430
  87. package/dist-types/ts3.4/models/models_1.d.ts +488 -13
  88. package/dist-types/ts3.4/pagination/ListGatewayClusterAssociationsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +74 -1
  93. package/package.json +4 -4
@@ -313,43 +313,56 @@ export declare class DaemonNotFoundException extends __BaseException {
313
313
  constructor(opts: __ExceptionOptionType<DaemonNotFoundException, __BaseException>);
314
314
  }
315
315
  /**
316
- * <p>The specified platform version doesn't satisfy the required capabilities of the task definition.</p>
316
+ * <p>The specified gateway wasn't found. Check that the gateway name or ARN is correct and that the gateway exists in your account and Region.</p>
317
317
  * @public
318
318
  */
319
- export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
319
+ export declare class GatewayNotFoundException extends __BaseException {
320
320
  static readonly shapeId: string;
321
- readonly name: "PlatformTaskDefinitionIncompatibilityException";
321
+ readonly name: "GatewayNotFoundException";
322
322
  readonly $fault: "client";
323
323
  /**
324
324
  * @internal
325
325
  */
326
- constructor(opts: __ExceptionOptionType<PlatformTaskDefinitionIncompatibilityException, __BaseException>);
326
+ constructor(opts: __ExceptionOptionType<GatewayNotFoundException, __BaseException>);
327
327
  }
328
328
  /**
329
- * <p>The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
329
+ * <p>The specified resource wasn't found.</p>
330
330
  * @public
331
331
  */
332
- export declare class ServiceNotActiveException extends __BaseException {
332
+ export declare class ResourceNotFoundException extends __BaseException {
333
333
  static readonly shapeId: string;
334
- readonly name: "ServiceNotActiveException";
334
+ readonly name: "ResourceNotFoundException";
335
335
  readonly $fault: "client";
336
336
  /**
337
337
  * @internal
338
338
  */
339
- constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
339
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
340
340
  }
341
341
  /**
342
- * <p>The specified resource wasn't found.</p>
342
+ * <p>The specified platform version doesn't satisfy the required capabilities of the task definition.</p>
343
343
  * @public
344
344
  */
345
- export declare class ResourceNotFoundException extends __BaseException {
345
+ export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
346
346
  static readonly shapeId: string;
347
- readonly name: "ResourceNotFoundException";
347
+ readonly name: "PlatformTaskDefinitionIncompatibilityException";
348
348
  readonly $fault: "client";
349
349
  /**
350
350
  * @internal
351
351
  */
352
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
352
+ constructor(opts: __ExceptionOptionType<PlatformTaskDefinitionIncompatibilityException, __BaseException>);
353
+ }
354
+ /**
355
+ * <p>The specified service isn't active. You can't update a service that's inactive. If you have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
356
+ * @public
357
+ */
358
+ export declare class ServiceNotActiveException extends __BaseException {
359
+ static readonly shapeId: string;
360
+ readonly name: "ServiceNotActiveException";
361
+ readonly $fault: "client";
362
+ /**
363
+ * @internal
364
+ */
365
+ constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
353
366
  }
354
367
  /**
355
368
  * <p>The request could not be processed because of conflict in the current state of the resource. </p>