@aws-sdk/client-docdb 3.929.0 → 3.931.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/index.js +3115 -6262
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DocDBClient.js +2 -0
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +3 -9
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +3 -9
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +3 -9
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +2 -6
- package/dist-es/commands/CreateDBClusterCommand.js +3 -9
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +3 -9
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateDBInstanceCommand.js +3 -9
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +3 -9
- package/dist-es/commands/CreateEventSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateGlobalClusterCommand.js +3 -9
- package/dist-es/commands/DeleteDBClusterCommand.js +3 -9
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +3 -9
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteDBInstanceCommand.js +3 -9
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteGlobalClusterCommand.js +3 -9
- package/dist-es/commands/DescribeCertificatesCommand.js +3 -9
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +3 -9
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +3 -9
- package/dist-es/commands/DescribeDBClustersCommand.js +3 -9
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +3 -9
- package/dist-es/commands/DescribeDBInstancesCommand.js +3 -9
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -9
- package/dist-es/commands/DescribeEventCategoriesCommand.js +3 -9
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +3 -9
- package/dist-es/commands/DescribeEventsCommand.js +3 -9
- package/dist-es/commands/DescribeGlobalClustersCommand.js +3 -9
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +3 -9
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +3 -9
- package/dist-es/commands/FailoverDBClusterCommand.js +3 -9
- package/dist-es/commands/FailoverGlobalClusterCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ModifyDBClusterCommand.js +3 -9
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +3 -9
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +3 -9
- package/dist-es/commands/ModifyDBInstanceCommand.js +3 -9
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +3 -9
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +3 -9
- package/dist-es/commands/ModifyGlobalClusterCommand.js +3 -9
- package/dist-es/commands/RebootDBInstanceCommand.js +3 -9
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +3 -9
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +3 -9
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +3 -9
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +3 -9
- package/dist-es/commands/StartDBClusterCommand.js +3 -9
- package/dist-es/commands/StopDBClusterCommand.js +3 -9
- package/dist-es/commands/SwitchoverGlobalClusterCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +3086 -0
- package/dist-types/DocDBClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +298 -0
- package/dist-types/ts3.4/DocDBClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +303 -0
- package/package.json +35 -35
- package/dist-es/protocols/Aws_query.js +0 -5961
- package/dist-types/protocols/Aws_query.d.ts +0 -497
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -665
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RebootDBInstance } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RebootDBInstanceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RebootDBInstance", {})
|
|
17
13
|
.n("DocDBClient", "RebootDBInstanceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RebootDBInstanceCommand)
|
|
20
|
-
.de(de_RebootDBInstanceCommand)
|
|
14
|
+
.sc(RebootDBInstance)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveFromGlobalCluster } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveFromGlobalClusterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RemoveFromGlobalCluster", {})
|
|
17
13
|
.n("DocDBClient", "RemoveFromGlobalClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveFromGlobalClusterCommand)
|
|
20
|
-
.de(de_RemoveFromGlobalClusterCommand)
|
|
14
|
+
.sc(RemoveFromGlobalCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveSourceIdentifierFromSubscription } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RemoveSourceIdentifierFromSubscription", {})
|
|
17
13
|
.n("DocDBClient", "RemoveSourceIdentifierFromSubscriptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveSourceIdentifierFromSubscriptionCommand)
|
|
20
|
-
.de(de_RemoveSourceIdentifierFromSubscriptionCommand)
|
|
14
|
+
.sc(RemoveSourceIdentifierFromSubscription)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveTagsFromResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTagsFromResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RemoveTagsFromResource", {})
|
|
17
13
|
.n("DocDBClient", "RemoveTagsFromResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTagsFromResourceCommand)
|
|
20
|
-
.de(de_RemoveTagsFromResourceCommand)
|
|
14
|
+
.sc(RemoveTagsFromResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ResetDBClusterParameterGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ResetDBClusterParameterGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "ResetDBClusterParameterGroup", {})
|
|
17
13
|
.n("DocDBClient", "ResetDBClusterParameterGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ResetDBClusterParameterGroupCommand)
|
|
20
|
-
.de(de_ResetDBClusterParameterGroupCommand)
|
|
14
|
+
.sc(ResetDBClusterParameterGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RestoreDBClusterFromSnapshot } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RestoreDBClusterFromSnapshotCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RestoreDBClusterFromSnapshot", {})
|
|
17
13
|
.n("DocDBClient", "RestoreDBClusterFromSnapshotCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RestoreDBClusterFromSnapshotCommand)
|
|
20
|
-
.de(de_RestoreDBClusterFromSnapshotCommand)
|
|
14
|
+
.sc(RestoreDBClusterFromSnapshot)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RestoreDBClusterToPointInTime } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RestoreDBClusterToPointInTimeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "RestoreDBClusterToPointInTime", {})
|
|
17
13
|
.n("DocDBClient", "RestoreDBClusterToPointInTimeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RestoreDBClusterToPointInTimeCommand)
|
|
20
|
-
.de(de_RestoreDBClusterToPointInTimeCommand)
|
|
14
|
+
.sc(RestoreDBClusterToPointInTime)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartDBCluster } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartDBClusterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "StartDBCluster", {})
|
|
17
13
|
.n("DocDBClient", "StartDBClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartDBClusterCommand)
|
|
20
|
-
.de(de_StartDBClusterCommand)
|
|
14
|
+
.sc(StartDBCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopDBCluster } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopDBClusterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "StopDBCluster", {})
|
|
17
13
|
.n("DocDBClient", "StopDBClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopDBClusterCommand)
|
|
20
|
-
.de(de_StopDBClusterCommand)
|
|
14
|
+
.sc(StopDBCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SwitchoverGlobalCluster } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SwitchoverGlobalClusterCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRDSv19", "SwitchoverGlobalCluster", {})
|
|
17
13
|
.n("DocDBClient", "SwitchoverGlobalClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SwitchoverGlobalClusterCommand)
|
|
20
|
-
.de(de_SwitchoverGlobalClusterCommand)
|
|
14
|
+
.sc(SwitchoverGlobalCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsQueryProtocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.docdb",
|
|
29
|
+
xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/",
|
|
30
|
+
version: "2014-10-31",
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "DocDB",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|