@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,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListContainerInstancesCommand, } from "../commands/ListContainerInstancesCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListContainerInstancesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListContainerInstances(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListContainerInstances = createPaginator(ECSClient, ListContainerInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServicesByNamespaceCommand, } from "../commands/ListServicesByNamespaceCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServicesByNamespaceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServicesByNamespace(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServicesByNamespace = createPaginator(ECSClient, ListServicesByNamespaceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServicesCommand, } from "../commands/ListServicesCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServicesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServices(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServices = createPaginator(ECSClient, ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTaskDefinitionFamiliesCommand, } from "../commands/ListTaskDefinitionFamiliesCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTaskDefinitionFamiliesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTaskDefinitionFamilies(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTaskDefinitionFamilies = createPaginator(ECSClient, ListTaskDefinitionFamiliesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTaskDefinitionsCommand, } from "../commands/ListTaskDefinitionsCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTaskDefinitionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTaskDefinitions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTaskDefinitions = createPaginator(ECSClient, ListTaskDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTasksCommand } from "../commands/ListTasksCommand";
|
|
2
3
|
import { ECSClient } from "../ECSClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTasksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTasks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ECSClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ECS | ECSClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTasks = createPaginator(ECSClient, ListTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { CreateCapacityProviderRequest, CreateCapacityProviderResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateCapacityProviderCommandInput extends CreateCapacityProvid
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateCapacityProviderCommandOutput extends CreateCapacityProviderResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateCapacityProviderCommand_base: {
|
|
24
|
+
new (input: CreateCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new capacity provider. Capacity providers are associated with an Amazon ECS
|
|
@@ -119,23 +122,5 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi
|
|
|
119
122
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
120
123
|
*
|
|
121
124
|
*/
|
|
122
|
-
export declare class CreateCapacityProviderCommand extends
|
|
123
|
-
readonly input: CreateCapacityProviderCommandInput;
|
|
124
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
125
|
-
/**
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
constructor(input: CreateCapacityProviderCommandInput);
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput>;
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
*/
|
|
136
|
-
private serialize;
|
|
137
|
-
/**
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
private deserialize;
|
|
125
|
+
export declare class CreateCapacityProviderCommand extends CreateCapacityProviderCommand_base {
|
|
141
126
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateClusterCommandInput extends CreateClusterRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateClusterCommand_base: {
|
|
24
|
+
new (input: CreateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new Amazon ECS cluster. By default, your account receives a <code>default</code>
|
|
@@ -204,23 +207,5 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
204
207
|
* ```
|
|
205
208
|
*
|
|
206
209
|
*/
|
|
207
|
-
export declare class CreateClusterCommand extends
|
|
208
|
-
readonly input: CreateClusterCommandInput;
|
|
209
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
210
|
-
/**
|
|
211
|
-
* @public
|
|
212
|
-
*/
|
|
213
|
-
constructor(input: CreateClusterCommandInput);
|
|
214
|
-
/**
|
|
215
|
-
* @internal
|
|
216
|
-
*/
|
|
217
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
|
|
218
|
-
/**
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
private serialize;
|
|
222
|
-
/**
|
|
223
|
-
* @internal
|
|
224
|
-
*/
|
|
225
|
-
private deserialize;
|
|
210
|
+
export declare class CreateClusterCommand extends CreateClusterCommand_base {
|
|
226
211
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { CreateServiceRequest, CreateServiceResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateServiceCommand_base: {
|
|
24
|
+
new (input: CreateServiceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateServiceCommandInput, CreateServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Runs and maintains your desired number of tasks from a specified task definition. If
|
|
@@ -619,23 +622,5 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
619
622
|
* ```
|
|
620
623
|
*
|
|
621
624
|
*/
|
|
622
|
-
export declare class CreateServiceCommand extends
|
|
623
|
-
readonly input: CreateServiceCommandInput;
|
|
624
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
625
|
-
/**
|
|
626
|
-
* @public
|
|
627
|
-
*/
|
|
628
|
-
constructor(input: CreateServiceCommandInput);
|
|
629
|
-
/**
|
|
630
|
-
* @internal
|
|
631
|
-
*/
|
|
632
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateServiceCommandInput, CreateServiceCommandOutput>;
|
|
633
|
-
/**
|
|
634
|
-
* @internal
|
|
635
|
-
*/
|
|
636
|
-
private serialize;
|
|
637
|
-
/**
|
|
638
|
-
* @internal
|
|
639
|
-
*/
|
|
640
|
-
private deserialize;
|
|
625
|
+
export declare class CreateServiceCommand extends CreateServiceCommand_base {
|
|
641
626
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { CreateTaskSetRequest, CreateTaskSetResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateTaskSetCommandInput extends CreateTaskSetRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateTaskSetCommand_base: {
|
|
24
|
+
new (input: CreateTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTaskSetCommandInput, CreateTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Create a task set in the specified cluster and service. This is used when a service
|
|
@@ -206,23 +209,5 @@ export interface CreateTaskSetCommandOutput extends CreateTaskSetResponse, __Met
|
|
|
206
209
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
207
210
|
*
|
|
208
211
|
*/
|
|
209
|
-
export declare class CreateTaskSetCommand extends
|
|
210
|
-
readonly input: CreateTaskSetCommandInput;
|
|
211
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
constructor(input: CreateTaskSetCommandInput);
|
|
216
|
-
/**
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTaskSetCommandInput, CreateTaskSetCommandOutput>;
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
private serialize;
|
|
224
|
-
/**
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
private deserialize;
|
|
212
|
+
export declare class CreateTaskSetCommand extends CreateTaskSetCommand_base {
|
|
228
213
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteAccountSettingRequest, DeleteAccountSettingResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteAccountSettingCommandInput extends DeleteAccountSettingRe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteAccountSettingCommand_base: {
|
|
24
|
+
new (input: DeleteAccountSettingCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Disables an account setting for a specified user, role, or the root user for
|
|
@@ -111,23 +114,5 @@ export interface DeleteAccountSettingCommandOutput extends DeleteAccountSettingR
|
|
|
111
114
|
* ```
|
|
112
115
|
*
|
|
113
116
|
*/
|
|
114
|
-
export declare class DeleteAccountSettingCommand extends
|
|
115
|
-
readonly input: DeleteAccountSettingCommandInput;
|
|
116
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
|
-
/**
|
|
118
|
-
* @public
|
|
119
|
-
*/
|
|
120
|
-
constructor(input: DeleteAccountSettingCommandInput);
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccountSettingCommandInput, DeleteAccountSettingCommandOutput>;
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
private serialize;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
private deserialize;
|
|
117
|
+
export declare class DeleteAccountSettingCommand extends DeleteAccountSettingCommand_base {
|
|
133
118
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteAttributesRequest, DeleteAttributesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteAttributesCommandInput extends DeleteAttributesRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteAttributesCommand_base: {
|
|
24
|
+
new (input: DeleteAttributesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAttributesCommandInput, DeleteAttributesCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes one or more custom attributes from an Amazon ECS resource.</p>
|
|
@@ -78,23 +81,5 @@ export interface DeleteAttributesCommandOutput extends DeleteAttributesResponse,
|
|
|
78
81
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
79
82
|
*
|
|
80
83
|
*/
|
|
81
|
-
export declare class DeleteAttributesCommand extends
|
|
82
|
-
readonly input: DeleteAttributesCommandInput;
|
|
83
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
constructor(input: DeleteAttributesCommandInput);
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAttributesCommandInput, DeleteAttributesCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private serialize;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private deserialize;
|
|
84
|
+
export declare class DeleteAttributesCommand extends DeleteAttributesCommand_base {
|
|
100
85
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteCapacityProviderRequest, DeleteCapacityProviderResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteCapacityProviderCommandInput extends DeleteCapacityProvid
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProviderResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteCapacityProviderCommand_base: {
|
|
24
|
+
new (input: DeleteCapacityProviderCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specified capacity provider.</p>
|
|
@@ -100,23 +103,5 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi
|
|
|
100
103
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
101
104
|
*
|
|
102
105
|
*/
|
|
103
|
-
export declare class DeleteCapacityProviderCommand extends
|
|
104
|
-
readonly input: DeleteCapacityProviderCommandInput;
|
|
105
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
-
/**
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
|
-
constructor(input: DeleteCapacityProviderCommandInput);
|
|
110
|
-
/**
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput>;
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
|
-
private serialize;
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
private deserialize;
|
|
106
|
+
export declare class DeleteCapacityProviderCommand extends DeleteCapacityProviderCommand_base {
|
|
122
107
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteClusterCommand_base: {
|
|
24
|
+
new (input: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specified cluster. The cluster transitions to the <code>INACTIVE</code>
|
|
@@ -181,23 +184,5 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
|
|
|
181
184
|
* ```
|
|
182
185
|
*
|
|
183
186
|
*/
|
|
184
|
-
export declare class DeleteClusterCommand extends
|
|
185
|
-
readonly input: DeleteClusterCommandInput;
|
|
186
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
187
|
-
/**
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
constructor(input: DeleteClusterCommandInput);
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
private serialize;
|
|
199
|
-
/**
|
|
200
|
-
* @internal
|
|
201
|
-
*/
|
|
202
|
-
private deserialize;
|
|
187
|
+
export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
|
|
203
188
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteServiceRequest, DeleteServiceResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteServiceCommandInput extends DeleteServiceRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteServiceCommand_base: {
|
|
24
|
+
new (input: DeleteServiceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceCommandInput, DeleteServiceCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a specified service within a cluster. You can delete a service if you have no
|
|
@@ -333,23 +336,5 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
|
|
|
333
336
|
* ```
|
|
334
337
|
*
|
|
335
338
|
*/
|
|
336
|
-
export declare class DeleteServiceCommand extends
|
|
337
|
-
readonly input: DeleteServiceCommandInput;
|
|
338
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
339
|
-
/**
|
|
340
|
-
* @public
|
|
341
|
-
*/
|
|
342
|
-
constructor(input: DeleteServiceCommandInput);
|
|
343
|
-
/**
|
|
344
|
-
* @internal
|
|
345
|
-
*/
|
|
346
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteServiceCommandInput, DeleteServiceCommandOutput>;
|
|
347
|
-
/**
|
|
348
|
-
* @internal
|
|
349
|
-
*/
|
|
350
|
-
private serialize;
|
|
351
|
-
/**
|
|
352
|
-
* @internal
|
|
353
|
-
*/
|
|
354
|
-
private deserialize;
|
|
339
|
+
export declare class DeleteServiceCommand extends DeleteServiceCommand_base {
|
|
355
340
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteTaskDefinitionsRequest, DeleteTaskDefinitionsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteTaskDefinitionsCommandInput extends DeleteTaskDefinitions
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinitionsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteTaskDefinitionsCommand_base: {
|
|
24
|
+
new (input: DeleteTaskDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes one or more task definitions.</p>
|
|
@@ -352,23 +355,5 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
|
|
|
352
355
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
353
356
|
*
|
|
354
357
|
*/
|
|
355
|
-
export declare class DeleteTaskDefinitionsCommand extends
|
|
356
|
-
readonly input: DeleteTaskDefinitionsCommandInput;
|
|
357
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
358
|
-
/**
|
|
359
|
-
* @public
|
|
360
|
-
*/
|
|
361
|
-
constructor(input: DeleteTaskDefinitionsCommandInput);
|
|
362
|
-
/**
|
|
363
|
-
* @internal
|
|
364
|
-
*/
|
|
365
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTaskDefinitionsCommandInput, DeleteTaskDefinitionsCommandOutput>;
|
|
366
|
-
/**
|
|
367
|
-
* @internal
|
|
368
|
-
*/
|
|
369
|
-
private serialize;
|
|
370
|
-
/**
|
|
371
|
-
* @internal
|
|
372
|
-
*/
|
|
373
|
-
private deserialize;
|
|
358
|
+
export declare class DeleteTaskDefinitionsCommand extends DeleteTaskDefinitionsCommand_base {
|
|
374
359
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECSClient";
|
|
5
4
|
import { DeleteTaskSetRequest, DeleteTaskSetResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteTaskSetCommandInput extends DeleteTaskSetRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteTaskSetCommand_base: {
|
|
24
|
+
new (input: DeleteTaskSetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput, ECSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a specified task set within a service. This is used when a service uses the
|
|
@@ -151,23 +154,5 @@ export interface DeleteTaskSetCommandOutput extends DeleteTaskSetResponse, __Met
|
|
|
151
154
|
* <p>Base exception class for all service exceptions from ECS service.</p>
|
|
152
155
|
*
|
|
153
156
|
*/
|
|
154
|
-
export declare class DeleteTaskSetCommand extends
|
|
155
|
-
readonly input: DeleteTaskSetCommandInput;
|
|
156
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
157
|
-
/**
|
|
158
|
-
* @public
|
|
159
|
-
*/
|
|
160
|
-
constructor(input: DeleteTaskSetCommandInput);
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTaskSetCommandInput, DeleteTaskSetCommandOutput>;
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
private serialize;
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
*/
|
|
172
|
-
private deserialize;
|
|
157
|
+
export declare class DeleteTaskSetCommand extends DeleteTaskSetCommand_base {
|
|
173
158
|
}
|