@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
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateTaskProtectionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ECSClient";
|
|
29
|
-
const commandName = "UpdateTaskProtectionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
38
|
-
operation: "UpdateTaskProtection",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateTaskProtectionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateTaskProtectionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateTaskProtectionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskProtection", {})
|
|
22
|
+
.n("ECSClient", "UpdateTaskProtectionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateTaskProtectionCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateTaskProtectionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateTaskProtectionCommand = UpdateTaskProtectionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateTaskSetCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ECSClient";
|
|
29
|
-
const commandName = "UpdateTaskSetCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
38
|
-
operation: "UpdateTaskSet",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateTaskSetCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateTaskSetCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateTaskSetCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AmazonEC2ContainerServiceV20141113", "UpdateTaskSet", {})
|
|
22
|
+
.n("ECSClient", "UpdateTaskSetCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateTaskSetCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateTaskSetCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateTaskSetCommand = UpdateTaskSetCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAccountSettings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAccountSettingsCommand_1 = require("../commands/ListAccountSettingsCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAccountSettingsCommand_1.ListAccountSettingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAccountSettings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAccountSettings = paginateListAccountSettings;
|
|
7
|
+
exports.paginateListAccountSettings = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListAccountSettingsCommand_1.ListAccountSettingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAttributes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAttributesCommand_1 = require("../commands/ListAttributesCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAttributesCommand_1.ListAttributesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAttributes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAttributes = paginateListAttributes;
|
|
7
|
+
exports.paginateListAttributes = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListAttributesCommand_1.ListAttributesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClusters = paginateListClusters;
|
|
7
|
+
exports.paginateListClusters = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListClustersCommand_1.ListClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContainerInstances = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContainerInstancesCommand_1 = require("../commands/ListContainerInstancesCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContainerInstancesCommand_1.ListContainerInstancesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContainerInstances(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListContainerInstances = paginateListContainerInstances;
|
|
7
|
+
exports.paginateListContainerInstances = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListContainerInstancesCommand_1.ListContainerInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServicesByNamespace = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServicesByNamespaceCommand_1 = require("../commands/ListServicesByNamespaceCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListServicesByNamespaceCommand_1.ListServicesByNamespaceCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListServicesByNamespace(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListServicesByNamespace = paginateListServicesByNamespace;
|
|
7
|
+
exports.paginateListServicesByNamespace = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListServicesByNamespaceCommand_1.ListServicesByNamespaceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListServices = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListServicesCommand_1 = require("../commands/ListServicesCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListServicesCommand_1.ListServicesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListServices(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListServices = paginateListServices;
|
|
7
|
+
exports.paginateListServices = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListServicesCommand_1.ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTaskDefinitionFamilies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTaskDefinitionFamiliesCommand_1 = require("../commands/ListTaskDefinitionFamiliesCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTaskDefinitionFamiliesCommand_1.ListTaskDefinitionFamiliesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTaskDefinitionFamilies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTaskDefinitionFamilies = paginateListTaskDefinitionFamilies;
|
|
7
|
+
exports.paginateListTaskDefinitionFamilies = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListTaskDefinitionFamiliesCommand_1.ListTaskDefinitionFamiliesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTaskDefinitions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTaskDefinitionsCommand_1 = require("../commands/ListTaskDefinitionsCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTaskDefinitionsCommand_1.ListTaskDefinitionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTaskDefinitions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTaskDefinitions = paginateListTaskDefinitions;
|
|
7
|
+
exports.paginateListTaskDefinitions = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListTaskDefinitionsCommand_1.ListTaskDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTasks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTasksCommand_1 = require("../commands/ListTasksCommand");
|
|
5
6
|
const ECSClient_1 = require("../ECSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTasksCommand_1.ListTasksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTasks(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ECSClient_1.ECSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTasks = paginateListTasks;
|
|
7
|
+
exports.paginateListTasks = (0, core_1.createPaginator)(ECSClient_1.ECSClient, ListTasksCommand_1.ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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_CreateCapacityProviderCommand, se_CreateCapacityProviderCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateCapacityProviderCommand 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 = "CreateCapacityProviderCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "CreateCapacityProvider",
|
|
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_CreateCapacityProviderCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateCapacityProviderCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateCapacityProviderCommand 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", "CreateCapacityProvider", {})
|
|
19
|
+
.n("ECSClient", "CreateCapacityProviderCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateCapacityProviderCommand)
|
|
22
|
+
.de(de_CreateCapacityProviderCommand)
|
|
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_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateClusterCommand 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 = "CreateClusterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "CreateCluster",
|
|
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_CreateClusterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateClusterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateClusterCommand 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", "CreateCluster", {})
|
|
19
|
+
.n("ECSClient", "CreateClusterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateClusterCommand)
|
|
22
|
+
.de(de_CreateClusterCommand)
|
|
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_CreateServiceCommand, se_CreateServiceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateServiceCommand 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 = "CreateServiceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AmazonEC2ContainerServiceV20141113",
|
|
35
|
-
operation: "CreateService",
|
|
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_CreateServiceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateServiceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateServiceCommand 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", "CreateService", {})
|
|
19
|
+
.n("ECSClient", "CreateServiceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateServiceCommand)
|
|
22
|
+
.de(de_CreateServiceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|