@aws-sdk/client-ecs 3.477.0 → 3.481.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/dist-cjs/commands/CreateCapacityProviderCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateServiceCommand.js +18 -41
- package/dist-cjs/commands/CreateTaskSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +18 -41
- package/dist-cjs/commands/DeleteAttributesCommand.js +18 -41
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteServiceCommand.js +18 -41
- package/dist-cjs/commands/DeleteTaskDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/DeleteTaskSetCommand.js +18 -41
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +18 -41
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +18 -41
- package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +18 -41
- package/dist-cjs/commands/DescribeServicesCommand.js +18 -41
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +18 -41
- package/dist-cjs/commands/DescribeTasksCommand.js +18 -41
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +18 -41
- package/dist-cjs/commands/ExecuteCommandCommand.js +18 -41
- package/dist-cjs/commands/GetTaskProtectionCommand.js +18 -41
- package/dist-cjs/commands/ListAccountSettingsCommand.js +18 -41
- package/dist-cjs/commands/ListAttributesCommand.js +18 -41
- package/dist-cjs/commands/ListClustersCommand.js +18 -41
- package/dist-cjs/commands/ListContainerInstancesCommand.js +18 -41
- package/dist-cjs/commands/ListServicesByNamespaceCommand.js +18 -41
- package/dist-cjs/commands/ListServicesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +18 -41
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/ListTasksCommand.js +18 -41
- package/dist-cjs/commands/PutAccountSettingCommand.js +18 -41
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +18 -41
- package/dist-cjs/commands/PutAttributesCommand.js +18 -41
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +18 -41
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +18 -41
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +18 -41
- package/dist-cjs/commands/RunTaskCommand.js +18 -41
- package/dist-cjs/commands/StartTaskCommand.js +18 -41
- package/dist-cjs/commands/StopTaskCommand.js +18 -41
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +18 -41
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +18 -41
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +18 -41
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +18 -41
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +18 -41
- package/dist-cjs/commands/UpdateServiceCommand.js +18 -41
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateTaskProtectionCommand.js +18 -41
- package/dist-cjs/commands/UpdateTaskSetCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAccountSettingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAttributesPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListContainerInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/ListServicesByNamespacePaginator.js +2 -24
- package/dist-cjs/pagination/ListServicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTaskDefinitionFamiliesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTaskDefinitionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTasksPaginator.js +2 -24
- package/dist-es/commands/CreateCapacityProviderCommand.js +18 -41
- package/dist-es/commands/CreateClusterCommand.js +18 -41
- package/dist-es/commands/CreateServiceCommand.js +18 -41
- package/dist-es/commands/CreateTaskSetCommand.js +18 -41
- package/dist-es/commands/DeleteAccountSettingCommand.js +18 -41
- package/dist-es/commands/DeleteAttributesCommand.js +18 -41
- package/dist-es/commands/DeleteCapacityProviderCommand.js +18 -41
- package/dist-es/commands/DeleteClusterCommand.js +18 -41
- package/dist-es/commands/DeleteServiceCommand.js +18 -41
- package/dist-es/commands/DeleteTaskDefinitionsCommand.js +18 -41
- package/dist-es/commands/DeleteTaskSetCommand.js +18 -41
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +18 -41
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +18 -41
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +18 -41
- package/dist-es/commands/DescribeClustersCommand.js +18 -41
- package/dist-es/commands/DescribeContainerInstancesCommand.js +18 -41
- package/dist-es/commands/DescribeServicesCommand.js +18 -41
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +18 -41
- package/dist-es/commands/DescribeTaskSetsCommand.js +18 -41
- package/dist-es/commands/DescribeTasksCommand.js +18 -41
- package/dist-es/commands/DiscoverPollEndpointCommand.js +18 -41
- package/dist-es/commands/ExecuteCommandCommand.js +18 -41
- package/dist-es/commands/GetTaskProtectionCommand.js +18 -41
- package/dist-es/commands/ListAccountSettingsCommand.js +18 -41
- package/dist-es/commands/ListAttributesCommand.js +18 -41
- package/dist-es/commands/ListClustersCommand.js +18 -41
- package/dist-es/commands/ListContainerInstancesCommand.js +18 -41
- package/dist-es/commands/ListServicesByNamespaceCommand.js +18 -41
- package/dist-es/commands/ListServicesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +18 -41
- package/dist-es/commands/ListTaskDefinitionsCommand.js +18 -41
- package/dist-es/commands/ListTasksCommand.js +18 -41
- package/dist-es/commands/PutAccountSettingCommand.js +18 -41
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +18 -41
- package/dist-es/commands/PutAttributesCommand.js +18 -41
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +18 -41
- package/dist-es/commands/RegisterContainerInstanceCommand.js +18 -41
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +18 -41
- package/dist-es/commands/RunTaskCommand.js +18 -41
- package/dist-es/commands/StartTaskCommand.js +18 -41
- package/dist-es/commands/StopTaskCommand.js +18 -41
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +18 -41
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +18 -41
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCapacityProviderCommand.js +18 -41
- package/dist-es/commands/UpdateClusterCommand.js +18 -41
- package/dist-es/commands/UpdateClusterSettingsCommand.js +18 -41
- package/dist-es/commands/UpdateContainerAgentCommand.js +18 -41
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +18 -41
- package/dist-es/commands/UpdateServiceCommand.js +18 -41
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +18 -41
- package/dist-es/commands/UpdateTaskProtectionCommand.js +18 -41
- package/dist-es/commands/UpdateTaskSetCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAccountSettingsPaginator.js +2 -23
- package/dist-es/pagination/ListAttributesPaginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListContainerInstancesPaginator.js +2 -23
- package/dist-es/pagination/ListServicesByNamespacePaginator.js +2 -23
- package/dist-es/pagination/ListServicesPaginator.js +2 -23
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +2 -23
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +2 -23
- package/dist-es/pagination/ListTasksPaginator.js +2 -23
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateServiceCommand.d.ts +6 -21
- package/dist-types/commands/CreateTaskSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAttributesCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteServiceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTaskDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeServicesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTasksCommand.d.ts +6 -21
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +6 -21
- package/dist-types/commands/ExecuteCommandCommand.d.ts +6 -21
- package/dist-types/commands/GetTaskProtectionCommand.d.ts +6 -21
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +6 -21
- package/dist-types/commands/ListAttributesCommand.d.ts +6 -21
- package/dist-types/commands/ListClustersCommand.d.ts +6 -21
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +6 -21
- package/dist-types/commands/ListServicesByNamespaceCommand.d.ts +6 -21
- package/dist-types/commands/ListServicesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +6 -21
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTasksCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountSettingCommand.d.ts +6 -21
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +6 -21
- package/dist-types/commands/PutAttributesCommand.d.ts +6 -21
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +6 -21
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +6 -21
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/RunTaskCommand.d.ts +6 -21
- package/dist-types/commands/StartTaskCommand.d.ts +6 -21
- package/dist-types/commands/StopTaskCommand.d.ts +6 -21
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +6 -21
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +6 -21
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTaskProtectionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAccountSettingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttributesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContainerInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServicesByNamespacePaginator.d.ts +1 -1
- package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTaskDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTasksPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteTaskDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTaskProtectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListServicesByNamespaceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTaskProtectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAccountSettingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAttributesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContainerInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServicesByNamespacePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTaskDefinitionFamiliesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTaskDefinitionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_RunTaskCommand, se_RunTaskCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class RunTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "RunTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "RunTask",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_RunTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_RunTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class RunTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "RunTask", {})
|
|
19
|
+
.n("ECSClient", "RunTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_RunTaskCommand)
|
|
22
|
+
.de(de_RunTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartTaskCommand, se_StartTaskCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "StartTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "StartTask",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "StartTask", {})
|
|
19
|
+
.n("ECSClient", "StartTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartTaskCommand)
|
|
22
|
+
.de(de_StartTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopTaskCommand, se_StopTaskCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopTaskCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "StopTaskCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "StopTask",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopTaskCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopTaskCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopTaskCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "StopTask", {})
|
|
19
|
+
.n("ECSClient", "StopTaskCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopTaskCommand)
|
|
22
|
+
.de(de_StopTaskCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SubmitAttachmentStateChangesCommand, se_SubmitAttachmentStateChangesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SubmitAttachmentStateChangesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "SubmitAttachmentStateChangesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "SubmitAttachmentStateChanges",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SubmitAttachmentStateChangesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SubmitAttachmentStateChangesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SubmitAttachmentStateChangesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "SubmitAttachmentStateChanges", {})
|
|
19
|
+
.n("ECSClient", "SubmitAttachmentStateChangesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SubmitAttachmentStateChangesCommand)
|
|
22
|
+
.de(de_SubmitAttachmentStateChangesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SubmitContainerStateChangeCommand, se_SubmitContainerStateChangeCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SubmitContainerStateChangeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "SubmitContainerStateChangeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "SubmitContainerStateChange",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SubmitContainerStateChangeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SubmitContainerStateChangeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SubmitContainerStateChangeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "SubmitContainerStateChange", {})
|
|
19
|
+
.n("ECSClient", "SubmitContainerStateChangeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SubmitContainerStateChangeCommand)
|
|
22
|
+
.de(de_SubmitContainerStateChangeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SubmitTaskStateChangeCommand, se_SubmitTaskStateChangeCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SubmitTaskStateChangeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "SubmitTaskStateChangeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "SubmitTaskStateChange",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SubmitTaskStateChangeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SubmitTaskStateChangeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SubmitTaskStateChangeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "SubmitTaskStateChange", {})
|
|
19
|
+
.n("ECSClient", "SubmitTaskStateChangeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SubmitTaskStateChangeCommand)
|
|
22
|
+
.de(de_SubmitTaskStateChangeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "TagResource", {})
|
|
19
|
+
.n("ECSClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "UntagResource", {})
|
|
19
|
+
.n("ECSClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateCapacityProviderCommand, se_UpdateCapacityProviderCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateCapacityProviderCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ECSClient";
|
|
26
|
-
const commandName = "UpdateCapacityProviderCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "UpdateCapacityProvider",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateCapacityProviderCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateCapacityProviderCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateCapacityProviderCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerServiceV20141113", "UpdateCapacityProvider", {})
|
|
19
|
+
.n("ECSClient", "UpdateCapacityProviderCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateCapacityProviderCommand)
|
|
22
|
+
.de(de_UpdateCapacityProviderCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|