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.
@@ -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>]
@@ -331,6 +313,16 @@ module Aws::MemoryDB
331
313
  # engine version upgrades after launch.
332
314
  # @return [Boolean]
333
315
  #
316
+ # @!attribute [rw] data_tiering
317
+ # Enables data tiering. Data tiering is only supported for clusters
318
+ # using the r6gd node type. This parameter must be set when using r6gd
319
+ # nodes. For more information, see [Data tiering][1].
320
+ #
321
+ #
322
+ #
323
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html
324
+ # @return [String]
325
+ #
334
326
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/Cluster AWS API Documentation
335
327
  #
336
328
  class Cluster < Struct.new(
@@ -358,7 +350,8 @@ module Aws::MemoryDB
358
350
  :maintenance_window,
359
351
  :snapshot_window,
360
352
  :acl_name,
361
- :auto_minor_version_upgrade)
353
+ :auto_minor_version_upgrade,
354
+ :data_tiering)
362
355
  SENSITIVE = []
363
356
  include Aws::Structure
364
357
  end
@@ -479,22 +472,6 @@ module Aws::MemoryDB
479
472
  #
480
473
  class ClusterQuotaForCustomerExceededFault < Aws::EmptyStructure; end
481
474
 
482
- # @note When making an API call, you may pass CopySnapshotRequest
483
- # data as a hash:
484
- #
485
- # {
486
- # source_snapshot_name: "String", # required
487
- # target_snapshot_name: "String", # required
488
- # target_bucket: "TargetBucket",
489
- # kms_key_id: "KmsKeyId",
490
- # tags: [
491
- # {
492
- # key: "String",
493
- # value: "String",
494
- # },
495
- # ],
496
- # }
497
- #
498
475
  # @!attribute [rw] source_snapshot_name
499
476
  # The name of an existing snapshot from which to make a copy.
500
477
  # @return [String]
@@ -553,20 +530,6 @@ module Aws::MemoryDB
553
530
  include Aws::Structure
554
531
  end
555
532
 
556
- # @note When making an API call, you may pass CreateACLRequest
557
- # data as a hash:
558
- #
559
- # {
560
- # acl_name: "String", # required
561
- # user_names: ["UserName"],
562
- # tags: [
563
- # {
564
- # key: "String",
565
- # value: "String",
566
- # },
567
- # ],
568
- # }
569
- #
570
533
  # @!attribute [rw] acl_name
571
534
  # The name of the Access Control List.
572
535
  # @return [String]
@@ -603,38 +566,6 @@ module Aws::MemoryDB
603
566
  include Aws::Structure
604
567
  end
605
568
 
606
- # @note When making an API call, you may pass CreateClusterRequest
607
- # data as a hash:
608
- #
609
- # {
610
- # cluster_name: "String", # required
611
- # node_type: "String", # required
612
- # parameter_group_name: "String",
613
- # description: "String",
614
- # num_shards: 1,
615
- # num_replicas_per_shard: 1,
616
- # subnet_group_name: "String",
617
- # security_group_ids: ["String"],
618
- # maintenance_window: "String",
619
- # port: 1,
620
- # sns_topic_arn: "String",
621
- # tls_enabled: false,
622
- # kms_key_id: "String",
623
- # snapshot_arns: ["String"],
624
- # snapshot_name: "String",
625
- # snapshot_retention_limit: 1,
626
- # tags: [
627
- # {
628
- # key: "String",
629
- # value: "String",
630
- # },
631
- # ],
632
- # snapshot_window: "String",
633
- # acl_name: "ACLName", # required
634
- # engine_version: "String",
635
- # auto_minor_version_upgrade: false,
636
- # }
637
- #
638
569
  # @!attribute [rw] cluster_name
639
570
  # The name of the cluster. This value must be unique as it also serves
640
571
  # as the cluster identifier.
@@ -673,8 +604,26 @@ module Aws::MemoryDB
673
604
  # @!attribute [rw] maintenance_window
