aws-sdk-neptune 1.45.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-neptune/client.rb +398 -1
- data/lib/aws-sdk-neptune/client_api.rb +172 -0
- data/lib/aws-sdk-neptune/errors.rb +44 -0
- data/lib/aws-sdk-neptune/types.rb +510 -5
- data/lib/aws-sdk-neptune.rb +1 -1
- metadata +2 -2
@@ -52,6 +52,8 @@ module Aws::Neptune
|
|
52
52
|
CreateDBSubnetGroupResult = Shapes::StructureShape.new(name: 'CreateDBSubnetGroupResult')
|
53
53
|
CreateEventSubscriptionMessage = Shapes::StructureShape.new(name: 'CreateEventSubscriptionMessage')
|
54
54
|
CreateEventSubscriptionResult = Shapes::StructureShape.new(name: 'CreateEventSubscriptionResult')
|
55
|
+
CreateGlobalClusterMessage = Shapes::StructureShape.new(name: 'CreateGlobalClusterMessage')
|
56
|
+
CreateGlobalClusterResult = Shapes::StructureShape.new(name: 'CreateGlobalClusterResult')
|
55
57
|
DBCluster = Shapes::StructureShape.new(name: 'DBCluster')
|
56
58
|
DBClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBClusterAlreadyExistsFault')
|
57
59
|
DBClusterEndpoint = Shapes::StructureShape.new(name: 'DBClusterEndpoint')
|
@@ -135,6 +137,8 @@ module Aws::Neptune
|
|
135
137
|
DeleteDBSubnetGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBSubnetGroupMessage')
|
136
138
|
DeleteEventSubscriptionMessage = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionMessage')
|
137
139
|
DeleteEventSubscriptionResult = Shapes::StructureShape.new(name: 'DeleteEventSubscriptionResult')
|
140
|
+
DeleteGlobalClusterMessage = Shapes::StructureShape.new(name: 'DeleteGlobalClusterMessage')
|
141
|
+
DeleteGlobalClusterResult = Shapes::StructureShape.new(name: 'DeleteGlobalClusterResult')
|
138
142
|
DescribeDBClusterEndpointsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterEndpointsMessage')
|
139
143
|
DescribeDBClusterParameterGroupsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParameterGroupsMessage')
|
140
144
|
DescribeDBClusterParametersMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterParametersMessage')
|
@@ -154,6 +158,7 @@ module Aws::Neptune
|
|
154
158
|
DescribeEventCategoriesMessage = Shapes::StructureShape.new(name: 'DescribeEventCategoriesMessage')
|
155
159
|
DescribeEventSubscriptionsMessage = Shapes::StructureShape.new(name: 'DescribeEventSubscriptionsMessage')
|
156
160
|
DescribeEventsMessage = Shapes::StructureShape.new(name: 'DescribeEventsMessage')
|
161
|
+
DescribeGlobalClustersMessage = Shapes::StructureShape.new(name: 'DescribeGlobalClustersMessage')
|
157
162
|
DescribeOrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'DescribeOrderableDBInstanceOptionsMessage')
|
158
163
|
DescribePendingMaintenanceActionsMessage = Shapes::StructureShape.new(name: 'DescribePendingMaintenanceActionsMessage')
|
159
164
|
DescribeValidDBInstanceModificationsMessage = Shapes::StructureShape.new(name: 'DescribeValidDBInstanceModificationsMessage')
|
@@ -180,9 +185,20 @@ module Aws::Neptune
|
|
180
185
|
EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
|
181
186
|
FailoverDBClusterMessage = Shapes::StructureShape.new(name: 'FailoverDBClusterMessage')
|
182
187
|
FailoverDBClusterResult = Shapes::StructureShape.new(name: 'FailoverDBClusterResult')
|
188
|
+
FailoverGlobalClusterMessage = Shapes::StructureShape.new(name: 'FailoverGlobalClusterMessage')
|
189
|
+
FailoverGlobalClusterResult = Shapes::StructureShape.new(name: 'FailoverGlobalClusterResult')
|
183
190
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
184
191
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
185
192
|
FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
|
193
|
+
GlobalCluster = Shapes::StructureShape.new(name: 'GlobalCluster')
|
194
|
+
GlobalClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'GlobalClusterAlreadyExistsFault')
|
195
|
+
GlobalClusterIdentifier = Shapes::StringShape.new(name: 'GlobalClusterIdentifier')
|
196
|
+
GlobalClusterList = Shapes::ListShape.new(name: 'GlobalClusterList')
|
197
|
+
GlobalClusterMember = Shapes::StructureShape.new(name: 'GlobalClusterMember')
|
198
|
+
GlobalClusterMemberList = Shapes::ListShape.new(name: 'GlobalClusterMemberList')
|
199
|
+
GlobalClusterNotFoundFault = Shapes::StructureShape.new(name: 'GlobalClusterNotFoundFault')
|
200
|
+
GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault')
|
201
|
+
GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
|
186
202
|
InstanceQuotaExceededFault = Shapes::StructureShape.new(name: 'InstanceQuotaExceededFault')
|
187
203
|
InsufficientDBClusterCapacityFault = Shapes::StructureShape.new(name: 'InsufficientDBClusterCapacityFault')
|
188
204
|
InsufficientDBInstanceCapacityFault = Shapes::StructureShape.new(name: 'InsufficientDBInstanceCapacityFault')
|
@@ -199,6 +215,7 @@ module Aws::Neptune
|
|
199
215
|
InvalidDBSubnetGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetGroupStateFault')
|
200
216
|
InvalidDBSubnetStateFault = Shapes::StructureShape.new(name: 'InvalidDBSubnetStateFault')
|
201
217
|
InvalidEventSubscriptionStateFault = Shapes::StructureShape.new(name: 'InvalidEventSubscriptionStateFault')
|
218
|
+
InvalidGlobalClusterStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalClusterStateFault')
|
202
219
|
InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
|
203
220
|
InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
|
204
221
|
InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
|
@@ -220,6 +237,8 @@ module Aws::Neptune
|
|
220
237
|
ModifyDBSubnetGroupResult = Shapes::StructureShape.new(name: 'ModifyDBSubnetGroupResult')
|
221
238
|
ModifyEventSubscriptionMessage = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionMessage')
|
222
239
|
ModifyEventSubscriptionResult = Shapes::StructureShape.new(name: 'ModifyEventSubscriptionResult')
|
240
|
+
ModifyGlobalClusterMessage = Shapes::StructureShape.new(name: 'ModifyGlobalClusterMessage')
|
241
|
+
ModifyGlobalClusterResult = Shapes::StructureShape.new(name: 'ModifyGlobalClusterResult')
|
223
242
|
OptionGroupMembership = Shapes::StructureShape.new(name: 'OptionGroupMembership')
|
224
243
|
OptionGroupMembershipList = Shapes::ListShape.new(name: 'OptionGroupMembershipList')
|
225
244
|
OptionGroupNotFoundFault = Shapes::StructureShape.new(name: 'OptionGroupNotFoundFault')
|
@@ -242,8 +261,11 @@ module Aws::Neptune
|
|
242
261
|
ReadReplicaDBClusterIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaDBClusterIdentifierList')
|
243
262
|
ReadReplicaDBInstanceIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaDBInstanceIdentifierList')
|
244
263
|
ReadReplicaIdentifierList = Shapes::ListShape.new(name: 'ReadReplicaIdentifierList')
|
264
|
+
ReadersArnList = Shapes::ListShape.new(name: 'ReadersArnList')
|
245
265
|
RebootDBInstanceMessage = Shapes::StructureShape.new(name: 'RebootDBInstanceMessage')
|
246
266
|
RebootDBInstanceResult = Shapes::StructureShape.new(name: 'RebootDBInstanceResult')
|
267
|
+
RemoveFromGlobalClusterMessage = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterMessage')
|
268
|
+
RemoveFromGlobalClusterResult = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterResult')
|
247
269
|
RemoveRoleFromDBClusterMessage = Shapes::StructureShape.new(name: 'RemoveRoleFromDBClusterMessage')
|
248
270
|
RemoveSourceIdentifierFromSubscriptionMessage = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionMessage')
|
249
271
|
RemoveSourceIdentifierFromSubscriptionResult = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionResult')
|
@@ -415,6 +437,7 @@ module Aws::Neptune
|
|
415
437
|
CreateDBClusterMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
416
438
|
CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
417
439
|
CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
440
|
+
CreateDBClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
418
441
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
419
442
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
420
443
|
|
@@ -516,6 +539,17 @@ module Aws::Neptune
|
|
516
539
|
CreateEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
517
540
|
CreateEventSubscriptionResult.struct_class = Types::CreateEventSubscriptionResult
|
518
541
|
|
542
|
+
CreateGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
543
|
+
CreateGlobalClusterMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterIdentifier"))
|
544
|
+
CreateGlobalClusterMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
545
|
+
CreateGlobalClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
546
|
+
CreateGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
547
|
+
CreateGlobalClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
548
|
+
CreateGlobalClusterMessage.struct_class = Types::CreateGlobalClusterMessage
|
549
|
+
|
550
|
+
CreateGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
551
|
+
CreateGlobalClusterResult.struct_class = Types::CreateGlobalClusterResult
|
552
|
+
|
519
553
|
DBCluster.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
520
554
|
DBCluster.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
521
555
|
DBCluster.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
@@ -696,6 +730,7 @@ module Aws::Neptune
|
|
696
730
|
DBEngineVersion.add_member(:exportable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "ExportableLogTypes"))
|
697
731
|
DBEngineVersion.add_member(:supports_log_exports_to_cloudwatch_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsLogExportsToCloudwatchLogs"))
|
698
732
|
DBEngineVersion.add_member(:supports_read_replica, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsReadReplica"))
|
733
|
+
DBEngineVersion.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsGlobalDatabases"))
|
699
734
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
700
735
|
|
701
736
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -900,6 +935,12 @@ module Aws::Neptune
|
|
900
935
|
DeleteEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
901
936
|
DeleteEventSubscriptionResult.struct_class = Types::DeleteEventSubscriptionResult
|
902
937
|
|
938
|
+
DeleteGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
939
|
+
DeleteGlobalClusterMessage.struct_class = Types::DeleteGlobalClusterMessage
|
940
|
+
|
941
|
+
DeleteGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
942
|
+
DeleteGlobalClusterResult.struct_class = Types::DeleteGlobalClusterResult
|
943
|
+
|
903
944
|
DescribeDBClusterEndpointsMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
904
945
|
DescribeDBClusterEndpointsMessage.add_member(:db_cluster_endpoint_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterEndpointIdentifier"))
|
905
946
|
DescribeDBClusterEndpointsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
@@ -1017,6 +1058,11 @@ module Aws::Neptune
|
|
1017
1058
|
DescribeEventsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1018
1059
|
DescribeEventsMessage.struct_class = Types::DescribeEventsMessage
|
1019
1060
|
|
1061
|
+
DescribeGlobalClustersMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
1062
|
+
DescribeGlobalClustersMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
|
1063
|
+
DescribeGlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1064
|
+
DescribeGlobalClustersMessage.struct_class = Types::DescribeGlobalClustersMessage
|
1065
|
+
|
1020
1066
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:engine, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Engine"))
|
1021
1067
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1022
1068
|
DescribeOrderableDBInstanceOptionsMessage.add_member(:db_instance_class, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceClass"))
|
@@ -1117,6 +1163,13 @@ module Aws::Neptune
|
|
1117
1163
|
FailoverDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
1118
1164
|
FailoverDBClusterResult.struct_class = Types::FailoverDBClusterResult
|
1119
1165
|
|
1166
|
+
FailoverGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1167
|
+
FailoverGlobalClusterMessage.add_member(:target_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDbClusterIdentifier"))
|
1168
|
+
FailoverGlobalClusterMessage.struct_class = Types::FailoverGlobalClusterMessage
|
1169
|
+
|
1170
|
+
FailoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1171
|
+
FailoverGlobalClusterResult.struct_class = Types::FailoverGlobalClusterResult
|
1172
|
+
|
1120
1173
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
1121
1174
|
Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
|
1122
1175
|
Filter.struct_class = Types::Filter
|
@@ -1125,6 +1178,36 @@ module Aws::Neptune
|
|
1125
1178
|
|
1126
1179
|
FilterValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "Value")
|
1127
1180
|
|
1181
|
+
GlobalCluster.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "GlobalClusterIdentifier"))
|
1182
|
+
GlobalCluster.add_member(:global_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterResourceId"))
|
1183
|
+
GlobalCluster.add_member(:global_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "GlobalClusterArn"))
|
1184
|
+
GlobalCluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1185
|
+
GlobalCluster.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
1186
|
+
GlobalCluster.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1187
|
+
GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
|
1188
|
+
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1189
|
+
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
|
1190
|
+
GlobalCluster.struct_class = Types::GlobalCluster
|
1191
|
+
|
1192
|
+
GlobalClusterAlreadyExistsFault.struct_class = Types::GlobalClusterAlreadyExistsFault
|
1193
|
+
|
1194
|
+
GlobalClusterList.member = Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalClusterMember")
|
1195
|
+
|
1196
|
+
GlobalClusterMember.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
1197
|
+
GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
|
1198
|
+
GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
|
1199
|
+
GlobalClusterMember.struct_class = Types::GlobalClusterMember
|
1200
|
+
|
1201
|
+
GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
|
1202
|
+
|
1203
|
+
GlobalClusterNotFoundFault.struct_class = Types::GlobalClusterNotFoundFault
|
1204
|
+
|
1205
|
+
GlobalClusterQuotaExceededFault.struct_class = Types::GlobalClusterQuotaExceededFault
|
1206
|
+
|
1207
|
+
GlobalClustersMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
|
1208
|
+
GlobalClustersMessage.add_member(:global_clusters, Shapes::ShapeRef.new(shape: GlobalClusterList, location_name: "GlobalClusters"))
|
1209
|
+
GlobalClustersMessage.struct_class = Types::GlobalClustersMessage
|
1210
|
+
|
1128
1211
|
InstanceQuotaExceededFault.struct_class = Types::InstanceQuotaExceededFault
|
1129
1212
|
|
1130
1213
|
InsufficientDBClusterCapacityFault.struct_class = Types::InsufficientDBClusterCapacityFault
|
@@ -1153,6 +1236,8 @@ module Aws::Neptune
|
|
1153
1236
|
|
1154
1237
|
InvalidEventSubscriptionStateFault.struct_class = Types::InvalidEventSubscriptionStateFault
|
1155
1238
|
|
1239
|
+
InvalidGlobalClusterStateFault.struct_class = Types::InvalidGlobalClusterStateFault
|
1240
|
+
|
1156
1241
|
InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
|
1157
1242
|
|
1158
1243
|
InvalidSubnet.struct_class = Types::InvalidSubnet
|
@@ -1287,6 +1372,16 @@ module Aws::Neptune
|
|
1287
1372
|
ModifyEventSubscriptionResult.add_member(:event_subscription, Shapes::ShapeRef.new(shape: EventSubscription, location_name: "EventSubscription"))
|
1288
1373
|
ModifyEventSubscriptionResult.struct_class = Types::ModifyEventSubscriptionResult
|
1289
1374
|
|
1375
|
+
ModifyGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1376
|
+
ModifyGlobalClusterMessage.add_member(:new_global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, location_name: "NewGlobalClusterIdentifier"))
|
1377
|
+
ModifyGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1378
|
+
ModifyGlobalClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1379
|
+
ModifyGlobalClusterMessage.add_member(:allow_major_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AllowMajorVersionUpgrade"))
|
1380
|
+
ModifyGlobalClusterMessage.struct_class = Types::ModifyGlobalClusterMessage
|
1381
|
+
|
1382
|
+
ModifyGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1383
|
+
ModifyGlobalClusterResult.struct_class = Types::ModifyGlobalClusterResult
|
1384
|
+
|
1290
1385
|
OptionGroupMembership.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, location_name: "OptionGroupName"))
|
1291
1386
|
OptionGroupMembership.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
1292
1387
|
OptionGroupMembership.struct_class = Types::OptionGroupMembership
|
@@ -1315,6 +1410,7 @@ module Aws::Neptune
|
|
1315
1410
|
OrderableDBInstanceOption.add_member(:max_iops_per_db_instance, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxIopsPerDbInstance"))
|
1316
1411
|
OrderableDBInstanceOption.add_member(:min_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MinIopsPerGib"))
|
1317
1412
|
OrderableDBInstanceOption.add_member(:max_iops_per_gib, Shapes::ShapeRef.new(shape: DoubleOptional, location_name: "MaxIopsPerGib"))
|
1413
|
+
OrderableDBInstanceOption.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsGlobalDatabases"))
|
1318
1414
|
OrderableDBInstanceOption.struct_class = Types::OrderableDBInstanceOption
|
1319
1415
|
|
1320
1416
|
OrderableDBInstanceOptionsList.member = Shapes::ShapeRef.new(shape: OrderableDBInstanceOption, location_name: "OrderableDBInstanceOption")
|
@@ -1394,6 +1490,8 @@ module Aws::Neptune
|
|
1394
1490
|
|
1395
1491
|
ReadReplicaIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "ReadReplicaIdentifier")
|
1396
1492
|
|
1493
|
+
ReadersArnList.member = Shapes::ShapeRef.new(shape: String)
|
1494
|
+
|
1397
1495
|
RebootDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
1398
1496
|
RebootDBInstanceMessage.add_member(:force_failover, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ForceFailover"))
|
1399
1497
|
RebootDBInstanceMessage.struct_class = Types::RebootDBInstanceMessage
|
@@ -1401,6 +1499,13 @@ module Aws::Neptune
|
|
1401
1499
|
RebootDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
1402
1500
|
RebootDBInstanceResult.struct_class = Types::RebootDBInstanceResult
|
1403
1501
|
|
1502
|
+
RemoveFromGlobalClusterMessage.add_member(:global_cluster_identifier, Shapes::ShapeRef.new(shape: GlobalClusterIdentifier, required: true, location_name: "GlobalClusterIdentifier"))
|
1503
|
+
RemoveFromGlobalClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbClusterIdentifier"))
|
1504
|
+
RemoveFromGlobalClusterMessage.struct_class = Types::RemoveFromGlobalClusterMessage
|
1505
|
+
|
1506
|
+
RemoveFromGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
|
1507
|
+
RemoveFromGlobalClusterResult.struct_class = Types::RemoveFromGlobalClusterResult
|
1508
|
+
|
1404
1509
|
RemoveRoleFromDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1405
1510
|
RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
|
1406
1511
|
RemoveRoleFromDBClusterMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
|
@@ -1545,6 +1650,7 @@ module Aws::Neptune
|
|
1545
1650
|
UpgradeTarget.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
1546
1651
|
UpgradeTarget.add_member(:auto_upgrade, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoUpgrade"))
|
1547
1652
|
UpgradeTarget.add_member(:is_major_version_upgrade, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsMajorVersionUpgrade"))
|
1653
|
+
UpgradeTarget.add_member(:supports_global_databases, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "SupportsGlobalDatabases"))
|
1548
1654
|
UpgradeTarget.struct_class = Types::UpgradeTarget
|
1549
1655
|
|
1550
1656
|
ValidDBInstanceModificationsMessage.add_member(:storage, Shapes::ShapeRef.new(shape: ValidStorageOptionsList, location_name: "Storage"))
|
@@ -1686,6 +1792,8 @@ module Aws::Neptune
|
|
1686
1792
|
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
1687
1793
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
1688
1794
|
o.errors << Shapes::ShapeRef.new(shape: DBSubnetGroupDoesNotCoverEnoughAZs)
|
1795
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
1796
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
1689
1797
|
end)
|
1690
1798
|
|
1691
1799
|
api.add_operation(:create_db_cluster_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1789,6 +1897,18 @@ module Aws::Neptune
|
|
1789
1897
|
o.errors << Shapes::ShapeRef.new(shape: SourceNotFoundFault)
|
1790
1898
|
end)
|
1791
1899
|
|
1900
|
+
api.add_operation(:create_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1901
|
+
o.name = "CreateGlobalCluster"
|
1902
|
+
o.http_method = "POST"
|
1903
|
+
o.http_request_uri = "/"
|
1904
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGlobalClusterMessage)
|
1905
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGlobalClusterResult)
|
1906
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterAlreadyExistsFault)
|
1907
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterQuotaExceededFault)
|
1908
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
1909
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
1910
|
+
end)
|
1911
|
+
|
1792
1912
|
api.add_operation(:delete_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
1793
1913
|
o.name = "DeleteDBCluster"
|
1794
1914
|
o.http_method = "POST"
|
@@ -1877,6 +1997,16 @@ module Aws::Neptune
|
|
1877
1997
|
o.errors << Shapes::ShapeRef.new(shape: InvalidEventSubscriptionStateFault)
|
1878
1998
|
end)
|
1879
1999
|
|
2000
|
+
api.add_operation(:delete_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2001
|
+
o.name = "DeleteGlobalCluster"
|
2002
|
+
o.http_method = "POST"
|
2003
|
+
o.http_request_uri = "/"
|
2004
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGlobalClusterMessage)
|
2005
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGlobalClusterResult)
|
2006
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2007
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2008
|
+
end)
|
2009
|
+
|
1880
2010
|
api.add_operation(:describe_db_cluster_endpoints, Seahorse::Model::Operation.new.tap do |o|
|
1881
2011
|
o.name = "DescribeDBClusterEndpoints"
|
1882
2012
|
o.http_method = "POST"
|
@@ -2094,6 +2224,15 @@ module Aws::Neptune
|
|
2094
2224
|
)
|
2095
2225
|
end)
|
2096
2226
|
|
2227
|
+
api.add_operation(:describe_global_clusters, Seahorse::Model::Operation.new.tap do |o|
|
2228
|
+
o.name = "DescribeGlobalClusters"
|
2229
|
+
o.http_method = "POST"
|
2230
|
+
o.http_request_uri = "/"
|
2231
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalClustersMessage)
|
2232
|
+
o.output = Shapes::ShapeRef.new(shape: GlobalClustersMessage)
|
2233
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2234
|
+
end)
|
2235
|
+
|
2097
2236
|
api.add_operation(:describe_orderable_db_instance_options, Seahorse::Model::Operation.new.tap do |o|
|
2098
2237
|
o.name = "DescribeOrderableDBInstanceOptions"
|
2099
2238
|
o.http_method = "POST"
|
@@ -2144,6 +2283,18 @@ module Aws::Neptune
|
|
2144
2283
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
2145
2284
|
end)
|
2146
2285
|
|
2286
|
+
api.add_operation(:failover_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2287
|
+
o.name = "FailoverGlobalCluster"
|
2288
|
+
o.http_method = "POST"
|
2289
|
+
o.http_request_uri = "/"
|
2290
|
+
o.input = Shapes::ShapeRef.new(shape: FailoverGlobalClusterMessage)
|
2291
|
+
o.output = Shapes::ShapeRef.new(shape: FailoverGlobalClusterResult)
|
2292
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2293
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2294
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
2295
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2296
|
+
end)
|
2297
|
+
|
2147
2298
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2148
2299
|
o.name = "ListTagsForResource"
|
2149
2300
|
o.http_method = "POST"
|
@@ -2269,6 +2420,16 @@ module Aws::Neptune
|
|
2269
2420
|
o.errors << Shapes::ShapeRef.new(shape: SubscriptionCategoryNotFoundFault)
|
2270
2421
|
end)
|
2271
2422
|
|
2423
|
+
api.add_operation(:modify_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2424
|
+
o.name = "ModifyGlobalCluster"
|
2425
|
+
o.http_method = "POST"
|
2426
|
+
o.http_request_uri = "/"
|
2427
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyGlobalClusterMessage)
|
2428
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyGlobalClusterResult)
|
2429
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2431
|
+
end)
|
2432
|
+
|
2272
2433
|
api.add_operation(:promote_read_replica_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2273
2434
|
o.name = "PromoteReadReplicaDBCluster"
|
2274
2435
|
o.http_method = "POST"
|
@@ -2289,6 +2450,17 @@ module Aws::Neptune
|
|
2289
2450
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
2290
2451
|
end)
|
2291
2452
|
|
2453
|
+
api.add_operation(:remove_from_global_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2454
|
+
o.name = "RemoveFromGlobalCluster"
|
2455
|
+
o.http_method = "POST"
|
2456
|
+
o.http_request_uri = "/"
|
2457
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterMessage)
|
2458
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveFromGlobalClusterResult)
|
2459
|
+
o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
|
2460
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
|
2461
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
2462
|
+
end)
|
2463
|
+
|
2292
2464
|
api.add_operation(:remove_role_from_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
2293
2465
|
o.name = "RemoveRoleFromDBCluster"
|
2294
2466
|
o.http_method = "POST"
|
@@ -57,6 +57,9 @@ module Aws::Neptune
|
|
57
57
|
# * {DBUpgradeDependencyFailureFault}
|
58
58
|
# * {DomainNotFoundFault}
|
59
59
|
# * {EventSubscriptionQuotaExceededFault}
|
60
|
+
# * {GlobalClusterAlreadyExistsFault}
|
61
|
+
# * {GlobalClusterNotFoundFault}
|
62
|
+
# * {GlobalClusterQuotaExceededFault}
|
60
63
|
# * {InstanceQuotaExceededFault}
|
61
64
|
# * {InsufficientDBClusterCapacityFault}
|
62
65
|
# * {InsufficientDBInstanceCapacityFault}
|
@@ -71,6 +74,7 @@ module Aws::Neptune
|
|
71
74
|
# * {InvalidDBSubnetGroupStateFault}
|
72
75
|
# * {InvalidDBSubnetStateFault}
|
73
76
|
# * {InvalidEventSubscriptionStateFault}
|
77
|
+
# * {InvalidGlobalClusterStateFault}
|
74
78
|
# * {InvalidRestoreFault}
|
75
79
|
# * {InvalidSubnet}
|
76
80
|
# * {InvalidVPCNetworkStateFault}
|
@@ -397,6 +401,36 @@ module Aws::Neptune
|
|
397
401
|
end
|
398
402
|
end
|
399
403
|
|
404
|
+
class GlobalClusterAlreadyExistsFault < ServiceError
|
405
|
+
|
406
|
+
# @param [Seahorse::Client::RequestContext] context
|
407
|
+
# @param [String] message
|
408
|
+
# @param [Aws::Neptune::Types::GlobalClusterAlreadyExistsFault] data
|
409
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
410
|
+
super(context, message, data)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class GlobalClusterNotFoundFault < ServiceError
|
415
|
+
|
416
|
+
# @param [Seahorse::Client::RequestContext] context
|
417
|
+
# @param [String] message
|
418
|
+
# @param [Aws::Neptune::Types::GlobalClusterNotFoundFault] data
|
419
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
420
|
+
super(context, message, data)
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class GlobalClusterQuotaExceededFault < ServiceError
|
425
|
+
|
426
|
+
# @param [Seahorse::Client::RequestContext] context
|
427
|
+
# @param [String] message
|
428
|
+
# @param [Aws::Neptune::Types::GlobalClusterQuotaExceededFault] data
|
429
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
430
|
+
super(context, message, data)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
400
434
|
class InstanceQuotaExceededFault < ServiceError
|
401
435
|
|
402
436
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -537,6 +571,16 @@ module Aws::Neptune
|
|
537
571
|
end
|
538
572
|
end
|
539
573
|
|
574
|
+
class InvalidGlobalClusterStateFault < ServiceError
|
575
|
+
|
576
|
+
# @param [Seahorse::Client::RequestContext] context
|
577
|
+
# @param [String] message
|
578
|
+
# @param [Aws::Neptune::Types::InvalidGlobalClusterStateFault] data
|
579
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
580
|
+
super(context, message, data)
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
540
584
|
class InvalidRestoreFault < ServiceError
|
541
585
|
|
542
586
|
# @param [Seahorse::Client::RequestContext] context
|