aws-sdk-memorydb 1.10.0 → 1.12.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 +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-memorydb/client.rb +244 -1
- data/lib/aws-sdk-memorydb/client_api.rb +200 -0
- data/lib/aws-sdk-memorydb/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-memorydb/endpoint_provider.rb +38 -101
- data/lib/aws-sdk-memorydb/endpoints.rb +42 -0
- data/lib/aws-sdk-memorydb/errors.rb +44 -0
- data/lib/aws-sdk-memorydb/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-memorydb/types.rb +344 -454
- data/lib/aws-sdk-memorydb.rb +1 -1
- metadata +2 -2
@@ -83,6 +83,10 @@ module Aws::MemoryDB
|
|
83
83
|
DescribeParameterGroupsResponse = Shapes::StructureShape.new(name: 'DescribeParameterGroupsResponse')
|
84
84
|
DescribeParametersRequest = Shapes::StructureShape.new(name: 'DescribeParametersRequest')
|
85
85
|
DescribeParametersResponse = Shapes::StructureShape.new(name: 'DescribeParametersResponse')
|
86
|
+
DescribeReservedNodesOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeReservedNodesOfferingsRequest')
|
87
|
+
DescribeReservedNodesOfferingsResponse = Shapes::StructureShape.new(name: 'DescribeReservedNodesOfferingsResponse')
|
88
|
+
DescribeReservedNodesRequest = Shapes::StructureShape.new(name: 'DescribeReservedNodesRequest')
|
89
|
+
DescribeReservedNodesResponse = Shapes::StructureShape.new(name: 'DescribeReservedNodesResponse')
|
86
90
|
DescribeServiceUpdatesRequest = Shapes::StructureShape.new(name: 'DescribeServiceUpdatesRequest')
|
87
91
|
DescribeServiceUpdatesResponse = Shapes::StructureShape.new(name: 'DescribeServiceUpdatesResponse')
|
88
92
|
DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
|
@@ -147,7 +151,19 @@ module Aws::MemoryDB
|
|
147
151
|
PasswordListInput = Shapes::ListShape.new(name: 'PasswordListInput')
|
148
152
|
PendingModifiedServiceUpdate = Shapes::StructureShape.new(name: 'PendingModifiedServiceUpdate')
|
149
153
|
PendingModifiedServiceUpdateList = Shapes::ListShape.new(name: 'PendingModifiedServiceUpdateList')
|
154
|
+
PurchaseReservedNodesOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedNodesOfferingRequest')
|
155
|
+
PurchaseReservedNodesOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedNodesOfferingResponse')
|
156
|
+
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
157
|
+
RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
|
150
158
|
ReplicaConfigurationRequest = Shapes::StructureShape.new(name: 'ReplicaConfigurationRequest')
|
159
|
+
ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
|
160
|
+
ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
|
161
|
+
ReservedNodeList = Shapes::ListShape.new(name: 'ReservedNodeList')
|
162
|
+
ReservedNodeNotFoundFault = Shapes::StructureShape.new(name: 'ReservedNodeNotFoundFault')
|
163
|
+
ReservedNodeQuotaExceededFault = Shapes::StructureShape.new(name: 'ReservedNodeQuotaExceededFault')
|
164
|
+
ReservedNodesOffering = Shapes::StructureShape.new(name: 'ReservedNodesOffering')
|
165
|
+
ReservedNodesOfferingList = Shapes::ListShape.new(name: 'ReservedNodesOfferingList')
|
166
|
+
ReservedNodesOfferingNotFoundFault = Shapes::StructureShape.new(name: 'ReservedNodesOfferingNotFoundFault')
|
151
167
|
ResetParameterGroupRequest = Shapes::StructureShape.new(name: 'ResetParameterGroupRequest')
|
152
168
|
ResetParameterGroupResponse = Shapes::StructureShape.new(name: 'ResetParameterGroupResponse')
|
153
169
|
ReshardingStatus = Shapes::StructureShape.new(name: 'ReshardingStatus')
|
@@ -512,6 +528,31 @@ module Aws::MemoryDB
|
|
512
528
|
DescribeParametersResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
|
513
529
|
DescribeParametersResponse.struct_class = Types::DescribeParametersResponse
|
514
530
|
|
531
|
+
DescribeReservedNodesOfferingsRequest.add_member(:reserved_nodes_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodesOfferingId"))
|
532
|
+
DescribeReservedNodesOfferingsRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
533
|
+
DescribeReservedNodesOfferingsRequest.add_member(:duration, Shapes::ShapeRef.new(shape: String, location_name: "Duration"))
|
534
|
+
DescribeReservedNodesOfferingsRequest.add_member(:offering_type, Shapes::ShapeRef.new(shape: String, location_name: "OfferingType"))
|
535
|
+
DescribeReservedNodesOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
|
536
|
+
DescribeReservedNodesOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
537
|
+
DescribeReservedNodesOfferingsRequest.struct_class = Types::DescribeReservedNodesOfferingsRequest
|
538
|
+
|
539
|
+
DescribeReservedNodesOfferingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
540
|
+
DescribeReservedNodesOfferingsResponse.add_member(:reserved_nodes_offerings, Shapes::ShapeRef.new(shape: ReservedNodesOfferingList, location_name: "ReservedNodesOfferings"))
|
541
|
+
DescribeReservedNodesOfferingsResponse.struct_class = Types::DescribeReservedNodesOfferingsResponse
|
542
|
+
|
543
|
+
DescribeReservedNodesRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservationId"))
|
544
|
+
DescribeReservedNodesRequest.add_member(:reserved_nodes_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodesOfferingId"))
|
545
|
+
DescribeReservedNodesRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
546
|
+
DescribeReservedNodesRequest.add_member(:duration, Shapes::ShapeRef.new(shape: String, location_name: "Duration"))
|
547
|
+
DescribeReservedNodesRequest.add_member(:offering_type, Shapes::ShapeRef.new(shape: String, location_name: "OfferingType"))
|
548
|
+
DescribeReservedNodesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
|
549
|
+
DescribeReservedNodesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
550
|
+
DescribeReservedNodesRequest.struct_class = Types::DescribeReservedNodesRequest
|
551
|
+
|
552
|
+
DescribeReservedNodesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
553
|
+
DescribeReservedNodesResponse.add_member(:reserved_nodes, Shapes::ShapeRef.new(shape: ReservedNodeList, location_name: "ReservedNodes"))
|
554
|
+
DescribeReservedNodesResponse.struct_class = Types::DescribeReservedNodesResponse
|
555
|
+
|
515
556
|
DescribeServiceUpdatesRequest.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
|
516
557
|
DescribeServiceUpdatesRequest.add_member(:cluster_names, Shapes::ShapeRef.new(shape: ClusterNameList, location_name: "ClusterNames"))
|
517
558
|
DescribeServiceUpdatesRequest.add_member(:status, Shapes::ShapeRef.new(shape: ServiceUpdateStatusList, location_name: "Status"))
|
@@ -692,9 +733,57 @@ module Aws::MemoryDB
|
|
692
733
|
|
693
734
|
PendingModifiedServiceUpdateList.member = Shapes::ShapeRef.new(shape: PendingModifiedServiceUpdate)
|
694
735
|
|
736
|
+
PurchaseReservedNodesOfferingRequest.add_member(:reserved_nodes_offering_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ReservedNodesOfferingId"))
|
737
|
+
PurchaseReservedNodesOfferingRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservationId"))
|
738
|
+
PurchaseReservedNodesOfferingRequest.add_member(:node_count, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NodeCount"))
|
739
|
+
PurchaseReservedNodesOfferingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
740
|
+
PurchaseReservedNodesOfferingRequest.struct_class = Types::PurchaseReservedNodesOfferingRequest
|
741
|
+
|
742
|
+
PurchaseReservedNodesOfferingResponse.add_member(:reserved_node, Shapes::ShapeRef.new(shape: ReservedNode, location_name: "ReservedNode"))
|
743
|
+
PurchaseReservedNodesOfferingResponse.struct_class = Types::PurchaseReservedNodesOfferingResponse
|
744
|
+
|
745
|
+
RecurringCharge.add_member(:recurring_charge_amount, Shapes::ShapeRef.new(shape: Double, location_name: "RecurringChargeAmount"))
|
746
|
+
RecurringCharge.add_member(:recurring_charge_frequency, Shapes::ShapeRef.new(shape: String, location_name: "RecurringChargeFrequency"))
|
747
|
+
RecurringCharge.struct_class = Types::RecurringCharge
|
748
|
+
|
749
|
+
RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge)
|
750
|
+
|
695
751
|
ReplicaConfigurationRequest.add_member(:replica_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ReplicaCount"))
|
696
752
|
ReplicaConfigurationRequest.struct_class = Types::ReplicaConfigurationRequest
|
697
753
|
|
754
|
+
ReservedNode.add_member(:reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservationId"))
|
755
|
+
ReservedNode.add_member(:reserved_nodes_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodesOfferingId"))
|
756
|
+
ReservedNode.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
757
|
+
ReservedNode.add_member(:start_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "StartTime"))
|
758
|
+
ReservedNode.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "Duration"))
|
759
|
+
ReservedNode.add_member(:fixed_price, Shapes::ShapeRef.new(shape: Double, location_name: "FixedPrice"))
|
760
|
+
ReservedNode.add_member(:node_count, Shapes::ShapeRef.new(shape: Integer, location_name: "NodeCount"))
|
761
|
+
ReservedNode.add_member(:offering_type, Shapes::ShapeRef.new(shape: String, location_name: "OfferingType"))
|
762
|
+
ReservedNode.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "State"))
|
763
|
+
ReservedNode.add_member(:recurring_charges, Shapes::ShapeRef.new(shape: RecurringChargeList, location_name: "RecurringCharges"))
|
764
|
+
ReservedNode.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
765
|
+
ReservedNode.struct_class = Types::ReservedNode
|
766
|
+
|
767
|
+
ReservedNodeAlreadyExistsFault.struct_class = Types::ReservedNodeAlreadyExistsFault
|
768
|
+
|
769
|
+
ReservedNodeList.member = Shapes::ShapeRef.new(shape: ReservedNode)
|
770
|
+
|
771
|
+
ReservedNodeNotFoundFault.struct_class = Types::ReservedNodeNotFoundFault
|
772
|
+
|
773
|
+
ReservedNodeQuotaExceededFault.struct_class = Types::ReservedNodeQuotaExceededFault
|
774
|
+
|
775
|
+
ReservedNodesOffering.add_member(:reserved_nodes_offering_id, Shapes::ShapeRef.new(shape: String, location_name: "ReservedNodesOfferingId"))
|
776
|
+
ReservedNodesOffering.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
777
|
+
ReservedNodesOffering.add_member(:duration, Shapes::ShapeRef.new(shape: Integer, location_name: "Duration"))
|
778
|
+
ReservedNodesOffering.add_member(:fixed_price, Shapes::ShapeRef.new(shape: Double, location_name: "FixedPrice"))
|
779
|
+
ReservedNodesOffering.add_member(:offering_type, Shapes::ShapeRef.new(shape: String, location_name: "OfferingType"))
|
780
|
+
ReservedNodesOffering.add_member(:recurring_charges, Shapes::ShapeRef.new(shape: RecurringChargeList, location_name: "RecurringCharges"))
|
781
|
+
ReservedNodesOffering.struct_class = Types::ReservedNodesOffering
|
782
|
+
|
783
|
+
ReservedNodesOfferingList.member = Shapes::ShapeRef.new(shape: ReservedNodesOffering)
|
784
|
+
|
785
|
+
ReservedNodesOfferingNotFoundFault.struct_class = Types::ReservedNodesOfferingNotFoundFault
|
786
|
+
|
698
787
|
ResetParameterGroupRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
699
788
|
ResetParameterGroupRequest.add_member(:all_parameters, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllParameters"))
|
700
789
|
ResetParameterGroupRequest.add_member(:parameter_names, Shapes::ShapeRef.new(shape: ParameterNameList, location_name: "ParameterNames"))
|
@@ -1146,6 +1235,12 @@ module Aws::MemoryDB
|
|
1146
1235
|
o.output = Shapes::ShapeRef.new(shape: DescribeACLsResponse)
|
1147
1236
|
o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
|
1148
1237
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1238
|
+
o[:pager] = Aws::Pager.new(
|
1239
|
+
limit_key: "max_results",
|
1240
|
+
tokens: {
|
1241
|
+
"next_token" => "next_token"
|
1242
|
+
}
|
1243
|
+
)
|
1149
1244
|
end)
|
1150
1245
|
|
1151
1246
|
api.add_operation(:describe_clusters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1158,6 +1253,12 @@ module Aws::MemoryDB
|
|
1158
1253
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1159
1254
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1160
1255
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1256
|
+
o[:pager] = Aws::Pager.new(
|
1257
|
+
limit_key: "max_results",
|
1258
|
+
tokens: {
|
1259
|
+
"next_token" => "next_token"
|
1260
|
+
}
|
1261
|
+
)
|
1161
1262
|
end)
|
1162
1263
|
|
1163
1264
|
api.add_operation(:describe_engine_versions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1169,6 +1270,12 @@ module Aws::MemoryDB
|
|
1169
1270
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1170
1271
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1171
1272
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1273
|
+
o[:pager] = Aws::Pager.new(
|
1274
|
+
limit_key: "max_results",
|
1275
|
+
tokens: {
|
1276
|
+
"next_token" => "next_token"
|
1277
|
+
}
|
1278
|
+
)
|
1172
1279
|
end)
|
1173
1280
|
|
1174
1281
|
api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1180,6 +1287,12 @@ module Aws::MemoryDB
|
|
1180
1287
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1181
1288
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1182
1289
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1290
|
+
o[:pager] = Aws::Pager.new(
|
1291
|
+
limit_key: "max_results",
|
1292
|
+
tokens: {
|
1293
|
+
"next_token" => "next_token"
|
1294
|
+
}
|
1295
|
+
)
|
1183
1296
|
end)
|
1184
1297
|
|
1185
1298
|
api.add_operation(:describe_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1192,6 +1305,12 @@ module Aws::MemoryDB
|
|
1192
1305
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1193
1306
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1194
1307
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1308
|
+
o[:pager] = Aws::Pager.new(
|
1309
|
+
limit_key: "max_results",
|
1310
|
+
tokens: {
|
1311
|
+
"next_token" => "next_token"
|
1312
|
+
}
|
1313
|
+
)
|
1195
1314
|
end)
|
1196
1315
|
|
1197
1316
|
api.add_operation(:describe_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1204,6 +1323,48 @@ module Aws::MemoryDB
|
|
1204
1323
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1205
1324
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1206
1325
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1326
|
+
o[:pager] = Aws::Pager.new(
|
1327
|
+
limit_key: "max_results",
|
1328
|
+
tokens: {
|
1329
|
+
"next_token" => "next_token"
|
1330
|
+
}
|
1331
|
+
)
|
1332
|
+
end)
|
1333
|
+
|
1334
|
+
api.add_operation(:describe_reserved_nodes, Seahorse::Model::Operation.new.tap do |o|
|
1335
|
+
o.name = "DescribeReservedNodes"
|
1336
|
+
o.http_method = "POST"
|
1337
|
+
o.http_request_uri = "/"
|
1338
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReservedNodesRequest)
|
1339
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReservedNodesResponse)
|
1340
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeNotFoundFault)
|
1341
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1342
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1343
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1344
|
+
o[:pager] = Aws::Pager.new(
|
1345
|
+
limit_key: "max_results",
|
1346
|
+
tokens: {
|
1347
|
+
"next_token" => "next_token"
|
1348
|
+
}
|
1349
|
+
)
|
1350
|
+
end)
|
1351
|
+
|
1352
|
+
api.add_operation(:describe_reserved_nodes_offerings, Seahorse::Model::Operation.new.tap do |o|
|
1353
|
+
o.name = "DescribeReservedNodesOfferings"
|
1354
|
+
o.http_method = "POST"
|
1355
|
+
o.http_request_uri = "/"
|
1356
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReservedNodesOfferingsRequest)
|
1357
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReservedNodesOfferingsResponse)
|
1358
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodesOfferingNotFoundFault)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1362
|
+
o[:pager] = Aws::Pager.new(
|
1363
|
+
limit_key: "max_results",
|
1364
|
+
tokens: {
|
1365
|
+
"next_token" => "next_token"
|
1366
|
+
}
|
1367
|
+
)
|
1207
1368
|
end)
|
1208
1369
|
|
1209
1370
|
api.add_operation(:describe_service_updates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1214,6 +1375,12 @@ module Aws::MemoryDB
|
|
1214
1375
|
o.output = Shapes::ShapeRef.new(shape: DescribeServiceUpdatesResponse)
|
1215
1376
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1216
1377
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1378
|
+
o[:pager] = Aws::Pager.new(
|
1379
|
+
limit_key: "max_results",
|
1380
|
+
tokens: {
|
1381
|
+
"next_token" => "next_token"
|
1382
|
+
}
|
1383
|
+
)
|
1217
1384
|
end)
|
1218
1385
|
|
1219
1386
|
api.add_operation(:describe_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1226,6 +1393,12 @@ module Aws::MemoryDB
|
|
1226
1393
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1227
1394
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1228
1395
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1396
|
+
o[:pager] = Aws::Pager.new(
|
1397
|
+
limit_key: "max_results",
|
1398
|
+
tokens: {
|
1399
|
+
"next_token" => "next_token"
|
1400
|
+
}
|
1401
|
+
)
|
1229
1402
|
end)
|
1230
1403
|
|
1231
1404
|
api.add_operation(:describe_subnet_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1236,6 +1409,12 @@ module Aws::MemoryDB
|
|
1236
1409
|
o.output = Shapes::ShapeRef.new(shape: DescribeSubnetGroupsResponse)
|
1237
1410
|
o.errors << Shapes::ShapeRef.new(shape: SubnetGroupNotFoundFault)
|
1238
1411
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1412
|
+
o[:pager] = Aws::Pager.new(
|
1413
|
+
limit_key: "max_results",
|
1414
|
+
tokens: {
|
1415
|
+
"next_token" => "next_token"
|
1416
|
+
}
|
1417
|
+
)
|
1239
1418
|
end)
|
1240
1419
|
|
1241
1420
|
api.add_operation(:describe_users, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1246,6 +1425,12 @@ module Aws::MemoryDB
|
|
1246
1425
|
o.output = Shapes::ShapeRef.new(shape: DescribeUsersResponse)
|
1247
1426
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
|
1248
1427
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1428
|
+
o[:pager] = Aws::Pager.new(
|
1429
|
+
limit_key: "max_results",
|
1430
|
+
tokens: {
|
1431
|
+
"next_token" => "next_token"
|
1432
|
+
}
|
1433
|
+
)
|
1249
1434
|
end)
|
1250
1435
|
|
1251
1436
|
api.add_operation(:failover_shard, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1293,6 +1478,21 @@ module Aws::MemoryDB
|
|
1293
1478
|
o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
|
1294
1479
|
end)
|
1295
1480
|
|
1481
|
+
api.add_operation(:purchase_reserved_nodes_offering, Seahorse::Model::Operation.new.tap do |o|
|
1482
|
+
o.name = "PurchaseReservedNodesOffering"
|
1483
|
+
o.http_method = "POST"
|
1484
|
+
o.http_request_uri = "/"
|
1485
|
+
o.input = Shapes::ShapeRef.new(shape: PurchaseReservedNodesOfferingRequest)
|
1486
|
+
o.output = Shapes::ShapeRef.new(shape: PurchaseReservedNodesOfferingResponse)
|
1487
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodesOfferingNotFoundFault)
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeAlreadyExistsFault)
|
1489
|
+
o.errors << Shapes::ShapeRef.new(shape: ReservedNodeQuotaExceededFault)
|
1490
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1493
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1494
|
+
end)
|
1495
|
+
|
1296
1496
|
api.add_operation(:reset_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
1297
1497
|
o.name = "ResetParameterGroup"
|
1298
1498
|
o.http_method = "POST"
|
@@ -50,6 +50,9 @@ module Aws::MemoryDB
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,109 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::MemoryDB
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "fips")
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://memory-db-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://memory-db.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
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cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUi
|
102
|
-
OiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFs
|
103
|
-
U3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
|
104
|
-
c3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
|
105
|
-
aW9ucyI6W10sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMi
|
106
|
-
Olt7ImZuIjoic3RyaW5nRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9u
|
107
|
-
In0sImZpcHMiXX1dLCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL21lbW9y
|
108
|
-
eS1kYi1maXBzLnVzLXdlc3QtMS5hbWF6b25hd3MuY29tIiwicHJvcGVydGll
|
109
|
-
cyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25k
|
110
|
-
aXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9tZW1vcnkt
|
111
|
-
ZGIue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJv
|
112
|
-
cGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1d
|
113
|
-
fV19XX0=
|
114
|
-
|
115
|
-
JSON
|
116
53
|
end
|
117
54
|
end
|
@@ -291,6 +291,34 @@ module Aws::MemoryDB
|
|
291
291
|
end
|
292
292
|
end
|
293
293
|
|
294
|
+
class DescribeReservedNodes
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::MemoryDB::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class DescribeReservedNodesOfferings
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::MemoryDB::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
294
322
|
class DescribeServiceUpdates
|
295
323
|
def self.build(context)
|
296
324
|
unless context.config.regional_endpoint
|
@@ -389,6 +417,20 @@ module Aws::MemoryDB
|
|
389
417
|
end
|
390
418
|
end
|
391
419
|
|
420
|
+
class PurchaseReservedNodesOffering
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::MemoryDB::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
392
434
|
class ResetParameterGroup
|
393
435
|
def self.build(context)
|
394
436
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,10 @@ module Aws::MemoryDB
|
|
56
56
|
# * {ParameterGroupAlreadyExistsFault}
|
57
57
|
# * {ParameterGroupNotFoundFault}
|
58
58
|
# * {ParameterGroupQuotaExceededFault}
|
59
|
+
# * {ReservedNodeAlreadyExistsFault}
|
60
|
+
# * {ReservedNodeNotFoundFault}
|
61
|
+
# * {ReservedNodeQuotaExceededFault}
|
62
|
+
# * {ReservedNodesOfferingNotFoundFault}
|
59
63
|
# * {ServiceLinkedRoleNotFoundFault}
|
60
64
|
# * {ServiceUpdateNotFoundFault}
|
61
65
|
# * {ShardNotFoundFault}
|
@@ -383,6 +387,46 @@ module Aws::MemoryDB
|
|
383
387
|
end
|
384
388
|
end
|
385
389
|
|
390
|
+
class ReservedNodeAlreadyExistsFault < ServiceError
|
391
|
+
|
392
|
+
# @param [Seahorse::Client::RequestContext] context
|
393
|
+
# @param [String] message
|
394
|
+
# @param [Aws::MemoryDB::Types::ReservedNodeAlreadyExistsFault] data
|
395
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
396
|
+
super(context, message, data)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class ReservedNodeNotFoundFault < ServiceError
|
401
|
+
|
402
|
+
# @param [Seahorse::Client::RequestContext] context
|
403
|
+
# @param [String] message
|
404
|
+
# @param [Aws::MemoryDB::Types::ReservedNodeNotFoundFault] data
|
405
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
406
|
+
super(context, message, data)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
class ReservedNodeQuotaExceededFault < ServiceError
|
411
|
+
|
412
|
+
# @param [Seahorse::Client::RequestContext] context
|
413
|
+
# @param [String] message
|
414
|
+
# @param [Aws::MemoryDB::Types::ReservedNodeQuotaExceededFault] data
|
415
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
416
|
+
super(context, message, data)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
class ReservedNodesOfferingNotFoundFault < ServiceError
|
421
|
+
|
422
|
+
# @param [Seahorse::Client::RequestContext] context
|
423
|
+
# @param [String] message
|
424
|
+
# @param [Aws::MemoryDB::Types::ReservedNodesOfferingNotFoundFault] data
|
425
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
426
|
+
super(context, message, data)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
386
430
|
class ServiceLinkedRoleNotFoundFault < ServiceError
|
387
431
|
|
388
432
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -96,6 +96,10 @@ module Aws::MemoryDB
|
|
96
96
|
Aws::MemoryDB::Endpoints::DescribeParameterGroups.build(context)
|
97
97
|
when :describe_parameters
|
98
98
|
Aws::MemoryDB::Endpoints::DescribeParameters.build(context)
|
99
|
+
when :describe_reserved_nodes
|
100
|
+
Aws::MemoryDB::Endpoints::DescribeReservedNodes.build(context)
|
101
|
+
when :describe_reserved_nodes_offerings
|
102
|
+
Aws::MemoryDB::Endpoints::DescribeReservedNodesOfferings.build(context)
|
99
103
|
when :describe_service_updates
|
100
104
|
Aws::MemoryDB::Endpoints::DescribeServiceUpdates.build(context)
|
101
105
|
when :describe_snapshots
|
@@ -110,6 +114,8 @@ module Aws::MemoryDB
|
|
110
114
|
Aws::MemoryDB::Endpoints::ListAllowedNodeTypeUpdates.build(context)
|
111
115
|
when :list_tags
|
112
116
|
Aws::MemoryDB::Endpoints::ListTags.build(context)
|
117
|
+
when :purchase_reserved_nodes_offering
|
118
|
+
Aws::MemoryDB::Endpoints::PurchaseReservedNodesOffering.build(context)
|
113
119
|
when :reset_parameter_group
|
114
120
|
Aws::MemoryDB::Endpoints::ResetParameterGroup.build(context)
|
115
121
|
when :tag_resource
|