674
605
  # Specifies the weekly time range during which maintenance on the
675
606
  # cluster is performed. It is specified as a range in the format
676
- # `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance
607
+ # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
677
608
  # window is a 60 minute period.
609
+ #
610
+ # Valid values for `ddd` are:
611
+ #
612
+ # * `sun`
613
+ #
614
+ # * `mon`
615
+ #
616
+ # * `tue`
617
+ #
618
+ # * `wed`
619
+ #
620
+ # * `thu`
621
+ #
622
+ # * `fri`
623
+ #
624
+ # * `sat`
625
+ #
626
+ # Example: `sun:23:00-mon:01:30`
678
627
  # @return [String]
679
628
  #
680
629
  # @!attribute [rw] port
@@ -744,6 +693,16 @@ module Aws::MemoryDB
744
693
  # engine version upgrades after launch.
745
694
  # @return [Boolean]
746
695
  #
696
+ # @!attribute [rw] data_tiering
697
+ # Enables data tiering. Data tiering is only supported for clusters
698
+ # using the r6gd node type. This parameter must be set when using r6gd
699
+ # nodes. For more information, see [Data tiering][1].
700
+ #
701
+ #
702
+ #
703
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html
704
+ # @return [Boolean]
705
+ #
747
706
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateClusterRequest AWS API Documentation
748
707
  #
749
708
  class CreateClusterRequest < Struct.new(
@@ -767,7 +726,8 @@ module Aws::MemoryDB
767
726
  :snapshot_window,
768
727
  :acl_name,
769
728
  :engine_version,
770
- :auto_minor_version_upgrade)
729
+ :auto_minor_version_upgrade,
730
+ :data_tiering)
771
731
  SENSITIVE = []
772
732
  include Aws::Structure
773
733
  end
@@ -784,21 +744,6 @@ module Aws::MemoryDB
784
744
  include Aws::Structure
785
745
  end
786
746
 
787
- # @note When making an API call, you may pass CreateParameterGroupRequest
788
- # data as a hash:
789
- #
790
- # {
791
- # parameter_group_name: "String", # required
792
- # family: "String", # required
793
- # description: "String",
794
- # tags: [
795
- # {
796
- # key: "String",
797
- # value: "String",
798
- # },
799
- # ],
800
- # }
801
- #
802
747
  # @!attribute [rw] parameter_group_name
803
748
  # The name of the parameter group.
804
749
  # @return [String]
@@ -841,21 +786,6 @@ module Aws::MemoryDB
841
786
  include Aws::Structure
842
787
  end
843
788
 
844
- # @note When making an API call, you may pass CreateSnapshotRequest
845
- # data as a hash:
846
- #
847
- # {
848
- # cluster_name: "String", # required
849
- # snapshot_name: "String", # required
850
- # kms_key_id: "String",
851
- # tags: [
852
- # {
853
- # key: "String",
854
- # value: "String",
855
- # },
856
- # ],
857
- # }
858
- #
859
789
  # @!attribute [rw] cluster_name
860
790
  # The snapshot is created from this cluster.
861
791
  # @return [String]
@@ -897,21 +827,6 @@ module Aws::MemoryDB
897
827
  include Aws::Structure
898
828
  end
899
829
 
900
- # @note When making an API call, you may pass CreateSubnetGroupRequest
901
- # data as a hash:
902
- #
903
- # {
904
- # subnet_group_name: "String", # required
905
- # description: "String",
906
- # subnet_ids: ["String"], # required
907
- # tags: [
908
- # {
909
- # key: "String",
910
- # value: "String",
911
- # },
912
- # ],
913
- # }
914
- #
915
830
  # @!attribute [rw] subnet_group_name
916
831
  # The name of the subnet group.
917
832
  # @return [String]
@@ -953,24 +868,6 @@ module Aws::MemoryDB
953
868
  include Aws::Structure
954
869
  end
955
870
 
