@aws-sdk/client-ecs 3.194.0 → 3.196.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/CHANGELOG.md +19 -0
- package/dist-cjs/ECSClient.js +11 -8
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +10 -0
- package/dist-cjs/commands/CreateClusterCommand.js +10 -0
- package/dist-cjs/commands/CreateServiceCommand.js +10 -0
- package/dist-cjs/commands/CreateTaskSetCommand.js +10 -0
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +10 -0
- package/dist-cjs/commands/DeleteAttributesCommand.js +10 -0
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +10 -0
- package/dist-cjs/commands/DeleteClusterCommand.js +10 -0
- package/dist-cjs/commands/DeleteServiceCommand.js +10 -0
- package/dist-cjs/commands/DeleteTaskSetCommand.js +10 -0
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +10 -0
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +10 -0
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +10 -0
- package/dist-cjs/commands/DescribeClustersCommand.js +10 -0
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +10 -0
- package/dist-cjs/commands/DescribeServicesCommand.js +10 -0
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +10 -0
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +10 -0
- package/dist-cjs/commands/DescribeTasksCommand.js +10 -0
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +10 -0
- package/dist-cjs/commands/ExecuteCommandCommand.js +10 -0
- package/dist-cjs/commands/ListAccountSettingsCommand.js +10 -0
- package/dist-cjs/commands/ListAttributesCommand.js +10 -0
- package/dist-cjs/commands/ListClustersCommand.js +10 -0
- package/dist-cjs/commands/ListContainerInstancesCommand.js +10 -0
- package/dist-cjs/commands/ListServicesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +10 -0
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +10 -0
- package/dist-cjs/commands/ListTasksCommand.js +10 -0
- package/dist-cjs/commands/PutAccountSettingCommand.js +10 -0
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +10 -0
- package/dist-cjs/commands/PutAttributesCommand.js +10 -0
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +10 -0
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +10 -0
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +10 -0
- package/dist-cjs/commands/RunTaskCommand.js +10 -0
- package/dist-cjs/commands/StartTaskCommand.js +10 -0
- package/dist-cjs/commands/StopTaskCommand.js +10 -0
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +10 -0
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +10 -0
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +10 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +10 -0
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +10 -0
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +10 -0
- package/dist-cjs/commands/UpdateServiceCommand.js +10 -0
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +10 -0
- package/dist-cjs/commands/UpdateTaskSetCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ECSClient.js +12 -9
- package/dist-es/commands/CreateCapacityProviderCommand.js +10 -0
- package/dist-es/commands/CreateClusterCommand.js +10 -0
- package/dist-es/commands/CreateServiceCommand.js +10 -0
- package/dist-es/commands/CreateTaskSetCommand.js +10 -0
- package/dist-es/commands/DeleteAccountSettingCommand.js +10 -0
- package/dist-es/commands/DeleteAttributesCommand.js +10 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +10 -0
- package/dist-es/commands/DeleteClusterCommand.js +10 -0
- package/dist-es/commands/DeleteServiceCommand.js +10 -0
- package/dist-es/commands/DeleteTaskSetCommand.js +10 -0
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +10 -0
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +10 -0
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +10 -0
- package/dist-es/commands/DescribeClustersCommand.js +10 -0
- package/dist-es/commands/DescribeContainerInstancesCommand.js +10 -0
- package/dist-es/commands/DescribeServicesCommand.js +10 -0
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +10 -0
- package/dist-es/commands/DescribeTaskSetsCommand.js +10 -0
- package/dist-es/commands/DescribeTasksCommand.js +10 -0
- package/dist-es/commands/DiscoverPollEndpointCommand.js +10 -0
- package/dist-es/commands/ExecuteCommandCommand.js +10 -0
- package/dist-es/commands/ListAccountSettingsCommand.js +10 -0
- package/dist-es/commands/ListAttributesCommand.js +10 -0
- package/dist-es/commands/ListClustersCommand.js +10 -0
- package/dist-es/commands/ListContainerInstancesCommand.js +10 -0
- package/dist-es/commands/ListServicesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +10 -0
- package/dist-es/commands/ListTaskDefinitionsCommand.js +10 -0
- package/dist-es/commands/ListTasksCommand.js +10 -0
- package/dist-es/commands/PutAccountSettingCommand.js +10 -0
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +10 -0
- package/dist-es/commands/PutAttributesCommand.js +10 -0
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +10 -0
- package/dist-es/commands/RegisterContainerInstanceCommand.js +10 -0
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +10 -0
- package/dist-es/commands/RunTaskCommand.js +10 -0
- package/dist-es/commands/StartTaskCommand.js +10 -0
- package/dist-es/commands/StopTaskCommand.js +10 -0
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +10 -0
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +10 -0
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +10 -0
- package/dist-es/commands/UpdateClusterCommand.js +10 -0
- package/dist-es/commands/UpdateClusterSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateContainerAgentCommand.js +10 -0
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +10 -0
- package/dist-es/commands/UpdateServiceCommand.js +10 -0
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +10 -0
- package/dist-es/commands/UpdateTaskSetCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ECSClient.d.ts +6 -9
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/commands/CreateTaskSetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccountSettingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +2 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTaskSetCommand.d.ts +2 -0
- package/dist-types/commands/DeregisterContainerInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeregisterTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCapacityProvidersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeContainerInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeServicesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTaskSetsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTasksCommand.d.ts +2 -0
- package/dist-types/commands/DiscoverPollEndpointCommand.d.ts +2 -0
- package/dist-types/commands/ExecuteCommandCommand.d.ts +2 -0
- package/dist-types/commands/ListAccountSettingsCommand.d.ts +2 -0
- package/dist-types/commands/ListAttributesCommand.d.ts +2 -0
- package/dist-types/commands/ListClustersCommand.d.ts +2 -0
- package/dist-types/commands/ListContainerInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ListServicesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -0
- package/dist-types/commands/ListTaskDefinitionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTasksCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountSettingCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountSettingDefaultCommand.d.ts +2 -0
- package/dist-types/commands/PutAttributesCommand.d.ts +2 -0
- package/dist-types/commands/PutClusterCapacityProvidersCommand.d.ts +2 -0
- package/dist-types/commands/RegisterContainerInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RegisterTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/commands/RunTaskCommand.d.ts +2 -0
- package/dist-types/commands/StartTaskCommand.d.ts +2 -0
- package/dist-types/commands/StopTaskCommand.d.ts +2 -0
- package/dist-types/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -0
- package/dist-types/commands/SubmitContainerStateChangeCommand.d.ts +2 -0
- package/dist-types/commands/SubmitTaskStateChangeCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +2 -0
- package/dist-types/commands/UpdateClusterSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContainerAgentCommand.d.ts +2 -0
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTaskSetCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ECSClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTaskSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccountSettingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTaskSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeregisterContainerInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeregisterTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCapacityProvidersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeContainerInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTaskSetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTasksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DiscoverPollEndpointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExecuteCommandCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccountSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListContainerInstancesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionFamiliesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTaskDefinitionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountSettingDefaultCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutClusterCapacityProvidersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterContainerInstanceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterTaskDefinitionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RunTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SubmitAttachmentStateChangesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SubmitContainerStateChangeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SubmitTaskStateChangeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateClusterSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContainerAgentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateContainerInstancesStateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServicePrimaryTaskSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTaskSetCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -185
- package/dist-es/endpoints.js +0 -181
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
|
|
|
21
22
|
ECSClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: TagResourceCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: TagResourceCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
|
|
|
24
25
|
ECSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UntagResourceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UntagResourceCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateCapacityProviderCommand extends $Command<
|
|
|
25
26
|
ECSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateCapacityProviderCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateCapacityProviderCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UpdateClusterCommand extends $Command<
|
|
|
24
25
|
ECSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UpdateClusterCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UpdateClusterCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateClusterSettingsCommand extends $Command<
|
|
|
25
26
|
ECSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateClusterSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateClusterSettingsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateContainerAgentCommand extends $Command<
|
|
|
25
26
|
ECSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateContainerAgentCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateContainerAgentCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateContainerInstancesStateCommand extends $Command<
|
|
|
25
26
|
ECSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateContainerInstancesStateCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateContainerInstancesStateCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UpdateServiceCommand extends $Command<
|
|
|
24
25
|
ECSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UpdateServiceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UpdateServiceCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateServicePrimaryTaskSetCommand extends $Command<
|
|
|
25
26
|
ECSClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateServicePrimaryTaskSetCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateServicePrimaryTaskSetCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UpdateTaskSetCommand extends $Command<
|
|
|
24
25
|
ECSClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UpdateTaskSetCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UpdateTaskSetCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare type ClientResolvedEndpointParameters =
|
|
12
|
+
ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
16
|
+
options: T & ClientInputEndpointParameters
|
|
17
|
+
) => T &
|
|
18
|
+
ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
22
|
+
Region?: string;
|
|
23
|
+
UseDualStack?: boolean;
|
|
24
|
+
UseFIPS?: boolean;
|
|
25
|
+
Endpoint?: string;
|
|
26
|
+
}
|
|
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
39
|
endpoint?:
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
44
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
45
55
|
tls?: boolean | undefined;
|
|
46
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
57
|
credentials?:
|
|
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
39
|
endpoint?:
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
44
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
45
55
|
tls?: boolean | undefined;
|
|
46
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
57
|
credentials?:
|
|
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
29
29
|
credentialDefaultProvider: (
|
|
30
30
|
input: any
|
|
31
31
|
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
32
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
33
32
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
34
33
|
import("@aws-sdk/types").UserAgent
|
|
35
34
|
>;
|
|
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
|
40
39
|
>;
|
|
41
40
|
endpoint?:
|
|
42
41
|
| string
|
|
43
|
-
| import("@aws-sdk/types").Endpoint
|
|
44
|
-
|
|
42
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
43
|
+
import("@aws-sdk/types").Provider<string>)
|
|
44
|
+
| (import("@aws-sdk/types").Endpoint &
|
|
45
|
+
import("@aws-sdk/types").Provider<string>)
|
|
46
|
+
| (import("@aws-sdk/types").EndpointV2 &
|
|
47
|
+
import("@aws-sdk/types").Provider<string>)
|
|
48
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
49
|
+
import("@aws-sdk/types").Provider<string>)
|
|
45
50
|
| undefined;
|
|
51
|
+
endpointProvider: (
|
|
52
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
53
|
+
context?: {
|
|
54
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
55
|
+
}
|
|
56
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
46
57
|
tls?: boolean | undefined;
|
|
47
58
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
48
59
|
credentials?:
|
|
@@ -3,8 +3,13 @@ import { ECSClientConfig } from "./ECSClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: ECSClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
5
|
disableHostPrefix: boolean;
|
|
6
|
+
endpointProvider: (
|
|
7
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
8
|
+
context?: {
|
|
9
|
+
logger?: __Logger | undefined;
|
|
10
|
+
}
|
|
11
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
6
12
|
logger: __Logger;
|
|
7
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
8
13
|
serviceId: string;
|
|
9
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
10
15
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.196.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.196.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.193.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.196.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.193.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.193.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.193.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.193.0",
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
47
48
|
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
48
49
|
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.196.0",
|
|
49
51
|
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
50
52
|
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
51
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"us-east-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "ecs-fips.us-east-1.amazonaws.com",
|
|
10
|
-
tags: ["fips"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"us-east-2": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "ecs-fips.us-east-2.amazonaws.com",
|
|
18
|
-
tags: ["fips"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"us-gov-east-1": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "ecs-fips.us-gov-east-1.amazonaws.com",
|
|
26
|
-
tags: ["fips"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"us-gov-west-1": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "ecs-fips.us-gov-west-1.amazonaws.com",
|
|
34
|
-
tags: ["fips"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
"us-west-1": {
|
|
39
|
-
variants: [
|
|
40
|
-
{
|
|
41
|
-
hostname: "ecs-fips.us-west-1.amazonaws.com",
|
|
42
|
-
tags: ["fips"],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
"us-west-2": {
|
|
47
|
-
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "ecs-fips.us-west-2.amazonaws.com",
|
|
50
|
-
tags: ["fips"],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
const partitionHash = {
|
|
56
|
-
aws: {
|
|
57
|
-
regions: [
|
|
58
|
-
"af-south-1",
|
|
59
|
-
"ap-east-1",
|
|
60
|
-
"ap-northeast-1",
|
|
61
|
-
"ap-northeast-2",
|
|
62
|
-
"ap-northeast-3",
|
|
63
|
-
"ap-south-1",
|
|
64
|
-
"ap-southeast-1",
|
|
65
|
-
"ap-southeast-2",
|
|
66
|
-
"ap-southeast-3",
|
|
67
|
-
"ca-central-1",
|
|
68
|
-
"eu-central-1",
|
|
69
|
-
"eu-north-1",
|
|
70
|
-
"eu-south-1",
|
|
71
|
-
"eu-west-1",
|
|
72
|
-
"eu-west-2",
|
|
73
|
-
"eu-west-3",
|
|
74
|
-
"fips-us-east-1",
|
|
75
|
-
"fips-us-east-2",
|
|
76
|
-
"fips-us-west-1",
|
|
77
|
-
"fips-us-west-2",
|
|
78
|
-
"me-central-1",
|
|
79
|
-
"me-south-1",
|
|
80
|
-
"sa-east-1",
|
|
81
|
-
"us-east-1",
|
|
82
|
-
"us-east-2",
|
|
83
|
-
"us-west-1",
|
|
84
|
-
"us-west-2",
|
|
85
|
-
],
|
|
86
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
87
|
-
variants: [
|
|
88
|
-
{
|
|
89
|
-
hostname: "ecs.{region}.amazonaws.com",
|
|
90
|
-
tags: [],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
hostname: "ecs-fips.{region}.amazonaws.com",
|
|
94
|
-
tags: ["fips"],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
hostname: "ecs-fips.{region}.api.aws",
|
|
98
|
-
tags: ["dualstack", "fips"],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
hostname: "ecs.{region}.api.aws",
|
|
102
|
-
tags: ["dualstack"],
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
},
|
|
106
|
-
"aws-cn": {
|
|
107
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
108
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
109
|
-
variants: [
|
|
110
|
-
{
|
|
111
|
-
hostname: "ecs.{region}.amazonaws.com.cn",
|
|
112
|
-
tags: [],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
hostname: "ecs-fips.{region}.amazonaws.com.cn",
|
|
116
|
-
tags: ["fips"],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
hostname: "ecs-fips.{region}.api.amazonwebservices.com.cn",
|
|
120
|
-
tags: ["dualstack", "fips"],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
hostname: "ecs.{region}.api.amazonwebservices.com.cn",
|
|
124
|
-
tags: ["dualstack"],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
"aws-iso": {
|
|
129
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
130
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
131
|
-
variants: [
|
|
132
|
-
{
|
|
133
|
-
hostname: "ecs.{region}.c2s.ic.gov",
|
|
134
|
-
tags: [],
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
hostname: "ecs-fips.{region}.c2s.ic.gov",
|
|
138
|
-
tags: ["fips"],
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
"aws-iso-b": {
|
|
143
|
-
regions: ["us-isob-east-1"],
|
|
144
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
145
|
-
variants: [
|
|
146
|
-
{
|
|
147
|
-
hostname: "ecs.{region}.sc2s.sgov.gov",
|
|
148
|
-
tags: [],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
hostname: "ecs-fips.{region}.sc2s.sgov.gov",
|
|
152
|
-
tags: ["fips"],
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
},
|
|
156
|
-
"aws-us-gov": {
|
|
157
|
-
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
158
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
159
|
-
variants: [
|
|
160
|
-
{
|
|
161
|
-
hostname: "ecs.{region}.amazonaws.com",
|
|
162
|
-
tags: [],
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
hostname: "ecs-fips.{region}.amazonaws.com",
|
|
166
|
-
tags: ["fips"],
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
hostname: "ecs-fips.{region}.api.aws",
|
|
170
|
-
tags: ["dualstack", "fips"],
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
hostname: "ecs.{region}.api.aws",
|
|
174
|
-
tags: ["dualstack"],
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
};
|
|
179
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
180
|
-
...options,
|
|
181
|
-
signingService: "ecs",
|
|
182
|
-
regionHash,
|
|
183
|
-
partitionHash,
|
|
184
|
-
});
|
|
185
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|