@aws-sdk/client-ecs 3.184.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/ECS.js +217 -210
- package/dist-es/ECSClient.js +28 -22
- package/dist-es/commands/CreateCapacityProviderCommand.js +28 -21
- package/dist-es/commands/CreateClusterCommand.js +28 -21
- package/dist-es/commands/CreateServiceCommand.js +28 -21
- package/dist-es/commands/CreateTaskSetCommand.js +28 -21
- package/dist-es/commands/DeleteAccountSettingCommand.js +28 -21
- package/dist-es/commands/DeleteAttributesCommand.js +28 -21
- package/dist-es/commands/DeleteCapacityProviderCommand.js +28 -21
- package/dist-es/commands/DeleteClusterCommand.js +28 -21
- package/dist-es/commands/DeleteServiceCommand.js +28 -21
- package/dist-es/commands/DeleteTaskSetCommand.js +28 -21
- package/dist-es/commands/DeregisterContainerInstanceCommand.js +28 -21
- package/dist-es/commands/DeregisterTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeCapacityProvidersCommand.js +28 -21
- package/dist-es/commands/DescribeClustersCommand.js +28 -21
- package/dist-es/commands/DescribeContainerInstancesCommand.js +28 -21
- package/dist-es/commands/DescribeServicesCommand.js +28 -21
- package/dist-es/commands/DescribeTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeTaskSetsCommand.js +28 -21
- package/dist-es/commands/DescribeTasksCommand.js +28 -21
- package/dist-es/commands/DiscoverPollEndpointCommand.js +28 -21
- package/dist-es/commands/ExecuteCommandCommand.js +28 -21
- package/dist-es/commands/ListAccountSettingsCommand.js +28 -21
- package/dist-es/commands/ListAttributesCommand.js +28 -21
- package/dist-es/commands/ListClustersCommand.js +28 -21
- package/dist-es/commands/ListContainerInstancesCommand.js +28 -21
- package/dist-es/commands/ListServicesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTaskDefinitionFamiliesCommand.js +28 -21
- package/dist-es/commands/ListTaskDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListTasksCommand.js +28 -21
- package/dist-es/commands/PutAccountSettingCommand.js +28 -21
- package/dist-es/commands/PutAccountSettingDefaultCommand.js +28 -21
- package/dist-es/commands/PutAttributesCommand.js +28 -21
- package/dist-es/commands/PutClusterCapacityProvidersCommand.js +28 -21
- package/dist-es/commands/RegisterContainerInstanceCommand.js +28 -21
- package/dist-es/commands/RegisterTaskDefinitionCommand.js +28 -21
- package/dist-es/commands/RunTaskCommand.js +28 -21
- package/dist-es/commands/StartTaskCommand.js +28 -21
- package/dist-es/commands/StopTaskCommand.js +28 -21
- package/dist-es/commands/SubmitAttachmentStateChangesCommand.js +28 -21
- package/dist-es/commands/SubmitContainerStateChangeCommand.js +28 -21
- package/dist-es/commands/SubmitTaskStateChangeCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateCapacityProviderCommand.js +28 -21
- package/dist-es/commands/UpdateClusterCommand.js +28 -21
- package/dist-es/commands/UpdateClusterSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateContainerAgentCommand.js +28 -21
- package/dist-es/commands/UpdateContainerInstancesStateCommand.js +28 -21
- package/dist-es/commands/UpdateServiceCommand.js +28 -21
- package/dist-es/commands/UpdateServicePrimaryTaskSetCommand.js +28 -21
- package/dist-es/commands/UpdateTaskSetCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ECSServiceException.js +10 -5
- package/dist-es/models/models_0.js +449 -818
- package/dist-es/pagination/ListAccountSettingsPaginator.js +68 -25
- package/dist-es/pagination/ListAttributesPaginator.js +68 -25
- package/dist-es/pagination/ListClustersPaginator.js +68 -25
- package/dist-es/pagination/ListContainerInstancesPaginator.js +68 -25
- package/dist-es/pagination/ListServicesPaginator.js +68 -25
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +68 -25
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListTasksPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +5280 -4631
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForServicesInactive.js +88 -47
- package/dist-es/waiters/waitForServicesStable.js +123 -72
- package/dist-es/waiters/waitForTasksRunning.js +114 -63
- package/dist-es/waiters/waitForTasksStopped.js +67 -36
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateServiceRequestFilterSensitiveLog, UpdateServiceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateServiceCommand, serializeAws_json1_1UpdateServiceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServiceCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServiceCommand, _super);
|
|
8
|
+
function UpdateServiceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "UpdateServiceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServiceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServiceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateServiceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateServiceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServiceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateServiceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServiceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServiceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateServicePrimaryTaskSetRequestFilterSensitiveLog, UpdateServicePrimaryTaskSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand, serializeAws_json1_1UpdateServicePrimaryTaskSetCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateServicePrimaryTaskSetCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateServicePrimaryTaskSetCommand, _super);
|
|
8
|
+
function UpdateServicePrimaryTaskSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateServicePrimaryTaskSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "UpdateServicePrimaryTaskSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateServicePrimaryTaskSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateServicePrimaryTaskSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateServicePrimaryTaskSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateServicePrimaryTaskSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateServicePrimaryTaskSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateServicePrimaryTaskSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateServicePrimaryTaskSetCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateTaskSetRequestFilterSensitiveLog, UpdateTaskSetResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1UpdateTaskSetCommand, serializeAws_json1_1UpdateTaskSetCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTaskSetCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTaskSetCommand, _super);
|
|
8
|
+
function UpdateTaskSetCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTaskSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ECSClient";
|
|
18
|
+
var commandName = "UpdateTaskSetCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTaskSetRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTaskSetResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateTaskSetCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateTaskSetCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTaskSetCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateTaskSetCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTaskSetCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTaskSetCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -49,7 +50,7 @@ const regionHash = {
|
|
|
49
50
|
],
|
|
50
51
|
},
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
var partitionHash = {
|
|
53
54
|
aws: {
|
|
54
55
|
regions: [
|
|
55
56
|
"af-south-1",
|
|
@@ -173,9 +174,8 @@ const partitionHash = {
|
|
|
173
174
|
],
|
|
174
175
|
},
|
|
175
176
|
};
|
|
176
|
-
export
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
});
|
|
177
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
178
|
+
return __generator(this, function (_a) {
|
|
179
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ecs", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
180
|
+
});
|
|
181
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ECSServiceException = (function (_super) {
|
|
4
|
+
__extends(ECSServiceException, _super);
|
|
5
|
+
function ECSServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ECSServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ECSServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ECSServiceException };
|