956
- # @note When making an API call, you may pass CreateUserRequest
957
- # data as a hash:
958
- #
959
- # {
960
- # user_name: "UserName", # required
961
- # authentication_mode: { # required
962
- # type: "password", # accepts password
963
- # passwords: ["String"],
964
- # },
965
- # access_string: "AccessString", # required
966
- # tags: [
967
- # {
968
- # key: "String",
969
- # value: "String",
970
- # },
971
- # ],
972
- # }
973
- #
974
871
  # @!attribute [rw] user_name
975
872
  # The name of the user. This value must be unique as it also serves as
976
873
  # the user identifier.
@@ -1018,13 +915,6 @@ module Aws::MemoryDB
1018
915
  #
1019
916
  class DefaultUserRequired < Aws::EmptyStructure; end
1020
917
 
1021
- # @note When making an API call, you may pass DeleteACLRequest
1022
- # data as a hash:
1023
- #
1024
- # {
1025
- # acl_name: "String", # required
1026
- # }
1027
- #
1028
918
  # @!attribute [rw] acl_name
1029
919
  # The name of the Access Control List to delete
1030
920
  # @return [String]
@@ -1049,14 +939,6 @@ module Aws::MemoryDB
1049
939
  include Aws::Structure
1050
940
  end
1051
941
 
1052
- # @note When making an API call, you may pass DeleteClusterRequest
1053
- # data as a hash:
1054
- #
1055
- # {
1056
- # cluster_name: "String", # required
1057
- # final_snapshot_name: "String",
1058
- # }
1059
- #
1060
942
  # @!attribute [rw] cluster_name
1061
943
  # The name of the cluster to be deleted
1062
944
  # @return [String]
@@ -1088,13 +970,6 @@ module Aws::MemoryDB
1088
970
  include Aws::Structure
1089
971
  end
1090
972
 
1091
- # @note When making an API call, you may pass DeleteParameterGroupRequest
1092
- # data as a hash:
1093
- #
1094
- # {
1095
- # parameter_group_name: "String", # required
1096
- # }
1097
- #
1098
973
  # @!attribute [rw] parameter_group_name
1099
974
  # The name of the parameter group to delete.
1100
975
  # @return [String]
@@ -1119,13 +994,6 @@ module Aws::MemoryDB
1119
994
  include Aws::Structure
1120
995
  end
1121
996
 
1122
- # @note When making an API call, you may pass DeleteSnapshotRequest
1123
- # data as a hash:
1124
- #
1125
- # {
1126
- # snapshot_name: "String", # required
1127
- # }
1128
- #
1129
997
  # @!attribute [rw] snapshot_name
1130
998
  # The name of the snapshot to delete
1131
999
  # @return [String]
@@ -1150,13 +1018,6 @@ module Aws::MemoryDB
1150
1018
  include Aws::Structure
1151
1019
  end
1152
1020
 
1153
- # @note When making an API call, you may pass DeleteSubnetGroupRequest
1154
- # data as a hash:
1155
- #
1156
- # {
1157
- # subnet_group_name: "String", # required
1158
- # }
1159
- #
1160
1021
  # @!attribute [rw] subnet_group_name
1161
1022
  # The name of the subnet group to delete
1162
1023
  # @return [String]
@@ -1181,13 +1042,6 @@ module Aws::MemoryDB
1181
1042
  include Aws::Structure
1182
1043
  end
1183
1044
 
1184
- # @note When making an API call, you may pass DeleteUserRequest
1185
- # data as a hash:
1186
- #
1187
- # {
1188
- # user_name: "UserName", # required
1189
- # }
1190
- #
1191
1045
  # @!attribute [rw] user_name
1192
1046
  # The name of the user to delete
1193
1047
  # @return [String]
@@ -1212,15 +1066,6 @@ module Aws::MemoryDB
1212
1066
  include Aws::Structure
1213
1067
  end
1214
1068
 
