@aws-sdk/client-neptune 3.100.0 → 3.109.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 (46) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist-cjs/Neptune.js +90 -0
  3. package/dist-cjs/NeptuneClient.js +2 -0
  4. package/dist-cjs/commands/CreateGlobalClusterCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +36 -0
  7. package/dist-cjs/commands/FailoverGlobalClusterCommand.js +36 -0
  8. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +36 -0
  9. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +36 -0
  10. package/dist-cjs/commands/index.js +6 -0
  11. package/dist-cjs/models/models_0.js +141 -5
  12. package/dist-cjs/protocols/Aws_query.js +727 -64
  13. package/dist-es/Neptune.js +90 -0
  14. package/dist-es/NeptuneClient.js +2 -0
  15. package/dist-es/commands/CreateGlobalClusterCommand.js +39 -0
  16. package/dist-es/commands/DeleteGlobalClusterCommand.js +39 -0
  17. package/dist-es/commands/DescribeGlobalClustersCommand.js +39 -0
  18. package/dist-es/commands/FailoverGlobalClusterCommand.js +39 -0
  19. package/dist-es/commands/ModifyGlobalClusterCommand.js +39 -0
  20. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +39 -0
  21. package/dist-es/commands/index.js +6 -0
  22. package/dist-es/models/models_0.js +104 -0
  23. package/dist-es/protocols/Aws_query.js +851 -110
  24. package/dist-types/Neptune.d.ts +72 -0
  25. package/dist-types/NeptuneClient.d.ts +8 -2
  26. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +44 -0
  27. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +36 -0
  28. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +36 -0
  29. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +49 -0
  30. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +37 -0
  31. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +38 -0
  32. package/dist-types/commands/index.d.ts +6 -0
  33. package/dist-types/models/models_0.d.ts +449 -1
  34. package/dist-types/protocols/Aws_query.d.ts +18 -0
  35. package/dist-types/ts3.4/Neptune.d.ts +30 -0
  36. package/dist-types/ts3.4/NeptuneClient.d.ts +8 -2
  37. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/FailoverGlobalClusterCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +198 -0
  45. package/dist-types/ts3.4/protocols/Aws_query.d.ts +18 -0
  46. package/package.json +31 -30
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-neptune
9
+
10
+
11
+
12
+
13
+
14
+ # [3.107.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.106.0...v3.107.0) (2022-06-08)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **clients:** handle empty xml tags ([#3623](https://github.com/aws/aws-sdk-js-v3/issues/3623)) ([543a0ce](https://github.com/aws/aws-sdk-js-v3/commit/543a0ce13bebc6e8a5f4cc8e1bd4de67692d4034))
20
+
21
+
22
+ ### Features
23
+
24
+ * **client-neptune:** This release adds support for Neptune to be configured as a global database, with a primary DB cluster in one region, and up to five secondary DB clusters in other regions. ([fdf3a33](https://github.com/aws/aws-sdk-js-v3/commit/fdf3a33cc1d8d3da7958a3d851c2b50490226457))
25
+
26
+
27
+
28
+
29
+
30
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/client-neptune
@@ -16,6 +16,7 @@ const CreateDBInstanceCommand_1 = require("./commands/CreateDBInstanceCommand");
16
16
  const CreateDBParameterGroupCommand_1 = require("./commands/CreateDBParameterGroupCommand");
17
17
  const CreateDBSubnetGroupCommand_1 = require("./commands/CreateDBSubnetGroupCommand");
18
18
  const CreateEventSubscriptionCommand_1 = require("./commands/CreateEventSubscriptionCommand");
19
+ const CreateGlobalClusterCommand_1 = require("./commands/CreateGlobalClusterCommand");
19
20
  const DeleteDBClusterCommand_1 = require("./commands/DeleteDBClusterCommand");
20
21
  const DeleteDBClusterEndpointCommand_1 = require("./commands/DeleteDBClusterEndpointCommand");
21
22
  const DeleteDBClusterParameterGroupCommand_1 = require("./commands/DeleteDBClusterParameterGroupCommand");
@@ -24,6 +25,7 @@ const DeleteDBInstanceCommand_1 = require("./commands/DeleteDBInstanceCommand");
24
25
  const DeleteDBParameterGroupCommand_1 = require("./commands/DeleteDBParameterGroupCommand");
25
26
  const DeleteDBSubnetGroupCommand_1 = require("./commands/DeleteDBSubnetGroupCommand");
26
27
  const DeleteEventSubscriptionCommand_1 = require("./commands/DeleteEventSubscriptionCommand");
28
+ const DeleteGlobalClusterCommand_1 = require("./commands/DeleteGlobalClusterCommand");
27
29
  const DescribeDBClusterEndpointsCommand_1 = require("./commands/DescribeDBClusterEndpointsCommand");
28
30
  const DescribeDBClusterParameterGroupsCommand_1 = require("./commands/DescribeDBClusterParameterGroupsCommand");
29
31
  const DescribeDBClusterParametersCommand_1 = require("./commands/DescribeDBClusterParametersCommand");
@@ -40,10 +42,12 @@ const DescribeEngineDefaultParametersCommand_1 = require("./commands/DescribeEng
40
42
  const DescribeEventCategoriesCommand_1 = require("./commands/DescribeEventCategoriesCommand");
41
43
  const DescribeEventsCommand_1 = require("./commands/DescribeEventsCommand");
42
44
  const DescribeEventSubscriptionsCommand_1 = require("./commands/DescribeEventSubscriptionsCommand");
45
+ const DescribeGlobalClustersCommand_1 = require("./commands/DescribeGlobalClustersCommand");
43
46
  const DescribeOrderableDBInstanceOptionsCommand_1 = require("./commands/DescribeOrderableDBInstanceOptionsCommand");
44
47
  const DescribePendingMaintenanceActionsCommand_1 = require("./commands/DescribePendingMaintenanceActionsCommand");
45
48
  const DescribeValidDBInstanceModificationsCommand_1 = require("./commands/DescribeValidDBInstanceModificationsCommand");
46
49
  const FailoverDBClusterCommand_1 = require("./commands/FailoverDBClusterCommand");
50
+ const FailoverGlobalClusterCommand_1 = require("./commands/FailoverGlobalClusterCommand");
47
51
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
48
52
  const ModifyDBClusterCommand_1 = require("./commands/ModifyDBClusterCommand");
49
53
  const ModifyDBClusterEndpointCommand_1 = require("./commands/ModifyDBClusterEndpointCommand");
@@ -53,8 +57,10 @@ const ModifyDBInstanceCommand_1 = require("./commands/ModifyDBInstanceCommand");
53
57
  const ModifyDBParameterGroupCommand_1 = require("./commands/ModifyDBParameterGroupCommand");
54
58
  const ModifyDBSubnetGroupCommand_1 = require("./commands/ModifyDBSubnetGroupCommand");
55
59
  const ModifyEventSubscriptionCommand_1 = require("./commands/ModifyEventSubscriptionCommand");
60
+ const ModifyGlobalClusterCommand_1 = require("./commands/ModifyGlobalClusterCommand");
56
61
  const PromoteReadReplicaDBClusterCommand_1 = require("./commands/PromoteReadReplicaDBClusterCommand");
57
62
  const RebootDBInstanceCommand_1 = require("./commands/RebootDBInstanceCommand");
63
+ const RemoveFromGlobalClusterCommand_1 = require("./commands/RemoveFromGlobalClusterCommand");
58
64
  const RemoveRoleFromDBClusterCommand_1 = require("./commands/RemoveRoleFromDBClusterCommand");
59
65
  const RemoveSourceIdentifierFromSubscriptionCommand_1 = require("./commands/RemoveSourceIdentifierFromSubscriptionCommand");
60
66
  const RemoveTagsFromResourceCommand_1 = require("./commands/RemoveTagsFromResourceCommand");
@@ -276,6 +282,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
276
282
  return this.send(command, optionsOrCb);
277
283
  }
278
284
  }
285
+ createGlobalCluster(args, optionsOrCb, cb) {
286
+ const command = new CreateGlobalClusterCommand_1.CreateGlobalClusterCommand(args);
287
+ if (typeof optionsOrCb === "function") {
288
+ this.send(command, optionsOrCb);
289
+ }
290
+ else if (typeof cb === "function") {
291
+ if (typeof optionsOrCb !== "object")
292
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
293
+ this.send(command, optionsOrCb || {}, cb);
294
+ }
295
+ else {
296
+ return this.send(command, optionsOrCb);
297
+ }
298
+ }
279
299
  deleteDBCluster(args, optionsOrCb, cb) {
280
300
  const command = new DeleteDBClusterCommand_1.DeleteDBClusterCommand(args);
281
301
  if (typeof optionsOrCb === "function") {
@@ -388,6 +408,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
388
408
  return this.send(command, optionsOrCb);
389
409
  }
390
410
  }
411
+ deleteGlobalCluster(args, optionsOrCb, cb) {
412
+ const command = new DeleteGlobalClusterCommand_1.DeleteGlobalClusterCommand(args);
413
+ if (typeof optionsOrCb === "function") {
414
+ this.send(command, optionsOrCb);
415
+ }
416
+ else if (typeof cb === "function") {
417
+ if (typeof optionsOrCb !== "object")
418
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
419
+ this.send(command, optionsOrCb || {}, cb);
420
+ }
421
+ else {
422
+ return this.send(command, optionsOrCb);
423
+ }
424
+ }
391
425
  describeDBClusterEndpoints(args, optionsOrCb, cb) {
392
426
  const command = new DescribeDBClusterEndpointsCommand_1.DescribeDBClusterEndpointsCommand(args);
393
427
  if (typeof optionsOrCb === "function") {
@@ -612,6 +646,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
612
646
  return this.send(command, optionsOrCb);
613
647
  }
614
648
  }
649
+ describeGlobalClusters(args, optionsOrCb, cb) {
650
+ const command = new DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand(args);
651
+ if (typeof optionsOrCb === "function") {
652
+ this.send(command, optionsOrCb);
653
+ }
654
+ else if (typeof cb === "function") {
655
+ if (typeof optionsOrCb !== "object")
656
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
657
+ this.send(command, optionsOrCb || {}, cb);
658
+ }
659
+ else {
660
+ return this.send(command, optionsOrCb);
661
+ }
662
+ }
615
663
  describeOrderableDBInstanceOptions(args, optionsOrCb, cb) {
616
664
  const command = new DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand(args);
617
665
  if (typeof optionsOrCb === "function") {
@@ -668,6 +716,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
668
716
  return this.send(command, optionsOrCb);
669
717
  }
670
718
  }
719
+ failoverGlobalCluster(args, optionsOrCb, cb) {
720
+ const command = new FailoverGlobalClusterCommand_1.FailoverGlobalClusterCommand(args);
721
+ if (typeof optionsOrCb === "function") {
722
+ this.send(command, optionsOrCb);
723
+ }
724
+ else if (typeof cb === "function") {
725
+ if (typeof optionsOrCb !== "object")
726
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
727
+ this.send(command, optionsOrCb || {}, cb);
728
+ }
729
+ else {
730
+ return this.send(command, optionsOrCb);
731
+ }
732
+ }
671
733
  listTagsForResource(args, optionsOrCb, cb) {
672
734
  const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
673
735
  if (typeof optionsOrCb === "function") {
@@ -794,6 +856,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
794
856
  return this.send(command, optionsOrCb);
795
857
  }
796
858
  }
859
+ modifyGlobalCluster(args, optionsOrCb, cb) {
860
+ const command = new ModifyGlobalClusterCommand_1.ModifyGlobalClusterCommand(args);
861
+ if (typeof optionsOrCb === "function") {
862
+ this.send(command, optionsOrCb);
863
+ }
864
+ else if (typeof cb === "function") {
865
+ if (typeof optionsOrCb !== "object")
866
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
867
+ this.send(command, optionsOrCb || {}, cb);
868
+ }
869
+ else {
870
+ return this.send(command, optionsOrCb);
871
+ }
872
+ }
797
873
  promoteReadReplicaDBCluster(args, optionsOrCb, cb) {
798
874
  const command = new PromoteReadReplicaDBClusterCommand_1.PromoteReadReplicaDBClusterCommand(args);
799
875
  if (typeof optionsOrCb === "function") {
@@ -822,6 +898,20 @@ class Neptune extends NeptuneClient_1.NeptuneClient {
822
898
  return this.send(command, optionsOrCb);
823
899
  }
824
900
  }
901
+ removeFromGlobalCluster(args, optionsOrCb, cb) {
902
+ const command = new RemoveFromGlobalClusterCommand_1.RemoveFromGlobalClusterCommand(args);
903
+ if (typeof optionsOrCb === "function") {
904
+ this.send(command, optionsOrCb);
905
+ }
906
+ else if (typeof cb === "function") {
907
+ if (typeof optionsOrCb !== "object")
908
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
909
+ this.send(command, optionsOrCb || {}, cb);
910
+ }
911
+ else {
912
+ return this.send(command, optionsOrCb);
913
+ }
914
+ }
825
915
  removeRoleFromDBCluster(args, optionsOrCb, cb) {
826
916
  const command = new RemoveRoleFromDBClusterCommand_1.RemoveRoleFromDBClusterCommand(args);
827
917
  if (typeof optionsOrCb === "function") {
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class NeptuneClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateGlobalClusterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class CreateGlobalClusterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "CreateGlobalClusterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryCreateGlobalClusterCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryCreateGlobalClusterCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateGlobalClusterCommand = CreateGlobalClusterCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteGlobalClusterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class DeleteGlobalClusterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "DeleteGlobalClusterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryDeleteGlobalClusterCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryDeleteGlobalClusterCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteGlobalClusterCommand = DeleteGlobalClusterCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeGlobalClustersCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class DescribeGlobalClustersCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "DescribeGlobalClustersCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeGlobalClustersMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GlobalClustersMessage.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryDescribeGlobalClustersCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryDescribeGlobalClustersCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DescribeGlobalClustersCommand = DescribeGlobalClustersCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FailoverGlobalClusterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class FailoverGlobalClusterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "FailoverGlobalClusterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.FailoverGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.FailoverGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryFailoverGlobalClusterCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryFailoverGlobalClusterCommand)(output, context);
34
+ }
35
+ }
36
+ exports.FailoverGlobalClusterCommand = FailoverGlobalClusterCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModifyGlobalClusterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class ModifyGlobalClusterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "ModifyGlobalClusterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ModifyGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ModifyGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryModifyGlobalClusterCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryModifyGlobalClusterCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ModifyGlobalClusterCommand = ModifyGlobalClusterCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemoveFromGlobalClusterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class RemoveFromGlobalClusterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "NeptuneClient";
18
+ const commandName = "RemoveFromGlobalClusterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RemoveFromGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RemoveFromGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_query_1.serializeAws_queryRemoveFromGlobalClusterCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_query_1.deserializeAws_queryRemoveFromGlobalClusterCommand)(output, context);
34
+ }
35
+ }
36
+ exports.RemoveFromGlobalClusterCommand = RemoveFromGlobalClusterCommand;
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./CreateDBInstanceCommand"), exports);
16
16
  tslib_1.__exportStar(require("./CreateDBParameterGroupCommand"), exports);
