aws-sdk-memorydb 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -130,14 +130,6 @@ module Aws::MemoryDB
130
130
  # Denotes the user's authentication properties, such as whether it
131
131
  # requires a password to authenticate. Used in output responses.
132
132
  #
133
- # @note When making an API call, you may pass AuthenticationMode
134
- # data as a hash:
135
- #
136
- # {
137
- # type: "password", # accepts password
138
- # passwords: ["String"],
139
- # }
140
- #
141
133
  # @!attribute [rw] type
142
134
  # Indicates whether the user requires a password to authenticate. All
143
135
  # newly-created users require a password.
@@ -171,16 +163,6 @@ module Aws::MemoryDB
171
163
  include Aws::Structure
172
164
  end
173
165
 
174
- # @note When making an API call, you may pass BatchUpdateClusterRequest
175
- # data as a hash:
176
- #
177
- # {
178
- # cluster_names: ["String"], # required
179
- # service_update: {
180
- # service_update_name_to_apply: "String",
181
- # },
182
- # }
183
- #
184
166
  # @!attribute [rw] cluster_names
185
167
  # The cluster names to apply the updates.
186
168
  # @return [Array<String>]
@@ -490,22 +472,6 @@ module Aws::MemoryDB
490
472
  #
491
473
  class ClusterQuotaForCustomerExceededFault < Aws::EmptyStructure; end
492
474
 
493
- # @note When making an API call, you may pass CopySnapshotRequest
494
- # data as a hash:
495
- #
496
- # {
497
- # source_snapshot_name: "String", # required
498
- # target_snapshot_name: "String", # required
499
- # target_bucket: "TargetBucket",
500
- # kms_key_id: "KmsKeyId",
501
- # tags: [
502
- # {
503
- # key: "String",
504
- # value: "String",
505
- # },
506
- # ],
507
- # }
508
- #
509
475
  # @!attribute [rw] source_snapshot_name
510
476
  # The name of an existing snapshot from which to make a copy.
511
477
  # @return [String]
@@ -564,20 +530,6 @@ module Aws::MemoryDB
564
530
  include Aws::Structure
565
531
  end
566
532
 
567
- # @note When making an API call, you may pass CreateACLRequest
568
- # data as a hash:
569
- #
570
- # {
571
- # acl_name: "String", # required
572
- # user_names: ["UserName"],
573
- # tags: [
574
- # {
575
- # key: "String",
576
- # value: "String",
577
- # },
578
- # ],
579
- # }
580
- #
581
533
  # @!attribute [rw] acl_name
582
534
  # The name of the Access Control List.
583
535
  # @return [String]
@@ -614,39 +566,6 @@ module Aws::MemoryDB
614
566
  include Aws::Structure
615
567
  end
616
568
 
617
- # @note When making an API call, you may pass CreateClusterRequest
618
- # data as a hash:
619
- #
620
- # {
621
- # cluster_name: "String", # required
622
- # node_type: "String", # required
623
- # parameter_group_name: "String",
624
- # description: "String",
625
- # num_shards: 1,
626
- # num_replicas_per_shard: 1,
627
- # subnet_group_name: "String",
628
- # security_group_ids: ["String"],
629
- # maintenance_window: "String",
630
- # port: 1,
631
- # sns_topic_arn: "String",
632
- # tls_enabled: false,
633
- # kms_key_id: "String",
634
- # snapshot_arns: ["String"],
635
- # snapshot_name: "String",
636
- # snapshot_retention_limit: 1,
637
- # tags: [
638
- # {
639
- # key: "String",
640
- # value: "String",
641
- # },
642
- # ],
643
- # snapshot_window: "String",
644
- # acl_name: "ACLName", # required
645
- # engine_version: "String",
646
- # auto_minor_version_upgrade: false,
647
- # data_tiering: false,
648
- # }
649
- #
650
569
  # @!attribute [rw] cluster_name
651
570
  # The name of the cluster. This value must be unique as it also serves
652
571
  # as the cluster identifier.
@@ -825,21 +744,6 @@ module Aws::MemoryDB
825
744
  include Aws::Structure
826
745
  end
827
746
 
828
- # @note When making an API call, you may pass CreateParameterGroupRequest
829
- # data as a hash:
830
- #
831
- # {
832
- # parameter_group_name: "String", # required
833
- # family: "String", # required
834
- # description: "String",
835
- # tags: [
836
- # {
837
- # key: "String",
838
- # value: "String",
839
- # },
840
- # ],
841
- # }
842
- #
843
747
  # @!attribute [rw] parameter_group_name
844
748
  # The name of the parameter group.
845
749
  # @return [String]
@@ -882,21 +786,6 @@ module Aws::MemoryDB
882
786
  include Aws::Structure
883
787
  end
884
788
 
885
- # @note When making an API call, you may pass CreateSnapshotRequest
886
- # data as a hash:
887
- #
888
- # {
889
- # cluster_name: "String", # required
890
- # snapshot_name: "String", # required
891
- # kms_key_id: "String",
892
- # tags: [
893
- # {
894
- # key: "String",
895
- # value: "String",
896
- # },
897
- # ],
898
- # }
899
- #
900
789
  # @!attribute [rw] cluster_name
