@aws-sdk/client-neptune 3.928.0 → 3.930.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 +4106 -8003
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/NeptuneClient.js +2 -0
- package/dist-es/commands/AddRoleToDBClusterCommand.js +3 -9
- 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/CopyDBParameterGroupCommand.js +3 -9
- package/dist-es/commands/CreateDBClusterCommand.js +2 -6
- package/dist-es/commands/CreateDBClusterEndpointCommand.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 -10
- package/dist-es/commands/CreateDBParameterGroupCommand.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/DeleteDBClusterEndpointCommand.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/DeleteDBParameterGroupCommand.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/DescribeDBClusterEndpointsCommand.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/DescribeDBParameterGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeDBParametersCommand.js +3 -9
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -9
- package/dist-es/commands/DescribeEngineDefaultParametersCommand.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/DescribeValidDBInstanceModificationsCommand.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/ModifyDBClusterEndpointCommand.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 -10
- package/dist-es/commands/ModifyDBParameterGroupCommand.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/PromoteReadReplicaDBClusterCommand.js +3 -9
- package/dist-es/commands/RebootDBInstanceCommand.js +3 -9
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +3 -9
- package/dist-es/commands/RemoveRoleFromDBClusterCommand.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/ResetDBParameterGroupCommand.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/models/models_0.js +0 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +4133 -0
- package/dist-types/NeptuneClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -8
- 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 +372 -0
- package/dist-types/ts3.4/NeptuneClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -6
- 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 +378 -0
- package/package.json +35 -35
- package/dist-es/protocols/Aws_query.js +0 -7676
- package/dist-types/protocols/Aws_query.d.ts +0 -632
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -845
|
@@ -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("NeptuneClient", "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("NeptuneClient", "SwitchoverGlobalClusterCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SwitchoverGlobalClusterCommand)
|
|
20
|
-
.de(de_SwitchoverGlobalClusterCommand)
|
|
14
|
+
.sc(SwitchoverGlobalCluster)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { NeptuneServiceException as __BaseException } from "./NeptuneServiceException";
|
|
3
2
|
export class DBClusterNotFoundFault extends __BaseException {
|
|
4
3
|
name = "DBClusterNotFoundFault";
|
|
@@ -821,11 +820,3 @@ export class InvalidRestoreFault extends __BaseException {
|
|
|
821
820
|
Object.setPrototypeOf(this, InvalidRestoreFault.prototype);
|
|
822
821
|
}
|
|
823
822
|
}
|
|
824
|
-
export const CreateDBInstanceMessageFilterSensitiveLog = (obj) => ({
|
|
825
|
-
...obj,
|
|
826
|
-
...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
|
|
827
|
-
});
|
|
828
|
-
export const ModifyDBInstanceMessageFilterSensitiveLog = (obj) => ({
|
|
829
|
-
...obj,
|
|
830
|
-
...(obj.TdeCredentialPassword && { TdeCredentialPassword: SENSITIVE_STRING }),
|
|
831
|
-
});
|
|
@@ -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.neptune",
|
|
29
|
+
xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/",
|
|
30
|
+
version: "2014-10-31",
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Neptune",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|