@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
@@ -14,6 +14,7 @@ import { CreateDBInstanceCommandInput, CreateDBInstanceCommandOutput } from "./c
14
14
  import { CreateDBParameterGroupCommandInput, CreateDBParameterGroupCommandOutput } from "./commands/CreateDBParameterGroupCommand";
15
15
  import { CreateDBSubnetGroupCommandInput, CreateDBSubnetGroupCommandOutput } from "./commands/CreateDBSubnetGroupCommand";
16
16
  import { CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutput } from "./commands/CreateEventSubscriptionCommand";
17
+ import { CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput } from "./commands/CreateGlobalClusterCommand";
17
18
  import { DeleteDBClusterCommandInput, DeleteDBClusterCommandOutput } from "./commands/DeleteDBClusterCommand";
18
19
  import { DeleteDBClusterEndpointCommandInput, DeleteDBClusterEndpointCommandOutput } from "./commands/DeleteDBClusterEndpointCommand";
19
20
  import { DeleteDBClusterParameterGroupCommandInput, DeleteDBClusterParameterGroupCommandOutput } from "./commands/DeleteDBClusterParameterGroupCommand";
@@ -22,6 +23,7 @@ import { DeleteDBInstanceCommandInput, DeleteDBInstanceCommandOutput } from "./c
22
23
  import { DeleteDBParameterGroupCommandInput, DeleteDBParameterGroupCommandOutput } from "./commands/DeleteDBParameterGroupCommand";
23
24
  import { DeleteDBSubnetGroupCommandInput, DeleteDBSubnetGroupCommandOutput } from "./commands/DeleteDBSubnetGroupCommand";
24
25
  import { DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutput } from "./commands/DeleteEventSubscriptionCommand";
26
+ import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput } from "./commands/DeleteGlobalClusterCommand";
25
27
  import { DescribeDBClusterEndpointsCommandInput, DescribeDBClusterEndpointsCommandOutput } from "./commands/DescribeDBClusterEndpointsCommand";
26
28
  import { DescribeDBClusterParameterGroupsCommandInput, DescribeDBClusterParameterGroupsCommandOutput } from "./commands/DescribeDBClusterParameterGroupsCommand";
27
29
  import { DescribeDBClusterParametersCommandInput, DescribeDBClusterParametersCommandOutput } from "./commands/DescribeDBClusterParametersCommand";
@@ -38,10 +40,12 @@ import { DescribeEngineDefaultParametersCommandInput, DescribeEngineDefaultParam
38
40
  import { DescribeEventCategoriesCommandInput, DescribeEventCategoriesCommandOutput } from "./commands/DescribeEventCategoriesCommand";
39
41
  import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
40
42
  import { DescribeEventSubscriptionsCommandInput, DescribeEventSubscriptionsCommandOutput } from "./commands/DescribeEventSubscriptionsCommand";
43
+ import { DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput } from "./commands/DescribeGlobalClustersCommand";
41
44
  import { DescribeOrderableDBInstanceOptionsCommandInput, DescribeOrderableDBInstanceOptionsCommandOutput } from "./commands/DescribeOrderableDBInstanceOptionsCommand";
42
45
  import { DescribePendingMaintenanceActionsCommandInput, DescribePendingMaintenanceActionsCommandOutput } from "./commands/DescribePendingMaintenanceActionsCommand";
43
46
  import { DescribeValidDBInstanceModificationsCommandInput, DescribeValidDBInstanceModificationsCommandOutput } from "./commands/DescribeValidDBInstanceModificationsCommand";
44
47
  import { FailoverDBClusterCommandInput, FailoverDBClusterCommandOutput } from "./commands/FailoverDBClusterCommand";
48
+ import { FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput } from "./commands/FailoverGlobalClusterCommand";
45
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
46
50
  import { ModifyDBClusterCommandInput, ModifyDBClusterCommandOutput } from "./commands/ModifyDBClusterCommand";
47
51
  import { ModifyDBClusterEndpointCommandInput, ModifyDBClusterEndpointCommandOutput } from "./commands/ModifyDBClusterEndpointCommand";
@@ -51,8 +55,10 @@ import { ModifyDBInstanceCommandInput, ModifyDBInstanceCommandOutput } from "./c
51
55
  import { ModifyDBParameterGroupCommandInput, ModifyDBParameterGroupCommandOutput } from "./commands/ModifyDBParameterGroupCommand";
52
56
  import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } from "./commands/ModifyDBSubnetGroupCommand";
