aws-sdk-memorydb 1.9.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: 8be991d7aee1fe06bfede00b3a382f6fffc7eabeeb30f3063af74a8da20d58bb
4
- data.tar.gz: f64c57448292386d458e6d3886d4c4f00b696ec0ffd2ccf4268926eb55f82d7f
3
+ metadata.gz: 65e2558aae9567e7a5d5829b0a1adb2d9a24b5427e06c5dfcab091bb2381dc46
4
+ data.tar.gz: 7da7a07abeeaf00aafbc4fb99cb58611fe290ab11803e3faf996a7491b0103b7
5
5
  SHA512:
6
- metadata.gz: b31e7e7b1ccbde9e9af1727ca776e6a74d05458646e19eb62a46401283647bfa111813185d6ea641e802c4d7a9dd9caa31734d7820ab5717314956328fa7f0a5
7
- data.tar.gz: aad52959973e7a39669e51d7a5b7c8f64ebb1a0220b518c5a04165364d05b8b170f800e83afb3c5ea125b2001c2f35f813496e5d9420ddc2368c57205c519662
6
+ metadata.gz: 6a84627101928e9996a6ac69b3da2dbddacd019ee157cf53ec2b5e9db2668699b2ae16e0171c84d17d787511e7e0f1e6be2045182efdffb8768fdb80a2262260
7
+ data.tar.gz: 54ec8c9f326208ddbc90232ec656ee97b35b6315275707dd24d05df8ad05bec5aec6fed5d0b9a5b499c351b4ecb86b74a7e9313c4b3d852da371312fe8a02ac9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.10.0 (2022-11-03)
10
+ ------------------
11
+
12
+ * Feature - Adding support for r6gd instances for MemoryDB Redis with data tiering. In a cluster with data tiering enabled, when available memory capacity is exhausted, the least recently used data is automatically tiered to solid state drives for cost-effective capacity scaling with minimal performance impact.
13
+
4
14
  1.9.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.11.0
@@ -452,6 +452,7 @@ module Aws::MemoryDB
452
452
  # resp.processed_clusters[0].snapshot_window #=> String
453
453
  # resp.processed_clusters[0].acl_name #=> String
454
454
  # resp.processed_clusters[0].auto_minor_version_upgrade #=> Boolean
455
+ # resp.processed_clusters[0].data_tiering #=> String, one of "true", "false"
455
456
  # resp.unprocessed_clusters #=> Array
456
457
  # resp.unprocessed_clusters[0].cluster_name #=> String
457
458
  # resp.unprocessed_clusters[0].error_type #=> String
@@ -540,6 +541,7 @@ module Aws::MemoryDB
540
541
  # resp.snapshot.cluster_configuration.shards[0].configuration.replica_count #=> Integer
541
542
  # resp.snapshot.cluster_configuration.shards[0].size #=> String
542
543
  # resp.snapshot.cluster_configuration.shards[0].snapshot_creation_time #=> Time
544
+ # resp.snapshot.data_tiering #=> String, one of "true", "false"
543
545
  #
544
546
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CopySnapshot AWS API Documentation
545
547
  #
@@ -641,9 +643,27 @@ module Aws::MemoryDB
641
643
  # @option params [String] :maintenance_window
642
644
  # Specifies the weekly time range during which maintenance on the
643
645
  # cluster is performed. It is specified as a range in the format
644
- # `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance
646
+ # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
645
647
  # window is a 60 minute period.
646
648
  #
649
+ # Valid values for `ddd` are:
650
+ #
651
+ # * `sun`
652
+ #
653
+ # * `mon`
654
+ #
655
+ # * `tue`
656
+ #
657
+ # * `wed`
658
+ #
659
+ # * `thu`
660
+ #
661
+ # * `fri`
662
+ #
663
+ # * `sat`
664
+ #
665
+ # Example: `sun:23:00-mon:01:30`
666
+ #
647
667
  # @option params [Integer] :port
648
668
  # The port number on which each of the nodes accepts connections.
649
669
  #
@@ -699,6 +719,15 @@ module Aws::MemoryDB
699
719
  # When set to true, the cluster will automatically receive minor engine