901
790
  # The snapshot is created from this cluster.
902
791
  # @return [String]
@@ -938,21 +827,6 @@ module Aws::MemoryDB
938
827
  include Aws::Structure
939
828
  end
940
829
 
941
- # @note When making an API call, you may pass CreateSubnetGroupRequest
942
- # data as a hash:
943
- #
944
- # {
945
- # subnet_group_name: "String", # required
946
- # description: "String",
947
- # subnet_ids: ["String"], # required
948
- # tags: [
949
- # {
950
- # key: "String",
951
- # value: "String",
952
- # },
953
- # ],
954
- # }
955
- #
956
830
  # @!attribute [rw] subnet_group_name
957
831
  # The name of the subnet group.
958
832
  # @return [String]
@@ -994,24 +868,6 @@ module Aws::MemoryDB
994
868
  include Aws::Structure
995
869
  end
996
870
 
997
- # @note When making an API call, you may pass CreateUserRequest
998
- # data as a hash:
999
- #
1000
- # {
1001
- # user_name: "UserName", # required
1002
- # authentication_mode: { # required
1003
- # type: "password", # accepts password
1004
- # passwords: ["String"],
1005
- # },
1006
- # access_string: "AccessString", # required
1007
- # tags: [
1008
- # {
1009
- # key: "String",
1010
- # value: "String",
1011
- # },
1012
- # ],
1013
- # }
1014
- #
1015
871
  # @!attribute [rw] user_name
1016
872
  # The name of the user. This value must be unique as it also serves as
1017
873
  # the user identifier.
@@ -1059,13 +915,6 @@ module Aws::MemoryDB
1059
915
  #
1060
916
  class DefaultUserRequired < Aws::EmptyStructure; end
1061
917
 
1062
- # @note When making an API call, you may pass DeleteACLRequest
1063
- # data as a hash:
1064
- #
1065
- # {
1066
- # acl_name: "String", # required
1067
- # }
1068
- #
1069
918
  # @!attribute [rw] acl_name
1070
919
  # The name of the Access Control List to delete
1071
920
  # @return [String]
@@ -1090,14 +939,6 @@ module Aws::MemoryDB
1090
939
  include Aws::Structure
1091
940
  end
1092
941
 
1093
- # @note When making an API call, you may pass DeleteClusterRequest
1094
- # data as a hash:
1095
- #
1096
- # {
1097
- # cluster_name: "String", # required
1098
- # final_snapshot_name: "String",
1099
- # }
1100
- #
1101
942
  # @!attribute [rw] cluster_name
1102
943
  # The name of the cluster to be deleted
1103
944
  # @return [String]
@@ -1129,13 +970,6 @@ module Aws::MemoryDB
1129
970
  include Aws::Structure
1130
971
  end
1131
972
 
1132
- # @note When making an API call, you may pass DeleteParameterGroupRequest
1133
- # data as a hash:
1134
- #
1135
- # {
1136
- # parameter_group_name: "String", # required
1137
- # }
1138
- #
1139
973
  # @!attribute [rw] parameter_group_name
1140
974
  # The name of the parameter group to delete.
1141
975
  # @return [String]
@@ -1160,13 +994,6 @@ module Aws::MemoryDB
1160
994
  include Aws::Structure
1161
995
  end
1162
996
 
1163
- # @note When making an API call, you may pass DeleteSnapshotRequest
1164
- # data as a hash:
1165
- #
1166
- # {
1167
- # snapshot_name: "String", # required
1168
- # }
1169
- #
1170
997
  # @!attribute [rw] snapshot_name
1171
998
  # The name of the snapshot to delete
1172
999
  # @return [String]
@@ -1191,13 +1018,6 @@ module Aws::MemoryDB
1191
1018
  include Aws::Structure
1192
1019
  end
1193
1020
 
1194
- # @note When making an API call, you may pass DeleteSubnetGroupRequest
1195
- # data as a hash:
1196
- #
1197
- # {
1198
- # subnet_group_name: "String", # required
1199
- # }
1200
- #
1201
1021
  # @!attribute [rw] subnet_group_name
1202
1022
  # The name of the subnet group to delete
1203
1023
  # @return [String]
@@ -1222,13 +1042,6 @@ module Aws::MemoryDB
1222
1042
  include Aws::Structure
1223
1043
  end
1224
1044
 
1225
- # @note When making an API call, you may pass DeleteUserRequest
1226
- # data as a hash:
1227
- #
1228
- # {
1229
- # user_name: "UserName", # required
1230
- # }
1231
- #
1232
1045
  # @!attribute [rw] user_name
1233
1046
  # The name of the user to delete
1234
1047
  # @return [String]
@@ -1253,15 +1066,6 @@ module Aws::MemoryDB
1253
1066
  include Aws::Structure
1254
1067
  end
1255
1068
 
