aws-sdk-memorydb 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a868519cfaac865e4a43f6e67bba95bfdb2a38fb5b866f3cdfab9339f4890363
4
- data.tar.gz: 7fd8fddfe09130c07cb2f00ae08b07f5813c0ccc489b889397cdca85f411b3c0
3
+ metadata.gz: 65e2558aae9567e7a5d5829b0a1adb2d9a24b5427e06c5dfcab091bb2381dc46
4
+ data.tar.gz: 7da7a07abeeaf00aafbc4fb99cb58611fe290ab11803e3faf996a7491b0103b7
5
5
  SHA512:
6
- metadata.gz: 1ad4853c53f2e89263a54afb404953d811334c98cff00f30cd2f08abab5442964579a796a35aea68cf5e7424652368deb4745b9cbd623dc7b07c5fe9b0d5134c
7
- data.tar.gz: 89d3ff8fcf3e7edd4e3b100f540708dc3134b746f401dad223d056a10b467d383aa6543b8fba5d04b2351026c4ce7c78a8645ee3727e547c138020b498bae384
6
+ metadata.gz: 6a84627101928e9996a6ac69b3da2dbddacd019ee157cf53ec2b5e9db2668699b2ae16e0171c84d17d787511e7e0f1e6be2045182efdffb8768fdb80a2262260
7
+ data.tar.gz: 54ec8c9f326208ddbc90232ec656ee97b35b6315275707dd24d05df8ad05bec5aec6fed5d0b9a5b499c351b4ecb86b74a7e9313c4b3d852da371312fe8a02ac9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2022-12-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for MemoryDB Reserved nodes which provides a significant discount compared to on-demand node pricing. Reserved nodes are not physical nodes, but rather a billing discount applied to the use of on-demand nodes in your account.
8
+
4
9
  1.10.0 (2022-11-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.11.0
@@ -1381,6 +1381,8 @@ module Aws::MemoryDB
1381
1381
  # * {Types::DescribeACLsResponse#acls #acls} => Array<Types::ACL>
1382
1382
  # * {Types::DescribeACLsResponse#next_token #next_token} => String
1383
1383
  #
1384
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1385
+ #
1384
1386
  # @example Request syntax with placeholder values
1385
1387
  #
1386
1388
  # resp = client.describe_acls({
@@ -1443,6 +1445,8 @@ module Aws::MemoryDB
1443
1445
  # * {Types::DescribeClustersResponse#next_token #next_token} => String
1444
1446
  # * {Types::DescribeClustersResponse#clusters #clusters} => Array<Types::Cluster>
1445
1447
  #
1448
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1449
+ #
1446
1450
  # @example Request syntax with placeholder values
1447
1451
  #
1448
1452
  # resp = client.describe_clusters({
@@ -1539,6 +1543,8 @@ module Aws::MemoryDB
1539
1543
  # * {Types::DescribeEngineVersionsResponse#next_token #next_token} => String
1540
1544
  # * {Types::DescribeEngineVersionsResponse#engine_versions #engine_versions} => Array<Types::EngineVersionInfo>
1541
1545
  #
1546
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1547
+ #
1542
1548
  # @example Request syntax with placeholder values
1543
1549
  #
1544
1550
  # resp = client.describe_engine_versions({
@@ -1609,6 +1615,8 @@ module Aws::MemoryDB
1609
1615
  # * {Types::DescribeEventsResponse#next_token #next_token} => String
1610
1616
  # * {Types::DescribeEventsResponse#events #events} => Array<Types::Event>
1611
1617
  #
1618
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1619
+ #
1612
1620
  # @example Request syntax with placeholder values
1613
1621
  #
1614
1622
  # resp = client.describe_events({
@@ -1663,6 +1671,8 @@ module Aws::MemoryDB
1663
1671
  # * {Types::DescribeParameterGroupsResponse#next_token #next_token} => String
1664
1672
  # * {Types::DescribeParameterGroupsResponse#parameter_groups #parameter_groups} => Array<Types::ParameterGroup>
1665
1673
  #
1674
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1675
+ #
1666
1676
  # @example Request syntax with placeholder values
1667
1677
  #
1668
1678
  # resp = client.describe_parameter_groups({
@@ -1711,6 +1721,8 @@ module Aws::MemoryDB
1711
1721
  # * {Types::DescribeParametersResponse#next_token #next_token} => String
1712
1722
  # * {Types::DescribeParametersResponse#parameters #parameters} => Array<Types::Parameter>
1713
1723
  #
1724
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1725
+ #
1714
1726
  # @example Request syntax with placeholder values
1715
1727
  #
1716
1728
  # resp = client.describe_parameters({
@@ -1739,6 +1751,169 @@ module Aws::MemoryDB
1739
1751
  req.send_request(options)
1740
1752
  end
1741
1753
 
1754
+ # Returns information about reserved nodes for this account, or about a
1755
+ # specified reserved node.
1756
+ #
1757
+ # @option params [String] :reservation_id
1758
+ # The reserved node identifier filter value. Use this parameter to show
1759
+ # only the reservation that matches the specified reservation ID.
1760
+ #
1761
+ # @option params [String] :reserved_nodes_offering_id
1762
+ # The offering identifier filter value. Use this parameter to show only
1763
+ # purchased reservations matching the specified offering identifier.
1764
+ #
1765
+ # @option params [String] :node_type
1766
+ # The node type filter value. Use this parameter to show only those
1767
+ # reservations matching the specified node type. For more information,
1768
+ # see [Supported node types][1].
1769
+ #
1770
+ #
1771
+ #
1772
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported
1773
+ #
1774
+ # @option params [String] :duration
1775
+ # The duration filter value, specified in years or seconds. Use this
1776
+ # parameter to show only reservations for this duration.
1777
+ #
1778
+ # @option params [String] :offering_type
1779
+ # The offering type filter value. Use this parameter to show only the
1780
+ # available offerings matching the specified offering type. Valid
1781
+ # values: "All Upfront"\|"Partial Upfront"\| "No Upfront"
1782
+ #
1783
+ # @option params [Integer] :max_results
1784
+ # The maximum number of records to include in the response. If more
1785
+ # records exist than the specified MaxRecords value, a marker is
1786
+ # included in the response so that the remaining results can be
1787
+ # retrieved.
1788
+ #
1789
+ # @option params [String] :next_token
1790
+ # An optional marker returned from a prior request. Use this marker for
1791
+ # pagination of results from this operation. If this parameter is
1792
+ # specified, the response includes only records beyond the marker, up to
1793
+ # the value specified by MaxRecords.
1794
+ #
1795
+ # @return [Types::DescribeReservedNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1796
+ #
1797
+ # * {Types::DescribeReservedNodesResponse#next_token #next_token} => String
1798
+ # * {Types::DescribeReservedNodesResponse#reserved_nodes #reserved_nodes} => Array<Types::ReservedNode>
1799
+ #
1800
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1801
+ #
1802
+ # @example Request syntax with placeholder values
1803
+ #
1804
+ # resp = client.describe_reserved_nodes({
1805
+ # reservation_id: "String",
1806
+ # reserved_nodes_offering_id: "String",
1807
+ # node_type: "String",
1808
+ # duration: "String",
1809
+ # offering_type: "String",
1810
+ # max_results: 1,
1811
+ # next_token: "String",
1812
+ # })
1813
+ #
1814
+ # @example Response structure
1815
+ #
1816
+ # resp.next_token #=> String
1817
+ # resp.reserved_nodes #=> Array
1818
+ # resp.reserved_nodes[0].reservation_id #=> String
1819
+ # resp.reserved_nodes[0].reserved_nodes_offering_id #=> String
1820
+ # resp.reserved_nodes[0].node_type #=> String
1821
+ # resp.reserved_nodes[0].start_time #=> Time
1822
+ # resp.reserved_nodes[0].duration #=> Integer
1823
+ # resp.reserved_nodes[0].fixed_price #=> Float
1824
+ # resp.reserved_nodes[0].node_count #=> Integer
1825
+ # resp.reserved_nodes[0].offering_type #=> String
1826
+ # resp.reserved_nodes[0].state #=> String
1827
+ # resp.reserved_nodes[0].recurring_charges #=> Array
1828
+ # resp.reserved_nodes[0].recurring_charges[0].recurring_charge_amount #=> Float
1829
+ # resp.reserved_nodes[0].recurring_charges[0].recurring_charge_frequency #=> String
1830
+ # resp.reserved_nodes[0].arn #=> String
1831
+ #
1832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodes AWS API Documentation
1833
+ #
1834
+ # @overload describe_reserved_nodes(params = {})
1835
+ # @param [Hash] params ({})
1836
+ def describe_reserved_nodes(params = {}, options = {})
1837
+ req = build_request(:describe_reserved_nodes, params)
1838
+ req.send_request(options)
1839
+ end
1840
+
1841
+ # Lists available reserved node offerings.
1842
+ #
1843
+ # @option params [String] :reserved_nodes_offering_id
1844
+ # The offering identifier filter value. Use this parameter to show only
1845
+ # the available offering that matches the specified reservation
1846
+ # identifier.
1847
+ #
1848
+ # @option params [String] :node_type
1849
+ # The node type for the reserved nodes. For more information, see
1850
+ # [Supported node types][1].
1851
+ #
1852
+ #
1853
+ #
1854
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported
1855
+ #
1856
+ # @option params [String] :duration
1857
+ # Duration filter value, specified in years or seconds. Use this
1858
+ # parameter to show only reservations for a given duration.
1859
+ #
1860
+ # @option params [String] :offering_type
1861
+ # The offering type filter value. Use this parameter to show only the
1862
+ # available offerings matching the specified offering type. Valid
1863
+ # values: "All Upfront"\|"Partial Upfront"\| "No Upfront"
1864
+ #
1865
+ # @option params [Integer] :max_results
1866
+ # The maximum number of records to include in the response. If more
1867
+ # records exist than the specified MaxRecords value, a marker is
1868
+ # included in the response so that the remaining results can be
1869
+ # retrieved.
1870
+ #
1871
+ # @option params [String] :next_token
1872
+ # An optional marker returned from a prior request. Use this marker for
1873
+ # pagination of results from this operation. If this parameter is
1874
+ # specified, the response includes only records beyond the marker, up to
1875
+ # the value specified by MaxRecords.
1876
+ #
1877
+ # @return [Types::DescribeReservedNodesOfferingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1878
+ #
1879
+ # * {Types::DescribeReservedNodesOfferingsResponse#next_token #next_token} => String
1880
+ # * {Types::DescribeReservedNodesOfferingsResponse#reserved_nodes_offerings #reserved_nodes_offerings} => Array<Types::ReservedNodesOffering>
1881
+ #
1882
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1883
+ #
1884
+ # @example Request syntax with placeholder values
1885
+ #
1886
+ # resp = client.describe_reserved_nodes_offerings({
1887
+ # reserved_nodes_offering_id: "String",
1888
+ # node_type: "String",
1889
+ # duration: "String",
1890
+ # offering_type: "String",
1891
+ # max_results: 1,
1892
+ # next_token: "String",
1893
+ # })
1894
+ #
1895
+ # @example Response structure
1896
+ #
1897
+ # resp.next_token #=> String
1898
+ # resp.reserved_nodes_offerings #=> Array
1899
+ # resp.reserved_nodes_offerings[0].reserved_nodes_offering_id #=> String
1900
+ # resp.reserved_nodes_offerings[0].node_type #=> String
1901
+ # resp.reserved_nodes_offerings[0].duration #=> Integer
1902
+ # resp.reserved_nodes_offerings[0].fixed_price #=> Float
1903
+ # resp.reserved_nodes_offerings[0].offering_type #=> String
1904
+ # resp.reserved_nodes_offerings[0].recurring_charges #=> Array
1905
+ # resp.reserved_nodes_offerings[0].recurring_charges[0].recurring_charge_amount #=> Float
1906
+ # resp.reserved_nodes_offerings[0].recurring_charges[0].recurring_charge_frequency #=> String
1907
+ #
1908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesOfferings AWS API Documentation
1909
+ #
1910
+ # @overload describe_reserved_nodes_offerings(params = {})
1911
+ # @param [Hash] params ({})
1912
+ def describe_reserved_nodes_offerings(params = {}, options = {})
1913
+ req = build_request(:describe_reserved_nodes_offerings, params)
1914
+ req.send_request(options)
1915
+ end
1916
+
1742
1917
  # Returns details of the service updates
1743
1918
  #
1744
1919
  # @option params [String] :service_update_name
@@ -1767,6 +1942,8 @@ module Aws::MemoryDB
1767
1942
  # * {Types::DescribeServiceUpdatesResponse#next_token #next_token} => String
1768
1943
  # * {Types::DescribeServiceUpdatesResponse#service_updates #service_updates} => Array<Types::ServiceUpdate>
1769
1944
  #
1945
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1946
+ #
1770
1947
  # @example Request syntax with placeholder values
1771
1948
  #
1772
1949
  # resp = client.describe_service_updates({
@@ -1839,6 +2016,8 @@ module Aws::MemoryDB
1839
2016
  # * {Types::DescribeSnapshotsResponse#next_token #next_token} => String
1840
2017
  # * {Types::DescribeSnapshotsResponse#snapshots #snapshots} => Array<Types::Snapshot>
1841
2018
  #
2019
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2020
+ #
1842
2021
  # @example Request syntax with placeholder values
1843
2022
  #
1844
2023
  # resp = client.describe_snapshots({
@@ -1912,6 +2091,8 @@ module Aws::MemoryDB
1912
2091
  # * {Types::DescribeSubnetGroupsResponse#next_token #next_token} => String
1913
2092
  # * {Types::DescribeSubnetGroupsResponse#subnet_groups #subnet_groups} => Array<Types::SubnetGroup>
1914
2093
  #
2094
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2095
+ #
1915
2096
  # @example Request syntax with placeholder values
1916
2097
  #
1917
2098
  # resp = client.describe_subnet_groups({
@@ -1966,6 +2147,8 @@ module Aws::MemoryDB
1966
2147
  # * {Types::DescribeUsersResponse#users #users} => Array<Types::User>
1967
2148
  # * {Types::DescribeUsersResponse#next_token #next_token} => String
1968
2149
  #
2150
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2151
+ #
1969
2152
  # @example Request syntax with placeholder values
1970
2153
  #
1971
2154
  # resp = client.describe_users({
@@ -2158,6 +2341,66 @@ module Aws::MemoryDB
2158
2341
  req.send_request(options)
2159
2342
  end
2160
2343
 
2344
+ # Allows you to purchase a reserved node offering. Reserved nodes are
2345
+ # not eligible for cancellation and are non-refundable.
2346
+ #
2347
+ # @option params [required, String] :reserved_nodes_offering_id
2348
+ # The ID of the reserved node offering to purchase.
2349
+ #
2350
+ # @option params [String] :reservation_id
2351
+ # A customer-specified identifier to track this reservation.
2352
+ #
2353
+ # @option params [Integer] :node_count
2354
+ # The number of node instances to reserve.
2355
+ #
2356
+ # @option params [Array<Types::Tag>] :tags
2357
+ # A list of tags to be added to this resource. A tag is a key-value
2358
+ # pair. A tag key must be accompanied by a tag value, although null is
2359
+ # accepted.
2360
+ #
2361
+ # @return [Types::PurchaseReservedNodesOfferingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2362
+ #
2363
+ # * {Types::PurchaseReservedNodesOfferingResponse#reserved_node #reserved_node} => Types::ReservedNode
2364
+ #
2365
+ # @example Request syntax with placeholder values
2366
+ #
2367
+ # resp = client.purchase_reserved_nodes_offering({
2368
+ # reserved_nodes_offering_id: "String", # required
2369
+ # reservation_id: "String",
2370
+ # node_count: 1,
2371
+ # tags: [
2372
+ # {
2373
+ # key: "String",
2374
+ # value: "String",
2375
+ # },
2376
+ # ],
2377
+ # })
2378
+ #
2379
+ # @example Response structure
2380
+ #
2381
+ # resp.reserved_node.reservation_id #=> String
2382
+ # resp.reserved_node.reserved_nodes_offering_id #=> String
2383
+ # resp.reserved_node.node_type #=> String
2384
+ # resp.reserved_node.start_time #=> Time
2385
+ # resp.reserved_node.duration #=> Integer
2386
+ # resp.reserved_node.fixed_price #=> Float
2387
+ # resp.reserved_node.node_count #=> Integer
2388
+ # resp.reserved_node.offering_type #=> String
2389
+ # resp.reserved_node.state #=> String
2390
+ # resp.reserved_node.recurring_charges #=> Array
2391
+ # resp.reserved_node.recurring_charges[0].recurring_charge_amount #=> Float
2392
+ # resp.reserved_node.recurring_charges[0].recurring_charge_frequency #=> String
2393
+ # resp.reserved_node.arn #=> String
2394
+ #
2395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/PurchaseReservedNodesOffering AWS API Documentation
2396
+ #
2397
+ # @overload purchase_reserved_nodes_offering(params = {})
2398
+ # @param [Hash] params ({})
2399
+ def purchase_reserved_nodes_offering(params = {}, options = {})
2400
+ req = build_request(:purchase_reserved_nodes_offering, params)
2401
+ req.send_request(options)
2402
+ end
2403
+
2161
2404
  # Modifies the parameters of a parameter group to the engine or system
2162
2405
  # default value. You can reset specific parameters by submitting a list
2163
2406
  # of parameter names. To reset the entire parameter group, specify the
@@ -2657,7 +2900,7 @@ module Aws::MemoryDB
2657
2900
  params: params,
2658
2901
  config: config)
2659
2902
  context[:gem_name] = 'aws-sdk-memorydb'
2660
- context[:gem_version] = '1.10.0'
2903
+ context[:gem_version] = '1.11.0'
2661
2904
  Seahorse::Client::Request.new(handlers, context)
2662
2905
  end
2663
2906
 
@@ -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"