1215
- # @note When making an API call, you may pass DescribeACLsRequest
1216
- # data as a hash:
1217
- #
1218
- # {
1219
- # acl_name: "String",
1220
- # max_results: 1,
1221
- # next_token: "String",
1222
- # }
1223
- #
1224
1069
  # @!attribute [rw] acl_name
1225
1070
  # The name of the ACL
1226
1071
  # @return [String]
@@ -1271,16 +1116,6 @@ module Aws::MemoryDB
1271
1116
  include Aws::Structure
1272
1117
  end
1273
1118
 
1274
- # @note When making an API call, you may pass DescribeClustersRequest
1275
- # data as a hash:
1276
- #
1277
- # {
1278
- # cluster_name: "String",
1279
- # max_results: 1,
1280
- # next_token: "String",
1281
- # show_shard_details: false,
1282
- # }
1283
- #
1284
1119
  # @!attribute [rw] cluster_name
1285
1120
  # The name of the cluster
1286
1121
  # @return [String]
@@ -1339,17 +1174,6 @@ module Aws::MemoryDB
1339
1174
  include Aws::Structure
1340
1175
  end
1341
1176
 
1342
- # @note When making an API call, you may pass DescribeEngineVersionsRequest
1343
- # data as a hash:
1344
- #
1345
- # {
1346
- # engine_version: "String",
1347
- # parameter_group_family: "String",
1348
- # max_results: 1,
1349
- # next_token: "String",
1350
- # default_only: false,
1351
- # }
1352
- #
1353
1177
  # @!attribute [rw] engine_version
1354
1178
  # The Redis engine version
1355
1179
  # @return [String]
@@ -1414,19 +1238,6 @@ module Aws::MemoryDB
1414
1238
  include Aws::Structure
1415
1239
  end
1416
1240
 
1417
- # @note When making an API call, you may pass DescribeEventsRequest
1418
- # data as a hash:
1419
- #
1420
- # {
1421
- # source_name: "String",
1422
- # source_type: "node", # accepts node, parameter-group, subnet-group, cluster, user, acl
1423
- # start_time: Time.now,
1424
- # end_time: Time.now,
1425
- # duration: 1,
1426
- # max_results: 1,
1427
- # next_token: "String",
1428
- # }
1429
- #
1430
1241
  # @!attribute [rw] source_name
1431
1242
  # The identifier of the event source for which events are returned. If
1432
1243
  # not specified, all sources are included in the response.
@@ -1504,15 +1315,6 @@ module Aws::MemoryDB
1504
1315
  include Aws::Structure
1505
1316
  end
1506
1317
 
1507
- # @note When making an API call, you may pass DescribeParameterGroupsRequest
1508
- # data as a hash:
1509
- #
1510
- # {
1511
- # parameter_group_name: "String",
1512
- # max_results: 1,
1513
- # next_token: "String",
1514
- # }
1515
- #
1516
1318
  # @!attribute [rw] parameter_group_name
1517
1319
  # The name of a specific parameter group to return details for.
1518
1320
  # @return [String]
@@ -1566,15 +1368,6 @@ module Aws::MemoryDB
1566
1368
  include Aws::Structure
1567
1369
  end
1568
1370
 
1569
- # @note When making an API call, you may pass DescribeParametersRequest
1570
- # data as a hash:
1571
- #
1572
- # {
1573
- # parameter_group_name: "String", # required
1574
- # max_results: 1,
1575
- # next_token: "String",
1576
- # }
1577
- #
1578
1371
  # @!attribute [rw] parameter_group_name
1579
1372
  # he name of a specific parameter group to return details for.
1580
1373
  # @return [String]
@@ -1629,17 +1422,160 @@ module Aws::MemoryDB
1629
1422
  include Aws::Structure
1630
1423
  end
1631
1424
 
1632
- # @note When making an API call, you may pass DescribeServiceUpdatesRequest
1633
- # 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]
1634
1439
  #
