@aws-sdk/client-ecs 3.935.0 → 3.937.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 +32 -0
- package/dist-cjs/index.js +526 -45
- package/dist-es/ECS.js +8 -0
- package/dist-es/commands/CreateExpressGatewayServiceCommand.js +16 -0
- package/dist-es/commands/DeleteExpressGatewayServiceCommand.js +16 -0
- package/dist-es/commands/DescribeExpressGatewayServiceCommand.js +16 -0
- package/dist-es/commands/UpdateExpressGatewayServiceCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +8 -8
- package/dist-es/schemas/schemas_0.js +429 -37
- package/dist-types/ECS.d.ts +28 -0
- package/dist-types/ECSClient.d.ts +6 -2
- package/dist-types/commands/CreateExpressGatewayServiceCommand.d.ts +240 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +10 -0
- package/dist-types/commands/DeleteExpressGatewayServiceCommand.d.ts +187 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +10 -0
- package/dist-types/commands/DescribeExpressGatewayServiceCommand.d.ts +184 -0
- package/dist-types/commands/DescribeServiceRevisionsCommand.d.ts +105 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +10 -0
- package/dist-types/commands/ListServicesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateExpressGatewayServiceCommand.d.ts +222 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +76 -0
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +3808 -2758
- package/dist-types/schemas/schemas_0.d.ts +46 -0
- package/dist-types/ts3.4/ECS.d.ts +68 -0
- package/dist-types/ts3.4/ECSClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateExpressGatewayServiceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteExpressGatewayServiceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeExpressGatewayServiceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateExpressGatewayServiceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +229 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
- package/package.json +12 -12
package/dist-types/ECS.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
3
3
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
4
|
+
import { CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
4
5
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
5
6
|
import { CreateTaskSetCommandInput, CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
6
7
|
import { DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput } from "./commands/DeleteAccountSettingCommand";
|
|
7
8
|
import { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./commands/DeleteAttributesCommand";
|
|
8
9
|
import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
|
|
9
10
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
11
|
+
import { DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
10
12
|
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
11
13
|
import { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
12
14
|
import { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
|
|
@@ -15,6 +17,7 @@ import { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOu
|
|
|
15
17
|
import { DescribeCapacityProvidersCommandInput, DescribeCapacityProvidersCommandOutput } from "./commands/DescribeCapacityProvidersCommand";
|
|
16
18
|
import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
17
19
|
import { DescribeContainerInstancesCommandInput, DescribeContainerInstancesCommandOutput } from "./commands/DescribeContainerInstancesCommand";
|
|
20
|
+
import { DescribeExpressGatewayServiceCommandInput, DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
18
21
|
import { DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
19
22
|
import { DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
20
23
|
import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
|
|
@@ -55,6 +58,7 @@ import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./command
|
|
|
55
58
|
import { UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput } from "./commands/UpdateClusterSettingsCommand";
|
|
56
59
|
import { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput } from "./commands/UpdateContainerAgentCommand";
|
|
57
60
|
import { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
61
|
+
import { UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
58
62
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
59
63
|
import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
60
64
|
import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
|
|
@@ -74,6 +78,12 @@ export interface ECS {
|
|
|
74
78
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
75
79
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
76
80
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link CreateExpressGatewayServiceCommand}
|
|
83
|
+
*/
|
|
84
|
+
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, options?: __HttpHandlerOptions): Promise<CreateExpressGatewayServiceCommandOutput>;
|
|
85
|
+
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, cb: (err: any, data?: CreateExpressGatewayServiceCommandOutput) => void): void;
|
|
86
|
+
createExpressGatewayService(args: CreateExpressGatewayServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExpressGatewayServiceCommandOutput) => void): void;
|
|
77
87
|
/**
|
|
78
88
|
* @see {@link CreateServiceCommand}
|
|
79
89
|
*/
|
|
@@ -110,6 +120,12 @@ export interface ECS {
|
|
|
110
120
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
111
121
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
112
122
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link DeleteExpressGatewayServiceCommand}
|
|
125
|
+
*/
|
|
126
|
+
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExpressGatewayServiceCommandOutput>;
|
|
127
|
+
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, cb: (err: any, data?: DeleteExpressGatewayServiceCommandOutput) => void): void;
|
|
128
|
+
deleteExpressGatewayService(args: DeleteExpressGatewayServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExpressGatewayServiceCommandOutput) => void): void;
|
|
113
129
|
/**
|
|
114
130
|
* @see {@link DeleteServiceCommand}
|
|
115
131
|
*/
|
|
@@ -160,6 +176,12 @@ export interface ECS {
|
|
|
160
176
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContainerInstancesCommandOutput>;
|
|
161
177
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
162
178
|
describeContainerInstances(args: DescribeContainerInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContainerInstancesCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link DescribeExpressGatewayServiceCommand}
|
|
181
|
+
*/
|
|
182
|
+
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExpressGatewayServiceCommandOutput>;
|
|
183
|
+
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, cb: (err: any, data?: DescribeExpressGatewayServiceCommandOutput) => void): void;
|
|
184
|
+
describeExpressGatewayService(args: DescribeExpressGatewayServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExpressGatewayServiceCommandOutput) => void): void;
|
|
163
185
|
/**
|
|
164
186
|
* @see {@link DescribeServiceDeploymentsCommand}
|
|
165
187
|
*/
|
|
@@ -411,6 +433,12 @@ export interface ECS {
|
|
|
411
433
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContainerInstancesStateCommandOutput>;
|
|
412
434
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
413
435
|
updateContainerInstancesState(args: UpdateContainerInstancesStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContainerInstancesStateCommandOutput) => void): void;
|
|
436
|
+
/**
|
|
437
|
+
* @see {@link UpdateExpressGatewayServiceCommand}
|
|
438
|
+
*/
|
|
439
|
+
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExpressGatewayServiceCommandOutput>;
|
|
440
|
+
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, cb: (err: any, data?: UpdateExpressGatewayServiceCommandOutput) => void): void;
|
|
441
|
+
updateExpressGatewayService(args: UpdateExpressGatewayServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExpressGatewayServiceCommandOutput) => void): void;
|
|
414
442
|
/**
|
|
415
443
|
* @see {@link UpdateServiceCommand}
|
|
416
444
|
*/
|
|
@@ -9,12 +9,14 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
11
11
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
12
|
+
import { CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput } from "./commands/CreateExpressGatewayServiceCommand";
|
|
12
13
|
import { CreateServiceCommandInput, CreateServiceCommandOutput } from "./commands/CreateServiceCommand";
|
|
13
14
|
import { CreateTaskSetCommandInput, CreateTaskSetCommandOutput } from "./commands/CreateTaskSetCommand";
|
|
14
15
|
import { DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput } from "./commands/DeleteAccountSettingCommand";
|
|
15
16
|
import { DeleteAttributesCommandInput, DeleteAttributesCommandOutput } from "./commands/DeleteAttributesCommand";
|
|
16
17
|
import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
|
|
17
18
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
19
|
+
import { DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput } from "./commands/DeleteExpressGatewayServiceCommand";
|
|
18
20
|
import { DeleteServiceCommandInput, DeleteServiceCommandOutput } from "./commands/DeleteServiceCommand";
|
|
19
21
|
import { DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput } from "./commands/DeleteTaskDefinitionsCommand";
|
|
20
22
|
import { DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput } from "./commands/DeleteTaskSetCommand";
|
|
@@ -23,6 +25,7 @@ import { DeregisterTaskDefinitionCommandInput, DeregisterTaskDefinitionCommandOu
|
|
|
23
25
|
import { DescribeCapacityProvidersCommandInput, DescribeCapacityProvidersCommandOutput } from "./commands/DescribeCapacityProvidersCommand";
|
|
24
26
|
import { DescribeClustersCommandInput, DescribeClustersCommandOutput } from "./commands/DescribeClustersCommand";
|
|
25
27
|
import { DescribeContainerInstancesCommandInput, DescribeContainerInstancesCommandOutput } from "./commands/DescribeContainerInstancesCommand";
|
|
28
|
+
import { DescribeExpressGatewayServiceCommandInput, DescribeExpressGatewayServiceCommandOutput } from "./commands/DescribeExpressGatewayServiceCommand";
|
|
26
29
|
import { DescribeServiceDeploymentsCommandInput, DescribeServiceDeploymentsCommandOutput } from "./commands/DescribeServiceDeploymentsCommand";
|
|
27
30
|
import { DescribeServiceRevisionsCommandInput, DescribeServiceRevisionsCommandOutput } from "./commands/DescribeServiceRevisionsCommand";
|
|
28
31
|
import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
|
|
@@ -63,6 +66,7 @@ import { UpdateClusterCommandInput, UpdateClusterCommandOutput } from "./command
|
|
|
63
66
|
import { UpdateClusterSettingsCommandInput, UpdateClusterSettingsCommandOutput } from "./commands/UpdateClusterSettingsCommand";
|
|
64
67
|
import { UpdateContainerAgentCommandInput, UpdateContainerAgentCommandOutput } from "./commands/UpdateContainerAgentCommand";
|
|
65
68
|
import { UpdateContainerInstancesStateCommandInput, UpdateContainerInstancesStateCommandOutput } from "./commands/UpdateContainerInstancesStateCommand";
|
|
69
|
+
import { UpdateExpressGatewayServiceCommandInput, UpdateExpressGatewayServiceCommandOutput } from "./commands/UpdateExpressGatewayServiceCommand";
|
|
66
70
|
import { UpdateServiceCommandInput, UpdateServiceCommandOutput } from "./commands/UpdateServiceCommand";
|
|
67
71
|
import { UpdateServicePrimaryTaskSetCommandInput, UpdateServicePrimaryTaskSetCommandOutput } from "./commands/UpdateServicePrimaryTaskSetCommand";
|
|
68
72
|
import { UpdateTaskProtectionCommandInput, UpdateTaskProtectionCommandOutput } from "./commands/UpdateTaskProtectionCommand";
|
|
@@ -73,11 +77,11 @@ export { __Client };
|
|
|
73
77
|
/**
|
|
74
78
|
* @public
|
|
75
79
|
*/
|
|
76
|
-
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
80
|
+
export type ServiceInputTypes = CreateCapacityProviderCommandInput | CreateClusterCommandInput | CreateExpressGatewayServiceCommandInput | CreateServiceCommandInput | CreateTaskSetCommandInput | DeleteAccountSettingCommandInput | DeleteAttributesCommandInput | DeleteCapacityProviderCommandInput | DeleteClusterCommandInput | DeleteExpressGatewayServiceCommandInput | DeleteServiceCommandInput | DeleteTaskDefinitionsCommandInput | DeleteTaskSetCommandInput | DeregisterContainerInstanceCommandInput | DeregisterTaskDefinitionCommandInput | DescribeCapacityProvidersCommandInput | DescribeClustersCommandInput | DescribeContainerInstancesCommandInput | DescribeExpressGatewayServiceCommandInput | DescribeServiceDeploymentsCommandInput | DescribeServiceRevisionsCommandInput | DescribeServicesCommandInput | DescribeTaskDefinitionCommandInput | DescribeTaskSetsCommandInput | DescribeTasksCommandInput | DiscoverPollEndpointCommandInput | ExecuteCommandCommandInput | GetTaskProtectionCommandInput | ListAccountSettingsCommandInput | ListAttributesCommandInput | ListClustersCommandInput | ListContainerInstancesCommandInput | ListServiceDeploymentsCommandInput | ListServicesByNamespaceCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | ListTaskDefinitionFamiliesCommandInput | ListTaskDefinitionsCommandInput | ListTasksCommandInput | PutAccountSettingCommandInput | PutAccountSettingDefaultCommandInput | PutAttributesCommandInput | PutClusterCapacityProvidersCommandInput | RegisterContainerInstanceCommandInput | RegisterTaskDefinitionCommandInput | RunTaskCommandInput | StartTaskCommandInput | StopServiceDeploymentCommandInput | StopTaskCommandInput | SubmitAttachmentStateChangesCommandInput | SubmitContainerStateChangeCommandInput | SubmitTaskStateChangeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCapacityProviderCommandInput | UpdateClusterCommandInput | UpdateClusterSettingsCommandInput | UpdateContainerAgentCommandInput | UpdateContainerInstancesStateCommandInput | UpdateExpressGatewayServiceCommandInput | UpdateServiceCommandInput | UpdateServicePrimaryTaskSetCommandInput | UpdateTaskProtectionCommandInput | UpdateTaskSetCommandInput;
|
|
77
81
|
/**
|
|
78
82
|
* @public
|
|
79
83
|
*/
|
|
80
|
-
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
84
|
+
export type ServiceOutputTypes = CreateCapacityProviderCommandOutput | CreateClusterCommandOutput | CreateExpressGatewayServiceCommandOutput | CreateServiceCommandOutput | CreateTaskSetCommandOutput | DeleteAccountSettingCommandOutput | DeleteAttributesCommandOutput | DeleteCapacityProviderCommandOutput | DeleteClusterCommandOutput | DeleteExpressGatewayServiceCommandOutput | DeleteServiceCommandOutput | DeleteTaskDefinitionsCommandOutput | DeleteTaskSetCommandOutput | DeregisterContainerInstanceCommandOutput | DeregisterTaskDefinitionCommandOutput | DescribeCapacityProvidersCommandOutput | DescribeClustersCommandOutput | DescribeContainerInstancesCommandOutput | DescribeExpressGatewayServiceCommandOutput | DescribeServiceDeploymentsCommandOutput | DescribeServiceRevisionsCommandOutput | DescribeServicesCommandOutput | DescribeTaskDefinitionCommandOutput | DescribeTaskSetsCommandOutput | DescribeTasksCommandOutput | DiscoverPollEndpointCommandOutput | ExecuteCommandCommandOutput | GetTaskProtectionCommandOutput | ListAccountSettingsCommandOutput | ListAttributesCommandOutput | ListClustersCommandOutput | ListContainerInstancesCommandOutput | ListServiceDeploymentsCommandOutput | ListServicesByNamespaceCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | ListTaskDefinitionFamiliesCommandOutput | ListTaskDefinitionsCommandOutput | ListTasksCommandOutput | PutAccountSettingCommandOutput | PutAccountSettingDefaultCommandOutput | PutAttributesCommandOutput | PutClusterCapacityProvidersCommandOutput | RegisterContainerInstanceCommandOutput | RegisterTaskDefinitionCommandOutput | RunTaskCommandOutput | StartTaskCommandOutput | StopServiceDeploymentCommandOutput | StopTaskCommandOutput | SubmitAttachmentStateChangesCommandOutput | SubmitContainerStateChangeCommandOutput | SubmitTaskStateChangeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCapacityProviderCommandOutput | UpdateClusterCommandOutput | UpdateClusterSettingsCommandOutput | UpdateContainerAgentCommandOutput | UpdateContainerInstancesStateCommandOutput | UpdateExpressGatewayServiceCommandOutput | UpdateServiceCommandOutput | UpdateServicePrimaryTaskSetCommandOutput | UpdateTaskProtectionCommandOutput | UpdateTaskSetCommandOutput;
|
|
81
85
|
/**
|
|
82
86
|
* @public
|
|
83
87
|
*/
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
|
+
import { CreateExpressGatewayServiceRequest, CreateExpressGatewayServiceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateExpressGatewayServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateExpressGatewayServiceCommandInput extends CreateExpressGatewayServiceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateExpressGatewayServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateExpressGatewayServiceCommandOutput extends CreateExpressGatewayServiceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateExpressGatewayServiceCommand_base: {
|
|
25
|
+
new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateExpressGatewayServiceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateExpressGatewayServiceCommandInput, CreateExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an Express service that simplifies deploying containerized web applications on
|
|
31
|
+
* Amazon ECS with managed Amazon Web Services infrastructure. This operation provisions and configures
|
|
32
|
+
* Application Load Balancers, target groups, security groups, and auto-scaling policies
|
|
33
|
+
* automatically.</p>
|
|
34
|
+
* <p>Specify a primary container configuration with your application image and basic
|
|
35
|
+
* settings. Amazon ECS creates the necessary Amazon Web Services resources for traffic distribution, health
|
|
36
|
+
* monitoring, network access control, and capacity management.</p>
|
|
37
|
+
* <p>Provide an execution role for task operations and an infrastructure role for managing
|
|
38
|
+
* Amazon Web Services resources on your behalf.</p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { ECSClient, CreateExpressGatewayServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
43
|
+
* // const { ECSClient, CreateExpressGatewayServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
44
|
+
* // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
|
|
45
|
+
* const config = {}; // type is ECSClientConfig
|
|
46
|
+
* const client = new ECSClient(config);
|
|
47
|
+
* const input = { // CreateExpressGatewayServiceRequest
|
|
48
|
+
* executionRoleArn: "STRING_VALUE", // required
|
|
49
|
+
* infrastructureRoleArn: "STRING_VALUE", // required
|
|
50
|
+
* serviceName: "STRING_VALUE",
|
|
51
|
+
* cluster: "STRING_VALUE",
|
|
52
|
+
* healthCheckPath: "STRING_VALUE",
|
|
53
|
+
* primaryContainer: { // ExpressGatewayContainer
|
|
54
|
+
* image: "STRING_VALUE", // required
|
|
55
|
+
* containerPort: Number("int"),
|
|
56
|
+
* awsLogsConfiguration: { // ExpressGatewayServiceAwsLogsConfiguration
|
|
57
|
+
* logGroup: "STRING_VALUE", // required
|
|
58
|
+
* logStreamPrefix: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* repositoryCredentials: { // ExpressGatewayRepositoryCredentials
|
|
61
|
+
* credentialsParameter: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* command: [ // StringList
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* environment: [ // EnvironmentVariables
|
|
67
|
+
* { // KeyValuePair
|
|
68
|
+
* name: "STRING_VALUE",
|
|
69
|
+
* value: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* secrets: [ // SecretList
|
|
73
|
+
* { // Secret
|
|
74
|
+
* name: "STRING_VALUE", // required
|
|
75
|
+
* valueFrom: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* taskRoleArn: "STRING_VALUE",
|
|
80
|
+
* networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
81
|
+
* securityGroups: [
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* subnets: [
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* cpu: "STRING_VALUE",
|
|
89
|
+
* memory: "STRING_VALUE",
|
|
90
|
+
* scalingTarget: { // ExpressGatewayScalingTarget
|
|
91
|
+
* minTaskCount: Number("int"),
|
|
92
|
+
* maxTaskCount: Number("int"),
|
|
93
|
+
* autoScalingMetric: "AVERAGE_CPU" || "AVERAGE_MEMORY" || "REQUEST_COUNT_PER_TARGET",
|
|
94
|
+
* autoScalingTargetValue: Number("int"),
|
|
95
|
+
* },
|
|
96
|
+
* tags: [ // Tags
|
|
97
|
+
* { // Tag
|
|
98
|
+
* key: "STRING_VALUE",
|
|
99
|
+
* value: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* };
|
|
103
|
+
* const command = new CreateExpressGatewayServiceCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* // { // CreateExpressGatewayServiceResponse
|
|
106
|
+
* // service: { // ECSExpressGatewayService
|
|
107
|
+
* // cluster: "STRING_VALUE",
|
|
108
|
+
* // serviceName: "STRING_VALUE",
|
|
109
|
+
* // serviceArn: "STRING_VALUE",
|
|
110
|
+
* // infrastructureRoleArn: "STRING_VALUE",
|
|
111
|
+
* // status: { // ExpressGatewayServiceStatus
|
|
112
|
+
* // statusCode: "ACTIVE" || "DRAINING" || "INACTIVE",
|
|
113
|
+
* // statusReason: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // currentDeployment: "STRING_VALUE",
|
|
116
|
+
* // activeConfigurations: [ // ExpressGatewayServiceConfigurations
|
|
117
|
+
* // { // ExpressGatewayServiceConfiguration
|
|
118
|
+
* // serviceRevisionArn: "STRING_VALUE",
|
|
119
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
120
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
121
|
+
* // cpu: "STRING_VALUE",
|
|
122
|
+
* // memory: "STRING_VALUE",
|
|
123
|
+
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
124
|
+
* // securityGroups: [ // StringList
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // subnets: [
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // healthCheckPath: "STRING_VALUE",
|
|
132
|
+
* // primaryContainer: { // ExpressGatewayContainer
|
|
133
|
+
* // image: "STRING_VALUE", // required
|
|
134
|
+
* // containerPort: Number("int"),
|
|
135
|
+
* // awsLogsConfiguration: { // ExpressGatewayServiceAwsLogsConfiguration
|
|
136
|
+
* // logGroup: "STRING_VALUE", // required
|
|
137
|
+
* // logStreamPrefix: "STRING_VALUE", // required
|
|
138
|
+
* // },
|
|
139
|
+
* // repositoryCredentials: { // ExpressGatewayRepositoryCredentials
|
|
140
|
+
* // credentialsParameter: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // command: [
|
|
143
|
+
* // "STRING_VALUE",
|
|
144
|
+
* // ],
|
|
145
|
+
* // environment: [ // EnvironmentVariables
|
|
146
|
+
* // { // KeyValuePair
|
|
147
|
+
* // name: "STRING_VALUE",
|
|
148
|
+
* // value: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // ],
|
|
151
|
+
* // secrets: [ // SecretList
|
|
152
|
+
* // { // Secret
|
|
153
|
+
* // name: "STRING_VALUE", // required
|
|
154
|
+
* // valueFrom: "STRING_VALUE", // required
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // },
|
|
158
|
+
* // scalingTarget: { // ExpressGatewayScalingTarget
|
|
159
|
+
* // minTaskCount: Number("int"),
|
|
160
|
+
* // maxTaskCount: Number("int"),
|
|
161
|
+
* // autoScalingMetric: "AVERAGE_CPU" || "AVERAGE_MEMORY" || "REQUEST_COUNT_PER_TARGET",
|
|
162
|
+
* // autoScalingTargetValue: Number("int"),
|
|
163
|
+
* // },
|
|
164
|
+
* // ingressPaths: [ // IngressPathSummaries
|
|
165
|
+
* // { // IngressPathSummary
|
|
166
|
+
* // accessType: "PUBLIC" || "PRIVATE", // required
|
|
167
|
+
* // endpoint: "STRING_VALUE", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // tags: [ // Tags
|
|
174
|
+
* // { // Tag
|
|
175
|
+
* // key: "STRING_VALUE",
|
|
176
|
+
* // value: "STRING_VALUE",
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
180
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
181
|
+
* // },
|
|
182
|
+
* // };
|
|
183
|
+
*
|
|
184
|
+
* ```
|
|
185
|
+
*
|
|
186
|
+
* @param CreateExpressGatewayServiceCommandInput - {@link CreateExpressGatewayServiceCommandInput}
|
|
187
|
+
* @returns {@link CreateExpressGatewayServiceCommandOutput}
|
|
188
|
+
* @see {@link CreateExpressGatewayServiceCommandInput} for command's `input` shape.
|
|
189
|
+
* @see {@link CreateExpressGatewayServiceCommandOutput} for command's `response` shape.
|
|
190
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
193
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link ClientException} (client fault)
|
|
196
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
197
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
198
|
+
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
199
|
+
*
|
|
200
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
201
|
+
* <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>
|
|
202
|
+
*
|
|
203
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
204
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
205
|
+
* request.</p>
|
|
206
|
+
* <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
|
|
207
|
+
* service event messages</a>. </p>
|
|
208
|
+
*
|
|
209
|
+
* @throws {@link PlatformTaskDefinitionIncompatibilityException} (client fault)
|
|
210
|
+
* <p>The specified platform version doesn't satisfy the required capabilities of the task
|
|
211
|
+
* definition.</p>
|
|
212
|
+
*
|
|
213
|
+
* @throws {@link PlatformUnknownException} (client fault)
|
|
214
|
+
* <p>The specified platform version doesn't exist.</p>
|
|
215
|
+
*
|
|
216
|
+
* @throws {@link ServerException} (server fault)
|
|
217
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
218
|
+
*
|
|
219
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
220
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
221
|
+
*
|
|
222
|
+
* @throws {@link ECSServiceException}
|
|
223
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
224
|
+
*
|
|
225
|
+
*
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export declare class CreateExpressGatewayServiceCommand extends CreateExpressGatewayServiceCommand_base {
|
|
229
|
+
/** @internal type navigation helper, not in runtime. */
|
|
230
|
+
protected static __types: {
|
|
231
|
+
api: {
|
|
232
|
+
input: CreateExpressGatewayServiceRequest;
|
|
233
|
+
output: CreateExpressGatewayServiceResponse;
|
|
234
|
+
};
|
|
235
|
+
sdk: {
|
|
236
|
+
input: CreateExpressGatewayServiceCommandInput;
|
|
237
|
+
output: CreateExpressGatewayServiceCommandOutput;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
}
|
|
@@ -758,6 +758,15 @@ declare const CreateServiceCommand_base: {
|
|
|
758
758
|
* // },
|
|
759
759
|
* // ],
|
|
760
760
|
* // createdAt: new Date("TIMESTAMP"),
|
|
761
|
+
* // currentServiceDeployment: "STRING_VALUE",
|
|
762
|
+
* // currentServiceRevisions: [ // ServiceCurrentRevisionSummaryList
|
|
763
|
+
* // { // ServiceCurrentRevisionSummary
|
|
764
|
+
* // arn: "STRING_VALUE",
|
|
765
|
+
* // requestedTaskCount: Number("int"),
|
|
766
|
+
* // runningTaskCount: Number("int"),
|
|
767
|
+
* // pendingTaskCount: Number("int"),
|
|
768
|
+
* // },
|
|
769
|
+
* // ],
|
|
761
770
|
* // placementConstraints: [ // PlacementConstraints
|
|
762
771
|
* // { // PlacementConstraint
|
|
763
772
|
* // type: "distinctInstance" || "memberOf",
|
|
@@ -788,6 +797,7 @@ declare const CreateServiceCommand_base: {
|
|
|
788
797
|
* // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
789
798
|
* // enableExecuteCommand: true || false,
|
|
790
799
|
* // availabilityZoneRebalancing: "ENABLED" || "DISABLED",
|
|
800
|
+
* // resourceManagementType: "CUSTOMER" || "ECS",
|
|
791
801
|
* // },
|
|
792
802
|
* // };
|
|
793
803
|
*
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
4
|
+
import { DeleteExpressGatewayServiceRequest, DeleteExpressGatewayServiceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteExpressGatewayServiceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteExpressGatewayServiceCommandInput extends DeleteExpressGatewayServiceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteExpressGatewayServiceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteExpressGatewayServiceCommandOutput extends DeleteExpressGatewayServiceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteExpressGatewayServiceCommand_base: {
|
|
25
|
+
new (input: DeleteExpressGatewayServiceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteExpressGatewayServiceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteExpressGatewayServiceCommandInput, DeleteExpressGatewayServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an Express service and removes all associated Amazon Web Services resources. This operation
|
|
31
|
+
* stops service tasks, removes the Application Load Balancer, target groups, security groups,
|
|
32
|
+
* auto-scaling policies, and other managed infrastructure components.</p>
|
|
33
|
+
* <p>The service enters a <code>DRAINING</code> state where existing tasks complete current
|
|
34
|
+
* requests without starting new tasks. After all tasks stop, the service and infrastructure
|
|
35
|
+
* are permanently removed.</p>
|
|
36
|
+
* <p>This operation cannot be reversed. Back up important data and verify the service is no
|
|
37
|
+
* longer needed before deletion.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { ECSClient, DeleteExpressGatewayServiceCommand } from "@aws-sdk/client-ecs"; // ES Modules import
|
|
42
|
+
* // const { ECSClient, DeleteExpressGatewayServiceCommand } = require("@aws-sdk/client-ecs"); // CommonJS import
|
|
43
|
+
* // import type { ECSClientConfig } from "@aws-sdk/client-ecs";
|
|
44
|
+
* const config = {}; // type is ECSClientConfig
|
|
45
|
+
* const client = new ECSClient(config);
|
|
46
|
+
* const input = { // DeleteExpressGatewayServiceRequest
|
|
47
|
+
* serviceArn: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new DeleteExpressGatewayServiceCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // DeleteExpressGatewayServiceResponse
|
|
52
|
+
* // service: { // ECSExpressGatewayService
|
|
53
|
+
* // cluster: "STRING_VALUE",
|
|
54
|
+
* // serviceName: "STRING_VALUE",
|
|
55
|
+
* // serviceArn: "STRING_VALUE",
|
|
56
|
+
* // infrastructureRoleArn: "STRING_VALUE",
|
|
57
|
+
* // status: { // ExpressGatewayServiceStatus
|
|
58
|
+
* // statusCode: "ACTIVE" || "DRAINING" || "INACTIVE",
|
|
59
|
+
* // statusReason: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // currentDeployment: "STRING_VALUE",
|
|
62
|
+
* // activeConfigurations: [ // ExpressGatewayServiceConfigurations
|
|
63
|
+
* // { // ExpressGatewayServiceConfiguration
|
|
64
|
+
* // serviceRevisionArn: "STRING_VALUE",
|
|
65
|
+
* // executionRoleArn: "STRING_VALUE",
|
|
66
|
+
* // taskRoleArn: "STRING_VALUE",
|
|
67
|
+
* // cpu: "STRING_VALUE",
|
|
68
|
+
* // memory: "STRING_VALUE",
|
|
69
|
+
* // networkConfiguration: { // ExpressGatewayServiceNetworkConfiguration
|
|
70
|
+
* // securityGroups: [ // StringList
|
|
71
|
+
* // "STRING_VALUE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // subnets: [
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // healthCheckPath: "STRING_VALUE",
|
|
78
|
+
* // primaryContainer: { // ExpressGatewayContainer
|
|
79
|
+
* // image: "STRING_VALUE", // required
|
|
80
|
+
* // containerPort: Number("int"),
|
|
81
|
+
* // awsLogsConfiguration: { // ExpressGatewayServiceAwsLogsConfiguration
|
|
82
|
+
* // logGroup: "STRING_VALUE", // required
|
|
83
|
+
* // logStreamPrefix: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // repositoryCredentials: { // ExpressGatewayRepositoryCredentials
|
|
86
|
+
* // credentialsParameter: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // command: [
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // environment: [ // EnvironmentVariables
|
|
92
|
+
* // { // KeyValuePair
|
|
93
|
+
* // name: "STRING_VALUE",
|
|
94
|
+
* // value: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // secrets: [ // SecretList
|
|
98
|
+
* // { // Secret
|
|
99
|
+
* // name: "STRING_VALUE", // required
|
|
100
|
+
* // valueFrom: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // scalingTarget: { // ExpressGatewayScalingTarget
|
|
105
|
+
* // minTaskCount: Number("int"),
|
|
106
|
+
* // maxTaskCount: Number("int"),
|
|
107
|
+
* // autoScalingMetric: "AVERAGE_CPU" || "AVERAGE_MEMORY" || "REQUEST_COUNT_PER_TARGET",
|
|
108
|
+
* // autoScalingTargetValue: Number("int"),
|
|
109
|
+
* // },
|
|
110
|
+
* // ingressPaths: [ // IngressPathSummaries
|
|
111
|
+
* // { // IngressPathSummary
|
|
112
|
+
* // accessType: "PUBLIC" || "PRIVATE", // required
|
|
113
|
+
* // endpoint: "STRING_VALUE", // required
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // tags: [ // Tags
|
|
120
|
+
* // { // Tag
|
|
121
|
+
* // key: "STRING_VALUE",
|
|
122
|
+
* // value: "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
126
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
127
|
+
* // },
|
|
128
|
+
* // };
|
|
129
|
+
*
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @param DeleteExpressGatewayServiceCommandInput - {@link DeleteExpressGatewayServiceCommandInput}
|
|
133
|
+
* @returns {@link DeleteExpressGatewayServiceCommandOutput}
|
|
134
|
+
* @see {@link DeleteExpressGatewayServiceCommandInput} for command's `input` shape.
|
|
135
|
+
* @see {@link DeleteExpressGatewayServiceCommandOutput} for command's `response` shape.
|
|
136
|
+
* @see {@link ECSClientResolvedConfig | config} for ECSClient's `config` shape.
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
139
|
+
* <p>You don't have authorization to perform the requested action.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ClientException} (client fault)
|
|
142
|
+
* <p>These errors are usually caused by a client action. This client action might be using
|
|
143
|
+
* an action or resource on behalf of a user that doesn't have permissions to use the
|
|
144
|
+
* action or resource. Or, it might be specifying an identifier that isn't valid.</p>
|
|
145
|
+
*
|
|
146
|
+
* @throws {@link ClusterNotFoundException} (client fault)
|
|
147
|
+
* <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>
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
150
|
+
* <p>The specified parameter isn't valid. Review the available parameters for the API
|
|
151
|
+
* request.</p>
|
|
152
|
+
* <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
|
|
153
|
+
* service event messages</a>. </p>
|
|
154
|
+
*
|
|
155
|
+
* @throws {@link ServerException} (server fault)
|
|
156
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link ServiceNotActiveException} (client fault)
|
|
159
|
+
* <p>The specified service isn't active. You can't update a service that's inactive. If you
|
|
160
|
+
* have previously deleted a service, you can re-create it with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html">CreateService</a>.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link ServiceNotFoundException} (client fault)
|
|
163
|
+
* <p>The specified service wasn't found. You can view your available services with <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html">ListServices</a>. Amazon ECS services are cluster specific and Region
|
|
164
|
+
* specific.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link UnsupportedFeatureException} (client fault)
|
|
167
|
+
* <p>The specified task isn't supported in this Region.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link ECSServiceException}
|
|
170
|
+
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
171
|
+
*
|
|
172
|
+
*
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare class DeleteExpressGatewayServiceCommand extends DeleteExpressGatewayServiceCommand_base {
|
|
176
|
+
/** @internal type navigation helper, not in runtime. */
|
|
177
|
+
protected static __types: {
|
|
178
|
+
api: {
|
|
179
|
+
input: DeleteExpressGatewayServiceRequest;
|
|
180
|
+
output: DeleteExpressGatewayServiceResponse;
|
|
181
|
+
};
|
|
182
|
+
sdk: {
|
|
183
|
+
input: DeleteExpressGatewayServiceCommandInput;
|
|
184
|
+
output: DeleteExpressGatewayServiceCommandOutput;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
}
|
|
@@ -357,6 +357,15 @@ declare const DeleteServiceCommand_base: {
|
|
|
357
357
|
* // },
|
|
358
358
|
* // ],
|
|
359
359
|
* // createdAt: new Date("TIMESTAMP"),
|
|
360
|
+
* // currentServiceDeployment: "STRING_VALUE",
|
|
361
|
+
* // currentServiceRevisions: [ // ServiceCurrentRevisionSummaryList
|
|
362
|
+
* // { // ServiceCurrentRevisionSummary
|
|
363
|
+
* // arn: "STRING_VALUE",
|
|
364
|
+
* // requestedTaskCount: Number("int"),
|
|
365
|
+
* // runningTaskCount: Number("int"),
|
|
366
|
+
* // pendingTaskCount: Number("int"),
|
|
367
|
+
* // },
|
|
368
|
+
* // ],
|
|
360
369
|
* // placementConstraints: [ // PlacementConstraints
|
|
361
370
|
* // { // PlacementConstraint
|
|
362
371
|
* // type: "distinctInstance" || "memberOf",
|
|
@@ -387,6 +396,7 @@ declare const DeleteServiceCommand_base: {
|
|
|
387
396
|
* // propagateTags: "TASK_DEFINITION" || "SERVICE" || "NONE",
|
|
388
397
|
* // enableExecuteCommand: true || false,
|
|
389
398
|
* // availabilityZoneRebalancing: "ENABLED" || "DISABLED",
|
|
399
|
+
* // resourceManagementType: "CUSTOMER" || "ECS",
|
|
390
400
|
* // },
|
|
391
401
|
* // };
|
|
392
402
|
*
|