@aws-sdk/client-neptune 3.105.0 → 3.107.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 (44) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/Neptune.js +90 -0
  3. package/dist-cjs/commands/CreateGlobalClusterCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +36 -0
  6. package/dist-cjs/commands/FailoverGlobalClusterCommand.js +36 -0
  7. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +36 -0
  8. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +141 -5
  11. package/dist-cjs/protocols/Aws_query.js +727 -64
  12. package/dist-es/Neptune.js +90 -0
  13. package/dist-es/commands/CreateGlobalClusterCommand.js +39 -0
  14. package/dist-es/commands/DeleteGlobalClusterCommand.js +39 -0
  15. package/dist-es/commands/DescribeGlobalClustersCommand.js +39 -0
  16. package/dist-es/commands/FailoverGlobalClusterCommand.js +39 -0
  17. package/dist-es/commands/ModifyGlobalClusterCommand.js +39 -0
  18. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +39 -0
  19. package/dist-es/commands/index.js +6 -0
  20. package/dist-es/models/models_0.js +104 -0
  21. package/dist-es/protocols/Aws_query.js +851 -110
  22. package/dist-types/Neptune.d.ts +72 -0
  23. package/dist-types/NeptuneClient.d.ts +8 -2
  24. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +44 -0
  25. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +36 -0
  26. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +36 -0
  27. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +49 -0
  28. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +37 -0
  29. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +38 -0
  30. package/dist-types/commands/index.d.ts +6 -0
  31. package/dist-types/models/models_0.d.ts +449 -1
  32. package/dist-types/protocols/Aws_query.d.ts +18 -0
  33. package/dist-types/ts3.4/Neptune.d.ts +30 -0
  34. package/dist-types/ts3.4/NeptuneClient.d.ts +8 -2
  35. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/FailoverGlobalClusterCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +198 -0
  43. package/dist-types/ts3.4/protocols/Aws_query.d.ts +18 -0
  44. package/package.json +1 -1
@@ -14,6 +14,7 @@ import { CreateDBInstanceCommand, } from "./commands/CreateDBInstanceCommand";
14
14
  import { CreateDBParameterGroupCommand, } from "./commands/CreateDBParameterGroupCommand";
15
15
  import { CreateDBSubnetGroupCommand, } from "./commands/CreateDBSubnetGroupCommand";
16
16
  import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscriptionCommand";
17
+ import { CreateGlobalClusterCommand, } from "./commands/CreateGlobalClusterCommand";
17
18
  import { DeleteDBClusterCommand, } from "./commands/DeleteDBClusterCommand";
18
19
  import { DeleteDBClusterEndpointCommand, } from "./commands/DeleteDBClusterEndpointCommand";
19
20
  import { DeleteDBClusterParameterGroupCommand, } from "./commands/DeleteDBClusterParameterGroupCommand";
@@ -22,6 +23,7 @@ import { DeleteDBInstanceCommand, } from "./commands/DeleteDBInstanceCommand";
22
23
  import { DeleteDBParameterGroupCommand, } from "./commands/DeleteDBParameterGroupCommand";
23
24
  import { DeleteDBSubnetGroupCommand, } from "./commands/DeleteDBSubnetGroupCommand";
24
25
  import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscriptionCommand";
26
+ import { DeleteGlobalClusterCommand, } from "./commands/DeleteGlobalClusterCommand";
25
27
  import { DescribeDBClusterEndpointsCommand, } from "./commands/DescribeDBClusterEndpointsCommand";
26
28
  import { DescribeDBClusterParameterGroupsCommand, } from "./commands/DescribeDBClusterParameterGroupsCommand";
27
29
  import { DescribeDBClusterParametersCommand, } from "./commands/DescribeDBClusterParametersCommand";
@@ -38,10 +40,12 @@ import { DescribeEngineDefaultParametersCommand, } from "./commands/DescribeEngi
38
40
  import { DescribeEventCategoriesCommand, } from "./commands/DescribeEventCategoriesCommand";
39
41
  import { DescribeEventsCommand, } from "./commands/DescribeEventsCommand";
40
42
  import { DescribeEventSubscriptionsCommand, } from "./commands/DescribeEventSubscriptionsCommand";
43
+ import { DescribeGlobalClustersCommand, } from "./commands/DescribeGlobalClustersCommand";
41
44
  import { DescribeOrderableDBInstanceOptionsCommand, } from "./commands/DescribeOrderableDBInstanceOptionsCommand";