1256
- # @note When making an API call, you may pass DescribeACLsRequest
1257
- # data as a hash:
1258
- #
1259
- # {
1260
- # acl_name: "String",
1261
- # max_results: 1,
1262
- # next_token: "String",
1263
- # }
1264
- #
1265
1069
  # @!attribute [rw] acl_name
1266
1070
  # The name of the ACL
1267
1071
  # @return [String]
@@ -1312,16 +1116,6 @@ module Aws::MemoryDB
1312
1116
  include Aws::Structure
1313
1117
  end
1314
1118
 
1315
- # @note When making an API call, you may pass DescribeClustersRequest
1316
- # data as a hash:
1317
- #
1318
- # {
1319
- # cluster_name: "String",
1320
- # max_results: 1,
1321
- # next_token: "String",
1322
- # show_shard_details: false,
1323
- # }
1324
- #
1325
1119
  # @!attribute [rw] cluster_name
1326
1120
  # The name of the cluster
1327
1121
  # @return [String]
@@ -1380,17 +1174,6 @@ module Aws::MemoryDB
1380
1174
  include Aws::Structure
1381
1175
  end
1382
1176
 
1383
- # @note When making an API call, you may pass DescribeEngineVersionsRequest
1384
- # data as a hash:
1385
- #
1386
- # {
1387
- # engine_version: "String",
1388
- # parameter_group_family: "String",
1389
- # max_results: 1,
1390
- # next_token: "String",
1391
- # default_only: false,
1392
- # }
1393
- #
1394
1177
  # @!attribute [rw] engine_version
1395
1178
  # The Redis engine version
1396
1179
  # @return [String]
@@ -1455,19 +1238,6 @@ module Aws::MemoryDB
1455
1238
  include Aws::Structure
1456
1239
  end
1457
1240
 
1458
- # @note When making an API call, you may pass DescribeEventsRequest
1459
- # data as a hash:
1460
- #
1461
- # {
1462
- # source_name: "String",
1463
- # source_type: "node", # accepts node, parameter-group, subnet-group, cluster, user, acl
1464
- # start_time: Time.now,
1465
- # end_time: Time.now,
1466
- # duration: 1,
1467
- # max_results: 1,
1468
- # next_token: "String",
1469
- # }
1470
- #
1471
1241
  # @!attribute [rw] source_name
1472
1242
  # The identifier of the event source for which events are returned. If
1473
1243
  # not specified, all sources are included in the response.
@@ -1545,15 +1315,6 @@ module Aws::MemoryDB
1545
1315
  include Aws::Structure
1546
1316
  end
1547
1317
 
1548
- # @note When making an API call, you may pass DescribeParameterGroupsRequest
1549
- # data as a hash:
1550
- #
1551
- # {
1552
- # parameter_group_name: "String",
1553
- # max_results: 1,
1554
- # next_token: "String",
1555
- # }
1556
- #
1557
1318
  # @!attribute [rw] parameter_group_name
1558
1319
  # The name of a specific parameter group to return details for.
1559
1320
  # @return [String]
@@ -1607,15 +1368,6 @@ module Aws::MemoryDB
1607
1368
  include Aws::Structure
1608
1369
  end
1609
1370
 
1610
- # @note When making an API call, you may pass DescribeParametersRequest
1611
- # data as a hash:
1612
- #
1613
- # {
1614
- # parameter_group_name: "String", # required
1615
- # max_results: 1,
1616
- # next_token: "String",
1617
- # }
1618
- #
1619
1371
  # @!attribute [rw] parameter_group_name
1620
1372
  # he name of a specific parameter group to return details for.
1621
1373
  # @return [String]
@@ -1670,17 +1422,160 @@ module Aws::MemoryDB
1670
1422
  include Aws::Structure
1671
1423
  end
1672
1424
 
1673
- # @note When making an API call, you may pass DescribeServiceUpdatesRequest
1674
- # data as a hash:
1425
+ # @!attribute [rw] reserved_nodes_offering_id
1426
+ # The offering identifier filter value. Use this parameter to show
1427
+ # only the available offering that matches the specified reservation
1428
+ # identifier.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] node_type
1432
+ # The node type for the reserved nodes. For more information, see
1433
+ # [Supported node types][1].
1434
+ #
1435
+ #
1436
+ #
1437
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported
1438
+ # @return [String]
1439
+ #
1440
+ # @!attribute [rw] duration
1441
+ # Duration filter value, specified in years or seconds. Use this
1442
+ # parameter to show only reservations for a given duration.
1443
+ # @return [String]
1444
+ #
1445
+ # @!attribute [rw] offering_type
1446
+ # The offering type filter value. Use this parameter to show only the
1447
+ # available offerings matching the specified offering type. Valid
1448
+ # values: "All Upfront"\|"Partial Upfront"\| "No Upfront"
1449
+ # @return [String]
1450
+ #
1451
+ # @!attribute [rw] max_results
1452
+ # The maximum number of records to include in the response. If more
1453
+ # records exist than the specified MaxRecords value, a marker is
1454
+ # included in the response so that the remaining results can be
1455
+ # retrieved.
1456
+ # @return [Integer]
1457
+ #
1458
+ # @!attribute [rw] next_token
1459
+ # An optional marker returned from a prior request. Use this marker
1460
+ # for pagination of results from this operation. If this parameter is
1461
+ # specified, the response includes only records beyond the marker, up
1462
+ # to the value specified by MaxRecords.
1463
+ # @return [String]
1464
+ #
1465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesOfferingsRequest AWS API Documentation
1466
+ #
1467
+ class DescribeReservedNodesOfferingsRequest < Struct.new(
1468
+ :reserved_nodes_offering_id,
1469
+ :node_type,
1470
+ :duration,
1471
+ :offering_type,
1472
+ :max_results,
1473
+ :next_token)
1474
+ SENSITIVE = []
1475
+ include Aws::Structure
1476
+ end
1477
+
1478
+ # @!attribute [rw] next_token
1479
+ # An optional marker returned from a prior request. Use this marker
1480
+ # for pagination of results from this operation. If this parameter is
1481
+ # specified, the response includes only records beyond the marker, up
1482
+ # to the value specified by MaxRecords.
1483
+ # @return [String]
1484
+ #
1485
+ # @!attribute [rw] reserved_nodes_offerings
1486
+ # Lists available reserved node offerings.
1487
+ # @return [Array<Types::ReservedNodesOffering>]
1675
1488
  #
