@aws-sdk/client-pcs 3.645.0 → 3.650.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/CreateClusterCommand.js +1 -3
- package/dist-cjs/commands/CreateComputeNodeGroupCommand.js +1 -3
- package/dist-cjs/commands/CreateQueueCommand.js +1 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +1 -3
- package/dist-cjs/commands/DeleteComputeNodeGroupCommand.js +1 -3
- package/dist-cjs/commands/DeleteQueueCommand.js +1 -3
- package/dist-cjs/commands/GetClusterCommand.js +1 -3
- package/dist-cjs/commands/GetComputeNodeGroupCommand.js +1 -3
- package/dist-cjs/commands/GetQueueCommand.js +1 -3
- package/dist-cjs/commands/ListClustersCommand.js +1 -3
- package/dist-cjs/commands/ListComputeNodeGroupsCommand.js +1 -3
- package/dist-cjs/commands/ListQueuesCommand.js +1 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-cjs/commands/RegisterComputeNodeGroupInstanceCommand.js +1 -3
- package/dist-cjs/commands/TagResourceCommand.js +1 -3
- package/dist-cjs/commands/UntagResourceCommand.js +1 -3
- package/dist-cjs/commands/UpdateComputeNodeGroupCommand.js +1 -3
- package/dist-cjs/commands/UpdateQueueCommand.js +1 -3
- package/dist-cjs/endpoint/endpointResolver.js +6 -2
- package/dist-es/commands/CreateClusterCommand.js +1 -3
- package/dist-es/commands/CreateComputeNodeGroupCommand.js +1 -3
- package/dist-es/commands/CreateQueueCommand.js +1 -3
- package/dist-es/commands/DeleteClusterCommand.js +1 -3
- package/dist-es/commands/DeleteComputeNodeGroupCommand.js +1 -3
- package/dist-es/commands/DeleteQueueCommand.js +1 -3
- package/dist-es/commands/GetClusterCommand.js +1 -3
- package/dist-es/commands/GetComputeNodeGroupCommand.js +1 -3
- package/dist-es/commands/GetQueueCommand.js +1 -3
- package/dist-es/commands/ListClustersCommand.js +1 -3
- package/dist-es/commands/ListComputeNodeGroupsCommand.js +1 -3
- package/dist-es/commands/ListQueuesCommand.js +1 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -3
- package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +1 -3
- package/dist-es/commands/TagResourceCommand.js +1 -3
- package/dist-es/commands/UntagResourceCommand.js +1 -3
- package/dist-es/commands/UpdateComputeNodeGroupCommand.js +1 -3
- package/dist-es/commands/UpdateQueueCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class CreateClusterCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class CreateComputeNodeGroupCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class CreateQueueCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class DeleteClusterCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class DeleteComputeNodeGroupCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class DeleteQueueCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class GetClusterCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class GetComputeNodeGroupCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class GetQueueCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class ListClustersCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class ListComputeNodeGroupsCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class ListQueuesCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -10,9 +10,7 @@ const models_0_1 = require("../models/models_0");
|
|
|
10
10
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
11
11
|
class RegisterComputeNodeGroupInstanceCommand extends smithy_client_1.Command
|
|
12
12
|
.classBuilder()
|
|
13
|
-
.ep(
|
|
14
|
-
...EndpointParameters_1.commonParams,
|
|
15
|
-
})
|
|
13
|
+
.ep(EndpointParameters_1.commonParams)
|
|
16
14
|
.m(function (Command, cs, config, o) {
|
|
17
15
|
return [
|
|
18
16
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class TagResourceCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class UpdateComputeNodeGroupCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -9,9 +9,7 @@ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
|
9
9
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
10
|
class UpdateQueueCommand extends smithy_client_1.Command
|
|
11
11
|
.classBuilder()
|
|
12
|
-
.ep(
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
15
13
|
.m(function (Command, cs, config, o) {
|
|
16
14
|
return [
|
|
17
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -6,9 +6,7 @@ import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateClusterCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_CreateComputeNodeGroupCommand, se_CreateComputeNodeGroupCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateComputeNodeGroupCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class CreateQueueCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteClusterCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteComputeNodeGroupCommand, se_DeleteComputeNodeGroupCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteComputeNodeGroupCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class DeleteQueueCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetClusterCommand, se_GetClusterCommand } from "../protocols/Aws_jso
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetClusterCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetComputeNodeGroupCommand, se_GetComputeNodeGroupCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetComputeNodeGroupCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_GetQueueCommand, se_GetQueueCommand } from "../protocols/Aws_json1_0
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class GetQueueCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListClustersCommand, se_ListClustersCommand } from "../protocols/Aws
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListClustersCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListComputeNodeGroupsCommand, se_ListComputeNodeGroupsCommand } from
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListComputeNodeGroupsCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_jso
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListQueuesCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class ListTagsForResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_RegisterComputeNodeGroupInstanceCommand, se_RegisterComputeNodeGroup
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RegisterComputeNodeGroupInstanceCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class TagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UntagResourceCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateComputeNodeGroupCommand, se_UpdateComputeNodeGroupCommand } fr
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateComputeNodeGroupCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -6,9 +6,7 @@ import { de_UpdateQueueCommand, se_UpdateQueueCommand } from "../protocols/Aws_j
|
|
|
6
6
|
export { $Command };
|
|
7
7
|
export class UpdateQueueCommand extends $Command
|
|
8
8
|
.classBuilder()
|
|
9
|
-
.ep(
|
|
10
|
-
...commonParams,
|
|
11
|
-
})
|
|
9
|
+
.ep(commonParams)
|
|
12
10
|
.m(function (Command, cs, config, o) {
|
|
13
11
|
return [
|
|
14
12
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
61
62
|
}
|
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
|
63
64
|
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
64
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
65
66
|
}
|
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
|
67
68
|
tls?: boolean | undefined;
|
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
|
68
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: PCSClientConfig) => {
|
|
|
55
56
|
}
|
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
|
57
58
|
tls?: boolean | undefined;
|
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
|
58
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PCSHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pcs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.650.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",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.650.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.650.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.650.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|