@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.
Files changed (94) hide show
  1. package/dist-cjs/index.js +4106 -8003
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/NeptuneClient.js +2 -0
  4. package/dist-es/commands/AddRoleToDBClusterCommand.js +3 -9
  5. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +3 -9
  6. package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
  7. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +3 -9
  8. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +3 -9
  9. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +2 -6
  10. package/dist-es/commands/CopyDBParameterGroupCommand.js +3 -9
  11. package/dist-es/commands/CreateDBClusterCommand.js +2 -6
  12. package/dist-es/commands/CreateDBClusterEndpointCommand.js +3 -9
  13. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +3 -9
  14. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +3 -9
  15. package/dist-es/commands/CreateDBInstanceCommand.js +3 -10
  16. package/dist-es/commands/CreateDBParameterGroupCommand.js +3 -9
  17. package/dist-es/commands/CreateDBSubnetGroupCommand.js +3 -9
  18. package/dist-es/commands/CreateEventSubscriptionCommand.js +3 -9
  19. package/dist-es/commands/CreateGlobalClusterCommand.js +3 -9
  20. package/dist-es/commands/DeleteDBClusterCommand.js +3 -9
  21. package/dist-es/commands/DeleteDBClusterEndpointCommand.js +3 -9
  22. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +3 -9
  23. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +3 -9
  24. package/dist-es/commands/DeleteDBInstanceCommand.js +3 -9
  25. package/dist-es/commands/DeleteDBParameterGroupCommand.js +3 -9
  26. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +3 -9
  27. package/dist-es/commands/DeleteEventSubscriptionCommand.js +3 -9
  28. package/dist-es/commands/DeleteGlobalClusterCommand.js +3 -9
  29. package/dist-es/commands/DescribeDBClusterEndpointsCommand.js +3 -9
  30. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +3 -9
  31. package/dist-es/commands/DescribeDBClusterParametersCommand.js +3 -9
  32. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +3 -9
  33. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +3 -9
  34. package/dist-es/commands/DescribeDBClustersCommand.js +3 -9
  35. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +3 -9
  36. package/dist-es/commands/DescribeDBInstancesCommand.js +3 -9
  37. package/dist-es/commands/DescribeDBParameterGroupsCommand.js +3 -9
  38. package/dist-es/commands/DescribeDBParametersCommand.js +3 -9
  39. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +3 -9
  40. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +3 -9
  41. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +3 -9
  42. package/dist-es/commands/DescribeEventCategoriesCommand.js +3 -9
  43. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +3 -9
  44. package/dist-es/commands/DescribeEventsCommand.js +3 -9
  45. package/dist-es/commands/DescribeGlobalClustersCommand.js +3 -9
  46. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +3 -9
  47. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +3 -9
  48. package/dist-es/commands/DescribeValidDBInstanceModificationsCommand.js +3 -9
  49. package/dist-es/commands/FailoverDBClusterCommand.js +3 -9
  50. package/dist-es/commands/FailoverGlobalClusterCommand.js +3 -9
  51. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  52. package/dist-es/commands/ModifyDBClusterCommand.js +3 -9
  53. package/dist-es/commands/ModifyDBClusterEndpointCommand.js +3 -9
  54. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +3 -9
  55. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +3 -9
  56. package/dist-es/commands/ModifyDBInstanceCommand.js +3 -10
  57. package/dist-es/commands/ModifyDBParameterGroupCommand.js +3 -9
  58. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +3 -9
  59. package/dist-es/commands/ModifyEventSubscriptionCommand.js +3 -9
  60. package/dist-es/commands/ModifyGlobalClusterCommand.js +3 -9
  61. package/dist-es/commands/PromoteReadReplicaDBClusterCommand.js +3 -9
  62. package/dist-es/commands/RebootDBInstanceCommand.js +3 -9
  63. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +3 -9
  64. package/dist-es/commands/RemoveRoleFromDBClusterCommand.js +3 -9
  65. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +3 -9
  66. package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
  67. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +3 -9
  68. package/dist-es/commands/ResetDBParameterGroupCommand.js +3 -9
  69. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +3 -9
  70. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +3 -9
  71. package/dist-es/commands/StartDBClusterCommand.js +3 -9
  72. package/dist-es/commands/StopDBClusterCommand.js +3 -9
  73. package/dist-es/commands/SwitchoverGlobalClusterCommand.js +3 -9
  74. package/dist-es/models/models_0.js +0 -9
  75. package/dist-es/runtimeConfig.shared.js +7 -0
  76. package/dist-es/schemas/schemas_0.js +4133 -0
  77. package/dist-types/NeptuneClient.d.ts +10 -1
  78. package/dist-types/models/models_0.d.ts +0 -8
  79. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  80. package/dist-types/runtimeConfig.d.ts +1 -0
  81. package/dist-types/runtimeConfig.native.d.ts +1 -0
  82. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  83. package/dist-types/schemas/schemas_0.d.ts +372 -0
  84. package/dist-types/ts3.4/NeptuneClient.d.ts +4 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  86. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  87. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  88. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  89. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  90. package/dist-types/ts3.4/schemas/schemas_0.d.ts +378 -0
  91. package/package.json +35 -35
  92. package/dist-es/protocols/Aws_query.js +0 -7676
  93. package/dist-types/protocols/Aws_query.d.ts +0 -632
  94. 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 { de_StopDBClusterCommand, se_StopDBClusterCommand } from "../protocols/Aws_query";
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
- .f(void 0, void 0)
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 { de_SwitchoverGlobalClusterCommand, se_SwitchoverGlobalClusterCommand } from "../protocols/Aws_query";
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
- .f(void 0, void 0)
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,