1676
- # {
1677
- # service_update_name: "String",
1678
- # cluster_names: ["String"],
1679
- # status: ["available"], # accepts available, in-progress, complete, scheduled
1680
- # max_results: 1,
1681
- # next_token: "String",
1682
- # }
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesOfferingsResponse AWS API Documentation
1683
1490
  #
1491
+ class DescribeReservedNodesOfferingsResponse < Struct.new(
1492
+ :next_token,
1493
+ :reserved_nodes_offerings)
1494
+ SENSITIVE = []
1495
+ include Aws::Structure
1496
+ end
1497
+
1498
+ # @!attribute [rw] reservation_id
1499
+ # The reserved node identifier filter value. Use this parameter to
1500
+ # show only the reservation that matches the specified reservation ID.
1501
+ # @return [String]
1502
+ #
1503
+ # @!attribute [rw] reserved_nodes_offering_id
1504
+ # The offering identifier filter value. Use this parameter to show
1505
+ # only purchased reservations matching the specified offering
1506
+ # identifier.
1507
+ # @return [String]
1508
+ #
1509
+ # @!attribute [rw] node_type
1510
+ # The node type filter value. Use this parameter to show only those
1511
+ # reservations matching the specified node type. For more information,
1512
+ # see [Supported node types][1].
1513
+ #
1514
+ #
1515
+ #
1516
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported
1517
+ # @return [String]
1518
+ #
1519
+ # @!attribute [rw] duration
1520
+ # The duration filter value, specified in years or seconds. Use this
1521
+ # parameter to show only reservations for this duration.
1522
+ # @return [String]
1523
+ #
1524
+ # @!attribute [rw] offering_type
1525
+ # The offering type filter value. Use this parameter to show only the
1526
+ # available offerings matching the specified offering type. Valid
1527
+ # values: "All Upfront"\|"Partial Upfront"\| "No Upfront"
1528
+ # @return [String]
1529
+ #
1530
+ # @!attribute [rw] max_results
1531
+ # The maximum number of records to include in the response. If more
1532
+ # records exist than the specified MaxRecords value, a marker is
1533
+ # included in the response so that the remaining results can be
1534
+ # retrieved.
1535
+ # @return [Integer]
1536
+ #
1537
+ # @!attribute [rw] next_token
1538
+ # An optional marker returned from a prior request. Use this marker
1539
+ # for pagination of results from this operation. If this parameter is
1540
+ # specified, the response includes only records beyond the marker, up
1541
+ # to the value specified by MaxRecords.
1542
+ # @return [String]
1543
+ #
1544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesRequest AWS API Documentation
1545
+ #
1546
+ class DescribeReservedNodesRequest < Struct.new(
1547
+ :reservation_id,
1548
+ :reserved_nodes_offering_id,
1549
+ :node_type,
1550
+ :duration,
1551
+ :offering_type,
1552
+ :max_results,
1553
+ :next_token)
1554
+ SENSITIVE = []
1555
+ include Aws::Structure
1556
+ end
1557
+
1558
+ # @!attribute [rw] next_token
1559
+ # An optional marker returned from a prior request. Use this marker
1560
+ # for pagination of results from this operation. If this parameter is
1561
+ # specified, the response includes only records beyond the marker, up
1562
+ # to the value specified by MaxRecords.
1563
+ # @return [String]
1564
+ #
1565
+ # @!attribute [rw] reserved_nodes
1566
+ # Returns information about reserved nodes for this account, or about
1567
+ # a specified reserved node.
1568
+ # @return [Array<Types::ReservedNode>]
1569
+ #
1570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesResponse AWS API Documentation
1571
+ #
1572
+ class DescribeReservedNodesResponse < Struct.new(
1573
+ :next_token,
1574
+ :reserved_nodes)
1575
+ SENSITIVE = []
1576
+ include Aws::Structure
1577
+ end
1578
+
1684
1579
  # @!attribute [rw] service_update_name
