@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.
- package/README.md +77 -0
- package/dist-cjs/index.js +717 -36
- package/dist-es/ECS.js +28 -0
- package/dist-es/commands/AssociateGatewayWithClusterCommand.js +4 -0
- package/dist-es/commands/CreateGatewayCommand.js +4 -0
- package/dist-es/commands/DeleteGatewayCommand.js +4 -0
- package/dist-es/commands/DescribeGatewayCommand.js +4 -0
- package/dist-es/commands/DescribeGatewayResourcesCommand.js +4 -0
- package/dist-es/commands/DescribeGatewayRouteCommand.js +4 -0
- package/dist-es/commands/DisassociateGatewayFromClusterCommand.js +4 -0
- package/dist-es/commands/ListGatewayClusterAssociationsCommand.js +4 -0
- package/dist-es/commands/ListGatewayRoutesCommand.js +4 -0
- package/dist-es/commands/ListGatewaysCommand.js +4 -0
- package/dist-es/commands/UpdateGatewayCommand.js +4 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/enums.js +47 -0
- package/dist-es/models/errors.js +26 -13
- package/dist-es/pagination/ListGatewayClusterAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayRoutesPaginator.js +4 -0
- package/dist-es/pagination/ListGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +504 -23
- package/dist-types/ECS.d.ts +101 -0
- package/dist-types/ECSClient.d.ts +13 -2
- package/dist-types/commands/AssociateGatewayWithClusterCommand.d.ts +113 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +172 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +24 -1
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayCommand.d.ts +108 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGatewayCommand.d.ts +200 -0
- package/dist-types/commands/DescribeGatewayResourcesCommand.d.ts +135 -0
- package/dist-types/commands/DescribeGatewayRouteCommand.d.ts +160 -0
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +48 -2
- package/dist-types/commands/DescribeServicesCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateGatewayFromClusterCommand.d.ts +116 -0
- package/dist-types/commands/ListGatewayClusterAssociationsCommand.d.ts +125 -0
- package/dist-types/commands/ListGatewayRoutesCommand.d.ts +132 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +131 -0
- package/dist-types/commands/ListServiceDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCommand.d.ts +143 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +24 -1
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/enums.d.ts +209 -0
- package/dist-types/models/errors.d.ts +25 -12
- package/dist-types/models/models_0.d.ts +1252 -1814
- package/dist-types/models/models_1.d.ts +1976 -2
- package/dist-types/pagination/ListGatewayClusterAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayRoutesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +67 -0
- package/dist-types/ts3.4/ECS.d.ts +211 -0
- package/dist-types/ts3.4/ECSClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/AssociateGatewayWithClusterCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeGatewayResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeGatewayRouteCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeServiceRevisionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateGatewayFromClusterCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListGatewayClusterAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListGatewayRoutesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListServiceDeploymentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/enums.d.ts +60 -0
- package/dist-types/ts3.4/models/errors.d.ts +12 -6
- package/dist-types/ts3.4/models/models_0.d.ts +367 -424
- package/dist-types/ts3.4/models/models_1.d.ts +481 -12
- package/dist-types/ts3.4/pagination/ListGatewayClusterAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayRoutesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +67 -0
- package/package.json +1 -1
package/dist-types/ECS.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { type AssociateGatewayWithClusterCommandInput, type AssociateGatewayWithClusterCommandOutput } from "./commands/AssociateGatewayWithClusterCommand";
|
|
3
4
|
import { type ContinueServiceDeploymentCommandInput, type ContinueServiceDeploymentCommandOutput } from "./commands/ContinueServiceDeploymentCommand";
|
|
4
5
|
import { type CreateCapacityProviderCommandInput, type CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
5
6
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
6
7
|
import { type CreateDaemonCommandInput, type CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
7
8
|
import { type CreateExpressGatewayServiceCommandInput, type CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
9
|
+
import { type CreateGatewayCommandInput, type CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
|
|
8
10
|
import { type CreateServiceCommandInput, type CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
9
11
|
import { type CreateTaskSetCommandInput, type CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
10
12
|
import { type DeleteAccountSettingCommandInput, type DeleteAccountSettingCommandOutput } from "./commands/DeleteAccountSettingCommand";
|
|
@@ -14,6 +16,7 @@ import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from
|
|
|
14
16
|
import { type DeleteDaemonCommandInput, type DeleteDaemonCommandOutput } from "./commands/DeleteDaemonCommand";
|
|
15
17
|
import { type DeleteDaemonTaskDefinitionCommandInput, type DeleteDaemonTaskDefinitionCommandOutput } from "./commands/DeleteDaemonTaskDefinitionCommand";
|
|
16
18
|
import { type DeleteExpressGatewayServiceCommandInput, type DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
19
|
+
import { type DeleteGatewayCommandInput, type DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
|
|
17
20
|
import { type DeleteServiceCommandInput, type DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
18
21
|
import { type DeleteTaskDefinitionsCommandInput, type DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
19
22
|
import { type DeleteTaskSetCommandInput, type DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
|
|
@@ -27,12 +30,16 @@ import { type DescribeDaemonDeploymentsCommandInput, type DescribeDaemonDeployme
|
|
|
27
30
|
import { type DescribeDaemonRevisionsCommandInput, type DescribeDaemonRevisionsCommandOutput } from "./commands/DescribeDaemonRevisionsCommand";
|
|
28
31
|
import { type DescribeDaemonTaskDefinitionCommandInput, type DescribeDaemonTaskDefinitionCommandOutput } from "./commands/DescribeDaemonTaskDefinitionCommand";
|
|
29
32
|
import { type DescribeExpressGatewayServiceCommandInput, type DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
33
|
+
import { type DescribeGatewayCommandInput, type DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
|
|
34
|
+
import { type DescribeGatewayResourcesCommandInput, type DescribeGatewayResourcesCommandOutput } from "./commands/DescribeGatewayResourcesCommand";
|
|
35
|
+
import { type DescribeGatewayRouteCommandInput, type DescribeGatewayRouteCommandOutput } from "./commands/DescribeGatewayRouteCommand";
|
|
30
36
|
import { type DescribeServiceDeploymentsCommandInput, type DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
31
37
|
import { type DescribeServiceRevisionsCommandInput, type DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
32
38
|
import { type DescribeServicesCommandInput, type DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
|
|
33
39
|
import { type DescribeTaskDefinitionCommandInput, type DescribeTaskDefinitionCommandOutput } from "./commands/DescribeTaskDefinitionCommand";
|
|
34
40
|
import { type DescribeTasksCommandInput, type DescribeTasksCommandOutput } from "./commands/DescribeTasksCommand";
|
|
35
41
|
import { type DescribeTaskSetsCommandInput, type DescribeTaskSetsCommandOutput } from "./commands/DescribeTaskSetsCommand";
|
|
42
|
+
import { type DisassociateGatewayFromClusterCommandInput, type DisassociateGatewayFromClusterCommandOutput } from "./commands/DisassociateGatewayFromClusterCommand";
|
|
36
43
|
import { type DiscoverPollEndpointCommandInput, type DiscoverPollEndpointCommandOutput } from "./commands/DiscoverPollEndpointCommand";
|
|
37
44
|
import { type ExecuteCommandCommandInput, type ExecuteCommandCommandOutput } from "./commands/ExecuteCommandCommand";
|
|
38
45
|
import { type GetTaskProtectionCommandInput, type GetTaskProtectionCommandOutput } from "./commands/GetTaskProtectionCommand";
|
|
@@ -43,6 +50,9 @@ import { type ListContainerInstancesCommandInput, type ListContainerInstancesCom
|
|
|
43
50
|
import { type ListDaemonDeploymentsCommandInput, type ListDaemonDeploymentsCommandOutput } from "./commands/ListDaemonDeploymentsCommand";
|
|
44
51
|
import { type ListDaemonsCommandInput, type ListDaemonsCommandOutput } from "./commands/ListDaemonsCommand";
|
|
45
52
|
import { type ListDaemonTaskDefinitionsCommandInput, type ListDaemonTaskDefinitionsCommandOutput } from "./commands/ListDaemonTaskDefinitionsCommand";
|
|
53
|
+
import { type ListGatewayClusterAssociationsCommandInput, type ListGatewayClusterAssociationsCommandOutput } from "./commands/ListGatewayClusterAssociationsCommand";
|
|
54
|
+
import { type ListGatewayRoutesCommandInput, type ListGatewayRoutesCommandOutput } from "./commands/ListGatewayRoutesCommand";
|
|
55
|
+
import { type ListGatewaysCommandInput, type ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
|
|
46
56
|
import { type ListServiceDeploymentsCommandInput, type ListServiceDeploymentsCommandOutput } from "./commands/ListServiceDeploymentsCommand";
|
|
47
57
|
import { type ListServicesByNamespaceCommandInput, type ListServicesByNamespaceCommandOutput } from "./commands/ListServicesByNamespaceCommand";
|
|
48
58
|
import { type ListServicesCommandInput, type ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
@@ -73,6 +83,7 @@ import { type UpdateContainerAgentCommandInput, type UpdateContainerAgentCommand
|
|
|
73
83
|
import { type UpdateContainerInstancesStateCommandInput, type UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
74
84
|
import { type UpdateDaemonCommandInput, type UpdateDaemonCommandOutput } from "./commands/UpdateDaemonCommand";
|
|
75
85
|
import { type UpdateExpressGatewayServiceCommandInput, type UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
86
|
+
import { type UpdateGatewayCommandInput, type UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
|
|
76
87
|
import { type UpdateServiceCommandInput, type UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
77
88
|
import { type UpdateServicePrimaryTaskSetCommandInput, type UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
78
89
|
import { type UpdateTaskProtectionCommandInput, type UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
|
|
@@ -85,6 +96,12 @@ export interface ECSRequestOptions extends __HttpHandlerOptions {
|
|
|
85
96
|
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
86
97
|
}
|
|
87
98
|
export interface ECS {
|
|
99
|
+
/**
|
|
100
|
+
* @see {@link AssociateGatewayWithClusterCommand}
|
|
101
|
+
*/
|
|
102
|
+
associateGatewayWithCluster(args: AssociateGatewayWithClusterCommandInput, options?: ECSRequestOptions): Promise<AssociateGatewayWithClusterCommandOutput>;
|
|
103
|
+
associateGatewayWithCluster(args: AssociateGatewayWithClusterCommandInput, cb: (err: any, data?: AssociateGatewayWithClusterCommandOutput) => void): void;
|
|
104
|
+
associateGatewayWithCluster(args: AssociateGatewayWithClusterCommandInput, options: ECSRequestOptions, cb: (err: any, data?: AssociateGatewayWithClusterCommandOutput) => void): void;
|
|
88
105
|
/**
|
|
89
106
|
* @see {@link ContinueServiceDeploymentCommand}
|
|
90
107
|
*/
|
|
@@ -116,6 +133,12 @@ export interface ECS {
|
|
|
116
133
|
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, options?: ECSRequestOptions): Promise<CreateExpressGatewayServiceCommandOutput>;
|
|
117
134
|
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, cb: (err: any, data?: CreateExpressGatewayServiceCommandOutput) => void): void;
|
|
118
135
|
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, options: ECSRequestOptions, cb: (err: any, data?: CreateExpressGatewayServiceCommandOutput) => void): void;
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link CreateGatewayCommand}
|
|
138
|
+
*/
|
|
139
|
+
createGateway(args: CreateGatewayCommandInput, options?: ECSRequestOptions): Promise<CreateGatewayCommandOutput>;
|
|
140
|
+
createGateway(args: CreateGatewayCommandInput, cb: (err: any, data?: CreateGatewayCommandOutput) => void): void;
|
|
141
|
+
createGateway(args: CreateGatewayCommandInput, options: ECSRequestOptions, cb: (err: any, data?: CreateGatewayCommandOutput) => void): void;
|
|
119
142
|
/**
|
|
120
143
|
* @see {@link CreateServiceCommand}
|
|
121
144
|
*/
|
|
@@ -170,6 +193,12 @@ export interface ECS {
|
|
|
170
193
|
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, options?: ECSRequestOptions): Promise<DeleteExpressGatewayServiceCommandOutput>;
|
|
171
194
|
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, cb: (err: any, data?: DeleteExpressGatewayServiceCommandOutput) => void): void;
|
|
172
195
|
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DeleteExpressGatewayServiceCommandOutput) => void): void;
|
|
196
|
+
/**
|
|
197
|
+
* @see {@link DeleteGatewayCommand}
|
|
198
|
+
*/
|
|
199
|
+
deleteGateway(args: DeleteGatewayCommandInput, options?: ECSRequestOptions): Promise<DeleteGatewayCommandOutput>;
|
|
200
|
+
deleteGateway(args: DeleteGatewayCommandInput, cb: (err: any, data?: DeleteGatewayCommandOutput) => void): void;
|
|
201
|
+
deleteGateway(args: DeleteGatewayCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DeleteGatewayCommandOutput) => void): void;
|
|
173
202
|
/**
|
|
174
203
|
* @see {@link DeleteServiceCommand}
|
|
175
204
|
*/
|
|
@@ -250,6 +279,24 @@ export interface ECS {
|
|
|
250
279
|
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, options?: ECSRequestOptions): Promise<DescribeExpressGatewayServiceCommandOutput>;
|
|
251
280
|
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, cb: (err: any, data?: DescribeExpressGatewayServiceCommandOutput) => void): void;
|
|
252
281
|
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DescribeExpressGatewayServiceCommandOutput) => void): void;
|
|
282
|
+
/**
|
|
283
|
+
* @see {@link DescribeGatewayCommand}
|
|
284
|
+
*/
|
|
285
|
+
describeGateway(args: DescribeGatewayCommandInput, options?: ECSRequestOptions): Promise<DescribeGatewayCommandOutput>;
|
|
286
|
+
describeGateway(args: DescribeGatewayCommandInput, cb: (err: any, data?: DescribeGatewayCommandOutput) => void): void;
|
|
287
|
+
describeGateway(args: DescribeGatewayCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DescribeGatewayCommandOutput) => void): void;
|
|
288
|
+
/**
|
|
289
|
+
* @see {@link DescribeGatewayResourcesCommand}
|
|
290
|
+
*/
|
|
291
|
+
describeGatewayResources(args: DescribeGatewayResourcesCommandInput, options?: ECSRequestOptions): Promise<DescribeGatewayResourcesCommandOutput>;
|
|
292
|
+
describeGatewayResources(args: DescribeGatewayResourcesCommandInput, cb: (err: any, data?: DescribeGatewayResourcesCommandOutput) => void): void;
|
|
293
|
+
describeGatewayResources(args: DescribeGatewayResourcesCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DescribeGatewayResourcesCommandOutput) => void): void;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link DescribeGatewayRouteCommand}
|
|
296
|
+
*/
|
|
297
|
+
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, options?: ECSRequestOptions): Promise<DescribeGatewayRouteCommandOutput>;
|
|
298
|
+
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void): void;
|
|
299
|
+
describeGatewayRoute(args: DescribeGatewayRouteCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DescribeGatewayRouteCommandOutput) => void): void;
|
|
253
300
|
/**
|
|
254
301
|
* @see {@link DescribeServiceDeploymentsCommand}
|
|
255
302
|
*/
|
|
@@ -286,6 +333,12 @@ export interface ECS {
|
|
|
286
333
|
describeTaskSets(args: DescribeTaskSetsCommandInput, options?: ECSRequestOptions): Promise<DescribeTaskSetsCommandOutput>;
|
|
287
334
|
describeTaskSets(args: DescribeTaskSetsCommandInput, cb: (err: any, data?: DescribeTaskSetsCommandOutput) => void): void;
|
|
288
335
|
describeTaskSets(args: DescribeTaskSetsCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DescribeTaskSetsCommandOutput) => void): void;
|
|
336
|
+
/**
|
|
337
|
+
* @see {@link DisassociateGatewayFromClusterCommand}
|
|
338
|
+
*/
|
|
339
|
+
disassociateGatewayFromCluster(args: DisassociateGatewayFromClusterCommandInput, options?: ECSRequestOptions): Promise<DisassociateGatewayFromClusterCommandOutput>;
|
|
340
|
+
disassociateGatewayFromCluster(args: DisassociateGatewayFromClusterCommandInput, cb: (err: any, data?: DisassociateGatewayFromClusterCommandOutput) => void): void;
|
|
341
|
+
disassociateGatewayFromCluster(args: DisassociateGatewayFromClusterCommandInput, options: ECSRequestOptions, cb: (err: any, data?: DisassociateGatewayFromClusterCommandOutput) => void): void;
|
|
289
342
|
/**
|
|
290
343
|
* @see {@link DiscoverPollEndpointCommand}
|
|
291
344
|
*/
|
|
@@ -352,6 +405,27 @@ export interface ECS {
|
|
|
352
405
|
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, options?: ECSRequestOptions): Promise<ListDaemonTaskDefinitionsCommandOutput>;
|
|
353
406
|
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, cb: (err: any, data?: ListDaemonTaskDefinitionsCommandOutput) => void): void;
|
|
354
407
|
listDaemonTaskDefinitions(args: ListDaemonTaskDefinitionsCommandInput, options: ECSRequestOptions, cb: (err: any, data?: ListDaemonTaskDefinitionsCommandOutput) => void): void;
|
|
408
|
+
/**
|
|
409
|
+
* @see {@link ListGatewayClusterAssociationsCommand}
|
|
410
|
+
*/
|
|
411
|
+
listGatewayClusterAssociations(): Promise<ListGatewayClusterAssociationsCommandOutput>;
|
|
412
|
+
listGatewayClusterAssociations(args: ListGatewayClusterAssociationsCommandInput, options?: ECSRequestOptions): Promise<ListGatewayClusterAssociationsCommandOutput>;
|
|
413
|
+
listGatewayClusterAssociations(args: ListGatewayClusterAssociationsCommandInput, cb: (err: any, data?: ListGatewayClusterAssociationsCommandOutput) => void): void;
|
|
414
|
+
listGatewayClusterAssociations(args: ListGatewayClusterAssociationsCommandInput, options: ECSRequestOptions, cb: (err: any, data?: ListGatewayClusterAssociationsCommandOutput) => void): void;
|
|
415
|
+
/**
|
|
416
|
+
* @see {@link ListGatewayRoutesCommand}
|
|
417
|
+
*/
|
|
418
|
+
listGatewayRoutes(): Promise<ListGatewayRoutesCommandOutput>;
|
|
419
|
+
listGatewayRoutes(args: ListGatewayRoutesCommandInput, options?: ECSRequestOptions): Promise<ListGatewayRoutesCommandOutput>;
|
|
420
|
+
listGatewayRoutes(args: ListGatewayRoutesCommandInput, cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void): void;
|
|
421
|
+
listGatewayRoutes(args: ListGatewayRoutesCommandInput, options: ECSRequestOptions, cb: (err: any, data?: ListGatewayRoutesCommandOutput) => void): void;
|
|
422
|
+
/**
|
|
423
|
+
* @see {@link ListGatewaysCommand}
|
|
424
|
+
*/
|
|
425
|
+
listGateways(): Promise<ListGatewaysCommandOutput>;
|
|
426
|
+
listGateways(args: ListGatewaysCommandInput, options?: ECSRequestOptions): Promise<ListGatewaysCommandOutput>;
|
|
427
|
+
listGateways(args: ListGatewaysCommandInput, cb: (err: any, data?: ListGatewaysCommandOutput) => void): void;
|
|
428
|
+
listGateways(args: ListGatewaysCommandInput, options: ECSRequestOptions, cb: (err: any, data?: ListGatewaysCommandOutput) => void): void;
|
|
355
429
|
/**
|
|
356
430
|
* @see {@link ListServiceDeploymentsCommand}
|
|
357
431
|
*/
|
|
@@ -539,6 +613,12 @@ export interface ECS {
|
|
|
539
613
|
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, options?: ECSRequestOptions): Promise<UpdateExpressGatewayServiceCommandOutput>;
|
|
540
614
|
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, cb: (err: any, data?: UpdateExpressGatewayServiceCommandOutput) => void): void;
|
|
541
615
|
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, options: ECSRequestOptions, cb: (err: any, data?: UpdateExpressGatewayServiceCommandOutput) => void): void;
|
|
616
|
+
/**
|
|
617
|
+
* @see {@link UpdateGatewayCommand}
|
|
618
|
+
*/
|
|
619
|
+
updateGateway(args: UpdateGatewayCommandInput, options?: ECSRequestOptions): Promise<UpdateGatewayCommandOutput>;
|
|
620
|
+
updateGateway(args: UpdateGatewayCommandInput, cb: (err: any, data?: UpdateGatewayCommandOutput) => void): void;
|
|
621
|
+
updateGateway(args: UpdateGatewayCommandInput, options: ECSRequestOptions, cb: (err: any, data?: UpdateGatewayCommandOutput) => void): void;
|
|
542
622
|
/**
|
|
543
623
|
* @see {@link UpdateServiceCommand}
|
|
544
624
|
*/
|
|
@@ -591,6 +671,27 @@ export interface ECS {
|
|
|
591
671
|
* @returns AsyncIterable of {@link ListContainerInstancesCommandOutput}.
|
|
592
672
|
*/
|
|
593
673
|
paginateListContainerInstances(args?: ListContainerInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContainerInstancesCommandOutput>;
|
|
674
|
+
/**
|
|
675
|
+
* @see {@link ListGatewayClusterAssociationsCommand}
|
|
676
|
+
* @param args - command input.
|
|
677
|
+
* @param paginationConfig - optional pagination config.
|
|
678
|
+
* @returns AsyncIterable of {@link ListGatewayClusterAssociationsCommandOutput}.
|
|
679
|
+
*/
|
|
680
|
+
paginateListGatewayClusterAssociations(args?: ListGatewayClusterAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGatewayClusterAssociationsCommandOutput>;
|
|
681
|
+
/**
|
|
682
|
+
* @see {@link ListGatewayRoutesCommand}
|
|
683
|
+
* @param args - command input.
|
|
684
|
+
* @param paginationConfig - optional pagination config.
|
|
685
|
+
* @returns AsyncIterable of {@link ListGatewayRoutesCommandOutput}.
|
|
686
|
+
*/
|
|
687
|
+
paginateListGatewayRoutes(args?: ListGatewayRoutesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGatewayRoutesCommandOutput>;
|
|
688
|
+
/**
|
|
689
|
+
* @see {@link ListGatewaysCommand}
|
|
690
|
+
* @param args - command input.
|
|
691
|
+
* @param paginationConfig - optional pagination config.
|
|
692
|
+
* @returns AsyncIterable of {@link ListGatewaysCommandOutput}.
|
|
693
|
+
*/
|
|
694
|
+
paginateListGateways(args?: ListGatewaysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGatewaysCommandOutput>;
|
|
594
695
|
/**
|
|
595
696
|
* @see {@link ListServicesCommand}
|
|
596
697
|
* @param args - command input.
|
|
@@ -6,11 +6,13 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { AssociateGatewayWithClusterCommandInput, AssociateGatewayWithClusterCommandOutput } from "./commands/AssociateGatewayWithClusterCommand";
|
|
9
10
|
import type { ContinueServiceDeploymentCommandInput, ContinueServiceDeploymentCommandOutput } from "./commands/ContinueServiceDeploymentCommand";
|
|
10
11
|
import type { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
11
12
|
import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
12
13
|
import type { CreateDaemonCommandInput, CreateDaemonCommandOutput } from "./commands/CreateDaemonCommand";
|
|
13
14
|
import type { CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
15
|
+
import type { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
|
|
14
16
|
import type { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
15
17
|
import type { CreateTaskSetCommandInput, CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
16
18
|
import type { DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput } from "./commands/DeleteAccountSettingCommand";
|
|
@@ -20,6 +22,7 @@ import type { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./co
|
|
|
20
22
|
import type { DeleteDaemonCommandInput, DeleteDaemonCommandOutput } from "./commands/DeleteDaemonCommand";
|
|
21
23
|
import type { DeleteDaemonTaskDefinitionCommandInput, DeleteDaemonTaskDefinitionCommandOutput } from "./commands/DeleteDaemonTaskDefinitionCommand";
|
|
22
24
|
import type { DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
25
|
+
import type { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
|
|
23
26
|
import type { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
24
27
|
import type { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
25
28
|
import type { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
|
|
@@ -33,12 +36,16 @@ import type { DescribeDaemonDeploymentsCommandInput, DescribeDaemonDeploymentsCo
|
|
|
33
36
|
import type { DescribeDaemonRevisionsCommandInput, DescribeDaemonRevisionsCommandOutput } from "./commands/DescribeDaemonRevisionsCommand";
|
|
34
37
|
import type { DescribeDaemonTaskDefinitionCommandInput, DescribeDaemonTaskDefinitionCommandOutput } from "./commands/DescribeDaemonTaskDefinitionCommand";
|
|
35
38
|
import type { DescribeExpressGatewayServiceCommandInput, DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
39
|
+
import type { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
|
|
40
|
+
import type { DescribeGatewayResourcesCommandInput, DescribeGatewayResourcesCommandOutput } from "./commands/DescribeGatewayResourcesCommand";
|
|
41
|
+
import type { DescribeGatewayRouteCommandInput, DescribeGatewayRouteCommandOutput } from "./commands/DescribeGatewayRouteCommand";
|
|
36
42
|
import type { DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
37
43
|
import type { DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
38
44
|
import type { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
|
|
39
45
|
import type { DescribeTaskDefinitionCommandInput, DescribeTaskDefinitionCommandOutput } from "./commands/DescribeTaskDefinitionCommand";
|
|
40
46
|
import type { DescribeTasksCommandInput, DescribeTasksCommandOutput } from "./commands/DescribeTasksCommand";
|
|
41
47
|
import type { DescribeTaskSetsCommandInput, DescribeTaskSetsCommandOutput } from "./commands/DescribeTaskSetsCommand";
|
|
48
|
+
import type { DisassociateGatewayFromClusterCommandInput, DisassociateGatewayFromClusterCommandOutput } from "./commands/DisassociateGatewayFromClusterCommand";
|
|
42
49
|
import type { DiscoverPollEndpointCommandInput, DiscoverPollEndpointCommandOutput } from "./commands/DiscoverPollEndpointCommand";
|
|
43
50
|
import type { ExecuteCommandCommandInput, ExecuteCommandCommandOutput } from "./commands/ExecuteCommandCommand";
|
|
44
51
|
import type { GetTaskProtectionCommandInput, GetTaskProtectionCommandOutput } from "./commands/GetTaskProtectionCommand";
|
|
@@ -49,6 +56,9 @@ import type { ListContainerInstancesCommandInput, ListContainerInstancesCommandO
|
|
|
49
56
|
import type { ListDaemonDeploymentsCommandInput, ListDaemonDeploymentsCommandOutput } from "./commands/ListDaemonDeploymentsCommand";
|
|
50
57
|
import type { ListDaemonsCommandInput, ListDaemonsCommandOutput } from "./commands/ListDaemonsCommand";
|
|
51
58
|
import type { ListDaemonTaskDefinitionsCommandInput, ListDaemonTaskDefinitionsCommandOutput } from "./commands/ListDaemonTaskDefinitionsCommand";
|
|
59
|
+
import type { ListGatewayClusterAssociationsCommandInput, ListGatewayClusterAssociationsCommandOutput } from "./commands/ListGatewayClusterAssociationsCommand";
|
|
60
|
+
import type { ListGatewayRoutesCommandInput, ListGatewayRoutesCommandOutput } from "./commands/ListGatewayRoutesCommand";
|
|
61
|
+
import type { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
|
|
52
62
|
import type { ListServiceDeploymentsCommandInput, ListServiceDeploymentsCommandOutput } from "./commands/ListServiceDeploymentsCommand";
|
|
53
63
|
import type { ListServicesByNamespaceCommandInput, ListServicesByNamespaceCommandOutput } from "./commands/ListServicesByNamespaceCommand";
|
|
54
64
|
import type { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
@@ -79,6 +89,7 @@ import type { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutpu
|
|
|
79
89
|
import type { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
80
90
|
import type { UpdateDaemonCommandInput, UpdateDaemonCommandOutput } from "./commands/UpdateDaemonCommand";
|
|
81
91
|
import type { UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
92
|
+
import type { UpdateGatewayCommandInput, UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
|
|
82
93
|
import type { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
83
94
|
import type { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
84
95
|
import type { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
|
|
@@ -89,11 +100,11 @@ export { __Client };
|
|
|
89
100
|
/**
|
|
90
101
|
* @public
|
|
91
102
|
*/
|
|
92
|
-
export type ServiceInputTypes = ContinueServiceDeploymentCommandInput | CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateDaemonCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteDaemonCommandInput | DeleteDaemonTaskDefinitionCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeDaemonCommandInput | DescribeDaemonDeploymentsCommandInput | DescribeDaemonRevisionsCommandInput | DescribeDaemonTaskDefinitionCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListDaemonDeploymentsCommandInput | ListDaemonTaskDefinitionsCommandInput | ListDaemonsCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterDaemonTaskDefinitionCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateDaemonCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
103
|
+
export type ServiceInputTypes = AssociateGatewayWithClusterCommandInput | ContinueServiceDeploymentCommandInput | CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateDaemonCommandInput | CreateExpressGatewayServiceCommandInput | CreateGatewayCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteDaemonCommandInput | DeleteDaemonTaskDefinitionCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteGatewayCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeDaemonCommandInput | DescribeDaemonDeploymentsCommandInput | DescribeDaemonRevisionsCommandInput | DescribeDaemonTaskDefinitionCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeGatewayCommandInput | DescribeGatewayResourcesCommandInput | DescribeGatewayRouteCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DisassociateGatewayFromClusterCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListDaemonDeploymentsCommandInput | ListDaemonTaskDefinitionsCommandInput | ListDaemonsCommandInput | ListGatewayClusterAssociationsCommandInput | ListGatewayRoutesCommandInput | ListGatewaysCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterDaemonTaskDefinitionCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateDaemonCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateGatewayCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
93
104
|
/**
|
|
94
105
|
* @public
|
|
95
106
|
*/
|
|
96
|
-
export type ServiceOutputTypes = ContinueServiceDeploymentCommandOutput | CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateDaemonCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteDaemonCommandOutput | DeleteDaemonTaskDefinitionCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeDaemonCommandOutput | DescribeDaemonDeploymentsCommandOutput | DescribeDaemonRevisionsCommandOutput | DescribeDaemonTaskDefinitionCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListDaemonDeploymentsCommandOutput | ListDaemonTaskDefinitionsCommandOutput | ListDaemonsCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterDaemonTaskDefinitionCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateDaemonCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
107
|
+
export type ServiceOutputTypes = AssociateGatewayWithClusterCommandOutput | ContinueServiceDeploymentCommandOutput | CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateDaemonCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateGatewayCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteDaemonCommandOutput | DeleteDaemonTaskDefinitionCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteGatewayCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeDaemonCommandOutput | DescribeDaemonDeploymentsCommandOutput | DescribeDaemonRevisionsCommandOutput | DescribeDaemonTaskDefinitionCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeGatewayCommandOutput | DescribeGatewayResourcesCommandOutput | DescribeGatewayRouteCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DisassociateGatewayFromClusterCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListDaemonDeploymentsCommandOutput | ListDaemonTaskDefinitionsCommandOutput | ListDaemonsCommandOutput | ListGatewayClusterAssociationsCommandOutput | ListGatewayRoutesCommandOutput | ListGatewaysCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterDaemonTaskDefinitionCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateDaemonCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateGatewayCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
97
108
|
/**
|
|
98
109
|
* @public
|
|
99
110
|
*/
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AssociateGatewayWithClusterRequest, AssociateGatewayWithClusterResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AssociateGatewayWithClusterCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AssociateGatewayWithClusterCommandInput extends AssociateGatewayWithClusterRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AssociateGatewayWithClusterCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AssociateGatewayWithClusterCommandOutput extends AssociateGatewayWithClusterResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AssociateGatewayWithClusterCommand_base: {
|
|
22
|
+
new (input: AssociateGatewayWithClusterCommandInput): import("@smithy/core/client").CommandImpl<AssociateGatewayWithClusterCommandInput, AssociateGatewayWithClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateGatewayWithClusterCommandInput): import("@smithy/core/client").CommandImpl<AssociateGatewayWithClusterCommandInput, AssociateGatewayWithClusterCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Associates a gateway with an Amazon ECS cluster. After a cluster is associated with a gateway, services in that cluster can use the gateway for ingress. No changes take effect until you update a service in the cluster to use the gateway. A single cluster can be associated with up to 5 gateways.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ECSClient, AssociateGatewayWithClusterCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
32
|
+
* // const { ECSClient, AssociateGatewayWithClusterCommand } = 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 = { // AssociateGatewayWithClusterRequest
|
|
37
|
+
* gateway: "STRING_VALUE", // required
|
|
38
|
+
* cluster: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new AssociateGatewayWithClusterCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // AssociateGatewayWithClusterResponse
|
|
43
|
+
* // gatewayArn: "STRING_VALUE",
|
|
44
|
+
* // clusterArn: "STRING_VALUE",
|
|
45
|
+
* // status: "ACTIVE" || "DISASSOCIATING" || "INACTIVE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param AssociateGatewayWithClusterCommandInput - {@link AssociateGatewayWithClusterCommandInput}
|
|
51
|
+
* @returns {@link AssociateGatewayWithClusterCommandOutput}
|
|
52
|
+
* @see {@link AssociateGatewayWithClusterCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link AssociateGatewayWithClusterCommandOutput} 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 ServerException} (server fault)
|
|
72
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
75
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ECSServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @example To associate a gateway with a cluster
|
|
82
|
+
* ```javascript
|
|
83
|
+
* // This example associates the gateway named my-gateway with the cluster named my-cluster so that services in the cluster can use the gateway for ingress.
|
|
84
|
+
* const input = {
|
|
85
|
+
* cluster: "my-cluster",
|
|
86
|
+
* gateway: "my-gateway"
|
|
87
|
+
* };
|
|
88
|
+
* const command = new AssociateGatewayWithClusterCommand(input);
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* {
|
|
92
|
+
* clusterArn: "arn:aws:ecs:us-east-1:123456789012:cluster/my-cluster",
|
|
93
|
+
* gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
|
|
94
|
+
* status: "ACTIVE"
|
|
95
|
+
* }
|
|
96
|
+
* *\/
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class AssociateGatewayWithClusterCommand extends AssociateGatewayWithClusterCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: AssociateGatewayWithClusterRequest;
|
|
106
|
+
output: AssociateGatewayWithClusterResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: AssociateGatewayWithClusterCommandInput;
|
|
110
|
+
output: AssociateGatewayWithClusterCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateGatewayRequest, CreateGatewayResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateGatewayCommandInput extends CreateGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateGatewayCommandOutput extends CreateGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateGatewayCommand_base: {
|
|
22
|
+
new (input: CreateGatewayCommandInput): import("@smithy/core/client").CommandImpl<CreateGatewayCommandInput, CreateGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateGatewayCommandInput): import("@smithy/core/client").CommandImpl<CreateGatewayCommandInput, CreateGatewayCommandOutput, import("..").ECSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a gateway. A gateway defines and dynamically manages ingress paths for your Amazon ECS services, handling traffic routing and infrastructure across multiple services while optimizing infrastructure usage. <code>CreateGateway</code> is a synchronous operation and the gateway is returned with a status of <code>ACTIVE</code>. The load balancers and other infrastructure that a gateway manages aren't created until a service in an associated cluster begins using the gateway.</p> <p>To use this operation, you must have the <code>iam:PassRole</code> permission for the infrastructure role that you specify in <code>infrastructureRoleArn</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, CreateGatewayCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
32
|
+
* // const { ECSClient, CreateGatewayCommand } = 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 = { // CreateGatewayRequest
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* infrastructureRoleArn: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* deletionProtection: true || false,
|
|
41
|
+
* configuration: { // GatewayConfiguration Union: only one key present
|
|
42
|
+
* hostSharedAlb: { // HostSharedAlbConfiguration
|
|
43
|
+
* networkConfiguration: { // GatewayElbNetworkConfiguration
|
|
44
|
+
* inboundSecurityGroup: "STRING_VALUE",
|
|
45
|
+
* subnets: [ // StringList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
49
|
+
* },
|
|
50
|
+
* scheme: "internet-facing" || "internal",
|
|
51
|
+
* webACLArn: "STRING_VALUE",
|
|
52
|
+
* accessLogs: { // GatewayElbAccessLogConfiguration
|
|
53
|
+
* destination: { // GatewayElbAccessLogDestination Union: only one key present
|
|
54
|
+
* s3: { // GatewayElbAccessLogS3Destination
|
|
55
|
+
* bucket: "STRING_VALUE", // required
|
|
56
|
+
* prefix: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* port: Number("int"),
|
|
61
|
+
* protocol: "HTTP" || "HTTPS",
|
|
62
|
+
* maxAlbCount: Number("int"),
|
|
63
|
+
* httpDesync: "monitor" || "defensive" || "strictest",
|
|
64
|
+
* testTrafficRules: { // GatewayAlbTestTrafficRules
|
|
65
|
+
* header: { // GatewayTestTrafficHeader
|
|
66
|
+
* name: "STRING_VALUE", // required
|
|
67
|
+
* values: [ // required
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* tags: [ // Tags
|
|
75
|
+
* { // Tag
|
|
76
|
+
* key: "STRING_VALUE",
|
|
77
|
+
* value: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* propagateTags: "NONE" || "GATEWAY",
|
|
81
|
+
* };
|
|
82
|
+
* const command = new CreateGatewayCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* // { // CreateGatewayResponse
|
|
85
|
+
* // gatewayArn: "STRING_VALUE",
|
|
86
|
+
* // name: "STRING_VALUE",
|
|
87
|
+
* // status: "ACTIVE" || "UPDATE_IN_PROGRESS" || "UPDATE_COMPLETE" || "UPDATE_FAILED" || "DELETED",
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param CreateGatewayCommandInput - {@link CreateGatewayCommandInput}
|
|
93
|
+
* @returns {@link CreateGatewayCommandOutput}
|
|
94
|
+
* @see {@link CreateGatewayCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link CreateGatewayCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
99
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ClientException} (client fault)
|
|
102
|
+
* <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>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
105
|
+
* <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>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ServerException} (server fault)
|
|
108
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
111
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ECSServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* @example To create a gateway
|
|
118
|
+
* ```javascript
|
|
119
|
+
* // This example creates a gateway named my-gateway that uses internet-facing Application Load Balancers with host-based routing in the specified subnets.
|
|
120
|
+
* const input = {
|
|
121
|
+
* configuration: {
|
|
122
|
+
* hostSharedAlb: {
|
|
123
|
+
* httpDesync: "defensive",
|
|
124
|
+
* maxAlbCount: 10,
|
|
125
|
+
* networkConfiguration: {
|
|
126
|
+
* ipAddressType: "ipv4",
|
|
127
|
+
* subnets: [
|
|
128
|
+
* "subnet-0123456789abcdef0",
|
|
129
|
+
* "subnet-0fedcba9876543210"
|
|
130
|
+
* ]
|
|
131
|
+
* },
|
|
132
|
+
* port: 443,
|
|
133
|
+
* protocol: "HTTPS",
|
|
134
|
+
* scheme: "internet-facing"
|
|
135
|
+
* }
|
|
136
|
+
* },
|
|
137
|
+
* infrastructureRoleArn: "arn:aws:iam::123456789012:role/ecsInfrastructureRole",
|
|
138
|
+
* name: "my-gateway",
|
|
139
|
+
* propagateTags: "GATEWAY",
|
|
140
|
+
* tags: [
|
|
141
|
+
* {
|
|
142
|
+
* key: "team",
|
|
143
|
+
* value: "web"
|
|
144
|
+
* }
|
|
145
|
+
* ]
|
|
146
|
+
* };
|
|
147
|
+
* const command = new CreateGatewayCommand(input);
|
|
148
|
+
* const response = await client.send(command);
|
|
149
|
+
* /* response is
|
|
150
|
+
* {
|
|
151
|
+
* gatewayArn: "arn:aws:ecs:us-east-1:123456789012:gateway/my-gateway/a1b2c3d4e5f6478890abcdef12345678",
|
|
152
|
+
* name: "my-gateway",
|
|
153
|
+
* status: "ACTIVE"
|
|
154
|
+
* }
|
|
155
|
+
* *\/
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class CreateGatewayCommand extends CreateGatewayCommand_base {
|
|
161
|
+
/** @internal type navigation helper, not in runtime. */
|
|
162
|
+
protected static __types: {
|
|
163
|
+
api: {
|
|
164
|
+
input: CreateGatewayRequest;
|
|
165
|
+
output: CreateGatewayResponse;
|
|
166
|
+
};
|
|
167
|
+
sdk: {
|
|
168
|
+
input: CreateGatewayCommandInput;
|
|
169
|
+
output: CreateGatewayCommandOutput;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { CreateServiceRequest, CreateServiceResponse } from "../models/
|
|
2
|
+
import type { CreateServiceRequest, CreateServiceResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -257,6 +257,29 @@ declare const CreateServiceCommand_base: {
|
|
|
257
257
|
* },
|
|
258
258
|
* },
|
|
259
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
|
+
* ],
|
|
260
283
|
* monitoring: { // MonitoringConfiguration
|
|
261
284
|
* metricConfigurations: [ // MetricConfigurationList
|
|
262
285
|
* { // MetricConfiguration
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DeleteExpressGatewayServiceRequest, DeleteExpressGatewayServiceResponse } from "../models/
|
|
2
|
+
import type { DeleteExpressGatewayServiceRequest, DeleteExpressGatewayServiceResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|