1635
- # {
1636
- # service_update_name: "String",
1637
- # cluster_names: ["String"],
1638
- # status: ["available"], # accepts available, in-progress, complete, scheduled
1639
- # max_results: 1,
1640
- # next_token: "String",
1641
- # }
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]
1642
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>]
1488
+ #
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeReservedNodesOfferingsResponse AWS API Documentation
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
+
1643
1579
  # @!attribute [rw] service_update_name
1644
1580
  # The unique ID of the service update to describe.
1645
1581
  # @return [String]
@@ -1702,18 +1638,6 @@ module Aws::MemoryDB
1702
1638
  include Aws::Structure
1703
1639
  end
1704
1640
 
1705
- # @note When making an API call, you may pass DescribeSnapshotsRequest
1706
- # data as a hash:
1707
- #
1708
- # {
1709
- # cluster_name: "String",
1710
- # snapshot_name: "String",
1711
- # source: "String",
1712
- # next_token: "String",
1713
- # max_results: 1,
1714
- # show_detail: false,
1715
- # }
1716
- #
1717
1641
  # @!attribute [rw] cluster_name
1718
1642
  # A user-supplied cluster identifier. If this parameter is specified,
1719
1643
  # only snapshots associated with that specific cluster are described.
@@ -1788,15 +1712,6 @@ module Aws::MemoryDB
1788
1712
  include Aws::Structure
1789
1713
  end
1790
1714
 
1791
- # @note When making an API call, you may pass DescribeSubnetGroupsRequest
1792
- # data as a hash:
1793
- #
1794
- # {
1795
- # subnet_group_name: "String",
1796
- # max_results: 1,
1797
- # next_token: "String",
1798
- # }
1799
- #
1800
1715
  # @!attribute [rw] subnet_group_name
1801
1716
  # The name of the subnet group to return details for.
1802
1717
  # @return [String]
@@ -1850,21 +1765,6 @@ module Aws::MemoryDB
1850
1765
  include Aws::Structure
1851
1766
  end
1852
1767
 
1853
- # @note When making an API call, you may pass DescribeUsersRequest
1854
- # data as a hash:
1855
- #
1856
- # {
1857
- # user_name: "UserName",
1858
- # filters: [
1859
- # {
1860
- # name: "FilterName", # required
1861
- # values: ["FilterValue"], # required
1862
- # },
1863
- # ],
1864
- # max_results: 1,
1865
- # next_token: "String",
1866
- # }
1867
- #
1868
1768
  # @!attribute [rw] user_name
1869
1769
  # The name of the user
1870
1770
  # @return [String]
@@ -2005,14 +1905,6 @@ module Aws::MemoryDB
2005
1905
  include Aws::Structure
2006
1906
  end
2007
1907
 
2008
- # @note When making an API call, you may pass FailoverShardRequest
2009
- # data as a hash:
2010
- #
2011
- # {
2012
- # cluster_name: "String", # required
2013
- # shard_name: "String", # required
2014
- # }
2015
- #
2016
1908
  # @!attribute [rw] cluster_name
2017
1909
  # The cluster being failed over
2018
1910
  # @return [String]
@@ -2045,14 +1937,6 @@ module Aws::MemoryDB
2045
1937
  # Used to streamline results of a search based on the property being
2046
1938
  # filtered.
2047
1939
  #
2048
- # @note When making an API call, you may pass Filter
2049
- # data as a hash:
2050
- #
2051
- # {
2052
- # name: "FilterName", # required
2053
- # values: ["FilterValue"], # required
2054
- # }
2055
- #
2056
1940
  # @!attribute [rw] name
2057
1941
  # The property being filtered. For example, UserName.
2058
1942
  # @return [String]
@@ -2140,13 +2024,6 @@ module Aws::MemoryDB
2140
2024
  #
2141
2025
  class InvalidVPCNetworkStateFault < Aws::EmptyStructure; end
2142
2026
 