1685
1580
  # The unique ID of the service update to describe.
1686
1581
  # @return [String]
@@ -1743,18 +1638,6 @@ module Aws::MemoryDB
1743
1638
  include Aws::Structure
1744
1639
  end
1745
1640
 
1746
- # @note When making an API call, you may pass DescribeSnapshotsRequest
1747
- # data as a hash:
1748
- #
1749
- # {
1750
- # cluster_name: "String",
1751
- # snapshot_name: "String",
1752
- # source: "String",
1753
- # next_token: "String",
1754
- # max_results: 1,
1755
- # show_detail: false,
1756
- # }
1757
- #
1758
1641
  # @!attribute [rw] cluster_name
1759
1642
  # A user-supplied cluster identifier. If this parameter is specified,
1760
1643
  # only snapshots associated with that specific cluster are described.
@@ -1829,15 +1712,6 @@ module Aws::MemoryDB
1829
1712
  include Aws::Structure
1830
1713
  end
1831
1714
 
1832
- # @note When making an API call, you may pass DescribeSubnetGroupsRequest
1833
- # data as a hash:
1834
- #
1835
- # {
1836
- # subnet_group_name: "String",
1837
- # max_results: 1,
1838
- # next_token: "String",
1839
- # }
1840
- #
1841
1715
  # @!attribute [rw] subnet_group_name
1842
1716
  # The name of the subnet group to return details for.
1843
1717
  # @return [String]
@@ -1891,21 +1765,6 @@ module Aws::MemoryDB
1891
1765
  include Aws::Structure
1892
1766
  end
1893
1767
 
1894
- # @note When making an API call, you may pass DescribeUsersRequest
1895
- # data as a hash:
1896
- #
1897
- # {
1898
- # user_name: "UserName",
1899
- # filters: [
1900
- # {
1901
- # name: "FilterName", # required
1902
- # values: ["FilterValue"], # required
1903
- # },
1904
- # ],
1905
- # max_results: 1,
1906
- # next_token: "String",
1907
- # }
1908
- #
1909
1768
  # @!attribute [rw] user_name
1910
1769
  # The name of the user
1911
1770
  # @return [String]
@@ -2046,14 +1905,6 @@ module Aws::MemoryDB
2046
1905
  include Aws::Structure
2047
1906
  end
2048
1907
 
2049
- # @note When making an API call, you may pass FailoverShardRequest
2050
- # data as a hash:
2051
- #
2052
- # {
2053
- # cluster_name: "String", # required
2054
- # shard_name: "String", # required
2055
- # }
2056
- #
2057
1908
  # @!attribute [rw] cluster_name
2058
1909
  # The cluster being failed over
2059
1910
  # @return [String]
@@ -2086,14 +1937,6 @@ module Aws::MemoryDB
2086
1937
  # Used to streamline results of a search based on the property being
2087
1938
  # filtered.
2088
1939
  #
2089
- # @note When making an API call, you may pass Filter
2090
- # data as a hash:
2091
- #
2092
- # {
2093
- # name: "FilterName", # required
2094
- # values: ["FilterValue"], # required
2095
- # }
2096
- #
2097
1940
  # @!attribute [rw] name
2098
1941
  # The property being filtered. For example, UserName.
2099
1942
  # @return [String]
@@ -2181,13 +2024,6 @@ module Aws::MemoryDB
2181
2024
  #
2182
2025
  class InvalidVPCNetworkStateFault < Aws::EmptyStructure; end
2183
2026
 
2184
- # @note When making an API call, you may pass ListAllowedNodeTypeUpdatesRequest
2185
- # data as a hash:
2186
- #
2187
- # {
2188
- # cluster_name: "String", # required
2189
- # }
2190
- #
2191
2027
  # @!attribute [rw] cluster_name
2192
2028
  # The name of the cluster you want to scale. MemoryDB uses the cluster
2193
2029
  # name to identify the current node type being used by this cluster,
@@ -2219,13 +2055,6 @@ module Aws::MemoryDB
2219
2055
  include Aws::Structure
2220
2056
  end
2221
2057
 
2222
- # @note When making an API call, you may pass ListTagsRequest
2223
- # data as a hash:
2224
- #
2225
- # {
2226
- # resource_arn: "String", # required
2227
- # }
2228
- #
2229
2058
  # @!attribute [rw] resource_arn
2230
2059
  # The Amazon Resource Name (ARN) of the resource for which you want
2231
2060
  # the list of tags
@@ -2388,14 +2217,6 @@ module Aws::MemoryDB
2388
2217
  # Describes a name-value pair that is used to update the value of a
2389
2218
  # parameter.
2390
2219
  #
2391
- # @note When making an API call, you may pass ParameterNameValue
2392
- # data as a hash:
2393
- #
2394
- # {
2395
- # parameter_name: "String",
2396
- # parameter_value: "String",
2397
- # }
2398
- #
2399
2220
  # @!attribute [rw] parameter_name
2400
2221
  # The name of the parameter
