aws-sdk-docdb 1.30.0 → 1.31.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-docdb.rb +1 -1
- data/lib/aws-sdk-docdb/client.rb +378 -9
- data/lib/aws-sdk-docdb/client_api.rb +162 -2
- data/lib/aws-sdk-docdb/errors.rb +44 -0
- data/lib/aws-sdk-docdb/types.rb +423 -6
- metadata +3 -4
@@ -47,6 +47,8 @@ module Aws::DocDB
|
|
47
47
|
CreateDBSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateDBSubnetGroupResult')
|
48
48
|
CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
|
49
49
|
CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
|
50
|
+
CreateGlobalClusterMessage = Shapes::StructureShape.new(name: 'CreateGlobalClusterMessage')
|
51
|
+
CreateGlobalClusterResult = Shapes::StructureShape.new(name: 'CreateGlobalClusterResult')
|
50
52
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
51
53
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault')
|
52
54
|
DBClusterList = Shapes::ListShape.new(name: 'DBClusterList')
|
@@ -106,6 +108,8 @@ module Aws::DocDB
|
|
106
108
|
DeleteDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBSubnetGroupMessage')
|
107
109
|
DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
|
108
110
|
DeleteEventSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionResult')
|
111
|
+
DeleteGlobalClusterMessage = Shapes::StructureShape.new(name: 'DeleteGlobalClusterMessage')
|
112
|
+
DeleteGlobalClusterResult = Shapes::StructureShape.new(name: 'DeleteGlobalClusterResult')
|
109
113
|
DescribeCertificatesMessage = Shapes::StructureShape.new(name: 'DescribeCertificatesMessage')
|
110
114
|
DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
|
111
115
|
DescribeDBClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParametersMessage')
|
@@ -121,6 +125,7 @@ module Aws::DocDB
|
|
121
125
|
DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
|
122
126
|
DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
|
123
127
|
DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
|
128
|
+
DescribeGlobalClustersMessage = Shapes::StructureShape.new(name: 'DescribeGlobalClustersMessage')
|
124
129
|
DescribeOrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableDBInstanceOptionsMessage')
|
125
130
|
DescribePendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsMessage')
|
126
131
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
@@ -141,6 +146,15 @@ module Aws::DocDB
|
|
141
146
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
142
147
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
143
148
|
FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
|
149
|
+
GlobalCluster = Shapes::StructureShape.new(name: 'GlobalCluster')
|
150
|
+
GlobalClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'GlobalClusterAlreadyExistsFault')
|
151
|
+
GlobalClusterIdentifier = Shapes::StringShape.new(name: 'GlobalClusterIdentifier')
|
152
|
+
GlobalClusterList = Shapes::ListShape.new(name: 'GlobalClusterList')
|
153
|
+
GlobalClusterMember = Shapes::StructureShape.new(name: 'GlobalClusterMember')
|
154
|
+
GlobalClusterMemberList = Shapes::ListShape.new(name: 'GlobalClusterMemberList')
|
155
|
+
GlobalClusterNotFoundFault = Shapes::StructureShape.new(name: 'GlobalClusterNotFoundFault')
|
156
|
+
GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault')
|
157
|
+
GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
|
144
158
|
InstanceQuotaExceededFault = Shapes::StructureShape.new(name: 'InstanceQuotaExceededFault')
|
145
159
|
InsufficientDBClusterCapacityFault = Shapes::StructureShape.new(name: 'InsufficientDBClusterCapacityFault')
|
146
160
|
InsufficientDBInstanceCapacityFault = Shapes::StructureShape.new(name: 'InsufficientDBInstanceCapacityFault')
|
@@ -156,6 +170,7 @@ module Aws::DocDB
|
|
156
170
|
InvalidDBSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetGroupStateFault')
|
157
171
|
InvalidDBSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetStateFault')
|
158
172
|
InvalidEventSubscriptionStateFault = Shapes::StructureShape.new(name: 'InvalidEventSubscriptionStateFault')
|
173
|
+
InvalidGlobalClusterStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalClusterStateFault')
|
159
174
|
InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
|
160
175
|
InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
|
161
176
|
InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
|
@@ -174,6 +189,8 @@ module Aws::DocDB
|
|
174
189
|
ModifyDBSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyDBSubnetGroupResult')
|
175
190
|
ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
|
176
191
|
ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
|
192
|
+
ModifyGlobalClusterMessage = Shapes::StructureShape.new(name: 'ModifyGlobalClusterMessage')
|
193
|
+
ModifyGlobalClusterResult = Shapes::StructureShape.new(name: 'ModifyGlobalClusterResult')
|
177
194
|
OrderableDBInstanceOption = Shapes::StructureShape.new(name: 'OrderableDBInstanceOption')
|
178
195
|
OrderableDBInstanceOptionsList = Shapes::ListShape.new(name: 'OrderableDBInstanceOptionsList')
|
179
196
|
OrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'OrderableDBInstanceOptionsMessage')
|
@@ -185,8 +202,12 @@ module Aws::DocDB
|
|
185
202
|
PendingMaintenanceActions = Shapes::ListShape.new(name: 'PendingMaintenanceActions')
|
186
203
|
PendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'PendingMaintenanceActionsMessage')
|
187
204
|
PendingModifiedValues = Shapes::StructureShape.new(name: 'PendingModifiedValues')
|
205
|
+
ReadReplicaIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaIdentifierList')
|
206
|
+
ReadersArnList = Shapes::ListShape.new(name: 'ReadersArnList')
|
188
207
|
RebootDBInstanceMessage = Shapes::StructureShape.new(name: 'RebootDBInstanceMessage')
|
189
208
|
RebootDBInstanceResult = Shapes::StructureShape.new(name: 'RebootDBInstanceResult')
|
209
|
+
RemoveFromGlobalClusterMessage = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterMessage')
|
210
|
+
RemoveFromGlobalClusterResult = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterResult')
|
190
211
|
RemoveSourceIdentifierFromSubscriptionMessage = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionMessage')
|
191
212
|
RemoveSourceIdentifierFromSubscriptionResult = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionResult')
|
192
213
|
RemoveTagsFromResourceMessage = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceMessage')
|
@@ -309,8 +330,8 @@ module Aws::DocDB
|
|
309
330
|
CreateDBClusterMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Engine"))
|
310
331
|
CreateDBClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
311
332
|
CreateDBClusterMessage.add_member(:port, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Port"))
|
312
|
-
CreateDBClusterMessage.add_member(:master_username, Shapes::ShapeRef.new(shape: String,
|
313
|
-
CreateDBClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String,
|
333
|
+
CreateDBClusterMessage.add_member(:master_username, Shapes::ShapeRef.new(shape: String, location_name: "MasterUsername"))
|
334
|
+
CreateDBClusterMessage.add_member(:master_user_password, Shapes::ShapeRef.new(shape: String, location_name: "MasterUserPassword"))
|
314
335
|
CreateDBClusterMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
315
336
|
CreateDBClusterMessage.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredMaintenanceWindow"))
|
316
337
|
CreateDBClusterMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -319,6 +340,7 @@ module Aws::DocDB
|
|
319
340
|
CreateDBClusterMessage.add_member(:pre_signed_url, Shapes::ShapeRef.new(shape: String, location_name: "PreSignedUrl"))
|
320
341
|
CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
321
342
|
CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
343
|
+
CreateDBClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
322
344
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
323
345
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
324
346
|
|
@@ -377,6 +399,18 @@ module Aws::DocDB
|
|
377
399
|
CreateEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
378
400
|
CreateEventSubscriptionResult.struct_class = Types::CreateEventSubscriptionResult
|
379
401
|
|
402
|
+
CreateGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
403
|
+
CreateGlobalClusterMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
404
|
+
CreateGlobalClusterMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
405
|
+
CreateGlobalClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
406
|
+
CreateGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
407
|
+
CreateGlobalClusterMessage.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
|
408
|
+
CreateGlobalClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
409
|
+
CreateGlobalClusterMessage.struct_class = Types::CreateGlobalClusterMessage
|
410
|
+
|
411
|
+
CreateGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
412
|
+
CreateGlobalClusterResult.struct_class = Types::CreateGlobalClusterResult
|
413
|
+
|
380
414
|
DBCluster.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
381
415
|
DBCluster.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
382
416
|
DBCluster.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -395,6 +429,8 @@ module Aws::DocDB
|
|
395
429
|
DBCluster.add_member(:master_username, Shapes::ShapeRef.new(shape: String, location_name: "MasterUsername"))
|
396
430
|
DBCluster.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
397
431
|
DBCluster.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredMaintenanceWindow"))
|
432
|
+
DBCluster.add_member(:replication_source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationSourceIdentifier"))
|
433
|
+
DBCluster.add_member(:read_replica_identifiers, Shapes::ShapeRef.new(shape: ReadReplicaIdentifierList, location_name: "ReadReplicaIdentifiers"))
|
398
434
|
DBCluster.add_member(:db_cluster_members, Shapes::ShapeRef.new(shape: DBClusterMemberList, location_name: "DBClusterMembers"))
|
399
435
|
DBCluster.add_member(:vpc_security_groups, Shapes::ShapeRef.new(shape: VpcSecurityGroupMembershipList, location_name: "VpcSecurityGroups"))
|
400
436
|
DBCluster.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "HostedZoneId"))
|
@@ -626,6 +662,12 @@ module Aws::DocDB
|
|
626
662
|
DeleteEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
627
663
|
DeleteEventSubscriptionResult.struct_class = Types::DeleteEventSubscriptionResult
|
628
664
|
|
665
|
+
DeleteGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
666
|
+
DeleteGlobalClusterMessage.struct_class = Types::DeleteGlobalClusterMessage
|
667
|
+
|
668
|
+
DeleteGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
669
|
+
DeleteGlobalClusterResult.struct_class = Types::DeleteGlobalClusterResult
|
670
|
+
|
629
671
|
DescribeCertificatesMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
|
630
672
|
DescribeCertificatesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
631
673
|
DescribeCertificatesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
@@ -720,6 +762,12 @@ module Aws::DocDB
|
|
720
762
|
DescribeEventsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
721
763
|
DescribeEventsMessage.struct_class = Types::DescribeEventsMessage
|
722
764
|
|
765
|
+
DescribeGlobalClustersMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
766
|
+
DescribeGlobalClustersMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
767
|
+
DescribeGlobalClustersMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
768
|
+
DescribeGlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
769
|
+
DescribeGlobalClustersMessage.struct_class = Types::DescribeGlobalClustersMessage
|
770
|
+
|
723
771
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Engine"))
|
724
772
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
725
773
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
|
@@ -806,6 +854,37 @@ module Aws::DocDB
|
|
806
854
|
|
807
855
|
FilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
|
808
856
|
|
857
|
+
GlobalCluster.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
858
|
+
GlobalCluster.add_member(:global_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterResourceId"))
|
859
|
+
GlobalCluster.add_member(:global_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterArn"))
|
860
|
+
GlobalCluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
861
|
+
GlobalCluster.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
862
|
+
GlobalCluster.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
863
|
+
GlobalCluster.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
|
864
|
+
GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
865
|
+
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
866
|
+
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
|
867
|
+
GlobalCluster.struct_class = Types::GlobalCluster
|
868
|
+
|
869
|
+
GlobalClusterAlreadyExistsFault.struct_class = Types::GlobalClusterAlreadyExistsFault
|
870
|
+
|
871
|
+
GlobalClusterList.member = Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalClusterMember")
|
872
|
+
|
873
|
+
GlobalClusterMember.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
874
|
+
GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
|
875
|
+
GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
|
876
|
+
GlobalClusterMember.struct_class = Types::GlobalClusterMember
|
877
|
+
|
878
|
+
GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
|
879
|
+
|
880
|
+
GlobalClusterNotFoundFault.struct_class = Types::GlobalClusterNotFoundFault
|
881
|
+
|
882
|
+
GlobalClusterQuotaExceededFault.struct_class = Types::GlobalClusterQuotaExceededFault
|
883
|
+
|
884
|
+
GlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
885
|
+
GlobalClustersMessage.add_member(:global_clusters, Shapes::ShapeRef.new(shape: GlobalClusterList, location_name: "GlobalClusters"))
|
886
|
+
GlobalClustersMessage.struct_class = Types::GlobalClustersMessage
|
887
|
+
|
809
888
|
InstanceQuotaExceededFault.struct_class = Types::InstanceQuotaExceededFault
|
810
889
|
|
811
890
|
InsufficientDBClusterCapacityFault.struct_class = Types::InsufficientDBClusterCapacityFault
|
@@ -832,6 +911,8 @@ module Aws::DocDB
|
|
832
911
|
|
833
912
|
InvalidEventSubscriptionStateFault.struct_class = Types::InvalidEventSubscriptionStateFault
|
834
913
|
|
914
|
+
InvalidGlobalClusterStateFault.struct_class = Types::InvalidGlobalClusterStateFault
|
915
|
+
|
835
916
|
InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
|
836
917
|
|
837
918
|
InvalidSubnet.struct_class = Types::InvalidSubnet
|
@@ -910,6 +991,14 @@ module Aws::DocDB
|
|
910
991
|
ModifyEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
911
992
|
ModifyEventSubscriptionResult.struct_class = Types::ModifyEventSubscriptionResult
|
912
993
|
|
994
|
+
ModifyGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
995
|
+
ModifyGlobalClusterMessage.add_member(:new_global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "NewGlobalClusterIdentifier"))
|
996
|
+
ModifyGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
997
|
+
ModifyGlobalClusterMessage.struct_class = Types::ModifyGlobalClusterMessage
|
998
|
+
|
999
|
+
ModifyGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1000
|
+
ModifyGlobalClusterResult.struct_class = Types::ModifyGlobalClusterResult
|
1001
|
+
|
913
1002
|
OrderableDBInstanceOption.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
914
1003
|
OrderableDBInstanceOption.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
915
1004
|
OrderableDBInstanceOption.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
|
@@ -974,6 +1063,10 @@ module Aws::DocDB
|
|
974
1063
|
PendingModifiedValues.add_member(:pending_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: PendingCloudwatchLogsExports, location_name: "PendingCloudwatchLogsExports"))
|
975
1064
|
PendingModifiedValues.struct_class = Types::PendingModifiedValues
|
976
1065
|
|
1066
|
+
ReadReplicaIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "ReadReplicaIdentifier")
|
1067
|
+
|
1068
|
+
ReadersArnList.member = Shapes::ShapeRef.new(shape: String)
|
1069
|
+
|
977
1070
|
RebootDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
978
1071
|
RebootDBInstanceMessage.add_member(:force_failover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForceFailover"))
|
979
1072
|
RebootDBInstanceMessage.struct_class = Types::RebootDBInstanceMessage
|
@@ -981,6 +1074,13 @@ module Aws::DocDB
|
|
981
1074
|
RebootDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
982
1075
|
RebootDBInstanceResult.struct_class = Types::RebootDBInstanceResult
|
983
1076
|
|
1077
|
+
RemoveFromGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1078
|
+
RemoveFromGlobalClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbClusterIdentifier"))
|
1079
|
+
RemoveFromGlobalClusterMessage.struct_class = Types::RemoveFromGlobalClusterMessage
|
1080
|
+
|
1081
|
+
RemoveFromGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1082
|
+
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
1083
|
+
|
984
1084
|
RemoveSourceIdentifierFromSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
|
985
1085
|
RemoveSourceIdentifierFromSubscriptionMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceIdentifier"))
|
986
1086
|
RemoveSourceIdentifierFromSubscriptionMessage.struct_class = Types::RemoveSourceIdentifierFromSubscriptionMessage
|
@@ -1206,6 +1306,8 @@ module Aws::DocDB
|
|
1206
1306
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
1207
1307
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
1208
1308
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupDoesNotCoverEnoughAZs)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1310
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
1209
1311
|
end)
|
1210
1312
|
|
1211
1313
|
api.add_operation(:create_db_cluster_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1282,6 +1384,18 @@ module Aws::DocDB
|
|
1282
1384
|
o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
|
1283
1385
|
end)
|
1284
1386
|
|
1387
|
+
api.add_operation(:create_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1388
|
+
o.name = "CreateGlobalCluster"
|
1389
|
+
o.http_method = "POST"
|
1390
|
+
o.http_request_uri = "/"
|
1391
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGlobalClusterMessage)
|
1392
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGlobalClusterResult)
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterAlreadyExistsFault)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterQuotaExceededFault)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
1396
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
1397
|
+
end)
|
1398
|
+
|
1285
1399
|
api.add_operation(:delete_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1286
1400
|
o.name = "DeleteDBCluster"
|
1287
1401
|
o.http_method = "POST"
|
@@ -1349,6 +1463,16 @@ module Aws::DocDB
|
|
1349
1463
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSubscriptionStateFault)
|
1350
1464
|
end)
|
1351
1465
|
|
1466
|
+
api.add_operation(:delete_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1467
|
+
o.name = "DeleteGlobalCluster"
|
1468
|
+
o.http_method = "POST"
|
1469
|
+
o.http_request_uri = "/"
|
1470
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGlobalClusterMessage)
|
1471
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGlobalClusterResult)
|
1472
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
1474
|
+
end)
|
1475
|
+
|
1352
1476
|
api.add_operation(:describe_certificates, Seahorse::Model::Operation.new.tap do |o|
|
1353
1477
|
o.name = "DescribeCertificates"
|
1354
1478
|
o.http_method = "POST"
|
@@ -1522,6 +1646,21 @@ module Aws::DocDB
|
|
1522
1646
|
)
|
1523
1647
|
end)
|
1524
1648
|
|
1649
|
+
api.add_operation(:describe_global_clusters, Seahorse::Model::Operation.new.tap do |o|
|
1650
|
+
o.name = "DescribeGlobalClusters"
|
1651
|
+
o.http_method = "POST"
|
1652
|
+
o.http_request_uri = "/"
|
1653
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalClustersMessage)
|
1654
|
+
o.output = Shapes::ShapeRef.new(shape: GlobalClustersMessage)
|
1655
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1656
|
+
o[:pager] = Aws::Pager.new(
|
1657
|
+
limit_key: "max_records",
|
1658
|
+
tokens: {
|
1659
|
+
"marker" => "marker"
|
1660
|
+
}
|
1661
|
+
)
|
1662
|
+
end)
|
1663
|
+
|
1525
1664
|
api.add_operation(:describe_orderable_db_instance_options, Seahorse::Model::Operation.new.tap do |o|
|
1526
1665
|
o.name = "DescribeOrderableDBInstanceOptions"
|
1527
1666
|
o.http_method = "POST"
|
@@ -1661,6 +1800,16 @@ module Aws::DocDB
|
|
1661
1800
|
o.errors << Shapes::ShapeRef.new(shape: SubscriptionCategoryNotFoundFault)
|
1662
1801
|
end)
|
1663
1802
|
|
1803
|
+
api.add_operation(:modify_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1804
|
+
o.name = "ModifyGlobalCluster"
|
1805
|
+
o.http_method = "POST"
|
1806
|
+
o.http_request_uri = "/"
|
1807
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyGlobalClusterMessage)
|
1808
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyGlobalClusterResult)
|
1809
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1810
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
1811
|
+
end)
|
1812
|
+
|
1664
1813
|
api.add_operation(:reboot_db_instance, Seahorse::Model::Operation.new.tap do |o|
|
1665
1814
|
o.name = "RebootDBInstance"
|
1666
1815
|
o.http_method = "POST"
|
@@ -1671,6 +1820,17 @@ module Aws::DocDB
|
|
1671
1820
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
1672
1821
|
end)
|
1673
1822
|
|
1823
|
+
api.add_operation(:remove_from_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1824
|
+
o.name = "RemoveFromGlobalCluster"
|
1825
|
+
o.http_method = "POST"
|
1826
|
+
o.http_request_uri = "/"
|
1827
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterMessage)
|
1828
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterResult)
|
1829
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1830
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
1831
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
1832
|
+
end)
|
1833
|
+
|
1674
1834
|
api.add_operation(:remove_source_identifier_from_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1675
1835
|
o.name = "RemoveSourceIdentifierFromSubscription"
|
1676
1836
|
o.http_method = "POST"
|
data/lib/aws-sdk-docdb/errors.rb
CHANGED
@@ -50,6 +50,9 @@ module Aws::DocDB
|
|
50
50
|
# * {DBSubnetQuotaExceededFault}
|
51
51
|
# * {DBUpgradeDependencyFailureFault}
|
52
52
|
# * {EventSubscriptionQuotaExceededFault}
|
53
|
+
# * {GlobalClusterAlreadyExistsFault}
|
54
|
+
# * {GlobalClusterNotFoundFault}
|
55
|
+
# * {GlobalClusterQuotaExceededFault}
|
53
56
|
# * {InstanceQuotaExceededFault}
|
54
57
|
# * {InsufficientDBClusterCapacityFault}
|
55
58
|
# * {InsufficientDBInstanceCapacityFault}
|
@@ -63,6 +66,7 @@ module Aws::DocDB
|
|
63
66
|
# * {InvalidDBSubnetGroupStateFault}
|
64
67
|
# * {InvalidDBSubnetStateFault}
|
65
68
|
# * {InvalidEventSubscriptionStateFault}
|
69
|
+
# * {InvalidGlobalClusterStateFault}
|
66
70
|
# * {InvalidRestoreFault}
|
67
71
|
# * {InvalidSubnet}
|
68
72
|
# * {InvalidVPCNetworkStateFault}
|
@@ -317,6 +321,36 @@ module Aws::DocDB
|
|
317
321
|
end
|
318
322
|
end
|
319
323
|
|
324
|
+
class GlobalClusterAlreadyExistsFault < ServiceError
|
325
|
+
|
326
|
+
# @param [Seahorse::Client::RequestContext] context
|
327
|
+
# @param [String] message
|
328
|
+
# @param [Aws::DocDB::Types::GlobalClusterAlreadyExistsFault] data
|
329
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
330
|
+
super(context, message, data)
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
class GlobalClusterNotFoundFault < ServiceError
|
335
|
+
|
336
|
+
# @param [Seahorse::Client::RequestContext] context
|
337
|
+
# @param [String] message
|
338
|
+
# @param [Aws::DocDB::Types::GlobalClusterNotFoundFault] data
|
339
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
340
|
+
super(context, message, data)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
class GlobalClusterQuotaExceededFault < ServiceError
|
345
|
+
|
346
|
+
# @param [Seahorse::Client::RequestContext] context
|
347
|
+
# @param [String] message
|
348
|
+
# @param [Aws::DocDB::Types::GlobalClusterQuotaExceededFault] data
|
349
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
350
|
+
super(context, message, data)
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
320
354
|
class InstanceQuotaExceededFault < ServiceError
|
321
355
|
|
322
356
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -447,6 +481,16 @@ module Aws::DocDB
|
|
447
481
|
end
|
448
482
|
end
|
449
483
|
|
484
|
+
class InvalidGlobalClusterStateFault < ServiceError
|
485
|
+
|
486
|
+
# @param [Seahorse::Client::RequestContext] context
|
487
|
+
# @param [String] message
|
488
|
+
# @param [Aws::DocDB::Types::InvalidGlobalClusterStateFault] data
|
489
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
490
|
+
super(context, message, data)
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
450
494
|
class InvalidRestoreFault < ServiceError
|
451
495
|
|
452
496
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-docdb/types.rb
CHANGED
@@ -537,8 +537,8 @@ module Aws::DocDB
|
|
537
537
|
# engine: "String", # required
|
538
538
|
# engine_version: "String",
|
539
539
|
# port: 1,
|
540
|
-
# master_username: "String",
|
541
|
-
# master_user_password: "String",
|
540
|
+
# master_username: "String",
|
541
|
+
# master_user_password: "String",
|
542
542
|
# preferred_backup_window: "String",
|
543
543
|
# preferred_maintenance_window: "String",
|
544
544
|
# tags: [
|
@@ -552,6 +552,7 @@ module Aws::DocDB
|
|
552
552
|
# pre_signed_url: "String",
|
553
553
|
# enable_cloudwatch_logs_exports: ["String"],
|
554
554
|
# deletion_protection: false,
|
555
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
555
556
|
# source_region: "String",
|
556
557
|
# }
|
557
558
|
#
|
@@ -731,6 +732,10 @@ module Aws::DocDB
|
|
731
732
|
# deleted.
|
732
733
|
# @return [Boolean]
|
733
734
|
#
|
735
|
+
# @!attribute [rw] global_cluster_identifier
|
736
|
+
# The cluster identifier of the new global cluster.
|
737
|
+
# @return [String]
|
738
|
+
#
|
734
739
|
# @!attribute [rw] source_region
|
735
740
|
# The source region of the snapshot. This is only needed when the
|
736
741
|
# shapshot is encrypted and in a different region.
|
@@ -758,6 +763,7 @@ module Aws::DocDB
|
|
758
763
|
:pre_signed_url,
|
759
764
|
:enable_cloudwatch_logs_exports,
|
760
765
|
:deletion_protection,
|
766
|
+
:global_cluster_identifier,
|
761
767
|
:source_region)
|
762
768
|
SENSITIVE = []
|
763
769
|
include Aws::Structure
|
@@ -1205,6 +1211,80 @@ module Aws::DocDB
|
|
1205
1211
|
include Aws::Structure
|
1206
1212
|
end
|
1207
1213
|
|
1214
|
+
# Represents the input to CreateGlobalCluster.
|
1215
|
+
#
|
1216
|
+
# @note When making an API call, you may pass CreateGlobalClusterMessage
|
1217
|
+
# data as a hash:
|
1218
|
+
#
|
1219
|
+
# {
|
1220
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
1221
|
+
# source_db_cluster_identifier: "String",
|
1222
|
+
# engine: "String",
|
1223
|
+
# engine_version: "String",
|
1224
|
+
# deletion_protection: false,
|
1225
|
+
# database_name: "String",
|
1226
|
+
# storage_encrypted: false,
|
1227
|
+
# }
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] global_cluster_identifier
|
1230
|
+
# The cluster identifier of the new global cluster.
|
1231
|
+
# @return [String]
|
1232
|
+
#
|
1233
|
+
# @!attribute [rw] source_db_cluster_identifier
|
1234
|
+
# The Amazon Resource Name (ARN) to use as the primary cluster of the
|
1235
|
+
# global cluster. This parameter is optional.
|
1236
|
+
# @return [String]
|
1237
|
+
#
|
1238
|
+
# @!attribute [rw] engine
|
1239
|
+
# The name of the database engine to be used for this cluster.
|
1240
|
+
# @return [String]
|
1241
|
+
#
|
1242
|
+
# @!attribute [rw] engine_version
|
1243
|
+
# The engine version of the global cluster.
|
1244
|
+
# @return [String]
|
1245
|
+
#
|
1246
|
+
# @!attribute [rw] deletion_protection
|
1247
|
+
# The deletion protection setting for the new global cluster. The
|
1248
|
+
# global cluster can't be deleted when deletion protection is
|
1249
|
+
# enabled.
|
1250
|
+
# @return [Boolean]
|
1251
|
+
#
|
1252
|
+
# @!attribute [rw] database_name
|
1253
|
+
# The name for your database of up to 64 alpha-numeric characters. If
|
1254
|
+
# you do not provide a name, Amazon DocumentDB will not create a
|
1255
|
+
# database in the global cluster you are creating.
|
1256
|
+
# @return [String]
|
1257
|
+
#
|
1258
|
+
# @!attribute [rw] storage_encrypted
|
1259
|
+
# The storage encryption setting for the new global cluster.
|
1260
|
+
# @return [Boolean]
|
1261
|
+
#
|
1262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateGlobalClusterMessage AWS API Documentation
|
1263
|
+
#
|
1264
|
+
class CreateGlobalClusterMessage < Struct.new(
|
1265
|
+
:global_cluster_identifier,
|
1266
|
+
:source_db_cluster_identifier,
|
1267
|
+
:engine,
|
1268
|
+
:engine_version,
|
1269
|
+
:deletion_protection,
|
1270
|
+
:database_name,
|
1271
|
+
:storage_encrypted)
|
1272
|
+
SENSITIVE = []
|
1273
|
+
include Aws::Structure
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# @!attribute [rw] global_cluster
|
1277
|
+
# A data type representing an Amazon DocumentDB global cluster.
|
1278
|
+
# @return [Types::GlobalCluster]
|
1279
|
+
#
|
1280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateGlobalClusterResult AWS API Documentation
|
1281
|
+
#
|
1282
|
+
class CreateGlobalClusterResult < Struct.new(
|
1283
|
+
:global_cluster)
|
1284
|
+
SENSITIVE = []
|
1285
|
+
include Aws::Structure
|
1286
|
+
end
|
1287
|
+
|
1208
1288
|
# Detailed information about a cluster.
|
1209
1289
|
#
|
1210
1290
|
# @!attribute [rw] availability_zones
|
@@ -1304,6 +1384,16 @@ module Aws::DocDB
|
|
1304
1384
|
# occur, in Universal Coordinated Time (UTC).
|
1305
1385
|
# @return [String]
|
1306
1386
|
#
|
1387
|
+
# @!attribute [rw] replication_source_identifier
|
1388
|
+
# Contains the identifier of the source cluster if this cluster is a
|
1389
|
+
# secondary cluster.
|
1390
|
+
# @return [String]
|
1391
|
+
#
|
1392
|
+
# @!attribute [rw] read_replica_identifiers
|
1393
|
+
# Contains one or more identifiers of the secondary clusters that are
|
1394
|
+
# associated with this cluster.
|
1395
|
+
# @return [Array<String>]
|
1396
|
+
#
|
1307
1397
|
# @!attribute [rw] db_cluster_members
|
1308
1398
|
# Provides the list of instances that make up the cluster.
|
1309
1399
|
# @return [Array<Types::DBClusterMember>]
|
@@ -1383,6 +1473,8 @@ module Aws::DocDB
|
|
1383
1473
|
:master_username,
|
1384
1474
|
:preferred_backup_window,
|
1385
1475
|
:preferred_maintenance_window,
|
1476
|
+
:replication_source_identifier,
|
1477
|
+
:read_replica_identifiers,
|
1386
1478
|
:db_cluster_members,
|
1387
1479
|
:vpc_security_groups,
|
1388
1480
|
:hosted_zone_id,
|
@@ -2482,6 +2574,39 @@ module Aws::DocDB
|
|
2482
2574
|
include Aws::Structure
|
2483
2575
|
end
|
2484
2576
|
|
2577
|
+
# Represents the input to DeleteGlobalCluster.
|
2578
|
+
#
|
2579
|
+
# @note When making an API call, you may pass DeleteGlobalClusterMessage
|
2580
|
+
# data as a hash:
|
2581
|
+
#
|
2582
|
+
# {
|
2583
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
2584
|
+
# }
|
2585
|
+
#
|
2586
|
+
# @!attribute [rw] global_cluster_identifier
|
2587
|
+
# The cluster identifier of the global cluster being deleted.
|
2588
|
+
# @return [String]
|
2589
|
+
#
|
2590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteGlobalClusterMessage AWS API Documentation
|
2591
|
+
#
|
2592
|
+
class DeleteGlobalClusterMessage < Struct.new(
|
2593
|
+
:global_cluster_identifier)
|
2594
|
+
SENSITIVE = []
|
2595
|
+
include Aws::Structure
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
# @!attribute [rw] global_cluster
|
2599
|
+
# A data type representing an Amazon DocumentDB global cluster.
|
2600
|
+
# @return [Types::GlobalCluster]
|
2601
|
+
#
|
2602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteGlobalClusterResult AWS API Documentation
|
2603
|
+
#
|
2604
|
+
class DeleteGlobalClusterResult < Struct.new(
|
2605
|
+
:global_cluster)
|
2606
|
+
SENSITIVE = []
|
2607
|
+
include Aws::Structure
|
2608
|
+
end
|
2609
|
+
|
2485
2610
|
# @note When making an API call, you may pass DescribeCertificatesMessage
|
2486
2611
|
# data as a hash:
|
2487
2612
|
#
|
@@ -2778,7 +2903,7 @@ module Aws::DocDB
|
|
2778
2903
|
# and manual cluster snapshots are returned. You can include shared
|
2779
2904
|
# cluster snapshots with these results by setting the `IncludeShared`
|
2780
2905
|
# parameter to `true`. You can include public cluster snapshots with
|
2781
|
-
# these results by setting the
|
2906
|
+
# these results by setting the`IncludePublic` parameter to `true`.
|
2782
2907
|
#
|
2783
2908
|
# The `IncludeShared` and `IncludePublic` parameters don't apply for
|
2784
2909
|
# `SnapshotType` values of `manual` or `automated`. The
|
@@ -3395,6 +3520,60 @@ module Aws::DocDB
|
|
3395
3520
|
include Aws::Structure
|
3396
3521
|
end
|
3397
3522
|
|
3523
|
+
# @note When making an API call, you may pass DescribeGlobalClustersMessage
|
3524
|
+
# data as a hash:
|
3525
|
+
#
|
3526
|
+
# {
|
3527
|
+
# global_cluster_identifier: "GlobalClusterIdentifier",
|
3528
|
+
# filters: [
|
3529
|
+
# {
|
3530
|
+
# name: "String", # required
|
3531
|
+
# values: ["String"], # required
|
3532
|
+
# },
|
3533
|
+
# ],
|
3534
|
+
# max_records: 1,
|
3535
|
+
# marker: "String",
|
3536
|
+
# }
|
3537
|
+
#
|
3538
|
+
# @!attribute [rw] global_cluster_identifier
|
3539
|
+
# The user-supplied cluster identifier. If this parameter is
|
3540
|
+
# specified, information from only the specific cluster is returned.
|
3541
|
+
# This parameter isn't case-sensitive.
|
3542
|
+
# @return [String]
|
3543
|
+
#
|
3544
|
+
# @!attribute [rw] filters
|
3545
|
+
# A filter that specifies one or more global DB clusters to describe.
|
3546
|
+
#
|
3547
|
+
# Supported filters: `db-cluster-id` accepts cluster identifiers and
|
3548
|
+
# cluster Amazon Resource Names (ARNs). The results list will only
|
3549
|
+
# include information about the clusters identified by these ARNs.
|
3550
|
+
# @return [Array<Types::Filter>]
|
3551
|
+
#
|
3552
|
+
# @!attribute [rw] max_records
|
3553
|
+
# The maximum number of records to include in the response. If more
|
3554
|
+
# records exist than the specified `MaxRecords` value, a pagination
|
3555
|
+
# token called a marker is included in the response so that you can
|
3556
|
+
# retrieve the remaining results.
|
3557
|
+
# @return [Integer]
|
3558
|
+
#
|
3559
|
+
# @!attribute [rw] marker
|
3560
|
+
# An optional pagination token provided by a previous
|
3561
|
+
# `DescribeGlobalClusters` request. If this parameter is specified,
|
3562
|
+
# the response includes only records beyond the marker, up to the
|
3563
|
+
# value specified by `MaxRecords`.
|
3564
|
+
# @return [String]
|
3565
|
+
#
|
3566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeGlobalClustersMessage AWS API Documentation
|
3567
|
+
#
|
3568
|
+
class DescribeGlobalClustersMessage < Struct.new(
|
3569
|
+
:global_cluster_identifier,
|
3570
|
+
:filters,
|
3571
|
+
:max_records,
|
3572
|
+
:marker)
|
3573
|
+
SENSITIVE = []
|
3574
|
+
include Aws::Structure
|
3575
|
+
end
|
3576
|
+
|
3398
3577
|
# Represents the input to DescribeOrderableDBInstanceOptions.
|
3399
3578
|
#
|
3400
3579
|
# @note When making an API call, you may pass DescribeOrderableDBInstanceOptionsMessage
|
@@ -3871,6 +4050,134 @@ module Aws::DocDB
|
|
3871
4050
|
include Aws::Structure
|
3872
4051
|
end
|
3873
4052
|
|
4053
|
+
# A data type representing an Amazon DocumentDB global cluster.
|
4054
|
+
#
|
4055
|
+
# @!attribute [rw] global_cluster_identifier
|
4056
|
+
# Contains a user-supplied global cluster identifier. This identifier
|
4057
|
+
# is the unique key that identifies a global cluster.
|
4058
|
+
# @return [String]
|
4059
|
+
#
|
4060
|
+
# @!attribute [rw] global_cluster_resource_id
|
4061
|
+
# The AWS Region-unique, immutable identifier for the global database
|
4062
|
+
# cluster. This identifier is found in AWS CloudTrail log entries
|
4063
|
+
# whenever the AWS KMS customer master key (CMK) for the cluster is
|
4064
|
+
# accessed.
|
4065
|
+
# @return [String]
|
4066
|
+
#
|
4067
|
+
# @!attribute [rw] global_cluster_arn
|
4068
|
+
# The Amazon Resource Name (ARN) for the global cluster.
|
4069
|
+
# @return [String]
|
4070
|
+
#
|
4071
|
+
# @!attribute [rw] status
|
4072
|
+
# Specifies the current state of this global cluster.
|
4073
|
+
# @return [String]
|
4074
|
+
#
|
4075
|
+
# @!attribute [rw] engine
|
4076
|
+
# The Amazon DocumentDB database engine used by the global cluster.
|
4077
|
+
# @return [String]
|
4078
|
+
#
|
4079
|
+
# @!attribute [rw] engine_version
|
4080
|
+
# Indicates the database engine version.
|
4081
|
+
# @return [String]
|
4082
|
+
#
|
4083
|
+
# @!attribute [rw] database_name
|
4084
|
+
# The default database name within the new global cluster.
|
4085
|
+
# @return [String]
|
4086
|
+
#
|
4087
|
+
# @!attribute [rw] storage_encrypted
|
4088
|
+
# The storage encryption setting for the global cluster.
|
4089
|
+
# @return [Boolean]
|
4090
|
+
#
|
4091
|
+
# @!attribute [rw] deletion_protection
|
4092
|
+
# The deletion protection setting for the new global cluster.
|
4093
|
+
# @return [Boolean]
|
4094
|
+
#
|
4095
|
+
# @!attribute [rw] global_cluster_members
|
4096
|
+
# The list of cluster IDs for secondary clusters within the global
|
4097
|
+
# cluster. Currently limited to one item.
|
4098
|
+
# @return [Array<Types::GlobalClusterMember>]
|
4099
|
+
#
|
4100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalCluster AWS API Documentation
|
4101
|
+
#
|
4102
|
+
class GlobalCluster < Struct.new(
|
4103
|
+
:global_cluster_identifier,
|
4104
|
+
:global_cluster_resource_id,
|
4105
|
+
:global_cluster_arn,
|
4106
|
+
:status,
|
4107
|
+
:engine,
|
4108
|
+
:engine_version,
|
4109
|
+
:database_name,
|
4110
|
+
:storage_encrypted,
|
4111
|
+
:deletion_protection,
|
4112
|
+
:global_cluster_members)
|
4113
|
+
SENSITIVE = []
|
4114
|
+
include Aws::Structure
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
# The `GlobalClusterIdentifier` already exists. Choose a new global
|
4118
|
+
# cluster identifier (unique name) to create a new global cluster.
|
4119
|
+
#
|
4120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClusterAlreadyExistsFault AWS API Documentation
|
4121
|
+
#
|
4122
|
+
class GlobalClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
4123
|
+
|
4124
|
+
# A data structure with information about any primary and secondary
|
4125
|
+
# clusters associated with an Amazon DocumentDB global clusters.
|
4126
|
+
#
|
4127
|
+
# @!attribute [rw] db_cluster_arn
|
4128
|
+
# The Amazon Resource Name (ARN) for each Amazon DocumentDB cluster.
|
4129
|
+
# @return [String]
|
4130
|
+
#
|
4131
|
+
# @!attribute [rw] readers
|
4132
|
+
# The Amazon Resource Name (ARN) for each read-only secondary cluster
|
4133
|
+
# associated with the Aurora global cluster.
|
4134
|
+
# @return [Array<String>]
|
4135
|
+
#
|
4136
|
+
# @!attribute [rw] is_writer
|
4137
|
+
# Specifies whether the Amazon DocumentDB cluster is the primary
|
4138
|
+
# cluster (that is, has read-write capability) for the Amazon
|
4139
|
+
# DocumentDB global cluster with which it is associated.
|
4140
|
+
# @return [Boolean]
|
4141
|
+
#
|
4142
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClusterMember AWS API Documentation
|
4143
|
+
#
|
4144
|
+
class GlobalClusterMember < Struct.new(
|
4145
|
+
:db_cluster_arn,
|
4146
|
+
:readers,
|
4147
|
+
:is_writer)
|
4148
|
+
SENSITIVE = []
|
4149
|
+
include Aws::Structure
|
4150
|
+
end
|
4151
|
+
|
4152
|
+
# The `GlobalClusterIdentifier` doesn't refer to an existing global
|
4153
|
+
# cluster.
|
4154
|
+
#
|
4155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClusterNotFoundFault AWS API Documentation
|
4156
|
+
#
|
4157
|
+
class GlobalClusterNotFoundFault < Aws::EmptyStructure; end
|
4158
|
+
|
4159
|
+
# The number of global clusters for this account is already at the
|
4160
|
+
# maximum allowed.
|
4161
|
+
#
|
4162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClusterQuotaExceededFault AWS API Documentation
|
4163
|
+
#
|
4164
|
+
class GlobalClusterQuotaExceededFault < Aws::EmptyStructure; end
|
4165
|
+
|
4166
|
+
# @!attribute [rw] marker
|
4167
|
+
# @return [String]
|
4168
|
+
#
|
4169
|
+
# @!attribute [rw] global_clusters
|
4170
|
+
# @return [Array<Types::GlobalCluster>]
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClustersMessage AWS API Documentation
|
4173
|
+
#
|
4174
|
+
class GlobalClustersMessage < Struct.new(
|
4175
|
+
:marker,
|
4176
|
+
:global_clusters)
|
4177
|
+
SENSITIVE = []
|
4178
|
+
include Aws::Structure
|
4179
|
+
end
|
4180
|
+
|
3874
4181
|
# The request would cause you to exceed the allowed number of instances.
|
3875
4182
|
#
|
3876
4183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/InstanceQuotaExceededFault AWS API Documentation
|
@@ -3955,6 +4262,13 @@ module Aws::DocDB
|
|
3955
4262
|
#
|
3956
4263
|
class InvalidEventSubscriptionStateFault < Aws::EmptyStructure; end
|
3957
4264
|
|
4265
|
+
# The requested operation can't be performed while the cluster is in
|
4266
|
+
# this state.
|
4267
|
+
#
|
4268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/InvalidGlobalClusterStateFault AWS API Documentation
|
4269
|
+
#
|
4270
|
+
class InvalidGlobalClusterStateFault < Aws::EmptyStructure; end
|
4271
|
+
|
3958
4272
|
# You cannot restore from a virtual private cloud (VPC) backup to a
|
3959
4273
|
# non-VPC DB instance.
|
3960
4274
|
#
|
@@ -4164,9 +4478,8 @@ module Aws::DocDB
|
|
4164
4478
|
#
|
4165
4479
|
# @!attribute [rw] engine_version
|
4166
4480
|
# The version number of the database engine to which you want to
|
4167
|
-
# upgrade.
|
4168
|
-
#
|
4169
|
-
# `ApplyImmediately` parameter is set to `true`.
|
4481
|
+
# upgrade. Modifying engine version is not supported on Amazon
|
4482
|
+
# DocumentDB.
|
4170
4483
|
# @return [String]
|
4171
4484
|
#
|
4172
4485
|
# @!attribute [rw] deletion_protection
|
@@ -4581,6 +4894,69 @@ module Aws::DocDB
|
|
4581
4894
|
include Aws::Structure
|
4582
4895
|
end
|
4583
4896
|
|
4897
|
+
# Represents the input to ModifyGlobalCluster.
|
4898
|
+
#
|
4899
|
+
# @note When making an API call, you may pass ModifyGlobalClusterMessage
|
4900
|
+
# data as a hash:
|
4901
|
+
#
|
4902
|
+
# {
|
4903
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
4904
|
+
# new_global_cluster_identifier: "GlobalClusterIdentifier",
|
4905
|
+
# deletion_protection: false,
|
4906
|
+
# }
|
4907
|
+
#
|
4908
|
+
# @!attribute [rw] global_cluster_identifier
|
4909
|
+
# The identifier for the global cluster being modified. This parameter
|
4910
|
+
# isn't case-sensitive.
|
4911
|
+
#
|
4912
|
+
# Constraints:
|
4913
|
+
#
|
4914
|
+
# * Must match the identifier of an existing global cluster.
|
4915
|
+
#
|
4916
|
+
# ^
|
4917
|
+
# @return [String]
|
4918
|
+
#
|
4919
|
+
# @!attribute [rw] new_global_cluster_identifier
|
4920
|
+
# The new identifier for a global cluster when you modify a global
|
4921
|
+
# cluster. This value is stored as a lowercase string.
|
4922
|
+
#
|
4923
|
+
# * Must contain from 1 to 63 letters, numbers, or hyphens
|
4924
|
+
#
|
4925
|
+
# The first character must be a letter
|
4926
|
+
#
|
4927
|
+
# Can't end with a hyphen or contain two consecutive hyphens
|
4928
|
+
#
|
4929
|
+
# Example: `my-cluster2`
|
4930
|
+
# @return [String]
|
4931
|
+
#
|
4932
|
+
# @!attribute [rw] deletion_protection
|
4933
|
+
# Indicates if the global cluster has deletion protection enabled. The
|
4934
|
+
# global cluster can't be deleted when deletion protection is
|
4935
|
+
# enabled.
|
4936
|
+
# @return [Boolean]
|
4937
|
+
#
|
4938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyGlobalClusterMessage AWS API Documentation
|
4939
|
+
#
|
4940
|
+
class ModifyGlobalClusterMessage < Struct.new(
|
4941
|
+
:global_cluster_identifier,
|
4942
|
+
:new_global_cluster_identifier,
|
4943
|
+
:deletion_protection)
|
4944
|
+
SENSITIVE = []
|
4945
|
+
include Aws::Structure
|
4946
|
+
end
|
4947
|
+
|
4948
|
+
# @!attribute [rw] global_cluster
|
4949
|
+
# A data type representing an Amazon DocumentDB global cluster.
|
4950
|
+
# @return [Types::GlobalCluster]
|
4951
|
+
#
|
4952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyGlobalClusterResult AWS API Documentation
|
4953
|
+
#
|
4954
|
+
class ModifyGlobalClusterResult < Struct.new(
|
4955
|
+
:global_cluster)
|
4956
|
+
SENSITIVE = []
|
4957
|
+
include Aws::Structure
|
4958
|
+
end
|
4959
|
+
|
4584
4960
|
# The options that are available for an instance.
|
4585
4961
|
#
|
4586
4962
|
# @!attribute [rw] engine
|
@@ -4952,6 +5328,47 @@ module Aws::DocDB
|
|
4952
5328
|
include Aws::Structure
|
4953
5329
|
end
|
4954
5330
|
|
5331
|
+
# Represents the input to RemoveFromGlobalCluster.
|
5332
|
+
#
|
5333
|
+
# @note When making an API call, you may pass RemoveFromGlobalClusterMessage
|
5334
|
+
# data as a hash:
|
5335
|
+
#
|
5336
|
+
# {
|
5337
|
+
# global_cluster_identifier: "GlobalClusterIdentifier", # required
|
5338
|
+
# db_cluster_identifier: "String", # required
|
5339
|
+
# }
|
5340
|
+
#
|
5341
|
+
# @!attribute [rw] global_cluster_identifier
|
5342
|
+
# The cluster identifier to detach from the Amazon DocumentDB global
|
5343
|
+
# cluster.
|
5344
|
+
# @return [String]
|
5345
|
+
#
|
5346
|
+
# @!attribute [rw] db_cluster_identifier
|
5347
|
+
# The Amazon Resource Name (ARN) identifying the cluster that was
|
5348
|
+
# detached from the Amazon DocumentDB global cluster.
|
5349
|
+
# @return [String]
|
5350
|
+
#
|
5351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveFromGlobalClusterMessage AWS API Documentation
|
5352
|
+
#
|
5353
|
+
class RemoveFromGlobalClusterMessage < Struct.new(
|
5354
|
+
:global_cluster_identifier,
|
5355
|
+
:db_cluster_identifier)
|
5356
|
+
SENSITIVE = []
|
5357
|
+
include Aws::Structure
|
5358
|
+
end
|
5359
|
+
|
5360
|
+
# @!attribute [rw] global_cluster
|
5361
|
+
# A data type representing an Amazon DocumentDB global cluster.
|
5362
|
+
# @return [Types::GlobalCluster]
|
5363
|
+
#
|
5364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveFromGlobalClusterResult AWS API Documentation
|
5365
|
+
#
|
5366
|
+
class RemoveFromGlobalClusterResult < Struct.new(
|
5367
|
+
:global_cluster)
|
5368
|
+
SENSITIVE = []
|
5369
|
+
include Aws::Structure
|
5370
|
+
end
|
5371
|
+
|
4955
5372
|
# Represents the input to RemoveSourceIdentifierFromSubscription.
|
4956
5373
|
#
|
4957
5374
|
# @note When making an API call, you may pass RemoveSourceIdentifierFromSubscriptionMessage
|