53
57
  import { ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput } from "./commands/ModifyEventSubscriptionCommand";
58
+ import { ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput } from "./commands/ModifyGlobalClusterCommand";
54
59
  import { PromoteReadReplicaDBClusterCommandInput, PromoteReadReplicaDBClusterCommandOutput } from "./commands/PromoteReadReplicaDBClusterCommand";
55
60
  import { RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput } from "./commands/RebootDBInstanceCommand";
61
+ import { RemoveFromGlobalClusterCommandInput, RemoveFromGlobalClusterCommandOutput } from "./commands/RemoveFromGlobalClusterCommand";
56
62
  import { RemoveRoleFromDBClusterCommandInput, RemoveRoleFromDBClusterCommandOutput } from "./commands/RemoveRoleFromDBClusterCommand";
57
63
  import { RemoveSourceIdentifierFromSubscriptionCommandInput, RemoveSourceIdentifierFromSubscriptionCommandOutput } from "./commands/RemoveSourceIdentifierFromSubscriptionCommand";
58
64
  import { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand";
@@ -246,6 +252,21 @@ export declare class Neptune extends NeptuneClient {
246
252
  createEventSubscription(args: CreateEventSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventSubscriptionCommandOutput>;
247
253
  createEventSubscription(args: CreateEventSubscriptionCommandInput, cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void): void;
248
254
  createEventSubscription(args: CreateEventSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void): void;
255
+ /**
256
+ * <p>Creates a Neptune global database spread across multiple Amazon Regions.
257
+ * The global database contains a single primary cluster with read-write
258
+ * capability, and read-only secondary clusters that receive data from the
259
+ * primary cluster through high-speed replication performed by the Neptune
260
+ * storage subsystem.</p>
261
+ *
262
+ * <p>You can create a global database that is initially empty, and then
263
+ * add a primary cluster and secondary clusters to it, or you can specify
264
+ * an existing Neptune cluster during the create operation to become the
265
+ * primary cluster of the global database.</p>
266
+ */
267
+ createGlobalCluster(args: CreateGlobalClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateGlobalClusterCommandOutput>;
268
+ createGlobalCluster(args: CreateGlobalClusterCommandInput, cb: (err: any, data?: CreateGlobalClusterCommandOutput) => void): void;
269
+ createGlobalCluster(args: CreateGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGlobalClusterCommandOutput) => void): void;
249
270
  /**
250
271
  * <p>The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a
251
272
  * DB cluster, all automated backups for that DB cluster are deleted and can't be recovered.
@@ -323,6 +344,13 @@ export declare class Neptune extends NeptuneClient {
323
344
  deleteEventSubscription(args: DeleteEventSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventSubscriptionCommandOutput>;
324
345
  deleteEventSubscription(args: DeleteEventSubscriptionCommandInput, cb: (err: any, data?: DeleteEventSubscriptionCommandOutput) => void): void;
325
346
  deleteEventSubscription(args: DeleteEventSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventSubscriptionCommandOutput) => void): void;
347
+ /**
348
+ * <p>Deletes a global database. The primary and all secondary clusters must
349
+ * already be detached or deleted first.</p>
350
+ */
351
+ deleteGlobalCluster(args: DeleteGlobalClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGlobalClusterCommandOutput>;
352
+ deleteGlobalCluster(args: DeleteGlobalClusterCommandInput, cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void): void;
353
+ deleteGlobalCluster(args: DeleteGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGlobalClusterCommandOutput) => void): void;
326
354
  /**
327
355
  * <p>Returns information about endpoints for an Amazon Neptune DB cluster.</p>
328
356
  * <note>
@@ -459,6 +487,13 @@ export declare class Neptune extends NeptuneClient {
459
487
  describeEventSubscriptions(args: DescribeEventSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventSubscriptionsCommandOutput>;
460
488
  describeEventSubscriptions(args: DescribeEventSubscriptionsCommandInput, cb: (err: any, data?: DescribeEventSubscriptionsCommandOutput) => void): void;
461
489
  describeEventSubscriptions(args: DescribeEventSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSubscriptionsCommandOutput) => void): void;
490
+ /**
491
+ * <p>Returns information about Neptune global database clusters. This API
492
+ * supports pagination.</p>
493
+ */
494
+ describeGlobalClusters(args: DescribeGlobalClustersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGlobalClustersCommandOutput>;
495
+ describeGlobalClusters(args: DescribeGlobalClustersCommandInput, cb: (err: any, data?: DescribeGlobalClustersCommandOutput) => void): void;
496
+ describeGlobalClusters(args: DescribeGlobalClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalClustersCommandOutput) => void): void;
462
497
  /**
463
498
  * <p>Returns a list of orderable DB instance options for the specified engine.</p>
464
499
  */
@@ -493,6 +528,26 @@ export declare class Neptune extends NeptuneClient {
493
528
  failoverDBCluster(args: FailoverDBClusterCommandInput, options?: __HttpHandlerOptions): Promise<FailoverDBClusterCommandOutput>;
494
529
  failoverDBCluster(args: FailoverDBClusterCommandInput, cb: (err: any, data?: FailoverDBClusterCommandOutput) => void): void;
495
530
  failoverDBCluster(args: FailoverDBClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverDBClusterCommandOutput) => void): void;
531
+ /**
532
+ * <p>Initiates the failover process for a Neptune global database.</p>
533
+ * <p>A failover for a Neptune global database promotes one of secondary
534
+ * read-only DB clusters to be the primary DB cluster and demotes the
535
+ * primary DB cluster to being a secondary (read-only) DB cluster. In other
536
+ * words, the role of the current primary DB cluster and the selected
537
+ * target secondary DB cluster are switched. The selected secondary DB cluster
538
+ * assumes full read/write capabilities for the Neptune global database.</p>
539
+ *
540
+ * <note>
541
+ * <p>This action applies <b>only</b> to
542
+ * Neptune global databases. This action is only intended for use on healthy
543
+ * Neptune global databases with healthy Neptune DB clusters and no region-wide
544
+ * outages, to test disaster recovery scenarios or to reconfigure the global
545
+ * database topology.</p>
546
+ * </note>
547
+ */
548
+ failoverGlobalCluster(args: FailoverGlobalClusterCommandInput, options?: __HttpHandlerOptions): Promise<FailoverGlobalClusterCommandOutput>;
549
+ failoverGlobalCluster(args: FailoverGlobalClusterCommandInput, cb: (err: any, data?: FailoverGlobalClusterCommandOutput) => void): void;
550
+ failoverGlobalCluster(args: FailoverGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FailoverGlobalClusterCommandOutput) => void): void;
496
551
  /**
497
552
  * <p>Lists all tags on an Amazon Neptune resource.</p>
498
553
  */
@@ -607,6 +662,14 @@ export declare class Neptune extends NeptuneClient {
607
662
  modifyEventSubscription(args: ModifyEventSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<ModifyEventSubscriptionCommandOutput>;
608
663
  modifyEventSubscription(args: ModifyEventSubscriptionCommandInput, cb: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void): void;
609
664
  modifyEventSubscription(args: ModifyEventSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void): void;
665
+ /**
666
+ * <p>Modify a setting for an Amazon Neptune global cluster. You can change one
667
+ * or more database configuration parameters by specifying these parameters
668
+ * and their new values in the request.</p>
669
+ */
670
+ modifyGlobalCluster(args: ModifyGlobalClusterCommandInput, options?: __HttpHandlerOptions): Promise<ModifyGlobalClusterCommandOutput>;
671
+ modifyGlobalCluster(args: ModifyGlobalClusterCommandInput, cb: (err: any, data?: ModifyGlobalClusterCommandOutput) => void): void;
672
+ modifyGlobalCluster(args: ModifyGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyGlobalClusterCommandOutput) => void): void;
610
673
  /**
611
674
  * <p>Not supported.</p>
612
675
  */
@@ -623,6 +686,15 @@ export declare class Neptune extends NeptuneClient {
623
686
  rebootDBInstance(args: RebootDBInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RebootDBInstanceCommandOutput>;
624
687
  rebootDBInstance(args: RebootDBInstanceCommandInput, cb: (err: any, data?: RebootDBInstanceCommandOutput) => void): void;
625
688
  rebootDBInstance(args: RebootDBInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootDBInstanceCommandOutput) => void): void;
689
+ /**
690
+ * <p>Detaches a Neptune DB cluster from a Neptune global database. A secondary
691
+ * cluster becomes a normal standalone cluster with read-write capability
692
+ * instead of being read-only, and no longer receives data from a the
693
+ * primary cluster.</p>
694
+ */
695
+ removeFromGlobalCluster(args: RemoveFromGlobalClusterCommandInput, options?: __HttpHandlerOptions): Promise<RemoveFromGlobalClusterCommandOutput>;
696
+ removeFromGlobalCluster(args: RemoveFromGlobalClusterCommandInput, cb: (err: any, data?: RemoveFromGlobalClusterCommandOutput) => void): void;
697
+ removeFromGlobalCluster(args: RemoveFromGlobalClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveFromGlobalClusterCommandOutput) => void): void;
626
698
  /**
627
699
  * <p>Disassociates an Identity and Access Management (IAM) role from a DB cluster.</p>
628
700
  */
@@ -21,6 +21,7 @@ import { CreateDBInstanceCommandInput, CreateDBInstanceCommandOutput } from "./c
21
21
  import { CreateDBParameterGroupCommandInput, CreateDBParameterGroupCommandOutput } from "./commands/CreateDBParameterGroupCommand";
22
22
  import { CreateDBSubnetGroupCommandInput, CreateDBSubnetGroupCommandOutput } from "./commands/CreateDBSubnetGroupCommand";
23
23
  import { CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutput } from "./commands/CreateEventSubscriptionCommand";
24
+ import { CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput } from "./commands/CreateGlobalClusterCommand";
24
25
  import { DeleteDBClusterCommandInput, DeleteDBClusterCommandOutput } from "./commands/DeleteDBClusterCommand";
25
26
  import { DeleteDBClusterEndpointCommandInput, DeleteDBClusterEndpointCommandOutput } from "./commands/DeleteDBClusterEndpointCommand";
26
27
  import { DeleteDBClusterParameterGroupCommandInput, DeleteDBClusterParameterGroupCommandOutput } from "./commands/DeleteDBClusterParameterGroupCommand";
@@ -29,6 +30,7 @@ import { DeleteDBInstanceCommandInput, DeleteDBInstanceCommandOutput } from "./c
29
30
  import { DeleteDBParameterGroupCommandInput, DeleteDBParameterGroupCommandOutput } from "./commands/DeleteDBParameterGroupCommand";
30
31
  import { DeleteDBSubnetGroupCommandInput, DeleteDBSubnetGroupCommandOutput } from "./commands/DeleteDBSubnetGroupCommand";
31
32
  import { DeleteEventSubscriptionCommandInput, DeleteEventSubscriptionCommandOutput } from "./commands/DeleteEventSubscriptionCommand";
33
+ import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput } from "./commands/DeleteGlobalClusterCommand";
32
34
  import { DescribeDBClusterEndpointsCommandInput, DescribeDBClusterEndpointsCommandOutput } from "./commands/DescribeDBClusterEndpointsCommand";
33
35
  import { DescribeDBClusterParameterGroupsCommandInput, DescribeDBClusterParameterGroupsCommandOutput } from "./commands/DescribeDBClusterParameterGroupsCommand";
34
36
  import { DescribeDBClusterParametersCommandInput, DescribeDBClusterParametersCommandOutput } from "./commands/DescribeDBClusterParametersCommand";
@@ -45,10 +47,12 @@ import { DescribeEngineDefaultParametersCommandInput, DescribeEngineDefaultParam
45
47
  import { DescribeEventCategoriesCommandInput, DescribeEventCategoriesCommandOutput } from "./commands/DescribeEventCategoriesCommand";
46
48
  import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
47
49
  import { DescribeEventSubscriptionsCommandInput, DescribeEventSubscriptionsCommandOutput } from "./commands/DescribeEventSubscriptionsCommand";
50
+ import { DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput } from "./commands/DescribeGlobalClustersCommand";
48
51
  import { DescribeOrderableDBInstanceOptionsCommandInput, DescribeOrderableDBInstanceOptionsCommandOutput } from "./commands/DescribeOrderableDBInstanceOptionsCommand";
49
52
  import { DescribePendingMaintenanceActionsCommandInput, DescribePendingMaintenanceActionsCommandOutput } from "./commands/DescribePendingMaintenanceActionsCommand";
50
53
  import { DescribeValidDBInstanceModificationsCommandInput, DescribeValidDBInstanceModificationsCommandOutput } from "./commands/DescribeValidDBInstanceModificationsCommand";
51
54
  import { FailoverDBClusterCommandInput, FailoverDBClusterCommandOutput } from "./commands/FailoverDBClusterCommand";
55
+ import { FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput } from "./commands/FailoverGlobalClusterCommand";
52
56
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
53
57
  import { ModifyDBClusterCommandInput, ModifyDBClusterCommandOutput } from "./commands/ModifyDBClusterCommand";
54
58
  import { ModifyDBClusterEndpointCommandInput, ModifyDBClusterEndpointCommandOutput } from "./commands/ModifyDBClusterEndpointCommand";
@@ -58,8 +62,10 @@ import { ModifyDBInstanceCommandInput, ModifyDBInstanceCommandOutput } from "./c
58
62
  import { ModifyDBParameterGroupCommandInput, ModifyDBParameterGroupCommandOutput } from "./commands/ModifyDBParameterGroupCommand";
59
63
  import { ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput } from "./commands/ModifyDBSubnetGroupCommand";
60
64
  import { ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput } from "./commands/ModifyEventSubscriptionCommand";
65
+ import { ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput } from "./commands/ModifyGlobalClusterCommand";
61
66
  import { PromoteReadReplicaDBClusterCommandInput, PromoteReadReplicaDBClusterCommandOutput } from "./commands/PromoteReadReplicaDBClusterCommand";
62
67
  import { RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput } from "./commands/RebootDBInstanceCommand";
68
+ import { RemoveFromGlobalClusterCommandInput, RemoveFromGlobalClusterCommandOutput } from "./commands/RemoveFromGlobalClusterCommand";
63
69
  import { RemoveRoleFromDBClusterCommandInput, RemoveRoleFromDBClusterCommandOutput } from "./commands/RemoveRoleFromDBClusterCommand";
64
70
  import { RemoveSourceIdentifierFromSubscriptionCommandInput, RemoveSourceIdentifierFromSubscriptionCommandOutput } from "./commands/RemoveSourceIdentifierFromSubscriptionCommand";
65
71
  import { RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput } from "./commands/RemoveTagsFromResourceCommand";
@@ -69,8 +75,8 @@ import { RestoreDBClusterFromSnapshotCommandInput, RestoreDBClusterFromSnapshotC
69
75
  import { RestoreDBClusterToPointInTimeCommandInput, RestoreDBClusterToPointInTimeCommandOutput } from "./commands/RestoreDBClusterToPointInTimeCommand";
70
76
  import { StartDBClusterCommandInput, StartDBClusterCommandOutput } from "./commands/StartDBClusterCommand";
71
77
  import { StopDBClusterCommandInput, StopDBClusterCommandOutput } from "./commands/StopDBClusterCommand";
72
- export declare type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBParameterGroupCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstancesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeValidDBInstanceModificationsCommandInput | FailoverDBClusterCommandInput | ListTagsForResourceCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | PromoteReadReplicaDBClusterCommandInput | RebootDBInstanceCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | StartDBClusterCommandInput | StopDBClusterCommandInput;
73
- export declare type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | FailoverDBClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | PromoteReadReplicaDBClusterCommandOutput | RebootDBInstanceCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | StartDBClusterCommandOutput | StopDBClusterCommandOutput;
78
+ export declare type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBParameterGroupCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstancesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeGlobalClustersCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeValidDBInstanceModificationsCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput | ListTagsForResourceCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | ModifyGlobalClusterCommandInput | PromoteReadReplicaDBClusterCommandInput | RebootDBInstanceCommandInput | RemoveFromGlobalClusterCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | StartDBClusterCommandInput | StopDBClusterCommandInput;
79
+ export declare type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeGlobalClustersCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyGlobalClusterCommandOutput | PromoteReadReplicaDBClusterCommandOutput | RebootDBInstanceCommandOutput | RemoveFromGlobalClusterCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | StartDBClusterCommandOutput | StopDBClusterCommandOutput;
74
80
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
75
81
  /**
76
82
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,44 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateGlobalClusterMessage, CreateGlobalClusterResult } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface CreateGlobalClusterCommandInput extends CreateGlobalClusterMessage {
6
+ }
7
+ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a Neptune global database spread across multiple Amazon Regions.
11
+ * The global database contains a single primary cluster with read-write
12
+ * capability, and read-only secondary clusters that receive data from the
13
+ * primary cluster through high-speed replication performed by the Neptune
14
+ * storage subsystem.</p>
15
+ *
16
+ * <p>You can create a global database that is initially empty, and then
17
+ * add a primary cluster and secondary clusters to it, or you can specify
18
+ * an existing Neptune cluster during the create operation to become the
19
+ * primary cluster of the global database.</p>
20
+ * @example
21
+ * Use a bare-bones client and the command you need to make an API call.
22
+ * ```javascript
23
+ * import { NeptuneClient, CreateGlobalClusterCommand } from "@aws-sdk/client-neptune"; // ES Modules import
24
+ * // const { NeptuneClient, CreateGlobalClusterCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
25
+ * const client = new NeptuneClient(config);
26
+ * const command = new CreateGlobalClusterCommand(input);
27
+ * const response = await client.send(command);
28
+ * ```
29
+ *
30
+ * @see {@link CreateGlobalClusterCommandInput} for command's `input` shape.
31
+ * @see {@link CreateGlobalClusterCommandOutput} for command's `response` shape.
32
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
33
+ *
34
+ */
35
+ export declare class CreateGlobalClusterCommand extends $Command<CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput, NeptuneClientResolvedConfig> {
36
+ readonly input: CreateGlobalClusterCommandInput;
37
+ constructor(input: CreateGlobalClusterCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteGlobalClusterMessage, DeleteGlobalClusterResult } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface DeleteGlobalClusterCommandInput extends DeleteGlobalClusterMessage {
6
+ }
7
+ export interface DeleteGlobalClusterCommandOutput extends DeleteGlobalClusterResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a global database. The primary and all secondary clusters must
11
+ * already be detached or deleted first.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { NeptuneClient, DeleteGlobalClusterCommand } from "@aws-sdk/client-neptune"; // ES Modules import
16
+ * // const { NeptuneClient, DeleteGlobalClusterCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
17
+ * const client = new NeptuneClient(config);
18
+ * const command = new DeleteGlobalClusterCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteGlobalClusterCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteGlobalClusterCommandOutput} for command's `response` shape.
24
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteGlobalClusterCommand extends $Command<DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput, NeptuneClientResolvedConfig> {
28
+ readonly input: DeleteGlobalClusterCommandInput;
29
+ constructor(input: DeleteGlobalClusterCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeGlobalClustersMessage, GlobalClustersMessage } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface DescribeGlobalClustersCommandInput extends DescribeGlobalClustersMessage {
6
+ }
7
+ export interface DescribeGlobalClustersCommandOutput extends GlobalClustersMessage, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns information about Neptune global database clusters. This API
11
+ * supports pagination.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { NeptuneClient, DescribeGlobalClustersCommand } from "@aws-sdk/client-neptune"; // ES Modules import
16
+ * // const { NeptuneClient, DescribeGlobalClustersCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
17
+ * const client = new NeptuneClient(config);
18
+ * const command = new DescribeGlobalClustersCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DescribeGlobalClustersCommandInput} for command's `input` shape.
23
+ * @see {@link DescribeGlobalClustersCommandOutput} for command's `response` shape.
24
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DescribeGlobalClustersCommand extends $Command<DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput, NeptuneClientResolvedConfig> {
28
+ readonly input: DescribeGlobalClustersCommandInput;
29
+ constructor(input: DescribeGlobalClustersCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FailoverGlobalClusterMessage, FailoverGlobalClusterResult } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface FailoverGlobalClusterCommandInput extends FailoverGlobalClusterMessage {
6
+ }
7
+ export interface FailoverGlobalClusterCommandOutput extends FailoverGlobalClusterResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Initiates the failover process for a Neptune global database.</p>
11
+ * <p>A failover for a Neptune global database promotes one of secondary
12
+ * read-only DB clusters to be the primary DB cluster and demotes the
13
+ * primary DB cluster to being a secondary (read-only) DB cluster. In other
14
+ * words, the role of the current primary DB cluster and the selected
15
+ * target secondary DB cluster are switched. The selected secondary DB cluster
16
+ * assumes full read/write capabilities for the Neptune global database.</p>
17
+ *
18
+ * <note>
19
+ * <p>This action applies <b>only</b> to
20
+ * Neptune global databases. This action is only intended for use on healthy
21
+ * Neptune global databases with healthy Neptune DB clusters and no region-wide
22
+ * outages, to test disaster recovery scenarios or to reconfigure the global
23
+ * database topology.</p>
24
+ * </note>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { NeptuneClient, FailoverGlobalClusterCommand } from "@aws-sdk/client-neptune"; // ES Modules import
29
+ * // const { NeptuneClient, FailoverGlobalClusterCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
30
+ * const client = new NeptuneClient(config);
31
+ * const command = new FailoverGlobalClusterCommand(input);
32
+ * const response = await client.send(command);
33
+ * ```
34
+ *
35
+ * @see {@link FailoverGlobalClusterCommandInput} for command's `input` shape.
36
+ * @see {@link FailoverGlobalClusterCommandOutput} for command's `response` shape.
37
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
38
+ *
39
+ */
40
+ export declare class FailoverGlobalClusterCommand extends $Command<FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput, NeptuneClientResolvedConfig> {
41
+ readonly input: FailoverGlobalClusterCommandInput;
42
+ constructor(input: FailoverGlobalClusterCommandInput);
43
+ /**
44
+ * @internal
45
+ */
46
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput>;
47
+ private serialize;
48
+ private deserialize;
49
+ }
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ModifyGlobalClusterMessage, ModifyGlobalClusterResult } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface ModifyGlobalClusterCommandInput extends ModifyGlobalClusterMessage {
6
+ }
7
+ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Modify a setting for an Amazon Neptune global cluster. You can change one
11
+ * or more database configuration parameters by specifying these parameters
12
+ * and their new values in the request.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { NeptuneClient, ModifyGlobalClusterCommand } from "@aws-sdk/client-neptune"; // ES Modules import
17
+ * // const { NeptuneClient, ModifyGlobalClusterCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
18
+ * const client = new NeptuneClient(config);
19
+ * const command = new ModifyGlobalClusterCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link ModifyGlobalClusterCommandInput} for command's `input` shape.
24
+ * @see {@link ModifyGlobalClusterCommandOutput} for command's `response` shape.
25
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class ModifyGlobalClusterCommand extends $Command<ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput, NeptuneClientResolvedConfig> {
29
+ readonly input: ModifyGlobalClusterCommandInput;
30
+ constructor(input: ModifyGlobalClusterCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,38 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { RemoveFromGlobalClusterMessage, RemoveFromGlobalClusterResult } from "../models/models_0";
4
+ import { NeptuneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NeptuneClient";
5
+ export interface RemoveFromGlobalClusterCommandInput extends RemoveFromGlobalClusterMessage {
6
+ }
7
+ export interface RemoveFromGlobalClusterCommandOutput extends RemoveFromGlobalClusterResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Detaches a Neptune DB cluster from a Neptune global database. A secondary
11
+ * cluster becomes a normal standalone cluster with read-write capability
12
+ * instead of being read-only, and no longer receives data from a the
13
+ * primary cluster.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { NeptuneClient, RemoveFromGlobalClusterCommand } from "@aws-sdk/client-neptune"; // ES Modules import
18
+ * // const { NeptuneClient, RemoveFromGlobalClusterCommand } = require("@aws-sdk/client-neptune"); // CommonJS import
19
+ * const client = new NeptuneClient(config);
20
+ * const command = new RemoveFromGlobalClusterCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link RemoveFromGlobalClusterCommandInput} for command's `input` shape.
25
+ * @see {@link RemoveFromGlobalClusterCommandOutput} for command's `response` shape.
26
+ * @see {@link NeptuneClientResolvedConfig | config} for NeptuneClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class RemoveFromGlobalClusterCommand extends $Command<RemoveFromGlobalClusterCommandInput, RemoveFromGlobalClusterCommandOutput, NeptuneClientResolvedConfig> {
30
+ readonly input: RemoveFromGlobalClusterCommandInput;
31
+ constructor(input: RemoveFromGlobalClusterCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NeptuneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveFromGlobalClusterCommandInput, RemoveFromGlobalClusterCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -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";