17
17
  tslib_1.__exportStar(require("./CreateDBSubnetGroupCommand"), exports);
18
18
  tslib_1.__exportStar(require("./CreateEventSubscriptionCommand"), exports);
19
+ tslib_1.__exportStar(require("./CreateGlobalClusterCommand"), exports);
19
20
  tslib_1.__exportStar(require("./DeleteDBClusterCommand"), exports);
20
21
  tslib_1.__exportStar(require("./DeleteDBClusterEndpointCommand"), exports);
21
22
  tslib_1.__exportStar(require("./DeleteDBClusterParameterGroupCommand"), exports);
@@ -24,6 +25,7 @@ tslib_1.__exportStar(require("./DeleteDBInstanceCommand"), exports);
24
25
  tslib_1.__exportStar(require("./DeleteDBParameterGroupCommand"), exports);
25
26
  tslib_1.__exportStar(require("./DeleteDBSubnetGroupCommand"), exports);
26
27
  tslib_1.__exportStar(require("./DeleteEventSubscriptionCommand"), exports);
28
+ tslib_1.__exportStar(require("./DeleteGlobalClusterCommand"), exports);
27
29
  tslib_1.__exportStar(require("./DescribeDBClusterEndpointsCommand"), exports);
28
30
  tslib_1.__exportStar(require("./DescribeDBClusterParameterGroupsCommand"), exports);
