@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
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListServicesRequest, ListServicesResponse } from "../models/models_0";
2
+ import { ListServicesRequest, ListServicesResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface ListServicesCommandInput extends ListServicesRequest {}
5
5
  export interface ListServicesCommandOutput extends ListServicesResponse, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_0";
2
+ import { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface StopServiceDeploymentCommandInput extends StopServiceDeploymentRequest {}
5
5
  export interface StopServiceDeploymentCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  UpdateExpressGatewayServiceRequest,
4
4
  UpdateExpressGatewayServiceResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface UpdateExpressGatewayServiceCommandInput extends UpdateExpressGatewayServiceRequest {}
8
8
  export interface UpdateExpressGatewayServiceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateGatewayRequest, UpdateGatewayResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateGatewayCommandInput extends UpdateGatewayRequest {}
5
+ export interface UpdateGatewayCommandOutput extends UpdateGatewayResponse, __MetadataBearer {}
6
+ declare const UpdateGatewayCommand_base: {
7
+ new (
8
+ input: UpdateGatewayCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ UpdateGatewayCommandInput,
11
+ UpdateGatewayCommandOutput,
12
+ import("..").ECSClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: UpdateGatewayCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UpdateGatewayCommandInput,
20
+ UpdateGatewayCommandOutput,
21
+ import("..").ECSClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class UpdateGatewayCommand extends UpdateGatewayCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: UpdateGatewayRequest;
31
+ output: UpdateGatewayResponse;
32
+ };
33
+ sdk: {
34
+ input: UpdateGatewayCommandInput;
35
+ output: UpdateGatewayCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_0";
2
+ import { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface UpdateServiceCommandInput extends UpdateServiceRequest {}
5
5
  export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __MetadataBearer {}
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  UpdateServicePrimaryTaskSetRequest,
4
4
  UpdateServicePrimaryTaskSetResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface UpdateServicePrimaryTaskSetCommandInput extends UpdateServicePrimaryTaskSetRequest {}
8
8
  export interface UpdateServicePrimaryTaskSetCommandOutput
@@ -1,8 +1,10 @@
1
+ export * from "./AssociateGatewayWithClusterCommand";
1
2
  export * from "./ContinueServiceDeploymentCommand";
2
3
  export * from "./CreateCapacityProviderCommand";
3
4
  export * from "./CreateClusterCommand";
4
5
  export * from "./CreateDaemonCommand";
5
6
  export * from "./CreateExpressGatewayServiceCommand";
7
+ export * from "./CreateGatewayCommand";
6
8
  export * from "./CreateServiceCommand";
7
9
  export * from "./CreateTaskSetCommand";
8
10
  export * from "./DeleteAccountSettingCommand";
@@ -12,6 +14,7 @@ export * from "./DeleteClusterCommand";
12
14
  export * from "./DeleteDaemonCommand";
13
15
  export * from "./DeleteDaemonTaskDefinitionCommand";
14
16
  export * from "./DeleteExpressGatewayServiceCommand";
17
+ export * from "./DeleteGatewayCommand";
15
18
  export * from "./DeleteServiceCommand";
16
19
  export * from "./DeleteTaskDefinitionsCommand";
17
20
  export * from "./DeleteTaskSetCommand";
@@ -25,12 +28,16 @@ export * from "./DescribeDaemonDeploymentsCommand";
25
28
  export * from "./DescribeDaemonRevisionsCommand";
26
29
  export * from "./DescribeDaemonTaskDefinitionCommand";
27
30
  export * from "./DescribeExpressGatewayServiceCommand";
31
+ export * from "./DescribeGatewayCommand";
32
+ export * from "./DescribeGatewayResourcesCommand";
33
+ export * from "./DescribeGatewayRouteCommand";
28
34
  export * from "./DescribeServiceDeploymentsCommand";
29
35
  export * from "./DescribeServiceRevisionsCommand";
30
36
  export * from "./DescribeServicesCommand";
31
37
  export * from "./DescribeTaskDefinitionCommand";
32
38
  export * from "./DescribeTaskSetsCommand";
33
39
  export * from "./DescribeTasksCommand";
40
+ export * from "./DisassociateGatewayFromClusterCommand";
34
41
  export * from "./DiscoverPollEndpointCommand";
35
42
  export * from "./ExecuteCommandCommand";
36
43
  export * from "./GetTaskProtectionCommand";
@@ -41,6 +48,9 @@ export * from "./ListContainerInstancesCommand";
41
48
  export * from "./ListDaemonDeploymentsCommand";
42
49
  export * from "./ListDaemonTaskDefinitionsCommand";
43
50
  export * from "./ListDaemonsCommand";
51
+ export * from "./ListGatewayClusterAssociationsCommand";
52
+ export * from "./ListGatewayRoutesCommand";
53
+ export * from "./ListGatewaysCommand";
44
54
  export * from "./ListServiceDeploymentsCommand";
45
55
  export * from "./ListServicesByNamespaceCommand";
46
56
  export * from "./ListServicesCommand";
@@ -71,6 +81,7 @@ export * from "./UpdateContainerAgentCommand";
71
81
  export * from "./UpdateContainerInstancesStateCommand";
72
82
  export * from "./UpdateDaemonCommand";
73
83
  export * from "./UpdateExpressGatewayServiceCommand";
84
+ export * from "./UpdateGatewayCommand";
74
85
  export * from "./UpdateServiceCommand";
75
86
  export * from "./UpdateServicePrimaryTaskSetCommand";
76
87
  export * from "./UpdateTaskProtectionCommand";
@@ -474,6 +474,60 @@ export declare const TaskDefinitionField: {
474
474
  readonly TAGS: "TAGS";
475
475
  };
476
476
  export type TaskDefinitionField = (typeof TaskDefinitionField)[keyof typeof TaskDefinitionField];
477
+ export declare const GatewayClusterAssociationStatus: {
478
+ readonly ACTIVE: "ACTIVE";
479
+ readonly DISASSOCIATING: "DISASSOCIATING";
480
+ readonly INACTIVE: "INACTIVE";
481
+ };
482
+ export type GatewayClusterAssociationStatus =
483
+ (typeof GatewayClusterAssociationStatus)[keyof typeof GatewayClusterAssociationStatus];
484
+ export declare const GatewayAlbDesyncMitigationMode: {
485
+ readonly DEFENSIVE: "defensive";
486
+ readonly MONITOR: "monitor";
487
+ readonly STRICTEST: "strictest";
488
+ };
489
+ export type GatewayAlbDesyncMitigationMode =
490
+ (typeof GatewayAlbDesyncMitigationMode)[keyof typeof GatewayAlbDesyncMitigationMode];
491
+ export declare const GatewayElbIpAddressType: {
492
+ readonly DUALSTACK: "dualstack";
493
+ readonly DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4";
494
+ readonly IPV4: "ipv4";
495
+ };
496
+ export type GatewayElbIpAddressType =
497
+ (typeof GatewayElbIpAddressType)[keyof typeof GatewayElbIpAddressType];
498
+ export declare const GatewayAlbProtocol: {
499
+ readonly HTTP: "HTTP";
500
+ readonly HTTPS: "HTTPS";
501
+ };
502
+ export type GatewayAlbProtocol = (typeof GatewayAlbProtocol)[keyof typeof GatewayAlbProtocol];
503
+ export declare const GatewayElbScheme: {
504
+ readonly INTERNAL: "internal";
505
+ readonly INTERNET_FACING: "internet-facing";
506
+ };
507
+ export type GatewayElbScheme = (typeof GatewayElbScheme)[keyof typeof GatewayElbScheme];
508
+ export declare const PropagateGatewayTags: {
509
+ readonly GATEWAY: "GATEWAY";
510
+ readonly NONE: "NONE";
511
+ };
512
+ export type PropagateGatewayTags = (typeof PropagateGatewayTags)[keyof typeof PropagateGatewayTags];
513
+ export declare const GatewayStatus: {
514
+ readonly ACTIVE: "ACTIVE";
515
+ readonly DELETED: "DELETED";
516
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
517
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
518
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
519
+ };
520
+ export type GatewayStatus = (typeof GatewayStatus)[keyof typeof GatewayStatus];
521
+ export declare const GatewayRouteStatus: {
522
+ readonly ACTIVE: "ACTIVE";
523
+ readonly CREATE_FAILED: "CREATE_FAILED";
524
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
525
+ readonly DELETE_FAILED: "DELETE_FAILED";
526
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
527
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
528
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
529
+ };
530
+ export type GatewayRouteStatus = (typeof GatewayRouteStatus)[keyof typeof GatewayRouteStatus];
477
531
  export declare const TaskDefinitionFamilyStatus: {
478
532
  readonly ACTIVE: "ACTIVE";
479
533
  readonly ALL: "ALL";
@@ -595,6 +649,12 @@ export declare const DeploymentControllerType: {
595
649
  };
596
650
  export type DeploymentControllerType =
597
651
  (typeof DeploymentControllerType)[keyof typeof DeploymentControllerType];
652
+ export declare const GatewayConnectorHealthCheckProtocol: {
653
+ readonly HTTP: "HTTP";
654
+ readonly HTTPS: "HTTPS";
655
+ };
656
+ export type GatewayConnectorHealthCheckProtocol =
657
+ (typeof GatewayConnectorHealthCheckProtocol)[keyof typeof GatewayConnectorHealthCheckProtocol];
598
658
  export declare const AssignPublicIp: {
599
659
  readonly DISABLED: "DISABLED";
600
660
  readonly ENABLED: "ENABLED";
@@ -636,6 +696,12 @@ export declare const ServiceConnectIncludeQueryParameters: {
636
696
  };
637
697
  export type ServiceConnectIncludeQueryParameters =
638
698
  (typeof ServiceConnectIncludeQueryParameters)[keyof typeof ServiceConnectIncludeQueryParameters];
699
+ export declare const ServiceConnectContainerLogLevel: {
700
+ readonly DEBUG: "debug";
701
+ readonly INFO: "info";
702
+ };
703
+ export type ServiceConnectContainerLogLevel =
704
+ (typeof ServiceConnectContainerLogLevel)[keyof typeof ServiceConnectContainerLogLevel];
639
705
  export declare const TaskFilesystemType: {
640
706
  readonly EXT3: "ext3";
641
707
  readonly EXT4: "ext4";
@@ -148,6 +148,18 @@ export declare class DaemonNotFoundException extends __BaseException {
148
148
  readonly $fault: "client";
149
149
  constructor(opts: __ExceptionOptionType<DaemonNotFoundException, __BaseException>);
150
150
  }
151
+ export declare class GatewayNotFoundException extends __BaseException {
152
+ static readonly shapeId: string;
153
+ readonly name: "GatewayNotFoundException";
154
+ readonly $fault: "client";
155
+ constructor(opts: __ExceptionOptionType<GatewayNotFoundException, __BaseException>);
156
+ }
157
+ export declare class ResourceNotFoundException extends __BaseException {
158
+ static readonly shapeId: string;
159
+ readonly name: "ResourceNotFoundException";
160
+ readonly $fault: "client";
161
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
162
+ }
151
163
  export declare class PlatformTaskDefinitionIncompatibilityException extends __BaseException {
152
164
  static readonly shapeId: string;
153
165
  readonly name: "PlatformTaskDefinitionIncompatibilityException";
@@ -162,12 +174,6 @@ export declare class ServiceNotActiveException extends __BaseException {
162
174
  readonly $fault: "client";
163
175
  constructor(opts: __ExceptionOptionType<ServiceNotActiveException, __BaseException>);
164
176
  }
165
- export declare class ResourceNotFoundException extends __BaseException {
166
- static readonly shapeId: string;
167
- readonly name: "ResourceNotFoundException";
168
- readonly $fault: "client";
169
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
170
- }
171
177
  export declare class ConflictException extends __BaseException {
172
178
  static readonly shapeId: string;
173
179
  readonly name: "ConflictException";