aws-sdk-memorydb 1.9.0 → 1.11.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-memorydb/client.rb +311 -4
- data/lib/aws-sdk-memorydb/client_api.rb +204 -0
- data/lib/aws-sdk-memorydb/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-memorydb/endpoint_provider.rb +80 -82
- 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 +421 -458
- data/lib/aws-sdk-memorydb.rb +1 -1
- metadata +2 -2
@@ -57,6 +57,7 @@ module Aws::MemoryDB
|
|
57
57
|
CreateSubnetGroupResponse = Shapes::StructureShape.new(name: 'CreateSubnetGroupResponse')
|
58
58
|
CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
|
59
59
|
CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
|
60
|
+
DataTieringStatus = Shapes::StringShape.new(name: 'DataTieringStatus')
|
60
61
|
DefaultUserRequired = Shapes::StructureShape.new(name: 'DefaultUserRequired')
|
61
62
|
DeleteACLRequest = Shapes::StructureShape.new(name: 'DeleteACLRequest')
|
62
63
|
DeleteACLResponse = Shapes::StructureShape.new(name: 'DeleteACLResponse')
|
@@ -82,6 +83,10 @@ module Aws::MemoryDB
|
|
82
83
|
DescribeParameterGroupsResponse = Shapes::StructureShape.new(name: 'DescribeParameterGroupsResponse')
|
83
84
|
DescribeParametersRequest = Shapes::StructureShape.new(name: 'DescribeParametersRequest')
|
84
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')
|
85
90
|
DescribeServiceUpdatesRequest = Shapes::StructureShape.new(name: 'DescribeServiceUpdatesRequest')
|
86
91
|
DescribeServiceUpdatesResponse = Shapes::StructureShape.new(name: 'DescribeServiceUpdatesResponse')
|
87
92
|
DescribeSnapshotsRequest = Shapes::StructureShape.new(name: 'DescribeSnapshotsRequest')
|
@@ -146,7 +151,19 @@ module Aws::MemoryDB
|
|
146
151
|
PasswordListInput = Shapes::ListShape.new(name: 'PasswordListInput')
|
147
152
|
PendingModifiedServiceUpdate = Shapes::StructureShape.new(name: 'PendingModifiedServiceUpdate')
|
148
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')
|
149
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')
|
150
167
|
ResetParameterGroupRequest = Shapes::StructureShape.new(name: 'ResetParameterGroupRequest')
|
151
168
|
ResetParameterGroupResponse = Shapes::StructureShape.new(name: 'ResetParameterGroupResponse')
|
152
169
|
ReshardingStatus = Shapes::StructureShape.new(name: 'ReshardingStatus')
|
@@ -296,6 +313,7 @@ module Aws::MemoryDB
|
|
296
313
|
Cluster.add_member(:snapshot_window, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotWindow"))
|
297
314
|
Cluster.add_member(:acl_name, Shapes::ShapeRef.new(shape: ACLName, location_name: "ACLName"))
|
298
315
|
Cluster.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
316
|
+
Cluster.add_member(:data_tiering, Shapes::ShapeRef.new(shape: DataTieringStatus, location_name: "DataTiering"))
|
299
317
|
Cluster.struct_class = Types::Cluster
|
300
318
|
|
301
319
|
ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
|
@@ -368,6 +386,7 @@ module Aws::MemoryDB
|
|
368
386
|
CreateClusterRequest.add_member(:acl_name, Shapes::ShapeRef.new(shape: ACLName, required: true, location_name: "ACLName"))
|
369
387
|
CreateClusterRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
370
388
|
CreateClusterRequest.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
389
|
+
CreateClusterRequest.add_member(:data_tiering, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DataTiering"))
|
371
390
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
372
391
|
|
373
392
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -509,6 +528,31 @@ module Aws::MemoryDB
|
|
509
528
|
DescribeParametersResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersList, location_name: "Parameters"))
|
510
529
|
DescribeParametersResponse.struct_class = Types::DescribeParametersResponse
|
511
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
|
+
|
512
556
|
DescribeServiceUpdatesRequest.add_member(:service_update_name, Shapes::ShapeRef.new(shape: String, location_name: "ServiceUpdateName"))
|
513
557
|
DescribeServiceUpdatesRequest.add_member(:cluster_names, Shapes::ShapeRef.new(shape: ClusterNameList, location_name: "ClusterNames"))
|
514
558
|
DescribeServiceUpdatesRequest.add_member(:status, Shapes::ShapeRef.new(shape: ServiceUpdateStatusList, location_name: "Status"))
|
@@ -689,9 +733,57 @@ module Aws::MemoryDB
|
|
689
733
|
|
690
734
|
PendingModifiedServiceUpdateList.member = Shapes::ShapeRef.new(shape: PendingModifiedServiceUpdate)
|
691
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
|
+
|
692
751
|
ReplicaConfigurationRequest.add_member(:replica_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ReplicaCount"))
|
693
752
|
ReplicaConfigurationRequest.struct_class = Types::ReplicaConfigurationRequest
|
694
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
|
+
|
695
787
|
ResetParameterGroupRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
|
696
788
|
ResetParameterGroupRequest.add_member(:all_parameters, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllParameters"))
|
697
789
|
ResetParameterGroupRequest.add_member(:parameter_names, Shapes::ShapeRef.new(shape: ParameterNameList, location_name: "ParameterNames"))
|
@@ -769,6 +861,7 @@ module Aws::MemoryDB
|
|
769
861
|
Snapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
770
862
|
Snapshot.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
|
771
863
|
Snapshot.add_member(:cluster_configuration, Shapes::ShapeRef.new(shape: ClusterConfiguration, location_name: "ClusterConfiguration"))
|
864
|
+
Snapshot.add_member(:data_tiering, Shapes::ShapeRef.new(shape: DataTieringStatus, location_name: "DataTiering"))
|
772
865
|
Snapshot.struct_class = Types::Snapshot
|
773
866
|
|
774
867
|
SnapshotAlreadyExistsFault.struct_class = Types::SnapshotAlreadyExistsFault
|
@@ -1142,6 +1235,12 @@ module Aws::MemoryDB
|
|
1142
1235
|
o.output = Shapes::ShapeRef.new(shape: DescribeACLsResponse)
|
1143
1236
|
o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
|
1144
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
|
+
)
|
1145
1244
|
end)
|
1146
1245
|
|
1147
1246
|
api.add_operation(:describe_clusters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1154,6 +1253,12 @@ module Aws::MemoryDB
|
|
1154
1253
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1155
1254
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1156
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
|
+
)
|
1157
1262
|
end)
|
1158
1263
|
|
1159
1264
|
api.add_operation(:describe_engine_versions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1165,6 +1270,12 @@ module Aws::MemoryDB
|
|
1165
1270
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1166
1271
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1167
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
|
+
)
|
1168
1279
|
end)
|
1169
1280
|
|
1170
1281
|
api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1176,6 +1287,12 @@ module Aws::MemoryDB
|
|
1176
1287
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1177
1288
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1178
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
|
+
)
|
1179
1296
|
end)
|
1180
1297
|
|
1181
1298
|
api.add_operation(:describe_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1188,6 +1305,12 @@ module Aws::MemoryDB
|
|
1188
1305
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1189
1306
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1190
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
|
+
)
|
1191
1314
|
end)
|
1192
1315
|
|
1193
1316
|
api.add_operation(:describe_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1200,6 +1323,48 @@ module Aws::MemoryDB
|
|
1200
1323
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1201
1324
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1202
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
|
+
)
|
1203
1368
|
end)
|
1204
1369
|
|
1205
1370
|
api.add_operation(:describe_service_updates, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1210,6 +1375,12 @@ module Aws::MemoryDB
|
|
1210
1375
|
o.output = Shapes::ShapeRef.new(shape: DescribeServiceUpdatesResponse)
|
1211
1376
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1212
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
|
+
)
|
1213
1384
|
end)
|
1214
1385
|
|
1215
1386
|
api.add_operation(:describe_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1222,6 +1393,12 @@ module Aws::MemoryDB
|
|
1222
1393
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
1223
1394
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1224
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
|
+
)
|
1225
1402
|
end)
|
1226
1403
|
|
1227
1404
|
api.add_operation(:describe_subnet_groups, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1232,6 +1409,12 @@ module Aws::MemoryDB
|
|
1232
1409
|
o.output = Shapes::ShapeRef.new(shape: DescribeSubnetGroupsResponse)
|
1233
1410
|
o.errors << Shapes::ShapeRef.new(shape: SubnetGroupNotFoundFault)
|
1234
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
|
+
)
|
1235
1418
|
end)
|
1236
1419
|
|
1237
1420
|
api.add_operation(:describe_users, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1242,6 +1425,12 @@ module Aws::MemoryDB
|
|
1242
1425
|
o.output = Shapes::ShapeRef.new(shape: DescribeUsersResponse)
|
1243
1426
|
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
|
1244
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
|
+
)
|
1245
1434
|
end)
|
1246
1435
|
|
1247
1436
|
api.add_operation(:failover_shard, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1289,6 +1478,21 @@ module Aws::MemoryDB
|
|
1289
1478
|
o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
|
1290
1479
|
end)
|
1291
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
|
+
|
1292
1496
|
api.add_operation(:reset_parameter_group, Seahorse::Model::Operation.new.tap do |o|
|
1293
1497
|
o.name = "ResetParameterGroup"
|
1294
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?
|
@@ -29,88 +29,86 @@ module Aws::MemoryDB
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
cGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1d
|
113
|
-
fV19XX0=
|
32
|
+
bHRJb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ijp7InVybCI6Imh0dHBzOi8vbWVtb3J5LWRiLntSZWdpb259LntQYXJ0
|
110
|
+
aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFk
|
111
|
+
ZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfV19
|
114
112
|
|
115
113
|
JSON
|
116
114
|
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
|