700
720
  # version upgrades after launch.
701
721
  #
722
+ # @option params [Boolean] :data_tiering
723
+ # Enables data tiering. Data tiering is only supported for clusters
724
+ # using the r6gd node type. This parameter must be set when using r6gd
725
+ # nodes. For more information, see [Data tiering][1].
726
+ #
727
+ #
728
+ #
729
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html
730
+ #
702
731
  # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
732
  #
704
733
  # * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
@@ -732,6 +761,7 @@ module Aws::MemoryDB
732
761
  # acl_name: "ACLName", # required
733
762
  # engine_version: "String",
734
763
  # auto_minor_version_upgrade: false,
764
+ # data_tiering: false,
735
765
  # })
736
766
  #
737
767
  # @example Response structure
@@ -779,6 +809,7 @@ module Aws::MemoryDB
779
809
  # resp.cluster.snapshot_window #=> String
780
810
  # resp.cluster.acl_name #=> String
781
811
  # resp.cluster.auto_minor_version_upgrade #=> Boolean
812
+ # resp.cluster.data_tiering #=> String, one of "true", "false"
782
813
  #
783
814
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateCluster AWS API Documentation
784
815
  #
@@ -907,6 +938,7 @@ module Aws::MemoryDB
907
938
  # resp.snapshot.cluster_configuration.shards[0].configuration.replica_count #=> Integer
908
939
  # resp.snapshot.cluster_configuration.shards[0].size #=> String
909
940
  # resp.snapshot.cluster_configuration.shards[0].snapshot_creation_time #=> Time
941
+ # resp.snapshot.data_tiering #=> String, one of "true", "false"
910
942
  #
911
943
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateSnapshot AWS API Documentation
912
944
  #
@@ -1157,6 +1189,7 @@ module Aws::MemoryDB
1157
1189
  # resp.cluster.snapshot_window #=> String
1158
1190
  # resp.cluster.acl_name #=> String
1159
1191
  # resp.cluster.auto_minor_version_upgrade #=> Boolean
1192
+ # resp.cluster.data_tiering #=> String, one of "true", "false"
1160
1193
  #
1161
1194
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteCluster AWS API Documentation
1162
1195
  #
@@ -1243,6 +1276,7 @@ module Aws::MemoryDB
1243
1276
  # resp.snapshot.cluster_configuration.shards[0].configuration.replica_count #=> Integer
1244
1277
  # resp.snapshot.cluster_configuration.shards[0].size #=> String
1245
1278
  # resp.snapshot.cluster_configuration.shards[0].snapshot_creation_time #=> Time
1279
+ # resp.snapshot.data_tiering #=> String, one of "true", "false"
1246
1280
  #
1247
1281
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSnapshot AWS API Documentation
1248
1282
  #
@@ -1347,6 +1381,8 @@ module Aws::MemoryDB
1347
1381
  # * {Types::DescribeACLsResponse#acls #acls} => Array<Types::ACL>
1348
1382
  # * {Types::DescribeACLsResponse#next_token #next_token} => String
1349
1383
  #
1384
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1385
+ #
1350
1386
  # @example Request syntax with placeholder values
1351
1387
  #
1352
1388
  # resp = client.describe_acls({
@@ -1409,6 +1445,8 @@ module Aws::MemoryDB
1409
1445
  # * {Types::DescribeClustersResponse#next_token #next_token} => String
1410
1446
  # * {Types::DescribeClustersResponse#clusters #clusters} => Array<Types::Cluster>
1411
1447
  #
1448
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1449
+ #
1412
1450
  # @example Request syntax with placeholder values
1413
1451
  #
1414
1452
  # resp = client.describe_clusters({
@@ -1465,6 +1503,7 @@ module Aws::MemoryDB
1465
1503
  # resp.clusters[0].snapshot_window #=> String
1466
1504
  # resp.clusters[0].acl_name #=> String
1467
1505
  # resp.clusters[0].auto_minor_version_upgrade #=> Boolean
1506
+ # resp.clusters[0].data_tiering #=> String, one of "true", "false"
1468
1507
  #