2401
2222
  # @return [String]
@@ -2433,14 +2254,69 @@ module Aws::MemoryDB
2433
2254
  include Aws::Structure
2434
2255
  end
2435
2256
 
2436
- # A request to configure the number of replicas in a shard
2257
+ # @!attribute [rw] reserved_nodes_offering_id
2258
+ # The ID of the reserved node offering to purchase.
2259
+ # @return [String]
2260
+ #
2261
+ # @!attribute [rw] reservation_id
2262
+ # A customer-specified identifier to track this reservation.
2263
+ # @return [String]
2437
2264
  #
2438
- # @note When making an API call, you may pass ReplicaConfigurationRequest
2439
- # data as a hash:
2265
+ # @!attribute [rw] node_count
2266
+ # The number of node instances to reserve.
2267
+ # @return [Integer]
2440
2268
  #
2441
- # {
2442
- # replica_count: 1,
2443
- # }
2269
+ # @!attribute [rw] tags
2270
+ # A list of tags to be added to this resource. A tag is a key-value
2271
+ # pair. A tag key must be accompanied by a tag value, although null is
2272
+ # accepted.
2273
+ # @return [Array<Types::Tag>]
2274
+ #
2275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/PurchaseReservedNodesOfferingRequest AWS API Documentation
2276
+ #
2277
+ class PurchaseReservedNodesOfferingRequest < Struct.new(
2278
+ :reserved_nodes_offering_id,
2279
+ :reservation_id,
2280
+ :node_count,
2281
+ :tags)
2282
+ SENSITIVE = []
2283
+ include Aws::Structure
2284
+ end
2285
+
2286
+ # @!attribute [rw] reserved_node
2287
+ # Represents the output of a `PurchaseReservedNodesOffering`
2288
+ # operation.
2289
+ # @return [Types::ReservedNode]
2290
+ #
2291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/PurchaseReservedNodesOfferingResponse AWS API Documentation
2292
+ #
2293
+ class PurchaseReservedNodesOfferingResponse < Struct.new(
2294
+ :reserved_node)
2295
+ SENSITIVE = []
2296
+ include Aws::Structure
2297
+ end
2298
+
2299
+ # The recurring charge to run this reserved node.
2300
+ #
2301
+ # @!attribute [rw] recurring_charge_amount
2302
+ # The amount of the recurring charge to run this reserved node.
2303
+ # @return [Float]
2304
+ #
2305
+ # @!attribute [rw] recurring_charge_frequency
2306
+ # The frequency of the recurring price charged to run this reserved
2307
+ # node.
2308
+ # @return [String]
2309
+ #
2310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/RecurringCharge AWS API Documentation
2311
+ #
2312
+ class RecurringCharge < Struct.new(
2313
+ :recurring_charge_amount,
2314
+ :recurring_charge_frequency)
2315
+ SENSITIVE = []
2316
+ include Aws::Structure
2317
+ end
2318
+
2319
+ # A request to configure the number of replicas in a shard
2444
2320
  #
2445
2321
  # @!attribute [rw] replica_count
2446
2322
  # The number of replicas to scale up or down to
@@ -2454,15 +2330,139 @@ module Aws::MemoryDB
2454
2330
  include Aws::Structure
2455
2331
  end
2456
2332
 
2457
- # @note When making an API call, you may pass ResetParameterGroupRequest
2458
- # data as a hash:
2333
+ # Represents the output of a `PurchaseReservedNodesOffering` operation.
2334
+ #
2335
+ # @!attribute [rw] reservation_id
2336
+ # A customer-specified identifier to track this reservation.
2337
+ # @return [String]
2338
+ #
2339
+ # @!attribute [rw] reserved_nodes_offering_id
2340
+ # The ID of the reserved node offering to purchase.
2341
+ # @return [String]
2342
+ #
2343
+ # @!attribute [rw] node_type
2344
+ # The node type for the reserved nodes.
2345
+ # @return [String]
2346
+ #
2347
+ # @!attribute [rw] start_time
2348
+ # The time the reservation started.
2349
+ # @return [Time]
2350
+ #
2351
+ # @!attribute [rw] duration
2352
+ # The duration of the reservation in seconds.
2353
+ # @return [Integer]
2354
+ #
2355
+ # @!attribute [rw] fixed_price
2356
+ # The fixed price charged for this reserved node.
2357
+ # @return [Float]
2358
+ #
2359
+ # @!attribute [rw] node_count
2360
+ # The number of nodes that have been reserved.
2361
+ # @return [Integer]
2362
+ #
2363
+ # @!attribute [rw] offering_type
2364
+ # The offering type of this reserved node.
2365
+ # @return [String]
2366
+ #
2367
+ # @!attribute [rw] state
2368
+ # The state of the reserved node.
2369
+ # @return [String]
2370
+ #
2371
+ # @!attribute [rw] recurring_charges
2372
+ # The recurring price charged to run this reserved node.
2373
+ # @return [Array<Types::RecurringCharge>]
2374
+ #
2375
+ # @!attribute [rw] arn
2376
+ # The Amazon Resource Name (ARN) of the reserved node.
2377
+ # @return [String]
2378
+ #
2379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNode AWS API Documentation
2380
+ #
2381
+ class ReservedNode < Struct.new(
2382
+ :reservation_id,
2383
+ :reserved_nodes_offering_id,
2384
+ :node_type,
2385
+ :start_time,
2386
+ :duration,
2387
+ :fixed_price,
2388
+ :node_count,
2389
+ :offering_type,
2390
+ :state,
2391
+ :recurring_charges,
2392
+ :arn)
2393
+ SENSITIVE = []
2394
+ include Aws::Structure
2395
+ end
2396
+
2397
+ # You already have a reservation with the given identifier.
2398
+ #
2399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNodeAlreadyExistsFault AWS API Documentation
2400
+ #
2401
+ class ReservedNodeAlreadyExistsFault < Aws::EmptyStructure; end
2402
+
2403
+ # The requested node does not exist.
2459
2404
  #