29
31
  tslib_1.__exportStar(require("./DescribeDBClusterParametersCommand"), exports);
@@ -40,10 +42,12 @@ tslib_1.__exportStar(require("./DescribeEngineDefaultParametersCommand"), export
40
42
  tslib_1.__exportStar(require("./DescribeEventCategoriesCommand"), exports);
41
43
  tslib_1.__exportStar(require("./DescribeEventSubscriptionsCommand"), exports);
42
44
  tslib_1.__exportStar(require("./DescribeEventsCommand"), exports);
45
+ tslib_1.__exportStar(require("./DescribeGlobalClustersCommand"), exports);
43
46
  tslib_1.__exportStar(require("./DescribeOrderableDBInstanceOptionsCommand"), exports);
44
47
  tslib_1.__exportStar(require("./DescribePendingMaintenanceActionsCommand"), exports);
45
48
  tslib_1.__exportStar(require("./DescribeValidDBInstanceModificationsCommand"), exports);
46
49
  tslib_1.__exportStar(require("./FailoverDBClusterCommand"), exports);
50
+ tslib_1.__exportStar(require("./FailoverGlobalClusterCommand"), exports);
47
51
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
48
52
  tslib_1.__exportStar(require("./ModifyDBClusterCommand"), exports);
49
53
  tslib_1.__exportStar(require("./ModifyDBClusterEndpointCommand"), exports);
@@ -53,8 +57,10 @@ tslib_1.__exportStar(require("./ModifyDBInstanceCommand"), exports);
53
57
  tslib_1.__exportStar(require("./ModifyDBParameterGroupCommand"), exports);
54
58
  tslib_1.__exportStar(require("./ModifyDBSubnetGroupCommand"), exports);
55
59
  tslib_1.__exportStar(require("./ModifyEventSubscriptionCommand"), exports);
60
+ tslib_1.__exportStar(require("./ModifyGlobalClusterCommand"), exports);
56
61
  tslib_1.__exportStar(require("./PromoteReadReplicaDBClusterCommand"), exports);
57
62
  tslib_1.__exportStar(require("./RebootDBInstanceCommand"), exports);
63
+ tslib_1.__exportStar(require("./RemoveFromGlobalClusterCommand"), exports);
58
64
  tslib_1.__exportStar(require("./RemoveRoleFromDBClusterCommand"), exports);
59
65
  tslib_1.__exportStar(require("./RemoveSourceIdentifierFromSubscriptionCommand"), exports);
60
66
  tslib_1.__exportStar(require("./RemoveTagsFromResourceCommand"), exports);