1469
1508
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeClusters AWS API Documentation
1470
1509
  #
@@ -1504,6 +1543,8 @@ module Aws::MemoryDB
1504
1543
  # * {Types::DescribeEngineVersionsResponse#next_token #next_token} => String
1505
1544
  # * {Types::DescribeEngineVersionsResponse#engine_versions #engine_versions} => Array<Types::EngineVersionInfo>
1506
1545
  #
1546
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1547
+ #
1507
1548
  # @example Request syntax with placeholder values
1508
1549
  #
1509
1550
  # resp = client.describe_engine_versions({
@@ -1574,6 +1615,8 @@ module Aws::MemoryDB
1574
1615
  # * {Types::DescribeEventsResponse#next_token #next_token} => String
1575
1616
  # * {Types::DescribeEventsResponse#events #events} => Array<Types::Event>
1576
1617
  #
1618
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1619
+ #
1577
1620
  # @example Request syntax with placeholder values
1578
1621
  #
1579
1622
  # resp = client.describe_events({
@@ -1628,6 +1671,8 @@ module Aws::MemoryDB
1628
1671
  # * {Types::DescribeParameterGroupsResponse#next_token #next_token} => String
1629
1672
  # * {Types::DescribeParameterGroupsResponse#parameter_groups #parameter_groups} => Array<Types::ParameterGroup>
1630
1673
  #
1674
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1675
+ #
1631
1676
  # @example Request syntax with placeholder values
1632
1677
  #
1633
1678
  # resp = client.describe_parameter_groups({
@@ -1676,6 +1721,8 @@ module Aws::MemoryDB
1676
1721
  # * {Types::DescribeParametersResponse#next_token #next_token} => String
1677
1722
  # * {Types::DescribeParametersResponse#parameters #parameters} => Array<Types::Parameter>
1678
1723
  #
1724
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1725
+ #
1679
1726
  # @example Request syntax with placeholder values
1680
1727
  #
1681
1728
  # resp = client.describe_parameters({
@@ -1704,6 +1751,169 @@ module Aws::MemoryDB
1704
1751
  req.send_request(options)
1705
1752
  end
1706
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
+
1707
1917
  # Returns details of the service updates
1708
1918
  #
1709
1919
  # @option params [String] :service_update_name
@@ -1732,6 +1942,8 @@ module Aws::MemoryDB
1732
1942
  # * {Types::DescribeServiceUpdatesResponse#next_token #next_token} => String
1733
1943
  # * {Types::DescribeServiceUpdatesResponse#service_updates #service_updates} => Array<Types::ServiceUpdate>
1734
1944
  #
1945
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1946
+ #
1735
1947
  # @example Request syntax with placeholder values
1736
1948
  #
1737
1949
  # resp = client.describe_service_updates({
@@ -1804,6 +2016,8 @@ module Aws::MemoryDB
1804
2016
  # * {Types::DescribeSnapshotsResponse#next_token #next_token} => String
1805
2017
  # * {Types::DescribeSnapshotsResponse#snapshots #snapshots} => Array<Types::Snapshot>
1806
2018
  #
2019
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2020
+ #
1807
2021
  # @example Request syntax with placeholder values
1808
2022
  #
1809
2023
  # resp = client.describe_snapshots({
@@ -1843,6 +2057,7 @@ module Aws::MemoryDB
1843
2057
  # resp.snapshots[0].cluster_configuration.shards[0].configuration.replica_count #=> Integer
1844
2058
  # resp.snapshots[0].cluster_configuration.shards[0].size #=> String
1845
2059
  # resp.snapshots[0].cluster_configuration.shards[0].snapshot_creation_time #=> Time
2060
+ # resp.snapshots[0].data_tiering #=> String, one of "true", "false"
1846
2061
  #
1847
2062
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSnapshots AWS API Documentation
1848
2063
  #
@@ -1876,6 +2091,8 @@ module Aws::MemoryDB
1876
2091
  # * {Types::DescribeSubnetGroupsResponse#next_token #next_token} => String
1877
2092
  # * {Types::DescribeSubnetGroupsResponse#subnet_groups #subnet_groups} => Array<Types::SubnetGroup>