42
45
  import { DescribePendingMaintenanceActionsCommand, } from "./commands/DescribePendingMaintenanceActionsCommand";
43
46
  import { DescribeValidDBInstanceModificationsCommand, } from "./commands/DescribeValidDBInstanceModificationsCommand";
44
47
  import { FailoverDBClusterCommand, } from "./commands/FailoverDBClusterCommand";
48
+ import { FailoverGlobalClusterCommand, } from "./commands/FailoverGlobalClusterCommand";
45
49
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
46
50
  import { ModifyDBClusterCommand, } from "./commands/ModifyDBClusterCommand";
47
51
  import { ModifyDBClusterEndpointCommand, } from "./commands/ModifyDBClusterEndpointCommand";
@@ -51,8 +55,10 @@ import { ModifyDBInstanceCommand, } from "./commands/ModifyDBInstanceCommand";
51
55
  import { ModifyDBParameterGroupCommand, } from "./commands/ModifyDBParameterGroupCommand";
52
56
  import { ModifyDBSubnetGroupCommand, } from "./commands/ModifyDBSubnetGroupCommand";
53
57
  import { ModifyEventSubscriptionCommand, } from "./commands/ModifyEventSubscriptionCommand";
58
+ import { ModifyGlobalClusterCommand, } from "./commands/ModifyGlobalClusterCommand";
54
59
  import { PromoteReadReplicaDBClusterCommand, } from "./commands/PromoteReadReplicaDBClusterCommand";
55
60
  import { RebootDBInstanceCommand, } from "./commands/RebootDBInstanceCommand";
61
+ import { RemoveFromGlobalClusterCommand, } from "./commands/RemoveFromGlobalClusterCommand";
56
62
  import { RemoveRoleFromDBClusterCommand, } from "./commands/RemoveRoleFromDBClusterCommand";
57
63
  import { RemoveSourceIdentifierFromSubscriptionCommand, } from "./commands/RemoveSourceIdentifierFromSubscriptionCommand";
58
64
  import { RemoveTagsFromResourceCommand, } from "./commands/RemoveTagsFromResourceCommand";
@@ -278,6 +284,20 @@ var Neptune = (function (_super) {
278
284
  return this.send(command, optionsOrCb);
279
285
  }
280
286
  };