2460
- # {
2461
- # parameter_group_name: "String", # required
2462
- # all_parameters: false,
2463
- # parameter_names: ["String"],
2464
- # }
2405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNodeNotFoundFault AWS API Documentation
2406
+ #
2407
+ class ReservedNodeNotFoundFault < Aws::EmptyStructure; end
2408
+
2409
+ # The request cannot be processed because it would exceed the user's
2410
+ # node quota.
2411
+ #
2412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNodeQuotaExceededFault AWS API Documentation
2413
+ #
2414
+ class ReservedNodeQuotaExceededFault < Aws::EmptyStructure; end
2415
+
2416
+ # The offering type of this node.
2417
+ #
2418
+ # @!attribute [rw] reserved_nodes_offering_id
2419
+ # The offering identifier.
2420
+ # @return [String]
2421
+ #
2422
+ # @!attribute [rw] node_type
2423
+ # The node type for the reserved nodes. For more information, see
2424
+ # [Supported node types][1].
2425
+ #
2426
+ #
2427
+ #
2428
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.reserved.html#reserved-nodes-supported
2429
+ # @return [String]
2430
+ #
2431
+ # @!attribute [rw] duration
2432
+ # The duration of the reservation in seconds.
2433
+ # @return [Integer]
2434
+ #
2435
+ # @!attribute [rw] fixed_price
2436
+ # The fixed price charged for this reserved node.
2437
+ # @return [Float]
2465
2438
  #
2439
+ # @!attribute [rw] offering_type
2440
+ # The offering type of this reserved node.
2441
+ # @return [String]
2442
+ #
2443
+ # @!attribute [rw] recurring_charges
2444
+ # The recurring price charged to run this reserved node.
2445
+ # @return [Array<Types::RecurringCharge>]
2446
+ #
2447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNodesOffering AWS API Documentation
2448
+ #
2449
+ class ReservedNodesOffering < Struct.new(
2450
+ :reserved_nodes_offering_id,
2451
+ :node_type,
2452
+ :duration,
2453
+ :fixed_price,
2454
+ :offering_type,
2455
+ :recurring_charges)
2456
+ SENSITIVE = []
2457
+ include Aws::Structure
2458
+ end
2459
+
2460
+ # The requested node offering does not exist.
2461
+ #
2462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ReservedNodesOfferingNotFoundFault AWS API Documentation
2463
+ #
2464
+ class ReservedNodesOfferingNotFoundFault < Aws::EmptyStructure; end
2465
+
2466
2466
  # @!attribute [rw] parameter_group_name
2467
2467
  # The name of the parameter group to reset.
2468
2468
  # @return [String]
@@ -2596,13 +2596,6 @@ module Aws::MemoryDB
2596
2596
 
2597
2597
  # A request to apply a service update
2598
2598
  #
2599
- # @note When making an API call, you may pass ServiceUpdateRequest
2600
- # data as a hash:
2601
- #
2602
- # {
2603
- # service_update_name_to_apply: "String",
2604
- # }
2605
- #
2606
2599
  # @!attribute [rw] service_update_name_to_apply
2607
2600
  # The unique ID of the service update
2608
2601
  # @return [String]
@@ -2677,13 +2670,6 @@ module Aws::MemoryDB
2677
2670
 
2678
2671
  # A request to configure the sharding properties of a cluster
2679
2672
  #
2680
- # @note When making an API call, you may pass ShardConfigurationRequest
2681
- # data as a hash:
2682
- #
2683
- # {
2684
- # shard_count: 1,
2685
- # }
2686
- #
2687
2673
  # @!attribute [rw] shard_count
2688
2674
  # The number of shards in the cluster
2689
2675
  # @return [Integer]
@@ -2915,14 +2901,6 @@ module Aws::MemoryDB
2915
2901
  #
2916
2902
  # [1]: https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging-resources.html
2917
2903
  #
2918
- # @note When making an API call, you may pass Tag
2919
- # data as a hash:
2920
- #
2921
- # {
2922
- # key: "String",
2923
- # value: "String",
2924
- # }
2925
- #
2926
2904
  # @!attribute [rw] key
