aws-sdk-memorydb 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a53111da4402a17403a88a388553715fa604044128088f4957e0bc35ceb66c67
|
4
|
+
data.tar.gz: 5f67ad5dd7e613b496f7fffb2d1cb1fa4871662ce52f6c2c912a16f2252b230d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3fc812402a88688bc00b249ea7352e8407443cdd4af979f8d24b9029b3ea9621fe247992aff6da8ff05a1b1ede08b3cf88555c4bad853d6e17b7fdb73d7e4e
|
7
|
+
data.tar.gz: 6b0818bd69c38118ebf054c799dcd86c3759be5ecf6a8d1f6e52d4ec1f7aaf7767c3fd994936b22f2a134092d5dd198c610a89eb2325b5d0577916cf3988206b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.11.0 (2022-12-27)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* 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.
|
15
|
+
|
4
16
|
1.10.0 (2022-11-03)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.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.
|
2903
|
+
context[:gem_version] = '1.12.0'
|
2661
2904
|
Seahorse::Client::Request.new(handlers, context)
|
2662
2905
|
end
|
2663
2906
|
|