287
+ Neptune.prototype.createGlobalCluster = function (args, optionsOrCb, cb) {
288
+ var command = new CreateGlobalClusterCommand(args);
289
+ if (typeof optionsOrCb === "function") {
290
+ this.send(command, optionsOrCb);
291
+ }
292
+ else if (typeof cb === "function") {
293
+ if (typeof optionsOrCb !== "object")
294
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
295
+ this.send(command, optionsOrCb || {}, cb);
296
+ }
297
+ else {
298
+ return this.send(command, optionsOrCb);
299
+ }
300
+ };
281
301
  Neptune.prototype.deleteDBCluster = function (args, optionsOrCb, cb) {
282
302
  var command = new DeleteDBClusterCommand(args);
283
303
  if (typeof optionsOrCb === "function") {
@@ -390,6 +410,20 @@ var Neptune = (function (_super) {
390
410
  return this.send(command, optionsOrCb);
391
411
  }
392
412
  };
413
+ Neptune.prototype.deleteGlobalCluster = function (args, optionsOrCb, cb) {
414
+ var command = new DeleteGlobalClusterCommand(args);
415
+ if (typeof optionsOrCb === "function") {
416
+ this.send(command, optionsOrCb);
417
+ }
418
+ else if (typeof cb === "function") {
419
+ if (typeof optionsOrCb !== "object")
420
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
421
+ this.send(command, optionsOrCb || {}, cb);
422
+ }
423
+ else {
424
+ return this.send(command, optionsOrCb);
425
+ }
426
+ };
393
427
  Neptune.prototype.describeDBClusterEndpoints = function (args, optionsOrCb, cb) {
394
428
  var command = new DescribeDBClusterEndpointsCommand(args);
395
429
  if (typeof optionsOrCb === "function") {
@@ -614,6 +648,20 @@ var Neptune = (function (_super) {
614
648
  return this.send(command, optionsOrCb);
615
649
  }
616
650
  };
651
+ Neptune.prototype.describeGlobalClusters = function (args, optionsOrCb, cb) {
652
+ var command = new DescribeGlobalClustersCommand(args);
653
+ if (typeof optionsOrCb === "function") {
654
+ this.send(command, optionsOrCb);
655
+ }
656
+ else if (typeof cb === "function") {
657
+ if (typeof optionsOrCb !== "object")
658
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
659
+ this.send(command, optionsOrCb || {}, cb);
660
+ }
661
+ else {
662
+ return this.send(command, optionsOrCb);
663
+ }
664
+ };
617
665
  Neptune.prototype.describeOrderableDBInstanceOptions = function (args, optionsOrCb, cb) {
618
666
  var command = new DescribeOrderableDBInstanceOptionsCommand(args);
619
667
  if (typeof optionsOrCb === "function") {
@@ -670,6 +718,20 @@ var Neptune = (function (_super) {
670
718
  return this.send(command, optionsOrCb);
671
719
  }
672
720
  };
721
+ Neptune.prototype.failoverGlobalCluster = function (args, optionsOrCb, cb) {
722
+ var command = new FailoverGlobalClusterCommand(args);
723
+ if (typeof optionsOrCb === "function") {
724
+ this.send(command, optionsOrCb);
725
+ }
726
+ else if (typeof cb === "function") {
727
+ if (typeof optionsOrCb !== "object")
728
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
729
+ this.send(command, optionsOrCb || {}, cb);
730
+ }
731
+ else {
732
+ return this.send(command, optionsOrCb);
733
+ }
734
+ };
673
735
  Neptune.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
674
736
  var command = new ListTagsForResourceCommand(args);
675
737
  if (typeof optionsOrCb === "function") {
@@ -796,6 +858,20 @@ var Neptune = (function (_super) {
796
858
  return this.send(command, optionsOrCb);
797
859
  }
798
860
  };
861
+ Neptune.prototype.modifyGlobalCluster = function (args, optionsOrCb, cb) {
862
+ var command = new ModifyGlobalClusterCommand(args);
863
+ if (typeof optionsOrCb === "function") {
864
+ this.send(command, optionsOrCb);
865
+ }
866
+ else if (typeof cb === "function") {
867
+ if (typeof optionsOrCb !== "object")
868
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
869
+ this.send(command, optionsOrCb || {}, cb);
870
+ }
871
+ else {
872
+ return this.send(command, optionsOrCb);
873
+ }
874
+ };
799
875
  Neptune.prototype.promoteReadReplicaDBCluster = function (args, optionsOrCb, cb) {
800
876
  var command = new PromoteReadReplicaDBClusterCommand(args);
801
877
  if (typeof optionsOrCb === "function") {
@@ -824,6 +900,20 @@ var Neptune = (function (_super) {
824
900
  return this.send(command, optionsOrCb);
825
901
  }
826
902
  };
903
+ Neptune.prototype.removeFromGlobalCluster = function (args, optionsOrCb, cb) {
904
+ var command = new RemoveFromGlobalClusterCommand(args);
905
+ if (typeof optionsOrCb === "function") {
906
+ this.send(command, optionsOrCb);
907
+ }
908
+ else if (typeof cb === "function") {
909
+ if (typeof optionsOrCb !== "object")
910
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
911
+ this.send(command, optionsOrCb || {}, cb);
912
+ }
913
+ else {
914
+ return this.send(command, optionsOrCb);
915
+ }
916
+ };
827
917
  Neptune.prototype.removeRoleFromDBCluster = function (args, optionsOrCb, cb) {
828
918
  var command = new RemoveRoleFromDBClusterCommand(args);
829
919
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateGlobalClusterMessage, CreateGlobalClusterResult } from "../models/models_0";
5
+ import { deserializeAws_queryCreateGlobalClusterCommand, serializeAws_queryCreateGlobalClusterCommand, } from "../protocols/Aws_query";
6
+ var CreateGlobalClusterCommand = (function (_super) {
7
+ __extends(CreateGlobalClusterCommand, _super);
8
+ function CreateGlobalClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateGlobalClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "CreateGlobalClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateGlobalClusterCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryCreateGlobalClusterCommand(input, context);
33
+ };
34
+ CreateGlobalClusterCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryCreateGlobalClusterCommand(output, context);
36
+ };
37
+ return CreateGlobalClusterCommand;
38
+ }($Command));
39
+ export { CreateGlobalClusterCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteGlobalClusterMessage, DeleteGlobalClusterResult } from "../models/models_0";
5
+ import { deserializeAws_queryDeleteGlobalClusterCommand, serializeAws_queryDeleteGlobalClusterCommand, } from "../protocols/Aws_query";
6
+ var DeleteGlobalClusterCommand = (function (_super) {
7
+ __extends(DeleteGlobalClusterCommand, _super);
8
+ function DeleteGlobalClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteGlobalClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "DeleteGlobalClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteGlobalClusterCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryDeleteGlobalClusterCommand(input, context);
33
+ };
34
+ DeleteGlobalClusterCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryDeleteGlobalClusterCommand(output, context);
36
+ };
37
+ return DeleteGlobalClusterCommand;
38
+ }($Command));
39
+ export { DeleteGlobalClusterCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeGlobalClustersMessage, GlobalClustersMessage } from "../models/models_0";
5
+ import { deserializeAws_queryDescribeGlobalClustersCommand, serializeAws_queryDescribeGlobalClustersCommand, } from "../protocols/Aws_query";
6
+ var DescribeGlobalClustersCommand = (function (_super) {
7
+ __extends(DescribeGlobalClustersCommand, _super);
8
+ function DescribeGlobalClustersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeGlobalClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "DescribeGlobalClustersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeGlobalClustersMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GlobalClustersMessage.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeGlobalClustersCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryDescribeGlobalClustersCommand(input, context);
33
+ };
34
+ DescribeGlobalClustersCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryDescribeGlobalClustersCommand(output, context);
36
+ };
37
+ return DescribeGlobalClustersCommand;
38
+ }($Command));
39
+ export { DescribeGlobalClustersCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { FailoverGlobalClusterMessage, FailoverGlobalClusterResult } from "../models/models_0";
5
+ import { deserializeAws_queryFailoverGlobalClusterCommand, serializeAws_queryFailoverGlobalClusterCommand, } from "../protocols/Aws_query";
6
+ var FailoverGlobalClusterCommand = (function (_super) {
7
+ __extends(FailoverGlobalClusterCommand, _super);
8
+ function FailoverGlobalClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ FailoverGlobalClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "FailoverGlobalClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: FailoverGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: FailoverGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ FailoverGlobalClusterCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryFailoverGlobalClusterCommand(input, context);
33
+ };
34
+ FailoverGlobalClusterCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryFailoverGlobalClusterCommand(output, context);
36
+ };
37
+ return FailoverGlobalClusterCommand;
38
+ }($Command));
39
+ export { FailoverGlobalClusterCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ModifyGlobalClusterMessage, ModifyGlobalClusterResult } from "../models/models_0";
5
+ import { deserializeAws_queryModifyGlobalClusterCommand, serializeAws_queryModifyGlobalClusterCommand, } from "../protocols/Aws_query";
6
+ var ModifyGlobalClusterCommand = (function (_super) {
7
+ __extends(ModifyGlobalClusterCommand, _super);
8
+ function ModifyGlobalClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ModifyGlobalClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "ModifyGlobalClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ModifyGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ModifyGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ModifyGlobalClusterCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryModifyGlobalClusterCommand(input, context);
33
+ };
34
+ ModifyGlobalClusterCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryModifyGlobalClusterCommand(output, context);
36
+ };
37
+ return ModifyGlobalClusterCommand;
38
+ }($Command));
39
+ export { ModifyGlobalClusterCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { RemoveFromGlobalClusterMessage, RemoveFromGlobalClusterResult } from "../models/models_0";
5
+ import { deserializeAws_queryRemoveFromGlobalClusterCommand, serializeAws_queryRemoveFromGlobalClusterCommand, } from "../protocols/Aws_query";
6
+ var RemoveFromGlobalClusterCommand = (function (_super) {
7
+ __extends(RemoveFromGlobalClusterCommand, _super);
8
+ function RemoveFromGlobalClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ RemoveFromGlobalClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "NeptuneClient";
18
+ var commandName = "RemoveFromGlobalClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: RemoveFromGlobalClusterMessage.filterSensitiveLog,
24
+ outputFilterSensitiveLog: RemoveFromGlobalClusterResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RemoveFromGlobalClusterCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_queryRemoveFromGlobalClusterCommand(input, context);
33
+ };
34
+ RemoveFromGlobalClusterCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_queryRemoveFromGlobalClusterCommand(output, context);
36
+ };
37
+ return RemoveFromGlobalClusterCommand;
38
+ }($Command));
39
+ export { RemoveFromGlobalClusterCommand };
@@ -13,6 +13,7 @@ export * from "./CreateDBInstanceCommand";
13
13
  export * from "./CreateDBParameterGroupCommand";