2927
2905
  # The key for the tag. May not be null.
2928
2906
  # @return [String]
@@ -2948,19 +2926,6 @@ module Aws::MemoryDB
2948
2926
  #
2949
2927
  class TagQuotaPerResourceExceeded < Aws::EmptyStructure; end
2950
2928
 
2951
- # @note When making an API call, you may pass TagResourceRequest
2952
- # data as a hash:
2953
- #
2954
- # {
2955
- # resource_arn: "String", # required
2956
- # tags: [ # required
2957
- # {
2958
- # key: "String",
2959
- # value: "String",
2960
- # },
2961
- # ],
2962
- # }
2963
- #
2964
2929
  # @!attribute [rw] resource_arn
2965
2930
  # The Amazon Resource Name (ARN) of the resource to which the tags are
2966
2931
  # to be added
@@ -3021,14 +2986,6 @@ module Aws::MemoryDB
3021
2986
  include Aws::Structure
3022
2987
  end
3023
2988
 
3024
- # @note When making an API call, you may pass UntagResourceRequest
3025
- # data as a hash:
3026
- #
3027
- # {
3028
- # resource_arn: "String", # required
3029
- # tag_keys: ["String"], # required
3030
- # }
3031
- #
3032
2989
  # @!attribute [rw] resource_arn
3033
2990
  # The Amazon Resource Name (ARN) of the resource to which the tags are
3034
2991
  # to be removed
@@ -3059,15 +3016,6 @@ module Aws::MemoryDB
3059
3016
  include Aws::Structure
3060
3017
  end
3061
3018
 
3062
- # @note When making an API call, you may pass UpdateACLRequest
3063
- # data as a hash:
3064
- #
3065
- # {
3066
- # acl_name: "String", # required
3067
- # user_names_to_add: ["UserName"],
3068
- # user_names_to_remove: ["UserName"],
3069
- # }
3070
- #
3071
3019
  # @!attribute [rw] acl_name
3072
3020
  # The name of the Access Control List
3073
3021
  # @return [String]
@@ -3102,30 +3050,6 @@ module Aws::MemoryDB
3102
3050
  include Aws::Structure
3103
3051
  end
3104
3052
 
3105
- # @note When making an API call, you may pass UpdateClusterRequest
3106
- # data as a hash:
3107
- #
3108
- # {
3109
- # cluster_name: "String", # required
3110
- # description: "String",
3111
- # security_group_ids: ["String"],
3112
- # maintenance_window: "String",
3113
- # sns_topic_arn: "String",
3114
- # sns_topic_status: "String",
3115
- # parameter_group_name: "String",
3116
- # snapshot_window: "String",
3117
- # snapshot_retention_limit: 1,
3118
- # node_type: "String",
3119
- # engine_version: "String",
3120
- # replica_configuration: {
3121
- # replica_count: 1,
3122
- # },
3123
- # shard_configuration: {
3124
- # shard_count: 1,
3125
- # },
3126
- # acl_name: "ACLName",
3127
- # }
3128
- #
3129
3053
  # @!attribute [rw] cluster_name
3130
3054
  # The name of the cluster to update
3131
3055
  # @return [String]
@@ -3245,19 +3169,6 @@ module Aws::MemoryDB
3245
3169
  include Aws::Structure
3246
3170
  end
3247
3171
 
3248
- # @note When making an API call, you may pass UpdateParameterGroupRequest
3249
- # data as a hash:
3250
- #
3251
- # {
3252
- # parameter_group_name: "String", # required
3253
- # parameter_name_values: [ # required
3254
- # {
3255
- # parameter_name: "String",
3256
- # parameter_value: "String",
3257
- # },
3258
- # ],
3259
- # }
3260
- #
3261
3172
  # @!attribute [rw] parameter_group_name
3262
3173
  # The name of the parameter group to update.
3263
3174
  # @return [String]
@@ -3290,15 +3201,6 @@ module Aws::MemoryDB
3290
3201
  include Aws::Structure
3291
3202
  end
3292
3203
 
3293
- # @note When making an API call, you may pass UpdateSubnetGroupRequest
3294
- # data as a hash:
3295
- #
3296
- # {
3297
- # subnet_group_name: "String", # required
3298
- # description: "String",
3299
- # subnet_ids: ["String"],
3300
- # }
3301
- #
3302
3204
  # @!attribute [rw] subnet_group_name
3303
3205
  # The name of the subnet group
3304
3206
  # @return [String]
@@ -3333,18 +3235,6 @@ module Aws::MemoryDB
3333
3235
  include Aws::Structure
3334
3236
  end
3335
3237
 
3336
- # @note When making an API call, you may pass UpdateUserRequest
3337
- # data as a hash:
3338
- #
3339
- # {
3340
- # user_name: "UserName", # required
3341
- # authentication_mode: {
3342
- # type: "password", # accepts password
3343
- # passwords: ["String"],
3344
- # },
3345
- # access_string: "AccessString",
3346
- # }
3347
- #
3348
3238
  # @!attribute [rw] user_name
3349
3239
  # The name of the user
3350
3240
  # @return [String]