@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
@@ -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
  */
@@ -0,0 +1,143 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateGatewayRequest, UpdateGatewayResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateGatewayCommand}.
11
+ */
12
+ export interface UpdateGatewayCommandInput extends UpdateGatewayRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateGatewayCommand}.
18
+ */
19
+ export interface UpdateGatewayCommandOutput extends UpdateGatewayResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateGatewayCommand_base: {
22
+ new (input: UpdateGatewayCommandInput): import("@smithy/core/client").CommandImpl<UpdateGatewayCommandInput, UpdateGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateGatewayCommandInput): import("@smithy/core/client").CommandImpl<UpdateGatewayCommandInput, UpdateGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Modifies the configuration of a gateway. You can change only the properties that can be applied without interrupting traffic, and the configuration variant that you provide must match the gateway's type. <code>UpdateGateway</code> is an asynchronous operation: the changes are applied to each load balancer the gateway manages, and the gateway reports a status of <code>UPDATE_IN_PROGRESS</code> until the update completes. If Amazon ECS can't update one or more resources, it makes a best effort to update the rest and the gateway status changes to <code>UPDATE_FAILED</code>. Use <code>DescribeGateway</code> to inspect the gateway's <code>statusReason</code> and failures list, which gives the ARN of each load balancer that was not updated and the operation, error code, and message for each failure.</p> <p>If you specify <code>infrastructureRoleArn</code>, you must have the <code>iam:PassRole</code> permission for that role.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ECSClient, UpdateGatewayCommand } from "@aws-sdk/client-ecs"; // ES Modules import
32
+ * // const { ECSClient, UpdateGatewayCommand } = 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 = { // UpdateGatewayRequest
37
+ * gateway: "STRING_VALUE", // required
38
+ * infrastructureRoleArn: "STRING_VALUE",
39
+ * deletionProtection: true || false,
40
+ * configuration: { // UpdateGatewayConfiguration Union: only one key present
41
+ * hostSharedAlb: { // UpdateGatewayAlbConfiguration
42
+ * networkConfiguration: { // UpdateGatewayNetworkConfiguration
43
+ * inboundSecurityGroup: "STRING_VALUE",
44
+ * },
45
+ * maxAlbCount: Number("int"),
46
+ * webACLArn: "STRING_VALUE",
47
+ * accessLogs: { // GatewayElbAccessLogConfiguration
48
+ * destination: { // GatewayElbAccessLogDestination Union: only one key present
49
+ * s3: { // GatewayElbAccessLogS3Destination
50
+ * bucket: "STRING_VALUE", // required
51
+ * prefix: "STRING_VALUE",
52
+ * },
53
+ * },
54
+ * },
55
+ * httpDesync: "monitor" || "defensive" || "strictest",
56
+ * testTrafficRules: { // GatewayAlbTestTrafficRules
57
+ * header: { // GatewayTestTrafficHeader
58
+ * name: "STRING_VALUE", // required
59
+ * values: [ // StringList // required
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * },
63
+ * },
64
+ * },
65
+ * },
66
+ * propagateTags: "NONE" || "GATEWAY",
67
+ * };
68
+ * const command = new UpdateGatewayCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // UpdateGatewayResponse
71
+ * // gatewayArn: "STRING_VALUE",
72
+ * // name: "STRING_VALUE",
73
+ * // status: "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param UpdateGatewayCommandInput - {@link UpdateGatewayCommandInput}
79
+ * @returns {@link UpdateGatewayCommandOutput}
80
+ * @see {@link UpdateGatewayCommandInput} for command's `input` shape.
81
+ * @see {@link UpdateGatewayCommandOutput} for command's `response` shape.
82
+ * @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
83
+ *
84
+ * @throws {@link AccessDeniedException} (client fault)
85
+ * <p>You don't have authorization to perform the requested action.</p>
86
+ *
87
+ * @throws {@link ClientException} (client fault)
88
+ * <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>
89
+ *
90
+ * @throws {@link GatewayNotFoundException} (client fault)
91
+ * <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>
92
+ *
93
+ * @throws {@link InvalidParameterException} (client fault)
94
+ * <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>
95
+ *
96
+ * @throws {@link ServerException} (server fault)
97
+ * <p>These errors are usually caused by a server issue.</p>
98
+ *
99
+ * @throws {@link UnsupportedFeatureException} (client fault)
100
+ * <p>The specified task isn't supported in this Region.</p>
101
+ *
102
+ * @throws {@link ECSServiceException}
103
+ * <p>Base exception class for all service exceptions from ECS service.</p>
104
+ *
105
+ *
106
+ * @example To update a gateway
107
+ * ```javascript
108
+ * // This example raises the maximum number of Application Load Balancers that the gateway named my-gateway manages, and changes the desync mitigation mode to strictest.
109
+ * const input = {
110
+ * configuration: {
111
+ * hostSharedAlb: {
112
+ * httpDesync: "strictest",
113
+ * maxAlbCount: 20
114
+ * }
115
+ * },
116
+ * gateway: "my-gateway"
117
+ * };
118
+ * const command = new UpdateGatewayCommand(input);
119
+ * const response = await client.send(command);
120
+ * /* response is
121
+ * {
122
+ * gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
123
+ * name: "my-gateway",
124
+ * status: "UPDATE_IN_PROGRESS"
125
+ * }
126
+ * *\/
127
+ * ```
128
+ *
129
+ * @public
130
+ */
131
+ export declare class UpdateGatewayCommand extends UpdateGatewayCommand_base {
132
+ /** @internal type navigation helper, not in runtime. */
133
+ protected static __types: {
134
+ api: {
135
+ input: UpdateGatewayRequest;
136
+ output: UpdateGatewayResponse;
137
+ };
138
+ sdk: {
139
+ input: UpdateGatewayCommandInput;
140
+ output: UpdateGatewayCommandOutput;
141
+ };
142
+ };
143
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_0";
2
+ import type { UpdateServiceRequest, UpdateServiceResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -201,6 +201,11 @@ declare const UpdateServiceCommand_base: {
201
201
  * format: "TEXT" || "JSON", // required
202
202
  * includeQueryParameters: "DISABLED" || "ENABLED",
203
203
  * },
204
+ * containerConfigurations: [ // ServiceConnectContainerConfigurations
205
+ * { // ServiceConnectContainerConfiguration Union: only one key present
206
+ * logLevel: "debug" || "info",
207
+ * },
208
+ * ],
204
209
  * },
205
210
  * volumeConfigurations: [ // ServiceVolumeConfigurations
206
211
  * { // ServiceVolumeConfiguration
@@ -243,6 +248,29 @@ declare const UpdateServiceCommand_base: {
243
248
  * },
244
249
  * },
245
250
  * ],
251
+ * gatewayConnectors: [ // GatewayConnectorList
252
+ * { // GatewayConnector
253
+ * portName: "STRING_VALUE", // required
254
+ * healthCheck: { // GatewayConnectorHealthCheck
255
+ * healthCheckProtocol: "HTTP" || "HTTPS",
256
+ * healthCheckPort: Number("int"),
257
+ * healthCheckPath: "STRING_VALUE",
258
+ * healthCheckTimeoutSeconds: Number("int"),
259
+ * healthCheckIntervalSeconds: Number("int"),
260
+ * healthyThresholdCount: Number("int"),
261
+ * unhealthyThresholdCount: Number("int"),
262
+ * matcher: { // GatewayConnectorHealthCheckMatcher
263
+ * httpCode: "STRING_VALUE",
264
+ * grpcCode: "STRING_VALUE",
265
+ * },
266
+ * },
267
+ * filters: { // GatewayConnectorFilters
268
+ * accessTypes: [ // AccessTypeList
269
+ * "PUBLIC" || "PRIVATE",
270
+ * ],
271
+ * },
272
+ * },
273
+ * ],
246
274
  * monitoring: { // MonitoringConfiguration
247
275
  * metricConfigurations: [ // MetricConfigurationList
248
276
  * { // MetricConfiguration
@@ -508,6 +536,11 @@ declare const UpdateServiceCommand_base: {
508
536
  * // format: "TEXT" || "JSON", // required
509
537
  * // includeQueryParameters: "DISABLED" || "ENABLED",
510
538
  * // },
539
+ * // containerConfigurations: [ // ServiceConnectContainerConfigurations
540
+ * // { // ServiceConnectContainerConfiguration Union: only one key present
541
+ * // logLevel: "debug" || "info",
542
+ * // },
543
+ * // ],
511
544
  * // },
512
545
  * // serviceConnectResources: [ // ServiceConnectServiceResourceList
513
546
  * // { // ServiceConnectServiceResource
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateServicePrimaryTaskSetRequest, UpdateServicePrimaryTaskSetResponse } from "../models/models_0";
2
+ import type { UpdateServicePrimaryTaskSetRequest, UpdateServicePrimaryTaskSetResponse } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -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";
@@ -53,7 +53,13 @@ export type AcceleratorType = (typeof AcceleratorType)[keyof typeof AcceleratorT
53
53
  * @enum
54
54
  */
55
55
  export declare const AccessType: {
56
+ /**
57
+ * <p>The resource is private and reachable only from within the VPC.</p>
58
+ */
56
59
  readonly PRIVATE: "PRIVATE";
60
+ /**
61
+ * <p>The resource is publicly accessible from the internet.</p>
62
+ */
57
63
  readonly PUBLIC: "PUBLIC";
58
64
  };
59
65
  /**
@@ -959,6 +965,191 @@ export declare const TaskDefinitionField: {
959
965
  * @public
960
966
  */
961
967
  export type TaskDefinitionField = (typeof TaskDefinitionField)[keyof typeof TaskDefinitionField];
968
+ /**
969
+ * @public
970
+ * @enum
971
+ */
972
+ export declare const GatewayClusterAssociationStatus: {
973
+ /**
974
+ * <p>The association is active.</p>
975
+ */
976
+ readonly ACTIVE: "ACTIVE";
977
+ /**
978
+ * <p>The association is being removed and remains in this state until all gateway routes for the cluster are removed.</p>
979
+ */
980
+ readonly DISASSOCIATING: "DISASSOCIATING";
981
+ readonly INACTIVE: "INACTIVE";
982
+ };
983
+ /**
984
+ * @public
985
+ */
986
+ export type GatewayClusterAssociationStatus = (typeof GatewayClusterAssociationStatus)[keyof typeof GatewayClusterAssociationStatus];
987
+ /**
988
+ * @public
989
+ * @enum
990
+ */
991
+ export declare const GatewayAlbDesyncMitigationMode: {
992
+ /**
993
+ * <p>The load balancers allow through most requests but drop those that pose a significant security risk.</p>
994
+ */
995
+ readonly DEFENSIVE: "defensive";
996
+ /**
997
+ * <p>The load balancers forward requests that are considered ambiguous but allow them to be monitored.</p>
998
+ */
999
+ readonly MONITOR: "monitor";
1000
+ /**
1001
+ * <p>The load balancers allow through only requests that comply with HTTP/1.1.</p>
1002
+ */
1003
+ readonly STRICTEST: "strictest";
1004
+ };
1005
+ /**
1006
+ * @public
1007
+ */
1008
+ export type GatewayAlbDesyncMitigationMode = (typeof GatewayAlbDesyncMitigationMode)[keyof typeof GatewayAlbDesyncMitigationMode];
1009
+ /**
1010
+ * @public
1011
+ * @enum
1012
+ */
1013
+ export declare const GatewayElbIpAddressType: {
1014
+ /**
1015
+ * <p>The load balancers use both IPv4 and IPv6 addresses.</p>
1016
+ */
1017
+ readonly DUALSTACK: "dualstack";
1018
+ /**
1019
+ * <p>The load balancers use IPv6 addresses and private IPv4 addresses, without public IPv4 addresses.</p>
1020
+ */
1021
+ readonly DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4";
1022
+ /**
1023
+ * <p>The load balancers use IPv4 addresses only.</p>
1024
+ */
1025
+ readonly IPV4: "ipv4";
1026
+ };
1027
+ /**
1028
+ * @public
1029
+ */
1030
+ export type GatewayElbIpAddressType = (typeof GatewayElbIpAddressType)[keyof typeof GatewayElbIpAddressType];
1031
+ /**
1032
+ * @public
1033
+ * @enum
1034
+ */
1035
+ export declare const GatewayAlbProtocol: {
1036
+ /**
1037
+ * <p>The listener uses HTTP.</p>
1038
+ */
1039
+ readonly HTTP: "HTTP";
1040
+ /**
1041
+ * <p>The listener uses HTTPS.</p>
1042
+ */
1043
+ readonly HTTPS: "HTTPS";
1044
+ };
1045
+ /**
1046
+ * @public
1047
+ */
1048
+ export type GatewayAlbProtocol = (typeof GatewayAlbProtocol)[keyof typeof GatewayAlbProtocol];
1049
+ /**
1050
+ * @public
1051
+ * @enum
1052
+ */
1053
+ export declare const GatewayElbScheme: {
1054
+ /**
1055
+ * <p>The load balancers are internal.</p>
1056
+ */
1057
+ readonly INTERNAL: "internal";
1058
+ /**
1059
+ * <p>The load balancers are internet-facing.</p>
1060
+ */
1061
+ readonly INTERNET_FACING: "internet-facing";
1062
+ };
1063
+ /**
1064
+ * @public
1065
+ */
1066
+ export type GatewayElbScheme = (typeof GatewayElbScheme)[keyof typeof GatewayElbScheme];
1067
+ /**
1068
+ * @public
1069
+ * @enum
1070
+ */
1071
+ export declare const PropagateGatewayTags: {
1072
+ /**
1073
+ * <p>Tags on the gateway are propagated to the infrastructure that the gateway manages.</p>
1074
+ */
1075
+ readonly GATEWAY: "GATEWAY";
1076
+ /**
1077
+ * <p>Tags aren't propagated to managed infrastructure.</p>
1078
+ */
1079
+ readonly NONE: "NONE";
1080
+ };
1081
+ /**
1082
+ * @public
1083
+ */
1084
+ export type PropagateGatewayTags = (typeof PropagateGatewayTags)[keyof typeof PropagateGatewayTags];
1085
+ /**
1086
+ * @public
1087
+ * @enum
1088
+ */
1089
+ export declare const GatewayStatus: {
1090
+ /**
1091
+ * <p>The gateway is active and available for use.</p>
1092
+ */
1093
+ readonly ACTIVE: "ACTIVE";
1094
+ /**
1095
+ * <p>The gateway is deleted.</p>
1096
+ */
1097
+ readonly DELETED: "DELETED";
1098
+ /**
1099
+ * <p>The update to the gateway completed successfully.</p>
1100
+ */
1101
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
1102
+ /**
1103
+ * <p>The update to the gateway failed. See <code>statusReason</code> for details.</p>
1104
+ */
1105
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1106
+ /**
1107
+ * <p>An update to the gateway is in progress.</p>
1108
+ */
1109
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
1110
+ };
1111
+ /**
1112
+ * @public
1113
+ */
1114
+ export type GatewayStatus = (typeof GatewayStatus)[keyof typeof GatewayStatus];
1115
+ /**
1116
+ * @public
1117
+ * @enum
1118
+ */
1119
+ export declare const GatewayRouteStatus: {
1120
+ /**
1121
+ * <p>The gateway route is active and routing traffic.</p>
1122
+ */
1123
+ readonly ACTIVE: "ACTIVE";
1124
+ /**
1125
+ * <p>The gateway route couldn't be created.</p>
1126
+ */
1127
+ readonly CREATE_FAILED: "CREATE_FAILED";
1128
+ /**
1129
+ * <p>The gateway route is being created.</p>
1130
+ */
1131
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
1132
+ /**
1133
+ * <p>The gateway route couldn't be deleted.</p>
1134
+ */
1135
+ readonly DELETE_FAILED: "DELETE_FAILED";
1136
+ /**
1137
+ * <p>The gateway route is being deleted.</p>
1138
+ */
1139
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
1140
+ /**
1141
+ * <p>The gateway route couldn't be updated.</p>
1142
+ */
1143
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
1144
+ /**
1145
+ * <p>The gateway route is being updated.</p>
1146
+ */
1147
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
1148
+ };
1149
+ /**
1150
+ * @public
1151
+ */
1152
+ export type GatewayRouteStatus = (typeof GatewayRouteStatus)[keyof typeof GatewayRouteStatus];
962
1153
  /**
963
1154
  * @public
964
1155
  * @enum
@@ -1181,6 +1372,24 @@ export declare const DeploymentControllerType: {
1181
1372
  * @public
1182
1373
  */
1183
1374
  export type DeploymentControllerType = (typeof DeploymentControllerType)[keyof typeof DeploymentControllerType];
1375
+ /**
1376
+ * @public
1377
+ * @enum
1378
+ */
1379
+ export declare const GatewayConnectorHealthCheckProtocol: {
1380
+ /**
1381
+ * <p>The gateway performs health checks over HTTP.</p>
1382
+ */
1383
+ readonly HTTP: "HTTP";
1384
+ /**
1385
+ * <p>The gateway performs health checks over HTTPS.</p>
1386
+ */
1387
+ readonly HTTPS: "HTTPS";
1388
+ };
1389
+ /**
1390
+ * @public
1391
+ */
1392
+ export type GatewayConnectorHealthCheckProtocol = (typeof GatewayConnectorHealthCheckProtocol)[keyof typeof GatewayConnectorHealthCheckProtocol];
1184
1393
  /**
1185
1394
  * @public
1186
1395
  * @enum
@@ -1267,6 +1476,18 @@ export declare const ServiceConnectIncludeQueryParameters: {
1267
1476
  * @public
1268
1477
  */
1269
1478
  export type ServiceConnectIncludeQueryParameters = (typeof ServiceConnectIncludeQueryParameters)[keyof typeof ServiceConnectIncludeQueryParameters];
1479
+ /**
1480
+ * @public
1481
+ * @enum
1482
+ */
1483
+ export declare const ServiceConnectContainerLogLevel: {
1484
+ readonly DEBUG: "debug";
1485
+ readonly INFO: "info";
1486
+ };
1487
+ /**
1488
+ * @public
1489
+ */
1490
+ export type ServiceConnectContainerLogLevel = (typeof ServiceConnectContainerLogLevel)[keyof typeof ServiceConnectContainerLogLevel];
1270
1491
  /**
1271
1492
  * @public
1272
1493
  * @enum