14
14
  export * from "./CreateDBSubnetGroupCommand";
15
15
  export * from "./CreateEventSubscriptionCommand";
16
+ export * from "./CreateGlobalClusterCommand";
16
17
  export * from "./DeleteDBClusterCommand";
17
18
  export * from "./DeleteDBClusterEndpointCommand";
18
19
  export * from "./DeleteDBClusterParameterGroupCommand";
@@ -21,6 +22,7 @@ export * from "./DeleteDBInstanceCommand";
21
22
  export * from "./DeleteDBParameterGroupCommand";
22
23
  export * from "./DeleteDBSubnetGroupCommand";
23
24
  export * from "./DeleteEventSubscriptionCommand";
25
+ export * from "./DeleteGlobalClusterCommand";
24
26
  export * from "./DescribeDBClusterEndpointsCommand";
25
27
  export * from "./DescribeDBClusterParameterGroupsCommand";
26
28
  export * from "./DescribeDBClusterParametersCommand";
@@ -37,10 +39,12 @@ export * from "./DescribeEngineDefaultParametersCommand";
37
39
  export * from "./DescribeEventCategoriesCommand";
38
40
  export * from "./DescribeEventSubscriptionsCommand";
39
41
  export * from "./DescribeEventsCommand";
42
+ export * from "./DescribeGlobalClustersCommand";
40
43
  export * from "./DescribeOrderableDBInstanceOptionsCommand";
