@aws-sdk/client-docdb-elastic 3.362.0 → 3.369.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/DocDBElastic.js +1 -1
- package/dist-cjs/DocDBElasticClient.js +5 -5
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/GetClusterCommand.js +3 -3
- package/dist-cjs/commands/GetClusterSnapshotCommand.js +3 -3
- package/dist-cjs/commands/ListClusterSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RestoreClusterFromSnapshotCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
- package/dist-cjs/models/DocDBElasticServiceException.js +1 -1
- package/dist-cjs/models/models_0.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/DocDBElastic.js +1 -1
- package/dist-es/DocDBElasticClient.js +5 -5
- package/dist-es/commands/CreateClusterCommand.js +3 -3
- package/dist-es/commands/CreateClusterSnapshotCommand.js +3 -3
- package/dist-es/commands/DeleteClusterCommand.js +3 -3
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +3 -3
- package/dist-es/commands/GetClusterCommand.js +3 -3
- package/dist-es/commands/GetClusterSnapshotCommand.js +3 -3
- package/dist-es/commands/ListClusterSnapshotsCommand.js +3 -3
- package/dist-es/commands/ListClustersCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateClusterCommand.js +3 -3
- package/dist-es/models/DocDBElasticServiceException.js +1 -1
- package/dist-es/models/models_0.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/DocDBElastic.d.ts +1 -1
- package/dist-types/DocDBElasticClient.d.ts +8 -8
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -3
- package/dist-types/commands/CreateClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/GetClusterCommand.d.ts +3 -3
- package/dist-types/commands/GetClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/ListClusterSnapshotsCommand.d.ts +3 -3
- package/dist-types/commands/ListClustersCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/RestoreClusterFromSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateClusterCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/DocDBElasticServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/DocDBElastic.d.ts +1 -1
- package/dist-types/ts3.4/DocDBElasticClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/CreateClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetClusterSnapshotCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListClusterSnapshotsCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/RestoreClusterFromSnapshotCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/DocDBElasticServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +34 -33
package/dist-cjs/DocDBElastic.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocDBElastic = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
|
|
6
6
|
const CreateClusterSnapshotCommand_1 = require("./commands/CreateClusterSnapshotCommand");
|
|
7
7
|
const DeleteClusterCommand_1 = require("./commands/DeleteClusterCommand");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocDBElasticClient = exports.__Client = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
-
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
7
4
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
8
5
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
9
6
|
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
10
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
7
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
8
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
|
-
const
|
|
9
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
|
+
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
14
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
16
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateClusterCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateClusterSnapshotCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class CreateClusterSnapshotCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteClusterCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class DeleteClusterCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteClusterSnapshotCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class DeleteClusterSnapshotCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetClusterCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class GetClusterCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetClusterSnapshotCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class GetClusterSnapshotCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListClusterSnapshotsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class ListClusterSnapshotsCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListClustersCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class ListClustersCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RestoreClusterFromSnapshotCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class RestoreClusterFromSnapshotCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
9
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateClusterCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@
|
|
5
|
-
const middleware_serde_1 = require("@
|
|
6
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocDBElasticServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
6
|
class DocDBElasticServiceException extends smithy_client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateClusterInputFilterSensitiveLog = exports.CreateClusterInputFilterSensitiveLog = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Status = exports.ConflictException = exports.Auth = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const DocDBElasticServiceException_1 = require("./DocDBElasticServiceException");
|
|
6
6
|
class AccessDeniedException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_UpdateClusterCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RestoreClusterFromSnapshotCommand = exports.de_ListTagsForResourceCommand = exports.de_ListClusterSnapshotsCommand = exports.de_ListClustersCommand = exports.de_GetClusterSnapshotCommand = exports.de_GetClusterCommand = exports.de_DeleteClusterSnapshotCommand = exports.de_DeleteClusterCommand = exports.de_CreateClusterSnapshotCommand = exports.de_CreateClusterCommand = exports.se_UpdateClusterCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RestoreClusterFromSnapshotCommand = exports.se_ListTagsForResourceCommand = exports.se_ListClusterSnapshotsCommand = exports.se_ListClustersCommand = exports.se_GetClusterSnapshotCommand = exports.se_GetClusterCommand = exports.se_DeleteClusterSnapshotCommand = exports.se_DeleteClusterCommand = exports.se_CreateClusterSnapshotCommand = exports.se_CreateClusterCommand = void 0;
|
|
4
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
4
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const uuid_1 = require("uuid");
|
|
7
7
|
const DocDBElasticServiceException_1 = require("../models/DocDBElasticServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
@@ -4,15 +4,15 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
-
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
|
-
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
-
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
-
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
+
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
+
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
12
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -4,19 +4,19 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
7
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
10
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
-
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
|
-
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
-
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
-
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
8
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
|
+
const config_resolver_1 = require("@smithy/config-resolver");
|
|
10
|
+
const hash_node_1 = require("@smithy/hash-node");
|
|
11
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
|
+
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
|
+
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
15
|
+
const util_retry_1 = require("@smithy/util-retry");
|
|
16
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@
|
|
18
|
-
const util_defaults_mode_node_1 = require("@
|
|
19
|
-
const smithy_client_2 = require("@
|
|
17
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
+
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
22
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
5
|
-
const url_parser_1 = require("@
|
|
6
|
-
const util_base64_1 = require("@
|
|
7
|
-
const util_utf8_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
6
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
8
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
9
|
const getRuntimeConfig = (config) => ({
|
|
10
10
|
apiVersion: "2022-11-28",
|
package/dist-es/DocDBElastic.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@
|
|
1
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
|
|
3
3
|
import { CreateClusterSnapshotCommand, } from "./commands/CreateClusterSnapshotCommand";
|
|
4
4
|
import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
-
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
4
1
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
7
|
-
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
4
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
|
-
import {
|
|
6
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
|
+
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
|
+
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
13
|
export { __Client };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { CreateClusterInputFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_CreateClusterSnapshotCommand, se_CreateClusterSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateClusterSnapshotCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DeleteClusterCommand, se_DeleteClusterCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteClusterCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_DeleteClusterSnapshotCommand, se_DeleteClusterSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteClusterSnapshotCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetClusterCommand, se_GetClusterCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetClusterCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_GetClusterSnapshotCommand, se_GetClusterSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetClusterSnapshotCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListClusterSnapshotsCommand, se_ListClusterSnapshotsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListClusterSnapshotsCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListClustersCommand, se_ListClustersCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListClustersCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_RestoreClusterFromSnapshotCommand, se_RestoreClusterFromSnapshotCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RestoreClusterFromSnapshotCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getEndpointPlugin } from "@
|
|
2
|
-
import { getSerdePlugin } from "@
|
|
3
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { UpdateClusterInputFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { de_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class DocDBElasticServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { DocDBElasticServiceException as __BaseException } from "./DocDBElasticServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
4
|
constructor(opts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { DocDBElasticServiceException as __BaseException } from "../models/DocDBElasticServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
-
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
3
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
-
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
-
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
4
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
16
|
export const getRuntimeConfig = (config) => {
|
|
17
17
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
18
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NoOpLogger } from "@
|
|
2
|
-
import { parseUrl } from "@
|
|
3
|
-
import { fromBase64, toBase64 } from "@
|
|
4
|
-
import { fromUtf8, toUtf8 } from "@
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
6
|
export const getRuntimeConfig = (config) => ({
|
|
7
7
|
apiVersion: "2022-11-28",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
3
3
|
import { CreateClusterSnapshotCommandInput, CreateClusterSnapshotCommandOutput } from "./commands/CreateClusterSnapshotCommand";
|
|
4
4
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|