2143
- # @note When making an API call, you may pass ListAllowedNodeTypeUpdatesRequest
2144
- # data as a hash:
2145
- #
2146
- # {
2147
- # cluster_name: "String", # required
2148
- # }
2149
- #
2150
2027
  # @!attribute [rw] cluster_name
2151
2028
  # The name of the cluster you want to scale. MemoryDB uses the cluster
2152
2029
  # name to identify the current node type being used by this cluster,
@@ -2178,13 +2055,6 @@ module Aws::MemoryDB
2178
2055
  include Aws::Structure
2179
2056
  end
2180
2057
 
2181
- # @note When making an API call, you may pass ListTagsRequest
2182
- # data as a hash:
2183
- #
2184
- # {
2185
- # resource_arn: "String", # required
2186
- # }
2187
- #
2188
2058
  # @!attribute [rw] resource_arn
2189
2059
  # The Amazon Resource Name (ARN) of the resource for which you want
2190
2060
  # the list of tags
@@ -2347,14 +2217,6 @@ module Aws::MemoryDB
2347
2217
  # Describes a name-value pair that is used to update the value of a
2348
2218
  # parameter.
2349
2219
  #
2350
- # @note When making an API call, you may pass ParameterNameValue
2351
- # data as a hash:
2352
- #
2353
- # {
2354
- # parameter_name: "String",
2355
- # parameter_value: "String",
2356
- # }
2357
- #
2358
2220
  # @!attribute [rw] parameter_name
2359
2221
  # The name of the parameter
2360
2222
  # @return [String]
@@ -2392,14 +2254,69 @@ module Aws::MemoryDB
2392
2254
  include Aws::Structure
2393
2255
  end
2394
2256
 
2395
- # 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]
2264
+ #
2265
+ # @!attribute [rw] node_count
2266
+ # The number of node instances to reserve.
2267
+ # @return [Integer]
2268
+ #
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
2396
2276
  #
2397
- # @note When making an API call, you may pass ReplicaConfigurationRequest
2398
- # data as a hash:
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]
2399
2290
  #
2400
- # {
2401
- # replica_count: 1,
2402
- # }
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
2403
2320
  #
2404
2321
  # @!attribute [rw] replica_count
2405
2322
  # The number of replicas to scale up or down to
@@ -2413,15 +2330,139 @@ module Aws::MemoryDB
2413
2330
  include Aws::Structure
2414
2331
  end
2415
2332
 
2416
- # @note When making an API call, you may pass ResetParameterGroupRequest
2417
- # data as a hash:
2333
+ # Represents the output of a `PurchaseReservedNodesOffering` operation.
2418
2334
  #
2419
- # {
2420
- # parameter_group_name: "String", # required
2421
- # all_parameters: false,
2422
- # parameter_names: ["String"],
2423
- # }
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]
2424
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.
2404
+ #
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]
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
+
2425
2466
  # @!attribute [rw] parameter_group_name
2426
2467
  # The name of the parameter group to reset.
2427
2468
  # @return [String]
@@ -2555,13 +2596,6 @@ module Aws::MemoryDB
2555
2596
 
2556
2597
  # A request to apply a service update
2557
2598
  #
2558
- # @note When making an API call, you may pass ServiceUpdateRequest
2559
- # data as a hash:
2560
- #
2561
- # {
2562
- # service_update_name_to_apply: "String",
2563
- # }
2564
- #
2565
2599
  # @!attribute [rw] service_update_name_to_apply
2566
2600
  # The unique ID of the service update
2567
2601
  # @return [String]
@@ -2636,13 +2670,6 @@ module Aws::MemoryDB
2636
2670
 
2637
2671
  # A request to configure the sharding properties of a cluster
2638
2672
  #
2639
- # @note When making an API call, you may pass ShardConfigurationRequest
2640
- # data as a hash:
2641
- #
2642
- # {
2643
- # shard_count: 1,
2644
- # }
2645
- #
2646
2673
  # @!attribute [rw] shard_count