41
44
  export * from "./DescribePendingMaintenanceActionsCommand";
42
45
  export * from "./DescribeValidDBInstanceModificationsCommand";
43
46
  export * from "./FailoverDBClusterCommand";
47
+ export * from "./FailoverGlobalClusterCommand";
44
48
  export * from "./ListTagsForResourceCommand";
45
49
  export * from "./ModifyDBClusterCommand";
46
50
  export * from "./ModifyDBClusterEndpointCommand";
@@ -50,8 +54,10 @@ export * from "./ModifyDBInstanceCommand";
50
54
  export * from "./ModifyDBParameterGroupCommand";
51
55
  export * from "./ModifyDBSubnetGroupCommand";
52
56
  export * from "./ModifyEventSubscriptionCommand";
57
+ export * from "./ModifyGlobalClusterCommand";
53
58
  export * from "./PromoteReadReplicaDBClusterCommand";
54
59
  export * from "./RebootDBInstanceCommand";
60
+ export * from "./RemoveFromGlobalClusterCommand";
55
61
  export * from "./RemoveRoleFromDBClusterCommand";
56
62
  export * from "./RemoveSourceIdentifierFromSubscriptionCommand";
57
63
  export * from "./RemoveTagsFromResourceCommand";
@@ -368,6 +368,18 @@ var DBSubnetGroupNotFoundFault = (function (_super) {
368
368
  return DBSubnetGroupNotFoundFault;
369
369
  }(__BaseException));
370
370
  export { DBSubnetGroupNotFoundFault };
