@aws-sdk/client-ecs 3.1153.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 +717 -36
  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 +47 -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 +504 -23
  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 +24 -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 +1 -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 +48 -2
  36. package/dist-types/commands/DescribeServicesCommand.d.ts +1 -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 +24 -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 +209 -0
  50. package/dist-types/models/errors.d.ts +25 -12
  51. package/dist-types/models/models_0.d.ts +1252 -1814
  52. package/dist-types/models/models_1.d.ts +1976 -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 +67 -0
  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 +60 -0
  85. package/dist-types/ts3.4/models/errors.d.ts +12 -6
  86. package/dist-types/ts3.4/models/models_0.d.ts +367 -424
  87. package/dist-types/ts3.4/models/models_1.d.ts +481 -12
  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 +67 -0
  93. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeServiceRevisionsRequest } from "../models/models_0";
3
- import type { DescribeServiceRevisionsResponse } from "../models/models_1";
2
+ import type { DescribeServiceRevisionsRequest, DescribeServiceRevisionsResponse } from "../models/models_1";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -319,12 +318,59 @@ declare const DescribeServiceRevisionsCommand_base: {
319
318
  * // logGroupName: "STRING_VALUE", // required
320
319
  * // },
321
320
  * // ],
321
+ * // gatewayConnections: [ // GatewayConnectionList
322
+ * // { // GatewayConnection
323
+ * // gatewayArn: "STRING_VALUE",
324
+ * // gatewayRouteArn: "STRING_VALUE",
325
+ * // portName: "STRING_VALUE",
326
+ * // serviceUrl: "STRING_VALUE",
327
+ * // accessType: "PUBLIC" || "PRIVATE",
328
+ * // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
329
+ * // resources: { // GatewayConnectionResources Union: only one key present
330
+ * // hostSharedAlb: [ // GatewayConnectionAlbResourcesList
331
+ * // { // GatewayConnectionAlbResources
332
+ * // acmCertificateArn: "STRING_VALUE",
333
+ * // loadBalancerArn: "STRING_VALUE",
334
+ * // loadBalancerSecurityGroupArns: "<StringList>",
335
+ * // listenerArn: "STRING_VALUE",
336
+ * // listenerRuleArn: "STRING_VALUE",
337
+ * // testListenerRuleArn: "STRING_VALUE",
338
+ * // targetGroupArn: "STRING_VALUE",
339
+ * // alternateTargetGroupArn: "STRING_VALUE",
340
+ * // },
341
+ * // ],
342
+ * // },
343
+ * // },
344
+ * // ],
322
345
  * // },
323
346
  * // overrides: { // ServiceRevisionOverrides
324
347
  * // runtimePlatform: { // RuntimePlatformOverride
325
348
  * // cpuArchitecture: "STRING_VALUE",
326
349
  * // },
327
350
  * // },
351
+ * // gatewayConnectors: [ // GatewayConnectorList
352
+ * // { // GatewayConnector
353
+ * // portName: "STRING_VALUE", // required
354
+ * // healthCheck: { // GatewayConnectorHealthCheck
355
+ * // healthCheckProtocol: "HTTP" || "HTTPS",
356
+ * // healthCheckPort: Number("int"),
357
+ * // healthCheckPath: "STRING_VALUE",
358
+ * // healthCheckTimeoutSeconds: Number("int"),
359
+ * // healthCheckIntervalSeconds: Number("int"),
360
+ * // healthyThresholdCount: Number("int"),
361
+ * // unhealthyThresholdCount: Number("int"),
362
+ * // matcher: { // GatewayConnectorHealthCheckMatcher
363
+ * // httpCode: "STRING_VALUE",
364
+ * // grpcCode: "STRING_VALUE",
365
+ * // },
366
+ * // },
367
+ * // filters: { // GatewayConnectorFilters
368
+ * // accessTypes: [ // AccessTypeList
369
+ * // "PUBLIC" || "PRIVATE",
370
+ * // ],
371
+ * // },
372
+ * // },
373
+ * // ],
328
374
  * // monitoring: { // MonitoringConfiguration
329
375
  * // metricConfigurations: [ // MetricConfigurationList
330
376
  * // { // MetricConfiguration
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeServicesRequest, DescribeServicesResponse } from "../models/models_0";
2
+ import type { DescribeServicesRequest, DescribeServicesResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,116 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateGatewayFromClusterRequest, DisassociateGatewayFromClusterResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateGatewayFromClusterCommand}.
11
+ */
12
+ export interface DisassociateGatewayFromClusterCommandInput extends DisassociateGatewayFromClusterRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateGatewayFromClusterCommand}.
18
+ */
19
+ export interface DisassociateGatewayFromClusterCommandOutput extends DisassociateGatewayFromClusterResponse, __MetadataBearer {
20
+ }
21
+ declare const DisassociateGatewayFromClusterCommand_base: {
22
+ new (input: DisassociateGatewayFromClusterCommandInput): import("@smithy/core/client").CommandImpl<DisassociateGatewayFromClusterCommandInput, DisassociateGatewayFromClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateGatewayFromClusterCommandInput): import("@smithy/core/client").CommandImpl<DisassociateGatewayFromClusterCommandInput, DisassociateGatewayFromClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes the association between a gateway and an Amazon ECS cluster. The association remains in the <code>DISASSOCIATING</code> state until you remove all of the gateway routes for the cluster by updating the associated services. You can use <code>ListGatewayRoutes</code> with a cluster filter to determine which routes are preventing disassociation. No infrastructure changes are made until the affected services are updated.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, DisassociateGatewayFromClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, DisassociateGatewayFromClusterCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
33
+ * // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
34
+ * const config = {}; // type is ECSClientConfig
35
+ * const client = new ECSClient(config);
36
+ * const input = { // DisassociateGatewayFromClusterRequest
37
+ * gateway: "STRING_VALUE", // required
38
+ * cluster: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DisassociateGatewayFromClusterCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // DisassociateGatewayFromClusterResponse
43
+ * // gatewayArn: "STRING_VALUE",
44
+ * // clusterArn: "STRING_VALUE",
45
+ * // status: "ACTIVE" || "DISASSOCIATING" || "INACTIVE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DisassociateGatewayFromClusterCommandInput - {@link DisassociateGatewayFromClusterCommandInput}
51
+ * @returns {@link DisassociateGatewayFromClusterCommandOutput}
52
+ * @see {@link DisassociateGatewayFromClusterCommandInput} for command's `input` shape.
53
+ * @see {@link DisassociateGatewayFromClusterCommandOutput} for command's `response` shape.
54
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have authorization to perform the requested action.</p>
58
+ *
59
+ * @throws {@link ClientException} (client fault)
60
+ * <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
61
+ *
62
+ * @throws {@link ClusterNotFoundException} (client fault)
63
+ * <p>The specified cluster wasn't found. You can view your available clusters with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListClusters.html">ListClusters</a>. Amazon ECS clusters are Region specific.</p>
64
+ *
65
+ * @throws {@link GatewayNotFoundException} (client fault)
66
+ * <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>
67
+ *
68
+ * @throws {@link InvalidParameterException} (client fault)
69
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource wasn't found.</p>
73
+ *
74
+ * @throws {@link ServerException} (server fault)
75
+ * <p>These errors are usually caused by a server issue.</p>
76
+ *
77
+ * @throws {@link UnsupportedFeatureException} (client fault)
78
+ * <p>The specified task isn't supported in this Region.</p>
79
+ *
80
+ * @throws {@link ECSServiceException}
81
+ * <p>Base exception class for all service exceptions from ECS service.</p>
82
+ *
83
+ *
84
+ * @example To disassociate a gateway from a cluster
85
+ * ```javascript
86
+ * // This example removes the association between the gateway named my-gateway and the cluster named my-cluster. The association remains in the DISASSOCIATING state until all gateway routes for the cluster are removed.
87
+ * const input = {
88
+ * cluster: "my-cluster",
89
+ * gateway: "my-gateway"
90
+ * };
91
+ * const command = new DisassociateGatewayFromClusterCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * clusterArn: "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster",
96
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
97
+ * status: "DISASSOCIATING"
98
+ * }
99
+ * *\/
100
+ * ```
101
+ *
102
+ * @public
103
+ */
104
+ export declare class DisassociateGatewayFromClusterCommand extends DisassociateGatewayFromClusterCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: DisassociateGatewayFromClusterRequest;
109
+ output: DisassociateGatewayFromClusterResponse;
110
+ };
111
+ sdk: {
112
+ input: DisassociateGatewayFromClusterCommandInput;
113
+ output: DisassociateGatewayFromClusterCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,125 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListGatewayClusterAssociationsRequest, ListGatewayClusterAssociationsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListGatewayClusterAssociationsCommand}.
11
+ */
12
+ export interface ListGatewayClusterAssociationsCommandInput extends ListGatewayClusterAssociationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListGatewayClusterAssociationsCommand}.
18
+ */
19
+ export interface ListGatewayClusterAssociationsCommandOutput extends ListGatewayClusterAssociationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListGatewayClusterAssociationsCommand_base: {
22
+ new (input: ListGatewayClusterAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListGatewayClusterAssociationsCommandInput, ListGatewayClusterAssociationsCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListGatewayClusterAssociationsCommandInput]): import("@smithy/core/client").CommandImpl<ListGatewayClusterAssociationsCommandInput, ListGatewayClusterAssociationsCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of the associations between gateways and clusters. You can filter the results by gateway, cluster, and status. The results are paginated. We recommend that you use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, ListGatewayClusterAssociationsCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, ListGatewayClusterAssociationsCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
33
+ * // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
34
+ * const config = {}; // type is ECSClientConfig
35
+ * const client = new ECSClient(config);
36
+ * const input = { // ListGatewayClusterAssociationsRequest
37
+ * gateway: "STRING_VALUE",
38
+ * cluster: "STRING_VALUE",
39
+ * status: [ // GatewayClusterAssociationStatusList
40
+ * "ACTIVE" || "DISASSOCIATING" || "INACTIVE",
41
+ * ],
42
+ * maxResults: Number("int"),
43
+ * nextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListGatewayClusterAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListGatewayClusterAssociationsResponse
48
+ * // gatewayClusterAssociations: [ // GatewayClusterAssociationSummaryList
49
+ * // { // GatewayClusterAssociationSummary
50
+ * // gatewayArn: "STRING_VALUE",
51
+ * // clusterArn: "STRING_VALUE",
52
+ * // status: "ACTIVE" || "DISASSOCIATING" || "INACTIVE",
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListGatewayClusterAssociationsCommandInput - {@link ListGatewayClusterAssociationsCommandInput}
61
+ * @returns {@link ListGatewayClusterAssociationsCommandOutput}
62
+ * @see {@link ListGatewayClusterAssociationsCommandInput} for command's `input` shape.
63
+ * @see {@link ListGatewayClusterAssociationsCommandOutput} for command's `response` shape.
64
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You don't have authorization to perform the requested action.</p>
68
+ *
69
+ * @throws {@link ClientException} (client fault)
70
+ * <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
71
+ *
72
+ * @throws {@link InvalidParameterException} (client fault)
73
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
74
+ *
75
+ * @throws {@link ServerException} (server fault)
76
+ * <p>These errors are usually caused by a server issue.</p>
77
+ *
78
+ * @throws {@link UnsupportedFeatureException} (client fault)
79
+ * <p>The specified task isn't supported in this Region.</p>
80
+ *
81
+ * @throws {@link ECSServiceException}
82
+ * <p>Base exception class for all service exceptions from ECS service.</p>
83
+ *
84
+ *
85
+ * @example To list the clusters associated with a gateway
86
+ * ```javascript
87
+ * // This example lists the clusters that are associated with the gateway named my-gateway.
88
+ * const input = {
89
+ * gateway: "my-gateway"
90
+ * };
91
+ * const command = new ListGatewayClusterAssociationsCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * gatewayClusterAssociations: [
96
+ * {
97
+ * clusterArn: "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster",
98
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
99
+ * status: "ACTIVE"
100
+ * },
101
+ * {
102
+ * clusterArn: "arn:aws:ecs:us-east-1:123456789012:cluster/my-staging-cluster",
103
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
104
+ * status: "ACTIVE"
105
+ * }
106
+ * ]
107
+ * }
108
+ * *\/
109
+ * ```
110
+ *
111
+ * @public
112
+ */
113
+ export declare class ListGatewayClusterAssociationsCommand extends ListGatewayClusterAssociationsCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: ListGatewayClusterAssociationsRequest;
118
+ output: ListGatewayClusterAssociationsResponse;
119
+ };
120
+ sdk: {
121
+ input: ListGatewayClusterAssociationsCommandInput;
122
+ output: ListGatewayClusterAssociationsCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -0,0 +1,132 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListGatewayRoutesRequest, ListGatewayRoutesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListGatewayRoutesCommand}.
11
+ */
12
+ export interface ListGatewayRoutesCommandInput extends ListGatewayRoutesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListGatewayRoutesCommand}.
18
+ */
19
+ export interface ListGatewayRoutesCommandOutput extends ListGatewayRoutesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListGatewayRoutesCommand_base: {
22
+ new (input: ListGatewayRoutesCommandInput): import("@smithy/core/client").CommandImpl<ListGatewayRoutesCommandInput, ListGatewayRoutesCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListGatewayRoutesCommandInput]): import("@smithy/core/client").CommandImpl<ListGatewayRoutesCommandInput, ListGatewayRoutesCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of gateway routes. A gateway route represents the association between a service and a gateway and the service-specific infrastructure the gateway manages for it. You can filter the results by gateway, cluster, service, container port name, and status. The results are paginated. We recommend that you use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, ListGatewayRoutesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, ListGatewayRoutesCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
33
+ * // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
34
+ * const config = {}; // type is ECSClientConfig
35
+ * const client = new ECSClient(config);
36
+ * const input = { // ListGatewayRoutesRequest
37
+ * gateway: "STRING_VALUE",
38
+ * cluster: "STRING_VALUE",
39
+ * service: "STRING_VALUE",
40
+ * serviceContainerPortName: "STRING_VALUE",
41
+ * status: [ // GatewayRouteStatusList
42
+ * "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
43
+ * ],
44
+ * maxResults: Number("int"),
45
+ * nextToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new ListGatewayRoutesCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListGatewayRoutesResponse
50
+ * // gatewayRoutes: [ // GatewayRouteSummaryList
51
+ * // { // GatewayRouteSummary
52
+ * // gatewayRouteArn: "STRING_VALUE",
53
+ * // gatewayArn: "STRING_VALUE",
54
+ * // clusterArn: "STRING_VALUE",
55
+ * // serviceArn: "STRING_VALUE",
56
+ * // serviceContainerPortName: "STRING_VALUE",
57
+ * // status: "ACTIVE" || "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListGatewayRoutesCommandInput - {@link ListGatewayRoutesCommandInput}
66
+ * @returns {@link ListGatewayRoutesCommandOutput}
67
+ * @see {@link ListGatewayRoutesCommandInput} for command's `input` shape.
68
+ * @see {@link ListGatewayRoutesCommandOutput} for command's `response` shape.
69
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You don't have authorization to perform the requested action.</p>
73
+ *
74
+ * @throws {@link ClientException} (client fault)
75
+ * <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
76
+ *
77
+ * @throws {@link GatewayNotFoundException} (client fault)
78
+ * <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>
79
+ *
80
+ * @throws {@link InvalidParameterException} (client fault)
81
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
82
+ *
83
+ * @throws {@link ServerException} (server fault)
84
+ * <p>These errors are usually caused by a server issue.</p>
85
+ *
86
+ * @throws {@link UnsupportedFeatureException} (client fault)
87
+ * <p>The specified task isn't supported in this Region.</p>
88
+ *
89
+ * @throws {@link ECSServiceException}
90
+ * <p>Base exception class for all service exceptions from ECS service.</p>
91
+ *
92
+ *
93
+ * @example To list the gateway routes for a gateway
94
+ * ```javascript
95
+ * // This example lists the gateway routes for the gateway named my-gateway in the cluster named my-cluster.
96
+ * const input = {
97
+ * cluster: "my-cluster",
98
+ * gateway: "my-gateway"
99
+ * };
100
+ * const command = new ListGatewayRoutesCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response is
103
+ * {
104
+ * gatewayRoutes: [
105
+ * {
106
+ * clusterArn: "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster",
107
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
108
+ * gatewayRouteArn: "arn:aws:ecs:us-east-1:123456789012:gateway-route/my-gateway/a1b2c3d4e5f6478890abcdef12345678/f0e1d2c3b4a5968778695a4b3c2d1e0f",
109
+ * serviceArn: "arn:aws:ecs:us-east-1:123456789012:service/my-cluster/my-web-service",
110
+ * serviceContainerPortName: "web",
111
+ * status: "ACTIVE"
112
+ * }
113
+ * ]
114
+ * }
115
+ * *\/
116
+ * ```
117
+ *
118
+ * @public
119
+ */
120
+ export declare class ListGatewayRoutesCommand extends ListGatewayRoutesCommand_base {
121
+ /** @internal type navigation helper, not in runtime. */
122
+ protected static __types: {
123
+ api: {
124
+ input: ListGatewayRoutesRequest;
125
+ output: ListGatewayRoutesResponse;
126
+ };
127
+ sdk: {
128
+ input: ListGatewayRoutesCommandInput;
129
+ output: ListGatewayRoutesCommandOutput;
130
+ };
131
+ };
132
+ }
@@ -0,0 +1,131 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListGatewaysRequest, ListGatewaysResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListGatewaysCommand}.
11
+ */
12
+ export interface ListGatewaysCommandInput extends ListGatewaysRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListGatewaysCommand}.
18
+ */
19
+ export interface ListGatewaysCommandOutput extends ListGatewaysResponse, __MetadataBearer {
20
+ }
21
+ declare const ListGatewaysCommand_base: {
22
+ new (input: ListGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListGatewaysCommandInput, ListGatewaysCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListGatewaysCommandInput]): import("@smithy/core/client").CommandImpl<ListGatewaysCommandInput, ListGatewaysCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of gateways in your account. You can filter the results by gateway name and status. The results are paginated. We recommend that you use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, ListGatewaysCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, ListGatewaysCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
33
+ * // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
34
+ * const config = {}; // type is ECSClientConfig
35
+ * const client = new ECSClient(config);
36
+ * const input = { // ListGatewaysRequest
37
+ * names: [ // StringList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * status: [ // GatewayStatusList
41
+ * "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
42
+ * ],
43
+ * maxResults: Number("int"),
44
+ * nextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListGatewaysCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListGatewaysResponse
49
+ * // gateways: [ // GatewaySummaryList
50
+ * // { // GatewaySummary
51
+ * // gatewayArn: "STRING_VALUE",
52
+ * // name: "STRING_VALUE",
53
+ * // status: "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListGatewaysCommandInput - {@link ListGatewaysCommandInput}
63
+ * @returns {@link ListGatewaysCommandOutput}
64
+ * @see {@link ListGatewaysCommandInput} for command's `input` shape.
65
+ * @see {@link ListGatewaysCommandOutput} for command's `response` shape.
66
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You don't have authorization to perform the requested action.</p>
70
+ *
71
+ * @throws {@link ClientException} (client fault)
72
+ * <p>These errors are usually caused by a client action. This client action might be using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Or, it might be specifying an identifier that isn't valid.</p>
73
+ *
74
+ * @throws {@link InvalidParameterException} (client fault)
75
+ * <p>The specified parameter isn't valid. Review the available parameters for the API request.</p> <p>For more information about service event errors, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-event-messages-list.html">Amazon ECS service event messages</a>. </p>
76
+ *
77
+ * @throws {@link ServerException} (server fault)
78
+ * <p>These errors are usually caused by a server issue.</p>
79
+ *
80
+ * @throws {@link UnsupportedFeatureException} (client fault)
81
+ * <p>The specified task isn't supported in this Region.</p>
82
+ *
83
+ * @throws {@link ECSServiceException}
84
+ * <p>Base exception class for all service exceptions from ECS service.</p>
85
+ *
86
+ *
87
+ * @example To list active gateways
88
+ * ```javascript
89
+ * // This example lists the gateways in your account that have a status of ACTIVE.
90
+ * const input = {
91
+ * status: [
92
+ * "ACTIVE"
93
+ * ]
94
+ * };
95
+ * const command = new ListGatewaysCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * {
99
+ * gateways: [
100
+ * {
101
+ * createdAt: "2026-10-20T12:00:00.000Z",
102
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
103
+ * name: "my-gateway",
104
+ * status: "ACTIVE"
105
+ * },
106
+ * {
107
+ * createdAt: "2026-10-21T09:30:00.000Z",
108
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-internal-gateway/0f1e2d3c4b5a69788796a5b4c3d2e1f0",
109
+ * name: "my-internal-gateway",
110
+ * status: "ACTIVE"
111
+ * }
112
+ * ]
113
+ * }
114
+ * *\/
115
+ * ```
116
+ *
117
+ * @public
118
+ */
119
+ export declare class ListGatewaysCommand extends ListGatewaysCommand_base {
120
+ /** @internal type navigation helper, not in runtime. */
121
+ protected static __types: {
122
+ api: {
123
+ input: ListGatewaysRequest;
124
+ output: ListGatewaysResponse;
125
+ };
126
+ sdk: {
127
+ input: ListGatewaysCommandInput;
128
+ output: ListGatewaysCommandOutput;
129
+ };
130
+ };
131
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListServiceDeploymentsRequest, ListServiceDeploymentsResponse } from "../models/models_0";
2
+ import type { ListServiceDeploymentsRequest, ListServiceDeploymentsResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListServicesRequest, ListServicesResponse } from "../models/models_0";
2
+ import type { ListServicesRequest, ListServicesResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_0";
2
+ import type { StopServiceDeploymentRequest, StopServiceDeploymentResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateExpressGatewayServiceRequest, UpdateExpressGatewayServiceResponse } from "../models/models_0";
2
+ import type { UpdateExpressGatewayServiceRequest, UpdateExpressGatewayServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */