@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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateServiceRequest, CreateServiceResponse } from "../models/models_0";
2
+ import type { CreateServiceRequest, CreateServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -210,6 +210,11 @@ declare const CreateServiceCommand_base: {
210
210
  * format: "TEXT" || "JSON", // required
211
211
  * includeQueryParameters: "DISABLED" || "ENABLED",
212
212
  * },
213
+ * containerConfigurations: [ // ServiceConnectContainerConfigurations
214
+ * { // ServiceConnectContainerConfiguration Union: only one key present
215
+ * logLevel: "debug" || "info",
216
+ * },
217
+ * ],
213
218
  * },
214
219
  * volumeConfigurations: [ // ServiceVolumeConfigurations
215
220
  * { // ServiceVolumeConfiguration
@@ -252,6 +257,29 @@ declare const CreateServiceCommand_base: {
252
257
  * },
253
258
  * },
254
259
  * ],
260
+ * gatewayConnectors: [ // GatewayConnectorList
261
+ * { // GatewayConnector
262
+ * portName: "STRING_VALUE", // required
263
+ * healthCheck: { // GatewayConnectorHealthCheck
264
+ * healthCheckProtocol: "HTTP" || "HTTPS",
265
+ * healthCheckPort: Number("int"),
266
+ * healthCheckPath: "STRING_VALUE",
267
+ * healthCheckTimeoutSeconds: Number("int"),
268
+ * healthCheckIntervalSeconds: Number("int"),
269
+ * healthyThresholdCount: Number("int"),
270
+ * unhealthyThresholdCount: Number("int"),
271
+ * matcher: { // GatewayConnectorHealthCheckMatcher
272
+ * httpCode: "STRING_VALUE",
273
+ * grpcCode: "STRING_VALUE",
274
+ * },
275
+ * },
276
+ * filters: { // GatewayConnectorFilters
277
+ * accessTypes: [ // AccessTypeList
278
+ * "PUBLIC" || "PRIVATE",
279
+ * ],
280
+ * },
281
+ * },
282
+ * ],
255
283
  * monitoring: { // MonitoringConfiguration
256
284
  * metricConfigurations: [ // MetricConfigurationList
257
285
  * { // MetricConfiguration
@@ -517,6 +545,11 @@ declare const CreateServiceCommand_base: {
517
545
  * // format: "TEXT" || "JSON", // required
518
546
  * // includeQueryParameters: "DISABLED" || "ENABLED",
519
547
  * // },
548
+ * // containerConfigurations: [ // ServiceConnectContainerConfigurations
549
+ * // { // ServiceConnectContainerConfiguration Union: only one key present
550
+ * // logLevel: "debug" || "info",
551
+ * // },
552
+ * // ],
520
553
  * // },
521
554
  * // serviceConnectResources: [ // ServiceConnectServiceResourceList
522
555
  * // { // ServiceConnectServiceResource
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteExpressGatewayServiceRequest, DeleteExpressGatewayServiceResponse } from "../models/models_0";
2
+ import type { DeleteExpressGatewayServiceRequest, DeleteExpressGatewayServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,108 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteGatewayRequest, DeleteGatewayResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteGatewayCommand}.
11
+ */
12
+ export interface DeleteGatewayCommandInput extends DeleteGatewayRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteGatewayCommand}.
18
+ */
19
+ export interface DeleteGatewayCommandOutput extends DeleteGatewayResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteGatewayCommand_base: {
22
+ new (input: DeleteGatewayCommandInput): import("@smithy/core/client").CommandImpl<DeleteGatewayCommandInput, DeleteGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteGatewayCommandInput): import("@smithy/core/client").CommandImpl<DeleteGatewayCommandInput, DeleteGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a gateway. Before you can delete a gateway, deletion protection must be disabled and the gateway must not have any cluster associations that are in the <code>ACTIVE</code> or <code>DISASSOCIATING</code> state. If associations exist, the operation fails; disassociate all clusters first. <code>DeleteGateway</code> is a synchronous operation. After you delete a gateway, subsequent requests for it return a <code>GatewayNotFoundException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, DeleteGatewayCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, DeleteGatewayCommand } = 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 = { // DeleteGatewayRequest
37
+ * gateway: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteGatewayCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DeleteGatewayResponse
42
+ * // gatewayArn: "STRING_VALUE",
43
+ * // name: "STRING_VALUE",
44
+ * // status: "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteGatewayCommandInput - {@link DeleteGatewayCommandInput}
50
+ * @returns {@link DeleteGatewayCommandOutput}
51
+ * @see {@link DeleteGatewayCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteGatewayCommandOutput} for command's `response` shape.
53
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You don't have authorization to perform the requested action.</p>
57
+ *
58
+ * @throws {@link ClientException} (client fault)
59
+ * <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>
60
+ *
61
+ * @throws {@link GatewayNotFoundException} (client fault)
62
+ * <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>
63
+ *
64
+ * @throws {@link InvalidParameterException} (client fault)
65
+ * <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>
66
+ *
67
+ * @throws {@link ServerException} (server fault)
68
+ * <p>These errors are usually caused by a server issue.</p>
69
+ *
70
+ * @throws {@link UnsupportedFeatureException} (client fault)
71
+ * <p>The specified task isn't supported in this Region.</p>
72
+ *
73
+ * @throws {@link ECSServiceException}
74
+ * <p>Base exception class for all service exceptions from ECS service.</p>
75
+ *
76
+ *
77
+ * @example To delete a gateway
78
+ * ```javascript
79
+ * // This example deletes the gateway named my-gateway. Deletion protection must be disabled and the gateway must not be associated with any clusters.
80
+ * const input = {
81
+ * gateway: "my-gateway"
82
+ * };
83
+ * const command = new DeleteGatewayCommand(input);
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * {
87
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
88
+ * name: "my-gateway",
89
+ * status: "DELETED"
90
+ * }
91
+ * *\/
92
+ * ```
93
+ *
94
+ * @public
95
+ */
96
+ export declare class DeleteGatewayCommand extends DeleteGatewayCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: DeleteGatewayRequest;
101
+ output: DeleteGatewayResponse;
102
+ };
103
+ sdk: {
104
+ input: DeleteGatewayCommandInput;
105
+ output: DeleteGatewayCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteServiceRequest, DeleteServiceResponse } from "../models/models_0";
2
+ import type { DeleteServiceRequest, DeleteServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -292,6 +292,11 @@ declare const DeleteServiceCommand_base: {
292
292
  * // format: "TEXT" || "JSON", // required
293
293
  * // includeQueryParameters: "DISABLED" || "ENABLED",
294
294
  * // },
295
+ * // containerConfigurations: [ // ServiceConnectContainerConfigurations
296
+ * // { // ServiceConnectContainerConfiguration Union: only one key present
297
+ * // logLevel: "debug" || "info",
298
+ * // },
299
+ * // ],
295
300
  * // },
296
301
  * // serviceConnectResources: [ // ServiceConnectServiceResourceList
297
302
  * // { // ServiceConnectServiceResource
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeExpressGatewayServiceRequest, DescribeExpressGatewayServiceResponse } from "../models/models_0";
2
+ import type { DescribeExpressGatewayServiceRequest, DescribeExpressGatewayServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,200 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeGatewayRequest, DescribeGatewayResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeGatewayCommand}.
11
+ */
12
+ export interface DescribeGatewayCommandInput extends DescribeGatewayRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeGatewayCommand}.
18
+ */
19
+ export interface DescribeGatewayCommandOutput extends DescribeGatewayResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeGatewayCommand_base: {
22
+ new (input: DescribeGatewayCommandInput): import("@smithy/core/client").CommandImpl<DescribeGatewayCommandInput, DescribeGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeGatewayCommandInput): import("@smithy/core/client").CommandImpl<DescribeGatewayCommandInput, DescribeGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes a gateway, including its configuration, status, and the type-specific infrastructure settings that it uses.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, DescribeGatewayCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, DescribeGatewayCommand } = 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 = { // DescribeGatewayRequest
37
+ * gateway: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeGatewayCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeGatewayResponse
42
+ * // gateway: { // Gateway
43
+ * // gatewayArn: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // status: "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
46
+ * // statusReason: "STRING_VALUE",
47
+ * // failures: [ // GatewayResourceFailureList
48
+ * // { // GatewayResourceFailure
49
+ * // arn: "STRING_VALUE",
50
+ * // errors: [ // GatewayOperationErrorList
51
+ * // { // GatewayOperationError
52
+ * // operation: "STRING_VALUE",
53
+ * // code: "STRING_VALUE",
54
+ * // message: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // infrastructureRoleArn: "STRING_VALUE",
60
+ * // deletionProtection: true || false,
61
+ * // configuration: { // DescribeGatewayConfiguration Union: only one key present
62
+ * // hostSharedAlb: { // DescribeGatewayAlbConfiguration
63
+ * // networkConfiguration: { // GatewayElbNetworkConfiguration
64
+ * // inboundSecurityGroup: "STRING_VALUE",
65
+ * // subnets: [ // StringList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
69
+ * // },
70
+ * // scheme: "internet-facing" || "internal",
71
+ * // accessLogs: { // GatewayElbAccessLogConfiguration
72
+ * // destination: { // GatewayElbAccessLogDestination Union: only one key present
73
+ * // s3: { // GatewayElbAccessLogS3Destination
74
+ * // bucket: "STRING_VALUE", // required
75
+ * // prefix: "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // },
79
+ * // webACLArn: "STRING_VALUE",
80
+ * // port: Number("int"),
81
+ * // protocol: "HTTP" || "HTTPS",
82
+ * // maxAlbCount: Number("int"),
83
+ * // currentAlbCount: Number("int"),
84
+ * // httpDesync: "monitor" || "defensive" || "strictest",
85
+ * // testTrafficRules: { // GatewayAlbTestTrafficRules
86
+ * // header: { // GatewayTestTrafficHeader
87
+ * // name: "STRING_VALUE", // required
88
+ * // values: [ // required
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // },
92
+ * // },
93
+ * // },
94
+ * // },
95
+ * // accessType: "PUBLIC" || "PRIVATE",
96
+ * // propagateTags: "NONE" || "GATEWAY",
97
+ * // tags: [ // Tags
98
+ * // { // Tag
99
+ * // key: "STRING_VALUE",
100
+ * // value: "STRING_VALUE",
101
+ * // },
102
+ * // ],
103
+ * // createdAt: new Date("TIMESTAMP"),
104
+ * // updatedAt: new Date("TIMESTAMP"),
105
+ * // },
106
+ * // };
107
+ *
108
+ * ```
109
+ *
110
+ * @param DescribeGatewayCommandInput - {@link DescribeGatewayCommandInput}
111
+ * @returns {@link DescribeGatewayCommandOutput}
112
+ * @see {@link DescribeGatewayCommandInput} for command's `input` shape.
113
+ * @see {@link DescribeGatewayCommandOutput} for command's `response` shape.
114
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
115
+ *
116
+ * @throws {@link AccessDeniedException} (client fault)
117
+ * <p>You don't have authorization to perform the requested action.</p>
118
+ *
119
+ * @throws {@link ClientException} (client fault)
120
+ * <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>
121
+ *
122
+ * @throws {@link GatewayNotFoundException} (client fault)
123
+ * <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>
124
+ *
125
+ * @throws {@link InvalidParameterException} (client fault)
126
+ * <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>
127
+ *
128
+ * @throws {@link ServerException} (server fault)
129
+ * <p>These errors are usually caused by a server issue.</p>
130
+ *
131
+ * @throws {@link UnsupportedFeatureException} (client fault)
132
+ * <p>The specified task isn't supported in this Region.</p>
133
+ *
134
+ * @throws {@link ECSServiceException}
135
+ * <p>Base exception class for all service exceptions from ECS service.</p>
136
+ *
137
+ *
138
+ * @example To describe a gateway
139
+ * ```javascript
140
+ * // This example describes the gateway named my-gateway.
141
+ * const input = {
142
+ * gateway: "my-gateway"
143
+ * };
144
+ * const command = new DescribeGatewayCommand(input);
145
+ * const response = await client.send(command);
146
+ * /* response is
147
+ * {
148
+ * gateway: {
149
+ * accessType: "PUBLIC",
150
+ * configuration: {
151
+ * hostSharedAlb: {
152
+ * currentAlbCount: 1,
153
+ * httpDesync: "defensive",
154
+ * maxAlbCount: 10,
155
+ * networkConfiguration: {
156
+ * ipAddressType: "ipv4",
157
+ * subnets: [
158
+ * "subnet-0123456789abcdef0",
159
+ * "subnet-0fedcba9876543210"
160
+ * ]
161
+ * },
162
+ * port: 443,
163
+ * protocol: "HTTPS",
164
+ * scheme: "internet-facing"
165
+ * }
166
+ * },
167
+ * createdAt: "2026-10-20T12:00:00.000Z",
168
+ * deletionProtection: true,
169
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
170
+ * infrastructureRoleArn: "arn:aws:iam::123456789012:role/ecsInfrastructureRole",
171
+ * name: "my-gateway",
172
+ * propagateTags: "GATEWAY",
173
+ * status: "ACTIVE",
174
+ * tags: [
175
+ * {
176
+ * key: "team",
177
+ * value: "web"
178
+ * }
179
+ * ],
180
+ * updatedAt: "2026-10-20T12:00:00.000Z"
181
+ * }
182
+ * }
183
+ * *\/
184
+ * ```
185
+ *
186
+ * @public
187
+ */
188
+ export declare class DescribeGatewayCommand extends DescribeGatewayCommand_base {
189
+ /** @internal type navigation helper, not in runtime. */
190
+ protected static __types: {
191
+ api: {
192
+ input: DescribeGatewayRequest;
193
+ output: DescribeGatewayResponse;
194
+ };
195
+ sdk: {
196
+ input: DescribeGatewayCommandInput;
197
+ output: DescribeGatewayCommandOutput;
198
+ };
199
+ };
200
+ }
@@ -0,0 +1,135 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeGatewayResourcesRequest, DescribeGatewayResourcesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeGatewayResourcesCommand}.
11
+ */
12
+ export interface DescribeGatewayResourcesCommandInput extends DescribeGatewayResourcesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeGatewayResourcesCommand}.
18
+ */
19
+ export interface DescribeGatewayResourcesCommandOutput extends DescribeGatewayResourcesResponse, __MetadataBearer {
20
+ }
21
+ declare const DescribeGatewayResourcesCommand_base: {
22
+ new (input: DescribeGatewayResourcesCommandInput): import("@smithy/core/client").CommandImpl<DescribeGatewayResourcesCommandInput, DescribeGatewayResourcesCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeGatewayResourcesCommandInput): import("@smithy/core/client").CommandImpl<DescribeGatewayResourcesCommandInput, DescribeGatewayResourcesCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the infrastructure that a gateway has created and manages, so that you can follow the traffic path from top-level shared resources, such as load balancers, to the service-specific resources represented as gateway routes. Responses include only the Amazon Resource Names (ARNs) of gateway-managed infrastructure. For the current state of a resource, describe it with the corresponding Amazon Web Services service (Elastic Load Balancing, Amazon EC2, or Amazon Web Services Certificate Manager). The results are paginated.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, DescribeGatewayResourcesCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, DescribeGatewayResourcesCommand } = 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 = { // DescribeGatewayResourcesRequest
37
+ * gateway: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new DescribeGatewayResourcesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DescribeGatewayResourcesResponse
44
+ * // gatewayResources: { // GatewayResources
45
+ * // gatewayArn: "STRING_VALUE",
46
+ * // resources: { // GatewayInfrastructureResources Union: only one key present
47
+ * // hostSharedAlb: [ // ElbGatewayResourcesList
48
+ * // { // ElbGatewayResources
49
+ * // loadBalancerArn: "STRING_VALUE",
50
+ * // listenerArn: "STRING_VALUE",
51
+ * // securityGroup: "STRING_VALUE",
52
+ * // gatewayRouteArns: [ // StringList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // },
59
+ * // nextToken: "STRING_VALUE",
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param DescribeGatewayResourcesCommandInput - {@link DescribeGatewayResourcesCommandInput}
65
+ * @returns {@link DescribeGatewayResourcesCommandOutput}
66
+ * @see {@link DescribeGatewayResourcesCommandInput} for command's `input` shape.
67
+ * @see {@link DescribeGatewayResourcesCommandOutput} for command's `response` shape.
68
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>You don't have authorization to perform the requested action.</p>
72
+ *
73
+ * @throws {@link ClientException} (client fault)
74
+ * <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>
75
+ *
76
+ * @throws {@link GatewayNotFoundException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link InvalidParameterException} (client fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link ServerException} (server fault)
83
+ * <p>These errors are usually caused by a server issue.</p>
84
+ *
85
+ * @throws {@link UnsupportedFeatureException} (client fault)
86
+ * <p>The specified task isn't supported in this Region.</p>
87
+ *
88
+ * @throws {@link ECSServiceException}
89
+ * <p>Base exception class for all service exceptions from ECS service.</p>
90
+ *
91
+ *
92
+ * @example To describe the infrastructure that a gateway manages
93
+ * ```javascript
94
+ * // This example returns the load balancers, listeners, and gateway routes that the gateway named my-gateway manages.
95
+ * const input = {
96
+ * gateway: "my-gateway"
97
+ * };
98
+ * const command = new DescribeGatewayResourcesCommand(input);
99
+ * const response = await client.send(command);
100
+ * /* response is
101
+ * {
102
+ * gatewayResources: {
103
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
104
+ * resources: {
105
+ * hostSharedAlb: [
106
+ * {
107
+ * gatewayRouteArns: [
108
+ * "arn:aws:ecs:us-east-1:123456789012:gateway-route/my-gateway/a1b2c3d4e5f6478890abcdef12345678/f0e1d2c3b4a5968778695a4b3c2d1e0f"
109
+ * ],
110
+ * listenerArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:listener/app/ecs-gateway-alb-1/50dc6c495c0c9188/f2f7dc8efc522ab2",
111
+ * loadBalancerArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/ecs-gateway-alb-1/50dc6c495c0c9188",
112
+ * securityGroup: "sg-0123456789abcdef0"
113
+ * }
114
+ * ]
115
+ * }
116
+ * }
117
+ * }
118
+ * *\/
119
+ * ```
120
+ *
121
+ * @public
122
+ */
123
+ export declare class DescribeGatewayResourcesCommand extends DescribeGatewayResourcesCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: DescribeGatewayResourcesRequest;
128
+ output: DescribeGatewayResourcesResponse;
129
+ };
130
+ sdk: {
131
+ input: DescribeGatewayResourcesCommandInput;
132
+ output: DescribeGatewayResourcesCommandOutput;
133
+ };
134
+ };
135
+ }