371
+ var GlobalClusterNotFoundFault = (function (_super) {
372
+ __extends(GlobalClusterNotFoundFault, _super);
373
+ function GlobalClusterNotFoundFault(opts) {
374
+ var _this = _super.call(this, __assign({ name: "GlobalClusterNotFoundFault", $fault: "client" }, opts)) || this;
375
+ _this.name = "GlobalClusterNotFoundFault";
376
+ _this.$fault = "client";
377
+ Object.setPrototypeOf(_this, GlobalClusterNotFoundFault.prototype);
378
+ return _this;
379
+ }
380
+ return GlobalClusterNotFoundFault;
381
+ }(__BaseException));
382
+ export { GlobalClusterNotFoundFault };
371
383
  var InsufficientStorageClusterCapacityFault = (function (_super) {
372
384
  __extends(InsufficientStorageClusterCapacityFault, _super);
373
385
  function InsufficientStorageClusterCapacityFault(opts) {
@@ -404,6 +416,18 @@ var InvalidDBSubnetGroupStateFault = (function (_super) {
404
416
  return InvalidDBSubnetGroupStateFault;
405
417
  }(__BaseException));
406
418
  export { InvalidDBSubnetGroupStateFault };
419
+ var InvalidGlobalClusterStateFault = (function (_super) {
420
+ __extends(InvalidGlobalClusterStateFault, _super);
421
+ function InvalidGlobalClusterStateFault(opts) {
422
+ var _this = _super.call(this, __assign({ name: "InvalidGlobalClusterStateFault", $fault: "client" }, opts)) || this;
423
+ _this.name = "InvalidGlobalClusterStateFault";
424
+ _this.$fault = "client";
425
+ Object.setPrototypeOf(_this, InvalidGlobalClusterStateFault.prototype);
426
+ return _this;
427
+ }
428
+ return InvalidGlobalClusterStateFault;
429
+ }(__BaseException));
430
+ export { InvalidGlobalClusterStateFault };
407
431
  var InvalidSubnet = (function (_super) {
408
432
  __extends(InvalidSubnet, _super);
409
433
  function InvalidSubnet(opts) {
@@ -784,6 +808,46 @@ var SubscriptionCategoryNotFoundFault = (function (_super) {
784
808
  return SubscriptionCategoryNotFoundFault;
785
809
  }(__BaseException));
786
810
  export { SubscriptionCategoryNotFoundFault };
811
+ export var CreateGlobalClusterMessage;
812
+ (function (CreateGlobalClusterMessage) {
813
+ CreateGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
814
+ })(CreateGlobalClusterMessage || (CreateGlobalClusterMessage = {}));
815
+ export var GlobalClusterMember;
816
+ (function (GlobalClusterMember) {
817
+ GlobalClusterMember.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
818
+ })(GlobalClusterMember || (GlobalClusterMember = {}));
819
+ export var GlobalCluster;
820
+ (function (GlobalCluster) {
821
+ GlobalCluster.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
822
+ })(GlobalCluster || (GlobalCluster = {}));
823
+ export var CreateGlobalClusterResult;
824
+ (function (CreateGlobalClusterResult) {
825
+ CreateGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
826
+ })(CreateGlobalClusterResult || (CreateGlobalClusterResult = {}));
827
+ var GlobalClusterAlreadyExistsFault = (function (_super) {
828
+ __extends(GlobalClusterAlreadyExistsFault, _super);
829
+ function GlobalClusterAlreadyExistsFault(opts) {
830
+ var _this = _super.call(this, __assign({ name: "GlobalClusterAlreadyExistsFault", $fault: "client" }, opts)) || this;
831
+ _this.name = "GlobalClusterAlreadyExistsFault";
832
+ _this.$fault = "client";
833
+ Object.setPrototypeOf(_this, GlobalClusterAlreadyExistsFault.prototype);
834
+ return _this;
835
+ }
836
+ return GlobalClusterAlreadyExistsFault;
837
+ }(__BaseException));
838
+ export { GlobalClusterAlreadyExistsFault };
839
+ var GlobalClusterQuotaExceededFault = (function (_super) {
840
+ __extends(GlobalClusterQuotaExceededFault, _super);
841
+ function GlobalClusterQuotaExceededFault(opts) {
842
+ var _this = _super.call(this, __assign({ name: "GlobalClusterQuotaExceededFault", $fault: "client" }, opts)) || this;
843
+ _this.name = "GlobalClusterQuotaExceededFault";
844
+ _this.$fault = "client";
845
+ Object.setPrototypeOf(_this, GlobalClusterQuotaExceededFault.prototype);
846
+ return _this;
847
+ }
848
+ return GlobalClusterQuotaExceededFault;
849
+ }(__BaseException));
850
+ export { GlobalClusterQuotaExceededFault };
787
851
  export var DeleteDBClusterMessage;
788
852
  (function (DeleteDBClusterMessage) {
789
853
  DeleteDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -908,6 +972,14 @@ var InvalidEventSubscriptionStateFault = (function (_super) {
908
972
  return InvalidEventSubscriptionStateFault;
909
973
  }(__BaseException));
910
974
  export { InvalidEventSubscriptionStateFault };
975
+ export var DeleteGlobalClusterMessage;
976
+ (function (DeleteGlobalClusterMessage) {
977
+ DeleteGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
978
+ })(DeleteGlobalClusterMessage || (DeleteGlobalClusterMessage = {}));
979
+ export var DeleteGlobalClusterResult;
980
+ (function (DeleteGlobalClusterResult) {
981
+ DeleteGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
982
+ })(DeleteGlobalClusterResult || (DeleteGlobalClusterResult = {}));
911
983
  export var DBClusterEndpoint;
912
984
  (function (DBClusterEndpoint) {
913
985
  DBClusterEndpoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1084,6 +1156,14 @@ export var EventSubscriptionsMessage;
1084
1156
  (function (EventSubscriptionsMessage) {
1085
1157
  EventSubscriptionsMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1086
1158
  })(EventSubscriptionsMessage || (EventSubscriptionsMessage = {}));
1159
+ export var DescribeGlobalClustersMessage;
1160
+ (function (DescribeGlobalClustersMessage) {
1161
+ DescribeGlobalClustersMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1162
+ })(DescribeGlobalClustersMessage || (DescribeGlobalClustersMessage = {}));
1163
+ export var GlobalClustersMessage;
1164
+ (function (GlobalClustersMessage) {
1165
+ GlobalClustersMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1166
+ })(GlobalClustersMessage || (GlobalClustersMessage = {}));
1087
1167
  export var DescribeOrderableDBInstanceOptionsMessage;
1088
1168
  (function (DescribeOrderableDBInstanceOptionsMessage) {
1089
1169
  DescribeOrderableDBInstanceOptionsMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1136,6 +1216,14 @@ export var FailoverDBClusterResult;
1136
1216
  (function (FailoverDBClusterResult) {
1137
1217
  FailoverDBClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1138
1218
  })(FailoverDBClusterResult || (FailoverDBClusterResult = {}));
1219
+ export var FailoverGlobalClusterMessage;
1220
+ (function (FailoverGlobalClusterMessage) {
1221
+ FailoverGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1222
+ })(FailoverGlobalClusterMessage || (FailoverGlobalClusterMessage = {}));
1223
+ export var FailoverGlobalClusterResult;
1224
+ (function (FailoverGlobalClusterResult) {
1225
+ FailoverGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1226
+ })(FailoverGlobalClusterResult || (FailoverGlobalClusterResult = {}));
1139
1227
  export var ListTagsForResourceMessage;
1140
1228
  (function (ListTagsForResourceMessage) {
1141
1229
  ListTagsForResourceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1272,6 +1360,14 @@ export var ModifyEventSubscriptionResult;
1272
1360
  (function (ModifyEventSubscriptionResult) {
1273
1361
  ModifyEventSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1274
1362
  })(ModifyEventSubscriptionResult || (ModifyEventSubscriptionResult = {}));
1363
+ export var ModifyGlobalClusterMessage;
1364
+ (function (ModifyGlobalClusterMessage) {
1365
+ ModifyGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1366
+ })(ModifyGlobalClusterMessage || (ModifyGlobalClusterMessage = {}));
1367
+ export var ModifyGlobalClusterResult;
1368
+ (function (ModifyGlobalClusterResult) {
1369
+ ModifyGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1370
+ })(ModifyGlobalClusterResult || (ModifyGlobalClusterResult = {}));
1275
1371
  export var PromoteReadReplicaDBClusterMessage;
1276
1372
  (function (PromoteReadReplicaDBClusterMessage) {
1277
1373
  PromoteReadReplicaDBClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1288,6 +1384,14 @@ export var RebootDBInstanceResult;
1288
1384
  (function (RebootDBInstanceResult) {
1289
1385
  RebootDBInstanceResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1290
1386
  })(RebootDBInstanceResult || (RebootDBInstanceResult = {}));
1387
+ export var RemoveFromGlobalClusterMessage;
1388
+ (function (RemoveFromGlobalClusterMessage) {
1389
+ RemoveFromGlobalClusterMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1390
+ })(RemoveFromGlobalClusterMessage || (RemoveFromGlobalClusterMessage = {}));
1391
+ export var RemoveFromGlobalClusterResult;
1392
+ (function (RemoveFromGlobalClusterResult) {
1393
+ RemoveFromGlobalClusterResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1394
+ })(RemoveFromGlobalClusterResult || (RemoveFromGlobalClusterResult = {}));
1291
1395
  var DBClusterRoleNotFoundFault = (function (_super) {
1292
1396
  __extends(DBClusterRoleNotFoundFault, _super);
1293
1397
  function DBClusterRoleNotFoundFault(opts) {