1878
2093
  #
2094
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2095
+ #
1879
2096
  # @example Request syntax with placeholder values
1880
2097
  #
1881
2098
  # resp = client.describe_subnet_groups({
@@ -1930,6 +2147,8 @@ module Aws::MemoryDB
1930
2147
  # * {Types::DescribeUsersResponse#users #users} => Array<Types::User>
1931
2148
  # * {Types::DescribeUsersResponse#next_token #next_token} => String
1932
2149
  #
2150
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2151
+ #
1933
2152
  # @example Request syntax with placeholder values
1934
2153
  #
1935
2154
  # resp = client.describe_users({
@@ -1967,7 +2186,12 @@ module Aws::MemoryDB
1967
2186
  req.send_request(options)
1968
2187
  end
1969
2188
 
1970
- # Used to failover a shard
2189
+ # Used to failover a shard. This API is designed for testing the
2190
+ # behavior of your application in case of MemoryDB failover. It is not
2191
+ # designed to be used as a production-level tool for initiating a
2192
+ # failover to overcome a problem you may have with the cluster.
2193
+ # Moreover, in certain conditions such as large scale operational
2194
+ # events, Amazon may block this API.
1971
2195
  #
1972
2196
  # @option params [required, String] :cluster_name
1973
2197
  # The cluster being failed over
@@ -2031,6 +2255,7 @@ module Aws::MemoryDB
2031
2255
  # resp.cluster.snapshot_window #=> String
2032
2256
  # resp.cluster.acl_name #=> String
2033
2257
  # resp.cluster.auto_minor_version_upgrade #=> Boolean
2258
+ # resp.cluster.data_tiering #=> String, one of "true", "false"
2034
2259
  #
2035
2260
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/FailoverShard AWS API Documentation
2036
2261
  #
@@ -2116,6 +2341,66 @@ module Aws::MemoryDB
2116
2341
  req.send_request(options)
2117
2342
  end
2118
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
+
2119
2404
  # Modifies the parameters of a parameter group to the engine or system
2120
2405
  # default value. You can reset specific parameters by submitting a list
2121
2406
  # of parameter names. To reset the entire parameter group, specify the
@@ -2317,7 +2602,28 @@ module Aws::MemoryDB
2317
2602
  # The SecurityGroupIds to update
2318
2603
  #
2319
2604
  # @option params [String] :maintenance_window
2320
- # The maintenance window to update
2605
+ # Specifies the weekly time range during which maintenance on the
2606
+ # cluster is performed. It is specified as a range in the format
2607
+ # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
2608
+ # window is a 60 minute period.
2609
+ #
2610
+ # Valid values for `ddd` are:
2611
+ #
2612
+ # * `sun`
2613
+ #
2614
+ # * `mon`
2615
+ #
2616
+ # * `tue`
2617
+ #
2618
+ # * `wed`
2619
+ #
2620
+ # * `thu`
2621
+ #
2622
+ # * `fri`
2623
+ #
2624
+ # * `sat`
2625
+ #
2626
+ # Example: `sun:23:00-mon:01:30`
2321
2627
  #
2322
2628
  # @option params [String] :sns_topic_arn
2323
2629
  # The SNS topic ARN to update
@@ -2430,6 +2736,7 @@ module Aws::MemoryDB
2430
2736
  # resp.cluster.snapshot_window #=> String
2431
2737
  # resp.cluster.acl_name #=> String
2432
2738
  # resp.cluster.auto_minor_version_upgrade #=> Boolean
2739
+ # resp.cluster.data_tiering #=> String, one of "true", "false"
2433
2740
  #
2434
2741
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateCluster AWS API Documentation
2435
2742
  #
@@ -2593,7 +2900,7 @@ module Aws::MemoryDB
2593
2900
  params: params,
2594
2901
  config: config)
2595
2902
  context[:gem_name] = 'aws-sdk-memorydb'
2596
- context[:gem_version] = '1.9.0'
2903
+ context[:gem_version] = '1.11.0'
2597
2904
  Seahorse::Client::Request.new(handlers, context)
2598
2905
  end
2599
2906