2647
2674
  # The number of shards in the cluster
2648
2675
  # @return [Integer]
@@ -2735,6 +2762,16 @@ module Aws::MemoryDB
2735
2762
  # The configuration of the cluster from which the snapshot was taken
2736
2763
  # @return [Types::ClusterConfiguration]
2737
2764
  #
2765
+ # @!attribute [rw] data_tiering
2766
+ # Enables data tiering. Data tiering is only supported for clusters
2767
+ # using the r6gd node type. This parameter must be set when using r6gd
2768
+ # nodes. For more information, see [Data tiering][1].
2769
+ #
2770
+ #
2771
+ #
2772
+ # [1]: https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html
2773
+ # @return [String]
2774
+ #
2738
2775
  # @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/Snapshot AWS API Documentation
2739
2776
  #
2740
2777
  class Snapshot < Struct.new(
@@ -2743,7 +2780,8 @@ module Aws::MemoryDB
2743
2780
  :source,
2744
2781
  :kms_key_id,
2745
2782
  :arn,
2746
- :cluster_configuration)
2783
+ :cluster_configuration,
2784
+ :data_tiering)
2747
2785
  SENSITIVE = []
2748
2786
  include Aws::Structure
2749
2787
  end
@@ -2863,14 +2901,6 @@ module Aws::MemoryDB
2863
2901
  #
2864
2902
  # [1]: https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging-resources.html
2865
2903
  #
2866
- # @note When making an API call, you may pass Tag
2867
- # data as a hash:
2868
- #
2869
- # {
2870
- # key: "String",
2871
- # value: "String",
2872
- # }
2873
- #
2874
2904
  # @!attribute [rw] key
2875
2905
  # The key for the tag. May not be null.
2876
2906
  # @return [String]
@@ -2896,19 +2926,6 @@ module Aws::MemoryDB
2896
2926
  #
2897
2927
  class TagQuotaPerResourceExceeded < Aws::EmptyStructure; end
2898
2928
 
2899
- # @note When making an API call, you may pass TagResourceRequest
2900
- # data as a hash:
2901
- #
2902
- # {
2903
- # resource_arn: "String", # required
2904
- # tags: [ # required
2905
- # {
2906
- # key: "String",
2907
- # value: "String",
2908
- # },
2909
- # ],
2910
- # }
2911
- #
2912
2929
  # @!attribute [rw] resource_arn
2913
2930
  # The Amazon Resource Name (ARN) of the resource to which the tags are
2914
2931
  # to be added
@@ -2969,14 +2986,6 @@ module Aws::MemoryDB
2969
2986
  include Aws::Structure
2970
2987
  end
2971
2988
 
2972
- # @note When making an API call, you may pass UntagResourceRequest
2973
- # data as a hash:
2974
- #
2975
- # {
2976
- # resource_arn: "String", # required
2977
- # tag_keys: ["String"], # required
2978
- # }
2979
- #
2980
2989
  # @!attribute [rw] resource_arn
2981
2990
  # The Amazon Resource Name (ARN) of the resource to which the tags are
2982
2991
  # to be removed
@@ -3007,15 +3016,6 @@ module Aws::MemoryDB
3007
3016
  include Aws::Structure
3008
3017
  end
3009
3018
 
3010
- # @note When making an API call, you may pass UpdateACLRequest
3011
- # data as a hash:
3012
- #
3013
- # {
3014
- # acl_name: "String", # required
3015
- # user_names_to_add: ["UserName"],
3016
- # user_names_to_remove: ["UserName"],
3017
- # }
3018
- #
3019
3019
  # @!attribute [rw] acl_name
3020
3020
  # The name of the Access Control List
3021
3021
  # @return [String]
@@ -3050,30 +3050,6 @@ module Aws::MemoryDB
3050
3050
  include Aws::Structure
3051
3051
  end
3052
3052
 
