aws-sdk-rds 1.306.0 → 1.307.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +217 -1
- data/lib/aws-sdk-rds/client_api.rb +14 -0
- data/lib/aws-sdk-rds/db_cluster.rb +40 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +54 -0
- data/lib/aws-sdk-rds/db_instance.rb +52 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +66 -0
- data/lib/aws-sdk-rds/types.rb +242 -0
- data/lib/aws-sdk-rds.rb +1 -1
- data/sig/client.rbs +8 -0
- data/sig/db_cluster.rbs +2 -0
- data/sig/db_cluster_snapshot.rbs +8 -0
- data/sig/db_instance.rbs +2 -0
- data/sig/db_snapshot.rbs +8 -0
- data/sig/types.rbs +14 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b058eeb8a30247a7be89fed4c09a505d8214e70d3554375d9e6afc7b64a80f88
|
|
4
|
+
data.tar.gz: 0b39a6afa9d360892223de4928308b7d22915801d5b8f19a2fa09cc6bb471d98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b99b2afae7a34b48cf719c745da5b1b01440d5b1e496cc562f48b1d4849bb8efd322a6a93df341e2ad15e680a120a06c57531e9018775f7fc8d451f974838d8e
|
|
7
|
+
data.tar.gz: 46341c233d2878abb123cc5ba458b604b7e6dfd56d0c9a6b654cc52d794b9ea013ec2562497cfbd87a0c9eb9a1cad61661cba664397a1c6850a3023982bb24f2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.307.0 (2026-02-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds backup configuration for RDS and Aurora restores, letting customers set backup retention period and preferred backup window during restore. It also enables viewing backup settings when describing snapshots or automated backups for instances and clusters.
|
|
8
|
+
|
|
4
9
|
1.306.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.307.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
|
@@ -1521,6 +1521,8 @@ module Aws::RDS
|
|
|
1521
1521
|
# resp.db_cluster_snapshot.snapshot_type #=> String
|
|
1522
1522
|
# resp.db_cluster_snapshot.percent_progress #=> Integer
|
|
1523
1523
|
# resp.db_cluster_snapshot.storage_encrypted #=> Boolean
|
|
1524
|
+
# resp.db_cluster_snapshot.backup_retention_period #=> Integer
|
|
1525
|
+
# resp.db_cluster_snapshot.preferred_backup_window #=> String
|
|
1524
1526
|
# resp.db_cluster_snapshot.kms_key_id #=> String
|
|
1525
1527
|
# resp.db_cluster_snapshot.db_cluster_snapshot_arn #=> String
|
|
1526
1528
|
# resp.db_cluster_snapshot.source_db_cluster_snapshot_arn #=> String
|
|
@@ -1958,6 +1960,8 @@ module Aws::RDS
|
|
|
1958
1960
|
# resp.db_snapshot.storage_type #=> String
|
|
1959
1961
|
# resp.db_snapshot.tde_credential_arn #=> String
|
|
1960
1962
|
# resp.db_snapshot.encrypted #=> Boolean
|
|
1963
|
+
# resp.db_snapshot.backup_retention_period #=> Integer
|
|
1964
|
+
# resp.db_snapshot.preferred_backup_window #=> String
|
|
1961
1965
|
# resp.db_snapshot.kms_key_id #=> String
|
|
1962
1966
|
# resp.db_snapshot.db_snapshot_arn #=> String
|
|
1963
1967
|
# resp.db_snapshot.timezone #=> String
|
|
@@ -4471,6 +4475,8 @@ module Aws::RDS
|
|
|
4471
4475
|
# resp.db_cluster_snapshot.snapshot_type #=> String
|
|
4472
4476
|
# resp.db_cluster_snapshot.percent_progress #=> Integer
|
|
4473
4477
|
# resp.db_cluster_snapshot.storage_encrypted #=> Boolean
|
|
4478
|
+
# resp.db_cluster_snapshot.backup_retention_period #=> Integer
|
|
4479
|
+
# resp.db_cluster_snapshot.preferred_backup_window #=> String
|
|
4474
4480
|
# resp.db_cluster_snapshot.kms_key_id #=> String
|
|
4475
4481
|
# resp.db_cluster_snapshot.db_cluster_snapshot_arn #=> String
|
|
4476
4482
|
# resp.db_cluster_snapshot.source_db_cluster_snapshot_arn #=> String
|
|
@@ -8106,6 +8112,8 @@ module Aws::RDS
|
|
|
8106
8112
|
# resp.db_snapshot.storage_type #=> String
|
|
8107
8113
|
# resp.db_snapshot.tde_credential_arn #=> String
|
|
8108
8114
|
# resp.db_snapshot.encrypted #=> Boolean
|
|
8115
|
+
# resp.db_snapshot.backup_retention_period #=> Integer
|
|
8116
|
+
# resp.db_snapshot.preferred_backup_window #=> String
|
|
8109
8117
|
# resp.db_snapshot.kms_key_id #=> String
|
|
8110
8118
|
# resp.db_snapshot.db_snapshot_arn #=> String
|
|
8111
8119
|
# resp.db_snapshot.timezone #=> String
|
|
@@ -9816,6 +9824,7 @@ module Aws::RDS
|
|
|
9816
9824
|
# resp.db_cluster_automated_backup.engine_version #=> String
|
|
9817
9825
|
# resp.db_cluster_automated_backup.db_cluster_arn #=> String
|
|
9818
9826
|
# resp.db_cluster_automated_backup.backup_retention_period #=> Integer
|
|
9827
|
+
# resp.db_cluster_automated_backup.preferred_backup_window #=> String
|
|
9819
9828
|
# resp.db_cluster_automated_backup.engine_mode #=> String
|
|
9820
9829
|
# resp.db_cluster_automated_backup.availability_zones #=> Array
|
|
9821
9830
|
# resp.db_cluster_automated_backup.availability_zones[0] #=> String
|
|
@@ -10063,6 +10072,8 @@ module Aws::RDS
|
|
|
10063
10072
|
# resp.db_cluster_snapshot.snapshot_type #=> String
|
|
10064
10073
|
# resp.db_cluster_snapshot.percent_progress #=> Integer
|
|
10065
10074
|
# resp.db_cluster_snapshot.storage_encrypted #=> Boolean
|
|
10075
|
+
# resp.db_cluster_snapshot.backup_retention_period #=> Integer
|
|
10076
|
+
# resp.db_cluster_snapshot.preferred_backup_window #=> String
|
|
10066
10077
|
# resp.db_cluster_snapshot.kms_key_id #=> String
|
|
10067
10078
|
# resp.db_cluster_snapshot.db_cluster_snapshot_arn #=> String
|
|
10068
10079
|
# resp.db_cluster_snapshot.source_db_cluster_snapshot_arn #=> String
|
|
@@ -10493,6 +10504,7 @@ module Aws::RDS
|
|
|
10493
10504
|
# resp.db_instance_automated_backup.timezone #=> String
|
|
10494
10505
|
# resp.db_instance_automated_backup.iam_database_authentication_enabled #=> Boolean
|
|
10495
10506
|
# resp.db_instance_automated_backup.backup_retention_period #=> Integer
|
|
10507
|
+
# resp.db_instance_automated_backup.preferred_backup_window #=> String
|
|
10496
10508
|
# resp.db_instance_automated_backup.db_instance_automated_backups_arn #=> String
|
|
10497
10509
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications #=> Array
|
|
10498
10510
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
|
@@ -10859,6 +10871,8 @@ module Aws::RDS
|
|
|
10859
10871
|
# resp.db_snapshot.storage_type #=> String
|
|
10860
10872
|
# resp.db_snapshot.tde_credential_arn #=> String
|
|
10861
10873
|
# resp.db_snapshot.encrypted #=> Boolean
|
|
10874
|
+
# resp.db_snapshot.backup_retention_period #=> Integer
|
|
10875
|
+
# resp.db_snapshot.preferred_backup_window #=> String
|
|
10862
10876
|
# resp.db_snapshot.kms_key_id #=> String
|
|
10863
10877
|
# resp.db_snapshot.db_snapshot_arn #=> String
|
|
10864
10878
|
# resp.db_snapshot.timezone #=> String
|
|
@@ -11993,6 +12007,7 @@ module Aws::RDS
|
|
|
11993
12007
|
# resp.db_cluster_automated_backups[0].engine_version #=> String
|
|
11994
12008
|
# resp.db_cluster_automated_backups[0].db_cluster_arn #=> String
|
|
11995
12009
|
# resp.db_cluster_automated_backups[0].backup_retention_period #=> Integer
|
|
12010
|
+
# resp.db_cluster_automated_backups[0].preferred_backup_window #=> String
|
|
11996
12011
|
# resp.db_cluster_automated_backups[0].engine_mode #=> String
|
|
11997
12012
|
# resp.db_cluster_automated_backups[0].availability_zones #=> Array
|
|
11998
12013
|
# resp.db_cluster_automated_backups[0].availability_zones[0] #=> String
|
|
@@ -12901,6 +12916,8 @@ module Aws::RDS
|
|
|
12901
12916
|
# resp.db_cluster_snapshots[0].snapshot_type #=> String
|
|
12902
12917
|
# resp.db_cluster_snapshots[0].percent_progress #=> Integer
|
|
12903
12918
|
# resp.db_cluster_snapshots[0].storage_encrypted #=> Boolean
|
|
12919
|
+
# resp.db_cluster_snapshots[0].backup_retention_period #=> Integer
|
|
12920
|
+
# resp.db_cluster_snapshots[0].preferred_backup_window #=> String
|
|
12904
12921
|
# resp.db_cluster_snapshots[0].kms_key_id #=> String
|
|
12905
12922
|
# resp.db_cluster_snapshots[0].db_cluster_snapshot_arn #=> String
|
|
12906
12923
|
# resp.db_cluster_snapshots[0].source_db_cluster_snapshot_arn #=> String
|
|
@@ -13725,6 +13742,7 @@ module Aws::RDS
|
|
|
13725
13742
|
# resp.db_instance_automated_backups[0].timezone #=> String
|
|
13726
13743
|
# resp.db_instance_automated_backups[0].iam_database_authentication_enabled #=> Boolean
|
|
13727
13744
|
# resp.db_instance_automated_backups[0].backup_retention_period #=> Integer
|
|
13745
|
+
# resp.db_instance_automated_backups[0].preferred_backup_window #=> String
|
|
13728
13746
|
# resp.db_instance_automated_backups[0].db_instance_automated_backups_arn #=> String
|
|
13729
13747
|
# resp.db_instance_automated_backups[0].db_instance_automated_backups_replications #=> Array
|
|
13730
13748
|
# resp.db_instance_automated_backups[0].db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
|
@@ -15646,6 +15664,8 @@ module Aws::RDS
|
|
|
15646
15664
|
# resp.db_snapshots[0].storage_type #=> String
|
|
15647
15665
|
# resp.db_snapshots[0].tde_credential_arn #=> String
|
|
15648
15666
|
# resp.db_snapshots[0].encrypted #=> Boolean
|
|
15667
|
+
# resp.db_snapshots[0].backup_retention_period #=> Integer
|
|
15668
|
+
# resp.db_snapshots[0].preferred_backup_window #=> String
|
|
15649
15669
|
# resp.db_snapshots[0].kms_key_id #=> String
|
|
15650
15670
|
# resp.db_snapshots[0].db_snapshot_arn #=> String
|
|
15651
15671
|
# resp.db_snapshots[0].timezone #=> String
|
|
@@ -23135,6 +23155,8 @@ module Aws::RDS
|
|
|
23135
23155
|
# resp.db_snapshot.storage_type #=> String
|
|
23136
23156
|
# resp.db_snapshot.tde_credential_arn #=> String
|
|
23137
23157
|
# resp.db_snapshot.encrypted #=> Boolean
|
|
23158
|
+
# resp.db_snapshot.backup_retention_period #=> Integer
|
|
23159
|
+
# resp.db_snapshot.preferred_backup_window #=> String
|
|
23138
23160
|
# resp.db_snapshot.kms_key_id #=> String
|
|
23139
23161
|
# resp.db_snapshot.db_snapshot_arn #=> String
|
|
23140
23162
|
# resp.db_snapshot.timezone #=> String
|
|
@@ -27059,6 +27081,46 @@ module Aws::RDS
|
|
|
27059
27081
|
# If you specify a retention period that isn't valid, such as `94`,
|
|
27060
27082
|
# Amazon RDS issues an error.
|
|
27061
27083
|
#
|
|
27084
|
+
# @option params [Integer] :backup_retention_period
|
|
27085
|
+
# The number of days for which automated backups are retained. Specify a
|
|
27086
|
+
# minimum value of `1`.
|
|
27087
|
+
#
|
|
27088
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
27089
|
+
#
|
|
27090
|
+
# Default: Uses existing setting
|
|
27091
|
+
#
|
|
27092
|
+
# Constraints:
|
|
27093
|
+
#
|
|
27094
|
+
# * Must be a value from 1 to 35.
|
|
27095
|
+
#
|
|
27096
|
+
# ^
|
|
27097
|
+
#
|
|
27098
|
+
# @option params [String] :preferred_backup_window
|
|
27099
|
+
# The daily time range during which automated backups are created if
|
|
27100
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
27101
|
+
# parameter.
|
|
27102
|
+
#
|
|
27103
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
27104
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
27105
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
27106
|
+
# Guide*.
|
|
27107
|
+
#
|
|
27108
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
27109
|
+
#
|
|
27110
|
+
# Constraints:
|
|
27111
|
+
#
|
|
27112
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
27113
|
+
#
|
|
27114
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
27115
|
+
#
|
|
27116
|
+
# * Must not conflict with the preferred maintenance window.
|
|
27117
|
+
#
|
|
27118
|
+
# * Must be at least 30 minutes.
|
|
27119
|
+
#
|
|
27120
|
+
#
|
|
27121
|
+
#
|
|
27122
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
27123
|
+
#
|
|
27062
27124
|
# @option params [String] :engine_lifecycle_support
|
|
27063
27125
|
# The life cycle type for this DB cluster.
|
|
27064
27126
|
#
|
|
@@ -27232,6 +27294,8 @@ module Aws::RDS
|
|
|
27232
27294
|
# enable_performance_insights: false,
|
|
27233
27295
|
# performance_insights_kms_key_id: "String",
|
|
27234
27296
|
# performance_insights_retention_period: 1,
|
|
27297
|
+
# backup_retention_period: 1,
|
|
27298
|
+
# preferred_backup_window: "String",
|
|
27235
27299
|
# engine_lifecycle_support: "String",
|
|
27236
27300
|
# tag_specifications: [
|
|
27237
27301
|
# {
|
|
@@ -27890,6 +27954,46 @@ module Aws::RDS
|
|
|
27890
27954
|
# If you specify a retention period that isn't valid, such as `94`,
|
|
27891
27955
|
# Amazon RDS issues an error.
|
|
27892
27956
|
#
|
|
27957
|
+
# @option params [Integer] :backup_retention_period
|
|
27958
|
+
# The number of days for which automated backups are retained. Specify a
|
|
27959
|
+
# minimum value of `1`.
|
|
27960
|
+
#
|
|
27961
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
27962
|
+
#
|
|
27963
|
+
# Default: Uses existing setting
|
|
27964
|
+
#
|
|
27965
|
+
# Constraints:
|
|
27966
|
+
#
|
|
27967
|
+
# * Must be a value from 1 to 35.
|
|
27968
|
+
#
|
|
27969
|
+
# ^
|
|
27970
|
+
#
|
|
27971
|
+
# @option params [String] :preferred_backup_window
|
|
27972
|
+
# The daily time range during which automated backups are created if
|
|
27973
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
27974
|
+
# parameter.
|
|
27975
|
+
#
|
|
27976
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
27977
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
27978
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
27979
|
+
# Guide*.
|
|
27980
|
+
#
|
|
27981
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
27982
|
+
#
|
|
27983
|
+
# Constraints:
|
|
27984
|
+
#
|
|
27985
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
27986
|
+
#
|
|
27987
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
27988
|
+
#
|
|
27989
|
+
# * Must not conflict with the preferred maintenance window.
|
|
27990
|
+
#
|
|
27991
|
+
# * Must be at least 30 minutes.
|
|
27992
|
+
#
|
|
27993
|
+
#
|
|
27994
|
+
#
|
|
27995
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
27996
|
+
#
|
|
27893
27997
|
# @option params [String] :engine_lifecycle_support
|
|
27894
27998
|
# The life cycle type for this DB cluster.
|
|
27895
27999
|
#
|
|
@@ -28062,6 +28166,8 @@ module Aws::RDS
|
|
|
28062
28166
|
# enable_performance_insights: false,
|
|
28063
28167
|
# performance_insights_kms_key_id: "String",
|
|
28064
28168
|
# performance_insights_retention_period: 1,
|
|
28169
|
+
# backup_retention_period: 1,
|
|
28170
|
+
# preferred_backup_window: "String",
|
|
28065
28171
|
# engine_lifecycle_support: "String",
|
|
28066
28172
|
# tag_specifications: [
|
|
28067
28173
|
# {
|
|
@@ -28807,6 +28913,58 @@ module Aws::RDS
|
|
|
28807
28913
|
#
|
|
28808
28914
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
|
28809
28915
|
#
|
|
28916
|
+
# @option params [Integer] :backup_retention_period
|
|
28917
|
+
# The number of days to retain automated backups. Setting this parameter
|
|
28918
|
+
# to a positive number enables backups. Setting this parameter to 0
|
|
28919
|
+
# disables automated backups.
|
|
28920
|
+
#
|
|
28921
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
28922
|
+
# that lasts from a few seconds to a few minutes, depending on the size
|
|
28923
|
+
# and class of your DB instance.
|
|
28924
|
+
#
|
|
28925
|
+
# </note>
|
|
28926
|
+
#
|
|
28927
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
28928
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
28929
|
+
# For more information, see `ModifyDBCluster`.
|
|
28930
|
+
#
|
|
28931
|
+
# Default: Uses existing setting
|
|
28932
|
+
#
|
|
28933
|
+
# Constraints:
|
|
28934
|
+
#
|
|
28935
|
+
# * Must be a value from 0 to 35.
|
|
28936
|
+
#
|
|
28937
|
+
# * Can't be set to 0 if the DB instance is a source to read replicas.
|
|
28938
|
+
#
|
|
28939
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
28940
|
+
#
|
|
28941
|
+
# @option params [String] :preferred_backup_window
|
|
28942
|
+
# The daily time range during which automated backups are created if
|
|
28943
|
+
# automated backups are enabled, as determined by the
|
|
28944
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
28945
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
28946
|
+
# as possible. The default is a 30-minute window selected at random from
|
|
28947
|
+
# an 8-hour block of time for each Amazon Web Services Region. For more
|
|
28948
|
+
# information, see [Backup window][1] in the *Amazon RDS User Guide*.
|
|
28949
|
+
#
|
|
28950
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
28951
|
+
# time range for creating automated backups is managed by the DB
|
|
28952
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
28953
|
+
#
|
|
28954
|
+
# Constraints:
|
|
28955
|
+
#
|
|
28956
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
28957
|
+
#
|
|
28958
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
28959
|
+
#
|
|
28960
|
+
# * Must not conflict with the preferred maintenance window.
|
|
28961
|
+
#
|
|
28962
|
+
# * Must be at least 30 minutes.
|
|
28963
|
+
#
|
|
28964
|
+
#
|
|
28965
|
+
#
|
|
28966
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
28967
|
+
#
|
|
28810
28968
|
# @option params [Boolean] :dedicated_log_volume
|
|
28811
28969
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
28812
28970
|
# instance.
|
|
@@ -29010,6 +29168,8 @@ module Aws::RDS
|
|
|
29010
29168
|
# custom_iam_instance_profile: "String",
|
|
29011
29169
|
# allocated_storage: 1,
|
|
29012
29170
|
# db_cluster_snapshot_identifier: "String",
|
|
29171
|
+
# backup_retention_period: 1,
|
|
29172
|
+
# preferred_backup_window: "String",
|
|
29013
29173
|
# dedicated_log_volume: false,
|
|
29014
29174
|
# ca_certificate_identifier: "String",
|
|
29015
29175
|
# engine_lifecycle_support: "String",
|
|
@@ -30681,6 +30841,58 @@ module Aws::RDS
|
|
|
30681
30841
|
#
|
|
30682
30842
|
# </note>
|
|
30683
30843
|
#
|
|
30844
|
+
# @option params [Integer] :backup_retention_period
|
|
30845
|
+
# The number of days to retain automated backups. Setting this parameter
|
|
30846
|
+
# to a positive number enables backups. Setting this parameter to 0
|
|
30847
|
+
# disables automated backups.
|
|
30848
|
+
#
|
|
30849
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
30850
|
+
# that lasts from a few seconds to a few minutes, depending on the size
|
|
30851
|
+
# and class of your DB instance.
|
|
30852
|
+
#
|
|
30853
|
+
# </note>
|
|
30854
|
+
#
|
|
30855
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
30856
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
30857
|
+
# For more information, see `ModifyDBCluster`.
|
|
30858
|
+
#
|
|
30859
|
+
# Default: Uses existing setting
|
|
30860
|
+
#
|
|
30861
|
+
# Constraints:
|
|
30862
|
+
#
|
|
30863
|
+
# * Must be a value from 0 to 35.
|
|
30864
|
+
#
|
|
30865
|
+
# * Can't be set to 0 if the DB instance is a source to read replicas.
|
|
30866
|
+
#
|
|
30867
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
30868
|
+
#
|
|
30869
|
+
# @option params [String] :preferred_backup_window
|
|
30870
|
+
# The daily time range during which automated backups are created if
|
|
30871
|
+
# automated backups are enabled, as determined by the
|
|
30872
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
30873
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
30874
|
+
# as possible. The default is a 30-minute window selected at random from
|
|
30875
|
+
# an 8-hour block of time for each Amazon Web Services Region. For more
|
|
30876
|
+
# information, see [Backup window][1] in the *Amazon RDS User Guide*.
|
|
30877
|
+
#
|
|
30878
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
30879
|
+
# time range for creating automated backups is managed by the DB
|
|
30880
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
30881
|
+
#
|
|
30882
|
+
# Constraints:
|
|
30883
|
+
#
|
|
30884
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
30885
|
+
#
|
|
30886
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
30887
|
+
#
|
|
30888
|
+
# * Must not conflict with the preferred maintenance window.
|
|
30889
|
+
#
|
|
30890
|
+
# * Must be at least 30 minutes.
|
|
30891
|
+
#
|
|
30892
|
+
#
|
|
30893
|
+
#
|
|
30894
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
30895
|
+
#
|
|
30684
30896
|
# @option params [Boolean] :dedicated_log_volume
|
|
30685
30897
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
30686
30898
|
# instance.
|
|
@@ -30947,6 +31159,8 @@ module Aws::RDS
|
|
|
30947
31159
|
# backup_target: "String",
|
|
30948
31160
|
# custom_iam_instance_profile: "String",
|
|
30949
31161
|
# allocated_storage: 1,
|
|
31162
|
+
# backup_retention_period: 1,
|
|
31163
|
+
# preferred_backup_window: "String",
|
|
30950
31164
|
# dedicated_log_volume: false,
|
|
30951
31165
|
# ca_certificate_identifier: "String",
|
|
30952
31166
|
# engine_lifecycle_support: "String",
|
|
@@ -31959,6 +32173,7 @@ module Aws::RDS
|
|
|
31959
32173
|
# resp.db_instance_automated_backup.timezone #=> String
|
|
31960
32174
|
# resp.db_instance_automated_backup.iam_database_authentication_enabled #=> Boolean
|
|
31961
32175
|
# resp.db_instance_automated_backup.backup_retention_period #=> Integer
|
|
32176
|
+
# resp.db_instance_automated_backup.preferred_backup_window #=> String
|
|
31962
32177
|
# resp.db_instance_automated_backup.db_instance_automated_backups_arn #=> String
|
|
31963
32178
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications #=> Array
|
|
31964
32179
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
|
@@ -32783,6 +32998,7 @@ module Aws::RDS
|
|
|
32783
32998
|
# resp.db_instance_automated_backup.timezone #=> String
|
|
32784
32999
|
# resp.db_instance_automated_backup.iam_database_authentication_enabled #=> Boolean
|
|
32785
33000
|
# resp.db_instance_automated_backup.backup_retention_period #=> Integer
|
|
33001
|
+
# resp.db_instance_automated_backup.preferred_backup_window #=> String
|
|
32786
33002
|
# resp.db_instance_automated_backup.db_instance_automated_backups_arn #=> String
|
|
32787
33003
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications #=> Array
|
|
32788
33004
|
# resp.db_instance_automated_backup.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
|
@@ -33342,7 +33558,7 @@ module Aws::RDS
|
|
|
33342
33558
|
tracer: tracer
|
|
33343
33559
|
)
|
|
33344
33560
|
context[:gem_name] = 'aws-sdk-rds'
|
|
33345
|
-
context[:gem_version] = '1.
|
|
33561
|
+
context[:gem_version] = '1.307.0'
|
|
33346
33562
|
Seahorse::Client::Request.new(handlers, context)
|
|
33347
33563
|
end
|
|
33348
33564
|
|
|
@@ -1565,6 +1565,7 @@ module Aws::RDS
|
|
|
1565
1565
|
DBClusterAutomatedBackup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
|
1566
1566
|
DBClusterAutomatedBackup.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
|
1567
1567
|
DBClusterAutomatedBackup.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
1568
|
+
DBClusterAutomatedBackup.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
1568
1569
|
DBClusterAutomatedBackup.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
|
1569
1570
|
DBClusterAutomatedBackup.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
|
1570
1571
|
DBClusterAutomatedBackup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
|
|
@@ -1708,6 +1709,8 @@ module Aws::RDS
|
|
|
1708
1709
|
DBClusterSnapshot.add_member(:snapshot_type, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotType"))
|
|
1709
1710
|
DBClusterSnapshot.add_member(:percent_progress, Shapes::ShapeRef.new(shape: Integer, location_name: "PercentProgress"))
|
|
1710
1711
|
DBClusterSnapshot.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "StorageEncrypted"))
|
|
1712
|
+
DBClusterSnapshot.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
1713
|
+
DBClusterSnapshot.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
1711
1714
|
DBClusterSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
|
1712
1715
|
DBClusterSnapshot.add_member(:db_cluster_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterSnapshotArn"))
|
|
1713
1716
|
DBClusterSnapshot.add_member(:source_db_cluster_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBClusterSnapshotArn"))
|
|
@@ -1911,6 +1914,7 @@ module Aws::RDS
|
|
|
1911
1914
|
DBInstanceAutomatedBackup.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
|
|
1912
1915
|
DBInstanceAutomatedBackup.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
|
|
1913
1916
|
DBInstanceAutomatedBackup.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
1917
|
+
DBInstanceAutomatedBackup.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
1914
1918
|
DBInstanceAutomatedBackup.add_member(:db_instance_automated_backups_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceAutomatedBackupsArn"))
|
|
1915
1919
|
DBInstanceAutomatedBackup.add_member(:db_instance_automated_backups_replications, Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupsReplicationList, location_name: "DBInstanceAutomatedBackupsReplications"))
|
|
1916
1920
|
DBInstanceAutomatedBackup.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
|
@@ -2187,6 +2191,8 @@ module Aws::RDS
|
|
|
2187
2191
|
DBSnapshot.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
|
2188
2192
|
DBSnapshot.add_member(:tde_credential_arn, Shapes::ShapeRef.new(shape: String, location_name: "TdeCredentialArn"))
|
|
2189
2193
|
DBSnapshot.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
|
2194
|
+
DBSnapshot.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
2195
|
+
DBSnapshot.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
2190
2196
|
DBSnapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
|
2191
2197
|
DBSnapshot.add_member(:db_snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBSnapshotArn"))
|
|
2192
2198
|
DBSnapshot.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
|
|
@@ -3981,6 +3987,8 @@ module Aws::RDS
|
|
|
3981
3987
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
|
3982
3988
|
RestoreDBClusterFromSnapshotMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
|
3983
3989
|
RestoreDBClusterFromSnapshotMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
|
3990
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
3991
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
3984
3992
|
RestoreDBClusterFromSnapshotMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
3985
3993
|
RestoreDBClusterFromSnapshotMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
3986
3994
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
|
@@ -4022,6 +4030,8 @@ module Aws::RDS
|
|
|
4022
4030
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
|
4023
4031
|
RestoreDBClusterToPointInTimeMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
|
4024
4032
|
RestoreDBClusterToPointInTimeMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
|
4033
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
4034
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
4025
4035
|
RestoreDBClusterToPointInTimeMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
4026
4036
|
RestoreDBClusterToPointInTimeMessage.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecifications"))
|
|
4027
4037
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
|
@@ -4068,6 +4078,8 @@ module Aws::RDS
|
|
|
4068
4078
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
|
4069
4079
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
|
4070
4080
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:db_cluster_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterSnapshotIdentifier"))
|
|
4081
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
4082
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
4071
4083
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DedicatedLogVolume"))
|
|
4072
4084
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
|
4073
4085
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
@@ -4182,6 +4194,8 @@ module Aws::RDS
|
|
|
4182
4194
|
RestoreDBInstanceToPointInTimeMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
|
4183
4195
|
RestoreDBInstanceToPointInTimeMessage.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
|
4184
4196
|
RestoreDBInstanceToPointInTimeMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
|
4197
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "BackupRetentionPeriod"))
|
|
4198
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: String, location_name: "PreferredBackupWindow"))
|
|
4185
4199
|
RestoreDBInstanceToPointInTimeMessage.add_member(:dedicated_log_volume, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DedicatedLogVolume"))
|
|
4186
4200
|
RestoreDBInstanceToPointInTimeMessage.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
|
4187
4201
|
RestoreDBInstanceToPointInTimeMessage.add_member(:engine_lifecycle_support, Shapes::ShapeRef.new(shape: String, location_name: "EngineLifecycleSupport"))
|
|
@@ -2849,6 +2849,8 @@ module Aws::RDS
|
|
|
2849
2849
|
# enable_performance_insights: false,
|
|
2850
2850
|
# performance_insights_kms_key_id: "String",
|
|
2851
2851
|
# performance_insights_retention_period: 1,
|
|
2852
|
+
# backup_retention_period: 1,
|
|
2853
|
+
# preferred_backup_window: "String",
|
|
2852
2854
|
# engine_lifecycle_support: "String",
|
|
2853
2855
|
# tag_specifications: [
|
|
2854
2856
|
# {
|
|
@@ -3277,6 +3279,44 @@ module Aws::RDS
|
|
|
3277
3279
|
#
|
|
3278
3280
|
# If you specify a retention period that isn't valid, such as `94`,
|
|
3279
3281
|
# Amazon RDS issues an error.
|
|
3282
|
+
# @option options [Integer] :backup_retention_period
|
|
3283
|
+
# The number of days for which automated backups are retained. Specify a
|
|
3284
|
+
# minimum value of `1`.
|
|
3285
|
+
#
|
|
3286
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
3287
|
+
#
|
|
3288
|
+
# Default: Uses existing setting
|
|
3289
|
+
#
|
|
3290
|
+
# Constraints:
|
|
3291
|
+
#
|
|
3292
|
+
# * Must be a value from 1 to 35.
|
|
3293
|
+
#
|
|
3294
|
+
# ^
|
|
3295
|
+
# @option options [String] :preferred_backup_window
|
|
3296
|
+
# The daily time range during which automated backups are created if
|
|
3297
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
3298
|
+
# parameter.
|
|
3299
|
+
#
|
|
3300
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
3301
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
3302
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
3303
|
+
# Guide*.
|
|
3304
|
+
#
|
|
3305
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
3306
|
+
#
|
|
3307
|
+
# Constraints:
|
|
3308
|
+
#
|
|
3309
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
3310
|
+
#
|
|
3311
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
3312
|
+
#
|
|
3313
|
+
# * Must not conflict with the preferred maintenance window.
|
|
3314
|
+
#
|
|
3315
|
+
# * Must be at least 30 minutes.
|
|
3316
|
+
#
|
|
3317
|
+
#
|
|
3318
|
+
#
|
|
3319
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
3280
3320
|
# @option options [String] :engine_lifecycle_support
|
|
3281
3321
|
# The life cycle type for this DB cluster.
|
|
3282
3322
|
#
|
|
@@ -146,6 +146,20 @@ module Aws::RDS
|
|
|
146
146
|
data[:storage_encrypted]
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
+
# The number of days for which automatic DB snapshots are retained.
|
|
150
|
+
# @return [Integer]
|
|
151
|
+
def backup_retention_period
|
|
152
|
+
data[:backup_retention_period]
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# The daily time range during which automated backups are created if
|
|
156
|
+
# automated backups are enabled, as determined by the
|
|
157
|
+
# `BackupRetentionPeriod`.
|
|
158
|
+
# @return [String]
|
|
159
|
+
def preferred_backup_window
|
|
160
|
+
data[:preferred_backup_window]
|
|
161
|
+
end
|
|
162
|
+
|
|
149
163
|
# If `StorageEncrypted` is true, the Amazon Web Services KMS key
|
|
150
164
|
# identifier for the encrypted DB cluster snapshot.
|
|
151
165
|
#
|
|
@@ -605,6 +619,8 @@ module Aws::RDS
|
|
|
605
619
|
# enable_performance_insights: false,
|
|
606
620
|
# performance_insights_kms_key_id: "String",
|
|
607
621
|
# performance_insights_retention_period: 1,
|
|
622
|
+
# backup_retention_period: 1,
|
|
623
|
+
# preferred_backup_window: "String",
|
|
608
624
|
# engine_lifecycle_support: "String",
|
|
609
625
|
# tag_specifications: [
|
|
610
626
|
# {
|
|
@@ -1049,6 +1065,44 @@ module Aws::RDS
|
|
|
1049
1065
|
#
|
|
1050
1066
|
# If you specify a retention period that isn't valid, such as `94`,
|
|
1051
1067
|
# Amazon RDS issues an error.
|
|
1068
|
+
# @option options [Integer] :backup_retention_period
|
|
1069
|
+
# The number of days for which automated backups are retained. Specify a
|
|
1070
|
+
# minimum value of `1`.
|
|
1071
|
+
#
|
|
1072
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
1073
|
+
#
|
|
1074
|
+
# Default: Uses existing setting
|
|
1075
|
+
#
|
|
1076
|
+
# Constraints:
|
|
1077
|
+
#
|
|
1078
|
+
# * Must be a value from 1 to 35.
|
|
1079
|
+
#
|
|
1080
|
+
# ^
|
|
1081
|
+
# @option options [String] :preferred_backup_window
|
|
1082
|
+
# The daily time range during which automated backups are created if
|
|
1083
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
1084
|
+
# parameter.
|
|
1085
|
+
#
|
|
1086
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
1087
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
1088
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
1089
|
+
# Guide*.
|
|
1090
|
+
#
|
|
1091
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
1092
|
+
#
|
|
1093
|
+
# Constraints:
|
|
1094
|
+
#
|
|
1095
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
1096
|
+
#
|
|
1097
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
1098
|
+
#
|
|
1099
|
+
# * Must not conflict with the preferred maintenance window.
|
|
1100
|
+
#
|
|
1101
|
+
# * Must be at least 30 minutes.
|
|
1102
|
+
#
|
|
1103
|
+
#
|
|
1104
|
+
#
|
|
1105
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
1052
1106
|
# @option options [String] :engine_lifecycle_support
|
|
1053
1107
|
# The life cycle type for this DB cluster.
|
|
1054
1108
|
#
|
|
@@ -4587,6 +4587,8 @@ module Aws::RDS
|
|
|
4587
4587
|
# backup_target: "String",
|
|
4588
4588
|
# custom_iam_instance_profile: "String",
|
|
4589
4589
|
# allocated_storage: 1,
|
|
4590
|
+
# backup_retention_period: 1,
|
|
4591
|
+
# preferred_backup_window: "String",
|
|
4590
4592
|
# dedicated_log_volume: false,
|
|
4591
4593
|
# ca_certificate_identifier: "String",
|
|
4592
4594
|
# engine_lifecycle_support: "String",
|
|
@@ -5125,6 +5127,56 @@ module Aws::RDS
|
|
|
5125
5127
|
# storage for future growth.
|
|
5126
5128
|
#
|
|
5127
5129
|
# </note>
|
|
5130
|
+
# @option options [Integer] :backup_retention_period
|
|
5131
|
+
# The number of days to retain automated backups. Setting this parameter
|
|
5132
|
+
# to a positive number enables backups. Setting this parameter to 0
|
|
5133
|
+
# disables automated backups.
|
|
5134
|
+
#
|
|
5135
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
5136
|
+
# that lasts from a few seconds to a few minutes, depending on the size
|
|
5137
|
+
# and class of your DB instance.
|
|
5138
|
+
#
|
|
5139
|
+
# </note>
|
|
5140
|
+
#
|
|
5141
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
5142
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
5143
|
+
# For more information, see `ModifyDBCluster`.
|
|
5144
|
+
#
|
|
5145
|
+
# Default: Uses existing setting
|
|
5146
|
+
#
|
|
5147
|
+
# Constraints:
|
|
5148
|
+
#
|
|
5149
|
+
# * Must be a value from 0 to 35.
|
|
5150
|
+
#
|
|
5151
|
+
# * Can't be set to 0 if the DB instance is a source to read replicas.
|
|
5152
|
+
#
|
|
5153
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
5154
|
+
# @option options [String] :preferred_backup_window
|
|
5155
|
+
# The daily time range during which automated backups are created if
|
|
5156
|
+
# automated backups are enabled, as determined by the
|
|
5157
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
5158
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
5159
|
+
# as possible. The default is a 30-minute window selected at random from
|
|
5160
|
+
# an 8-hour block of time for each Amazon Web Services Region. For more
|
|
5161
|
+
# information, see [Backup window][1] in the *Amazon RDS User Guide*.
|
|
5162
|
+
#
|
|
5163
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
5164
|
+
# time range for creating automated backups is managed by the DB
|
|
5165
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
5166
|
+
#
|
|
5167
|
+
# Constraints:
|
|
5168
|
+
#
|
|
5169
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
5170
|
+
#
|
|
5171
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
5172
|
+
#
|
|
5173
|
+
# * Must not conflict with the preferred maintenance window.
|
|
5174
|
+
#
|
|
5175
|
+
# * Must be at least 30 minutes.
|
|
5176
|
+
#
|
|
5177
|
+
#
|
|
5178
|
+
#
|
|
5179
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
5128
5180
|
# @option options [Boolean] :dedicated_log_volume
|
|
5129
5181
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
5130
5182
|
# instance.
|
|
@@ -179,6 +179,20 @@ module Aws::RDS
|
|
|
179
179
|
data[:encrypted]
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
# The number of days for which automatic DB snapshots are retained.
|
|
183
|
+
# @return [Integer]
|
|
184
|
+
def backup_retention_period
|
|
185
|
+
data[:backup_retention_period]
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# The daily time range during which automated backups are created if
|
|
189
|
+
# automated backups are enabled, as determined by the
|
|
190
|
+
# `BackupRetentionPeriod`.
|
|
191
|
+
# @return [String]
|
|
192
|
+
def preferred_backup_window
|
|
193
|
+
data[:preferred_backup_window]
|
|
194
|
+
end
|
|
195
|
+
|
|
182
196
|
# If `Encrypted` is true, the Amazon Web Services KMS key identifier for
|
|
183
197
|
# the encrypted DB snapshot.
|
|
184
198
|
#
|
|
@@ -749,6 +763,8 @@ module Aws::RDS
|
|
|
749
763
|
# custom_iam_instance_profile: "String",
|
|
750
764
|
# allocated_storage: 1,
|
|
751
765
|
# db_cluster_snapshot_identifier: "String",
|
|
766
|
+
# backup_retention_period: 1,
|
|
767
|
+
# preferred_backup_window: "String",
|
|
752
768
|
# dedicated_log_volume: false,
|
|
753
769
|
# ca_certificate_identifier: "String",
|
|
754
770
|
# engine_lifecycle_support: "String",
|
|
@@ -1260,6 +1276,56 @@ module Aws::RDS
|
|
|
1260
1276
|
#
|
|
1261
1277
|
#
|
|
1262
1278
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
|
1279
|
+
# @option options [Integer] :backup_retention_period
|
|
1280
|
+
# The number of days to retain automated backups. Setting this parameter
|
|
1281
|
+
# to a positive number enables backups. Setting this parameter to 0
|
|
1282
|
+
# disables automated backups.
|
|
1283
|
+
#
|
|
1284
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
1285
|
+
# that lasts from a few seconds to a few minutes, depending on the size
|
|
1286
|
+
# and class of your DB instance.
|
|
1287
|
+
#
|
|
1288
|
+
# </note>
|
|
1289
|
+
#
|
|
1290
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
1291
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
1292
|
+
# For more information, see `ModifyDBCluster`.
|
|
1293
|
+
#
|
|
1294
|
+
# Default: Uses existing setting
|
|
1295
|
+
#
|
|
1296
|
+
# Constraints:
|
|
1297
|
+
#
|
|
1298
|
+
# * Must be a value from 0 to 35.
|
|
1299
|
+
#
|
|
1300
|
+
# * Can't be set to 0 if the DB instance is a source to read replicas.
|
|
1301
|
+
#
|
|
1302
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
1303
|
+
# @option options [String] :preferred_backup_window
|
|
1304
|
+
# The daily time range during which automated backups are created if
|
|
1305
|
+
# automated backups are enabled, as determined by the
|
|
1306
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
1307
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
1308
|
+
# as possible. The default is a 30-minute window selected at random from
|
|
1309
|
+
# an 8-hour block of time for each Amazon Web Services Region. For more
|
|
1310
|
+
# information, see [Backup window][1] in the *Amazon RDS User Guide*.
|
|
1311
|
+
#
|
|
1312
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
1313
|
+
# time range for creating automated backups is managed by the DB
|
|
1314
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
1315
|
+
#
|
|
1316
|
+
# Constraints:
|
|
1317
|
+
#
|
|
1318
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
1319
|
+
#
|
|
1320
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
1321
|
+
#
|
|
1322
|
+
# * Must not conflict with the preferred maintenance window.
|
|
1323
|
+
#
|
|
1324
|
+
# * Must be at least 30 minutes.
|
|
1325
|
+
#
|
|
1326
|
+
#
|
|
1327
|
+
#
|
|
1328
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
1263
1329
|
# @option options [Boolean] :dedicated_log_volume
|
|
1264
1330
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
1265
1331
|
# instance.
|
data/lib/aws-sdk-rds/types.rb
CHANGED
|
@@ -8125,6 +8125,12 @@ module Aws::RDS
|
|
|
8125
8125
|
# The retention period for the automated backups.
|
|
8126
8126
|
# @return [Integer]
|
|
8127
8127
|
#
|
|
8128
|
+
# @!attribute [rw] preferred_backup_window
|
|
8129
|
+
# The daily time range during which automated backups are created if
|
|
8130
|
+
# automated backups are enabled, as determined by the
|
|
8131
|
+
# `BackupRetentionPeriod`.
|
|
8132
|
+
# @return [String]
|
|
8133
|
+
#
|
|
8128
8134
|
# @!attribute [rw] engine_mode
|
|
8129
8135
|
# The engine mode of the database engine for the automated backup.
|
|
8130
8136
|
# @return [String]
|
|
@@ -8212,6 +8218,7 @@ module Aws::RDS
|
|
|
8212
8218
|
:engine_version,
|
|
8213
8219
|
:db_cluster_arn,
|
|
8214
8220
|
:backup_retention_period,
|
|
8221
|
+
:preferred_backup_window,
|
|
8215
8222
|
:engine_mode,
|
|
8216
8223
|
:availability_zones,
|
|
8217
8224
|
:port,
|
|
@@ -8844,6 +8851,16 @@ module Aws::RDS
|
|
|
8844
8851
|
# Indicates whether the DB cluster snapshot is encrypted.
|
|
8845
8852
|
# @return [Boolean]
|
|
8846
8853
|
#
|
|
8854
|
+
# @!attribute [rw] backup_retention_period
|
|
8855
|
+
# The number of days for which automatic DB snapshots are retained.
|
|
8856
|
+
# @return [Integer]
|
|
8857
|
+
#
|
|
8858
|
+
# @!attribute [rw] preferred_backup_window
|
|
8859
|
+
# The daily time range during which automated backups are created if
|
|
8860
|
+
# automated backups are enabled, as determined by the
|
|
8861
|
+
# `BackupRetentionPeriod`.
|
|
8862
|
+
# @return [String]
|
|
8863
|
+
#
|
|
8847
8864
|
# @!attribute [rw] kms_key_id
|
|
8848
8865
|
# If `StorageEncrypted` is true, the Amazon Web Services KMS key
|
|
8849
8866
|
# identifier for the encrypted DB cluster snapshot.
|
|
@@ -8923,6 +8940,8 @@ module Aws::RDS
|
|
|
8923
8940
|
:snapshot_type,
|
|
8924
8941
|
:percent_progress,
|
|
8925
8942
|
:storage_encrypted,
|
|
8943
|
+
:backup_retention_period,
|
|
8944
|
+
:preferred_backup_window,
|
|
8926
8945
|
:kms_key_id,
|
|
8927
8946
|
:db_cluster_snapshot_arn,
|
|
8928
8947
|
:source_db_cluster_snapshot_arn,
|
|
@@ -10254,6 +10273,12 @@ module Aws::RDS
|
|
|
10254
10273
|
# The retention period for the automated backups.
|
|
10255
10274
|
# @return [Integer]
|
|
10256
10275
|
#
|
|
10276
|
+
# @!attribute [rw] preferred_backup_window
|
|
10277
|
+
# The daily time range during which automated backups are created if
|
|
10278
|
+
# automated backups are enabled, as determined by the
|
|
10279
|
+
# `BackupRetentionPeriod`.
|
|
10280
|
+
# @return [String]
|
|
10281
|
+
#
|
|
10257
10282
|
# @!attribute [rw] db_instance_automated_backups_arn
|
|
10258
10283
|
# The Amazon Resource Name (ARN) for the replicated automated backups.
|
|
10259
10284
|
# @return [String]
|
|
@@ -10332,6 +10357,7 @@ module Aws::RDS
|
|
|
10332
10357
|
:timezone,
|
|
10333
10358
|
:iam_database_authentication_enabled,
|
|
10334
10359
|
:backup_retention_period,
|
|
10360
|
+
:preferred_backup_window,
|
|
10335
10361
|
:db_instance_automated_backups_arn,
|
|
10336
10362
|
:db_instance_automated_backups_replications,
|
|
10337
10363
|
:backup_target,
|
|
@@ -11696,6 +11722,16 @@ module Aws::RDS
|
|
|
11696
11722
|
# Indicates whether the DB snapshot is encrypted.
|
|
11697
11723
|
# @return [Boolean]
|
|
11698
11724
|
#
|
|
11725
|
+
# @!attribute [rw] backup_retention_period
|
|
11726
|
+
# The number of days for which automatic DB snapshots are retained.
|
|
11727
|
+
# @return [Integer]
|
|
11728
|
+
#
|
|
11729
|
+
# @!attribute [rw] preferred_backup_window
|
|
11730
|
+
# The daily time range during which automated backups are created if
|
|
11731
|
+
# automated backups are enabled, as determined by the
|
|
11732
|
+
# `BackupRetentionPeriod`.
|
|
11733
|
+
# @return [String]
|
|
11734
|
+
#
|
|
11699
11735
|
# @!attribute [rw] kms_key_id
|
|
11700
11736
|
# If `Encrypted` is true, the Amazon Web Services KMS key identifier
|
|
11701
11737
|
# for the encrypted DB snapshot.
|
|
@@ -11822,6 +11858,8 @@ module Aws::RDS
|
|
|
11822
11858
|
:storage_type,
|
|
11823
11859
|
:tde_credential_arn,
|
|
11824
11860
|
:encrypted,
|
|
11861
|
+
:backup_retention_period,
|
|
11862
|
+
:preferred_backup_window,
|
|
11825
11863
|
:kms_key_id,
|
|
11826
11864
|
:db_snapshot_arn,
|
|
11827
11865
|
:timezone,
|
|
@@ -25011,6 +25049,48 @@ module Aws::RDS
|
|
|
25011
25049
|
# Amazon RDS issues an error.
|
|
25012
25050
|
# @return [Integer]
|
|
25013
25051
|
#
|
|
25052
|
+
# @!attribute [rw] backup_retention_period
|
|
25053
|
+
# The number of days for which automated backups are retained. Specify
|
|
25054
|
+
# a minimum value of `1`.
|
|
25055
|
+
#
|
|
25056
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
25057
|
+
#
|
|
25058
|
+
# Default: Uses existing setting
|
|
25059
|
+
#
|
|
25060
|
+
# Constraints:
|
|
25061
|
+
#
|
|
25062
|
+
# * Must be a value from 1 to 35.
|
|
25063
|
+
#
|
|
25064
|
+
# ^
|
|
25065
|
+
# @return [Integer]
|
|
25066
|
+
#
|
|
25067
|
+
# @!attribute [rw] preferred_backup_window
|
|
25068
|
+
# The daily time range during which automated backups are created if
|
|
25069
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
25070
|
+
# parameter.
|
|
25071
|
+
#
|
|
25072
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
25073
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
25074
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
25075
|
+
# Guide*.
|
|
25076
|
+
#
|
|
25077
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
25078
|
+
#
|
|
25079
|
+
# Constraints:
|
|
25080
|
+
#
|
|
25081
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
25082
|
+
#
|
|
25083
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
25084
|
+
#
|
|
25085
|
+
# * Must not conflict with the preferred maintenance window.
|
|
25086
|
+
#
|
|
25087
|
+
# * Must be at least 30 minutes.
|
|
25088
|
+
#
|
|
25089
|
+
#
|
|
25090
|
+
#
|
|
25091
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
25092
|
+
# @return [String]
|
|
25093
|
+
#
|
|
25014
25094
|
# @!attribute [rw] engine_lifecycle_support
|
|
25015
25095
|
# The life cycle type for this DB cluster.
|
|
25016
25096
|
#
|
|
@@ -25097,6 +25177,8 @@ module Aws::RDS
|
|
|
25097
25177
|
:enable_performance_insights,
|
|
25098
25178
|
:performance_insights_kms_key_id,
|
|
25099
25179
|
:performance_insights_retention_period,
|
|
25180
|
+
:backup_retention_period,
|
|
25181
|
+
:preferred_backup_window,
|
|
25100
25182
|
:engine_lifecycle_support,
|
|
25101
25183
|
:tag_specifications)
|
|
25102
25184
|
SENSITIVE = []
|
|
@@ -25639,6 +25721,48 @@ module Aws::RDS
|
|
|
25639
25721
|
# Amazon RDS issues an error.
|
|
25640
25722
|
# @return [Integer]
|
|
25641
25723
|
#
|
|
25724
|
+
# @!attribute [rw] backup_retention_period
|
|
25725
|
+
# The number of days for which automated backups are retained. Specify
|
|
25726
|
+
# a minimum value of `1`.
|
|
25727
|
+
#
|
|
25728
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
25729
|
+
#
|
|
25730
|
+
# Default: Uses existing setting
|
|
25731
|
+
#
|
|
25732
|
+
# Constraints:
|
|
25733
|
+
#
|
|
25734
|
+
# * Must be a value from 1 to 35.
|
|
25735
|
+
#
|
|
25736
|
+
# ^
|
|
25737
|
+
# @return [Integer]
|
|
25738
|
+
#
|
|
25739
|
+
# @!attribute [rw] preferred_backup_window
|
|
25740
|
+
# The daily time range during which automated backups are created if
|
|
25741
|
+
# automated backups are enabled, using the `BackupRetentionPeriod`
|
|
25742
|
+
# parameter.
|
|
25743
|
+
#
|
|
25744
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
|
25745
|
+
# block of time for each Amazon Web Services Region. To view the time
|
|
25746
|
+
# blocks available, see [ Backup window][1] in the *Amazon Aurora User
|
|
25747
|
+
# Guide*.
|
|
25748
|
+
#
|
|
25749
|
+
# Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
25750
|
+
#
|
|
25751
|
+
# Constraints:
|
|
25752
|
+
#
|
|
25753
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
25754
|
+
#
|
|
25755
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
25756
|
+
#
|
|
25757
|
+
# * Must not conflict with the preferred maintenance window.
|
|
25758
|
+
#
|
|
25759
|
+
# * Must be at least 30 minutes.
|
|
25760
|
+
#
|
|
25761
|
+
#
|
|
25762
|
+
#
|
|
25763
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow
|
|
25764
|
+
# @return [String]
|
|
25765
|
+
#
|
|
25642
25766
|
# @!attribute [rw] engine_lifecycle_support
|
|
25643
25767
|
# The life cycle type for this DB cluster.
|
|
25644
25768
|
#
|
|
@@ -25725,6 +25849,8 @@ module Aws::RDS
|
|
|
25725
25849
|
:enable_performance_insights,
|
|
25726
25850
|
:performance_insights_kms_key_id,
|
|
25727
25851
|
:performance_insights_retention_period,
|
|
25852
|
+
:backup_retention_period,
|
|
25853
|
+
:preferred_backup_window,
|
|
25728
25854
|
:engine_lifecycle_support,
|
|
25729
25855
|
:tag_specifications)
|
|
25730
25856
|
SENSITIVE = []
|
|
@@ -26354,6 +26480,62 @@ module Aws::RDS
|
|
|
26354
26480
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
|
26355
26481
|
# @return [String]
|
|
26356
26482
|
#
|
|
26483
|
+
# @!attribute [rw] backup_retention_period
|
|
26484
|
+
# The number of days to retain automated backups. Setting this
|
|
26485
|
+
# parameter to a positive number enables backups. Setting this
|
|
26486
|
+
# parameter to 0 disables automated backups.
|
|
26487
|
+
#
|
|
26488
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
26489
|
+
# that lasts from a few seconds to a few minutes, depending on the
|
|
26490
|
+
# size and class of your DB instance.
|
|
26491
|
+
#
|
|
26492
|
+
# </note>
|
|
26493
|
+
#
|
|
26494
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
26495
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
26496
|
+
# For more information, see `ModifyDBCluster`.
|
|
26497
|
+
#
|
|
26498
|
+
# Default: Uses existing setting
|
|
26499
|
+
#
|
|
26500
|
+
# Constraints:
|
|
26501
|
+
#
|
|
26502
|
+
# * Must be a value from 0 to 35.
|
|
26503
|
+
#
|
|
26504
|
+
# * Can't be set to 0 if the DB instance is a source to read
|
|
26505
|
+
# replicas.
|
|
26506
|
+
#
|
|
26507
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
26508
|
+
# @return [Integer]
|
|
26509
|
+
#
|
|
26510
|
+
# @!attribute [rw] preferred_backup_window
|
|
26511
|
+
# The daily time range during which automated backups are created if
|
|
26512
|
+
# automated backups are enabled, as determined by the
|
|
26513
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
26514
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
26515
|
+
# as possible. The default is a 30-minute window selected at random
|
|
26516
|
+
# from an 8-hour block of time for each Amazon Web Services Region.
|
|
26517
|
+
# For more information, see [Backup window][1] in the *Amazon RDS User
|
|
26518
|
+
# Guide*.
|
|
26519
|
+
#
|
|
26520
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
26521
|
+
# time range for creating automated backups is managed by the DB
|
|
26522
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
26523
|
+
#
|
|
26524
|
+
# Constraints:
|
|
26525
|
+
#
|
|
26526
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
26527
|
+
#
|
|
26528
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
26529
|
+
#
|
|
26530
|
+
# * Must not conflict with the preferred maintenance window.
|
|
26531
|
+
#
|
|
26532
|
+
# * Must be at least 30 minutes.
|
|
26533
|
+
#
|
|
26534
|
+
#
|
|
26535
|
+
#
|
|
26536
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
26537
|
+
# @return [String]
|
|
26538
|
+
#
|
|
26357
26539
|
# @!attribute [rw] dedicated_log_volume
|
|
26358
26540
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
26359
26541
|
# instance.
|
|
@@ -26513,6 +26695,8 @@ module Aws::RDS
|
|
|
26513
26695
|
:custom_iam_instance_profile,
|
|
26514
26696
|
:allocated_storage,
|
|
26515
26697
|
:db_cluster_snapshot_identifier,
|
|
26698
|
+
:backup_retention_period,
|
|
26699
|
+
:preferred_backup_window,
|
|
26516
26700
|
:dedicated_log_volume,
|
|
26517
26701
|
:ca_certificate_identifier,
|
|
26518
26702
|
:engine_lifecycle_support,
|
|
@@ -27874,6 +28058,62 @@ module Aws::RDS
|
|
|
27874
28058
|
# </note>
|
|
27875
28059
|
# @return [Integer]
|
|
27876
28060
|
#
|
|
28061
|
+
# @!attribute [rw] backup_retention_period
|
|
28062
|
+
# The number of days to retain automated backups. Setting this
|
|
28063
|
+
# parameter to a positive number enables backups. Setting this
|
|
28064
|
+
# parameter to 0 disables automated backups.
|
|
28065
|
+
#
|
|
28066
|
+
# <note markdown="1"> Enabling and disabling backups can result in a brief I/O suspension
|
|
28067
|
+
# that lasts from a few seconds to a few minutes, depending on the
|
|
28068
|
+
# size and class of your DB instance.
|
|
28069
|
+
#
|
|
28070
|
+
# </note>
|
|
28071
|
+
#
|
|
28072
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The
|
|
28073
|
+
# retention period for automated backups is managed by the DB cluster.
|
|
28074
|
+
# For more information, see `ModifyDBCluster`.
|
|
28075
|
+
#
|
|
28076
|
+
# Default: Uses existing setting
|
|
28077
|
+
#
|
|
28078
|
+
# Constraints:
|
|
28079
|
+
#
|
|
28080
|
+
# * Must be a value from 0 to 35.
|
|
28081
|
+
#
|
|
28082
|
+
# * Can't be set to 0 if the DB instance is a source to read
|
|
28083
|
+
# replicas.
|
|
28084
|
+
#
|
|
28085
|
+
# * Can't be set to 0 for an RDS Custom for Oracle DB instance.
|
|
28086
|
+
# @return [Integer]
|
|
28087
|
+
#
|
|
28088
|
+
# @!attribute [rw] preferred_backup_window
|
|
28089
|
+
# The daily time range during which automated backups are created if
|
|
28090
|
+
# automated backups are enabled, as determined by the
|
|
28091
|
+
# `BackupRetentionPeriod` parameter. Changing this parameter doesn't
|
|
28092
|
+
# result in an outage and the change is asynchronously applied as soon
|
|
28093
|
+
# as possible. The default is a 30-minute window selected at random
|
|
28094
|
+
# from an 8-hour block of time for each Amazon Web Services Region.
|
|
28095
|
+
# For more information, see [Backup window][1] in the *Amazon RDS User
|
|
28096
|
+
# Guide*.
|
|
28097
|
+
#
|
|
28098
|
+
# This setting doesn't apply to Amazon Aurora DB instances. The daily
|
|
28099
|
+
# time range for creating automated backups is managed by the DB
|
|
28100
|
+
# cluster. For more information, see `ModifyDBCluster`.
|
|
28101
|
+
#
|
|
28102
|
+
# Constraints:
|
|
28103
|
+
#
|
|
28104
|
+
# * Must be in the format `hh24:mi-hh24:mi`.
|
|
28105
|
+
#
|
|
28106
|
+
# * Must be in Universal Coordinated Time (UTC).
|
|
28107
|
+
#
|
|
28108
|
+
# * Must not conflict with the preferred maintenance window.
|
|
28109
|
+
#
|
|
28110
|
+
# * Must be at least 30 minutes.
|
|
28111
|
+
#
|
|
28112
|
+
#
|
|
28113
|
+
#
|
|
28114
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
|
28115
|
+
# @return [String]
|
|
28116
|
+
#
|
|
27877
28117
|
# @!attribute [rw] dedicated_log_volume
|
|
27878
28118
|
# Specifies whether to enable a dedicated log volume (DLV) for the DB
|
|
27879
28119
|
# instance.
|
|
@@ -28037,6 +28277,8 @@ module Aws::RDS
|
|
|
28037
28277
|
:backup_target,
|
|
28038
28278
|
:custom_iam_instance_profile,
|
|
28039
28279
|
:allocated_storage,
|
|
28280
|
+
:backup_retention_period,
|
|
28281
|
+
:preferred_backup_window,
|
|
28040
28282
|
:dedicated_log_volume,
|
|
28041
28283
|
:ca_certificate_identifier,
|
|
28042
28284
|
:engine_lifecycle_support,
|
data/lib/aws-sdk-rds.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Aws::RDS
|
|
|
80
80
|
autoload :ReservedDBInstancesOffering, 'aws-sdk-rds/reserved_db_instances_offering'
|
|
81
81
|
autoload :ResourcePendingMaintenanceActionList, 'aws-sdk-rds/resource_pending_maintenance_action_list'
|
|
82
82
|
|
|
83
|
-
GEM_VERSION = '1.
|
|
83
|
+
GEM_VERSION = '1.307.0'
|
|
84
84
|
|
|
85
85
|
end
|
|
86
86
|
|
data/sig/client.rbs
CHANGED
|
@@ -3170,6 +3170,8 @@ module Aws
|
|
|
3170
3170
|
?enable_performance_insights: bool,
|
|
3171
3171
|
?performance_insights_kms_key_id: ::String,
|
|
3172
3172
|
?performance_insights_retention_period: ::Integer,
|
|
3173
|
+
?backup_retention_period: ::Integer,
|
|
3174
|
+
?preferred_backup_window: ::String,
|
|
3173
3175
|
?engine_lifecycle_support: ::String,
|
|
3174
3176
|
?tag_specifications: Array[
|
|
3175
3177
|
{
|
|
@@ -3245,6 +3247,8 @@ module Aws
|
|
|
3245
3247
|
?enable_performance_insights: bool,
|
|
3246
3248
|
?performance_insights_kms_key_id: ::String,
|
|
3247
3249
|
?performance_insights_retention_period: ::Integer,
|
|
3250
|
+
?backup_retention_period: ::Integer,
|
|
3251
|
+
?preferred_backup_window: ::String,
|
|
3248
3252
|
?engine_lifecycle_support: ::String,
|
|
3249
3253
|
?tag_specifications: Array[
|
|
3250
3254
|
{
|
|
@@ -3315,6 +3319,8 @@ module Aws
|
|
|
3315
3319
|
?custom_iam_instance_profile: ::String,
|
|
3316
3320
|
?allocated_storage: ::Integer,
|
|
3317
3321
|
?db_cluster_snapshot_identifier: ::String,
|
|
3322
|
+
?backup_retention_period: ::Integer,
|
|
3323
|
+
?preferred_backup_window: ::String,
|
|
3318
3324
|
?dedicated_log_volume: bool,
|
|
3319
3325
|
?ca_certificate_identifier: ::String,
|
|
3320
3326
|
?engine_lifecycle_support: ::String,
|
|
@@ -3495,6 +3501,8 @@ module Aws
|
|
|
3495
3501
|
?backup_target: ::String,
|
|
3496
3502
|
?custom_iam_instance_profile: ::String,
|
|
3497
3503
|
?allocated_storage: ::Integer,
|
|
3504
|
+
?backup_retention_period: ::Integer,
|
|
3505
|
+
?preferred_backup_window: ::String,
|
|
3498
3506
|
?dedicated_log_volume: bool,
|
|
3499
3507
|
?ca_certificate_identifier: ::String,
|
|
3500
3508
|
?engine_lifecycle_support: ::String,
|
data/sig/db_cluster.rbs
CHANGED
|
@@ -522,6 +522,8 @@ module Aws
|
|
|
522
522
|
?enable_performance_insights: bool,
|
|
523
523
|
?performance_insights_kms_key_id: ::String,
|
|
524
524
|
?performance_insights_retention_period: ::Integer,
|
|
525
|
+
?backup_retention_period: ::Integer,
|
|
526
|
+
?preferred_backup_window: ::String,
|
|
525
527
|
?engine_lifecycle_support: ::String,
|
|
526
528
|
?tag_specifications: Array[
|
|
527
529
|
{
|
data/sig/db_cluster_snapshot.rbs
CHANGED
|
@@ -67,6 +67,12 @@ module Aws
|
|
|
67
67
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterSnapshot.html#storage_encrypted-instance_method
|
|
68
68
|
def storage_encrypted: () -> bool
|
|
69
69
|
|
|
70
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterSnapshot.html#backup_retention_period-instance_method
|
|
71
|
+
def backup_retention_period: () -> ::Integer
|
|
72
|
+
|
|
73
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterSnapshot.html#preferred_backup_window-instance_method
|
|
74
|
+
def preferred_backup_window: () -> ::String
|
|
75
|
+
|
|
70
76
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBClusterSnapshot.html#kms_key_id-instance_method
|
|
71
77
|
def kms_key_id: () -> ::String
|
|
72
78
|
|
|
@@ -194,6 +200,8 @@ module Aws
|
|
|
194
200
|
?enable_performance_insights: bool,
|
|
195
201
|
?performance_insights_kms_key_id: ::String,
|
|
196
202
|
?performance_insights_retention_period: ::Integer,
|
|
203
|
+
?backup_retention_period: ::Integer,
|
|
204
|
+
?preferred_backup_window: ::String,
|
|
197
205
|
?engine_lifecycle_support: ::String,
|
|
198
206
|
?tag_specifications: Array[
|
|
199
207
|
{
|
data/sig/db_instance.rbs
CHANGED
|
@@ -675,6 +675,8 @@ module Aws
|
|
|
675
675
|
?backup_target: ::String,
|
|
676
676
|
?custom_iam_instance_profile: ::String,
|
|
677
677
|
?allocated_storage: ::Integer,
|
|
678
|
+
?backup_retention_period: ::Integer,
|
|
679
|
+
?preferred_backup_window: ::String,
|
|
678
680
|
?dedicated_log_volume: bool,
|
|
679
681
|
?ca_certificate_identifier: ::String,
|
|
680
682
|
?engine_lifecycle_support: ::String,
|
data/sig/db_snapshot.rbs
CHANGED
|
@@ -85,6 +85,12 @@ module Aws
|
|
|
85
85
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#encrypted-instance_method
|
|
86
86
|
def encrypted: () -> bool
|
|
87
87
|
|
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#backup_retention_period-instance_method
|
|
89
|
+
def backup_retention_period: () -> ::Integer
|
|
90
|
+
|
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#preferred_backup_window-instance_method
|
|
92
|
+
def preferred_backup_window: () -> ::String
|
|
93
|
+
|
|
88
94
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBSnapshot.html#kms_key_id-instance_method
|
|
89
95
|
def kms_key_id: () -> ::String
|
|
90
96
|
|
|
@@ -230,6 +236,8 @@ module Aws
|
|
|
230
236
|
?custom_iam_instance_profile: ::String,
|
|
231
237
|
?allocated_storage: ::Integer,
|
|
232
238
|
?db_cluster_snapshot_identifier: ::String,
|
|
239
|
+
?backup_retention_period: ::Integer,
|
|
240
|
+
?preferred_backup_window: ::String,
|
|
233
241
|
?dedicated_log_volume: bool,
|
|
234
242
|
?ca_certificate_identifier: ::String,
|
|
235
243
|
?engine_lifecycle_support: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -916,6 +916,7 @@ module Aws::RDS
|
|
|
916
916
|
attr_accessor engine_version: ::String
|
|
917
917
|
attr_accessor db_cluster_arn: ::String
|
|
918
918
|
attr_accessor backup_retention_period: ::Integer
|
|
919
|
+
attr_accessor preferred_backup_window: ::String
|
|
919
920
|
attr_accessor engine_mode: ::String
|
|
920
921
|
attr_accessor availability_zones: ::Array[::String]
|
|
921
922
|
attr_accessor port: ::Integer
|
|
@@ -1085,6 +1086,8 @@ module Aws::RDS
|
|
|
1085
1086
|
attr_accessor snapshot_type: ::String
|
|
1086
1087
|
attr_accessor percent_progress: ::Integer
|
|
1087
1088
|
attr_accessor storage_encrypted: bool
|
|
1089
|
+
attr_accessor backup_retention_period: ::Integer
|
|
1090
|
+
attr_accessor preferred_backup_window: ::String
|
|
1088
1091
|
attr_accessor kms_key_id: ::String
|
|
1089
1092
|
attr_accessor db_cluster_snapshot_arn: ::String
|
|
1090
1093
|
attr_accessor source_db_cluster_snapshot_arn: ::String
|
|
@@ -1299,6 +1302,7 @@ module Aws::RDS
|
|
|
1299
1302
|
attr_accessor timezone: ::String
|
|
1300
1303
|
attr_accessor iam_database_authentication_enabled: bool
|
|
1301
1304
|
attr_accessor backup_retention_period: ::Integer
|
|
1305
|
+
attr_accessor preferred_backup_window: ::String
|
|
1302
1306
|
attr_accessor db_instance_automated_backups_arn: ::String
|
|
1303
1307
|
attr_accessor db_instance_automated_backups_replications: ::Array[Types::DBInstanceAutomatedBackupsReplication]
|
|
1304
1308
|
attr_accessor backup_target: ::String
|
|
@@ -1617,6 +1621,8 @@ module Aws::RDS
|
|
|
1617
1621
|
attr_accessor storage_type: ::String
|
|
1618
1622
|
attr_accessor tde_credential_arn: ::String
|
|
1619
1623
|
attr_accessor encrypted: bool
|
|
1624
|
+
attr_accessor backup_retention_period: ::Integer
|
|
1625
|
+
attr_accessor preferred_backup_window: ::String
|
|
1620
1626
|
attr_accessor kms_key_id: ::String
|
|
1621
1627
|
attr_accessor db_snapshot_arn: ::String
|
|
1622
1628
|
attr_accessor timezone: ::String
|
|
@@ -3846,6 +3852,8 @@ module Aws::RDS
|
|
|
3846
3852
|
attr_accessor enable_performance_insights: bool
|
|
3847
3853
|
attr_accessor performance_insights_kms_key_id: ::String
|
|
3848
3854
|
attr_accessor performance_insights_retention_period: ::Integer
|
|
3855
|
+
attr_accessor backup_retention_period: ::Integer
|
|
3856
|
+
attr_accessor preferred_backup_window: ::String
|
|
3849
3857
|
attr_accessor engine_lifecycle_support: ::String
|
|
3850
3858
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3851
3859
|
SENSITIVE: []
|
|
@@ -3891,6 +3899,8 @@ module Aws::RDS
|
|
|
3891
3899
|
attr_accessor enable_performance_insights: bool
|
|
3892
3900
|
attr_accessor performance_insights_kms_key_id: ::String
|
|
3893
3901
|
attr_accessor performance_insights_retention_period: ::Integer
|
|
3902
|
+
attr_accessor backup_retention_period: ::Integer
|
|
3903
|
+
attr_accessor preferred_backup_window: ::String
|
|
3894
3904
|
attr_accessor engine_lifecycle_support: ::String
|
|
3895
3905
|
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
|
3896
3906
|
SENSITIVE: []
|
|
@@ -3941,6 +3951,8 @@ module Aws::RDS
|
|
|
3941
3951
|
attr_accessor custom_iam_instance_profile: ::String
|
|
3942
3952
|
attr_accessor allocated_storage: ::Integer
|
|
3943
3953
|
attr_accessor db_cluster_snapshot_identifier: ::String
|
|
3954
|
+
attr_accessor backup_retention_period: ::Integer
|
|
3955
|
+
attr_accessor preferred_backup_window: ::String
|
|
3944
3956
|
attr_accessor dedicated_log_volume: bool
|
|
3945
3957
|
attr_accessor ca_certificate_identifier: ::String
|
|
3946
3958
|
attr_accessor engine_lifecycle_support: ::String
|
|
@@ -4063,6 +4075,8 @@ module Aws::RDS
|
|
|
4063
4075
|
attr_accessor backup_target: ::String
|
|
4064
4076
|
attr_accessor custom_iam_instance_profile: ::String
|
|
4065
4077
|
attr_accessor allocated_storage: ::Integer
|
|
4078
|
+
attr_accessor backup_retention_period: ::Integer
|
|
4079
|
+
attr_accessor preferred_backup_window: ::String
|
|
4066
4080
|
attr_accessor dedicated_log_volume: bool
|
|
4067
4081
|
attr_accessor ca_certificate_identifier: ::String
|
|
4068
4082
|
attr_accessor engine_lifecycle_support: ::String
|