3053
- # @note When making an API call, you may pass UpdateClusterRequest
3054
- # data as a hash:
3055
- #
3056
- # {
3057
- # cluster_name: "String", # required
3058
- # description: "String",
3059
- # security_group_ids: ["String"],
3060
- # maintenance_window: "String",
3061
- # sns_topic_arn: "String",
3062
- # sns_topic_status: "String",
3063
- # parameter_group_name: "String",
3064
- # snapshot_window: "String",
3065
- # snapshot_retention_limit: 1,
3066
- # node_type: "String",
3067
- # engine_version: "String",
3068
- # replica_configuration: {
3069
- # replica_count: 1,
3070
- # },
3071
- # shard_configuration: {
3072
- # shard_count: 1,
3073
- # },
3074
- # acl_name: "ACLName",
3075
- # }
3076
- #
3077
3053
  # @!attribute [rw] cluster_name
3078
3054
  # The name of the cluster to update
3079
3055
  # @return [String]
@@ -3087,7 +3063,28 @@ module Aws::MemoryDB
3087
3063
  # @return [Array<String>]
3088
3064
  #
3089
3065
  # @!attribute [rw] maintenance_window
3090
- # The maintenance window to update
3066
+ # Specifies the weekly time range during which maintenance on the
3067
+ # cluster is performed. It is specified as a range in the format
3068
+ # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
3069
+ # window is a 60 minute period.
3070
+ #
3071
+ # Valid values for `ddd` are:
3072
+ #
3073
+ # * `sun`
3074
+ #
3075
+ # * `mon`
3076
+ #
3077
+ # * `tue`
3078
+ #
3079
+ # * `wed`
3080
+ #
3081
+ # * `thu`
3082
+ #
3083
+ # * `fri`
3084
+ #
3085
+ # * `sat`
3086
+ #
3087
+ # Example: `sun:23:00-mon:01:30`
3091
3088
  # @return [String]
3092
3089
  #
3093
3090
  # @!attribute [rw] sns_topic_arn
@@ -3172,19 +3169,6 @@ module Aws::MemoryDB
3172
3169
  include Aws::Structure
3173
3170
  end
3174
3171
 
3175
- # @note When making an API call, you may pass UpdateParameterGroupRequest
3176
- # data as a hash:
3177
- #
3178
- # {
3179
- # parameter_group_name: "String", # required
3180
- # parameter_name_values: [ # required
3181
- # {
3182
- # parameter_name: "String",
3183
- # parameter_value: "String",
3184
- # },
3185
- # ],
3186
- # }
3187
- #
3188
3172
  # @!attribute [rw] parameter_group_name
3189
3173
  # The name of the parameter group to update.
3190
3174
  # @return [String]
@@ -3217,15 +3201,6 @@ module Aws::MemoryDB
3217
3201
  include Aws::Structure
3218
3202
  end
3219
3203
 
3220
- # @note When making an API call, you may pass UpdateSubnetGroupRequest
3221
- # data as a hash:
3222
- #
3223
- # {
3224
- # subnet_group_name: "String", # required
3225
- # description: "String",
3226
- # subnet_ids: ["String"],
3227
- # }
3228
- #
3229
3204
  # @!attribute [rw] subnet_group_name
3230
3205
  # The name of the subnet group
3231
3206
  # @return [String]
@@ -3260,18 +3235,6 @@ module Aws::MemoryDB
3260
3235
  include Aws::Structure
3261
3236
  end
3262
3237
 
3263
- # @note When making an API call, you may pass UpdateUserRequest
3264
- # data as a hash:
3265
- #
3266
- # {
3267
- # user_name: "UserName", # required
3268
- # authentication_mode: {
3269
- # type: "password", # accepts password
3270
- # passwords: ["String"],
3271
- # },
3272
- # access_string: "AccessString",
3273
- # }
3274
- #
3275
3238
  # @!attribute [rw] user_name
3276
3239
  # The name of the user
3277
3240
  # @return [String]