aws-sdk-rds 1.31.0 → 1.32.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/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +132 -1
- data/lib/aws-sdk-rds/client_api.rb +13 -0
- data/lib/aws-sdk-rds/db_cluster.rb +21 -0
- data/lib/aws-sdk-rds/db_cluster_snapshot.rb +5 -0
- data/lib/aws-sdk-rds/db_instance.rb +51 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +10 -0
- data/lib/aws-sdk-rds/resource.rb +15 -0
- data/lib/aws-sdk-rds/types.rb +144 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9339322162ca4919fed4f2a37a90fbdf5417479e
|
4
|
+
data.tar.gz: 15118fc767178aee49f0f8dcd2b9df86b038607d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d77f1d653e3931db5a4259051d955381ddac532916ec0b7a951d60cc4000a523442a3a6dab1f2554c7f53ac30c248c651125b6f5ad4c9a89e3f92d7af7266c5
|
7
|
+
data.tar.gz: 0f03e46c9a4747866330e09f5f64a1a99eb4374ff90c41d5b27514458242ae4dfd86038ceedac7411528022b4981a0c0bf07e462f0be9756448fb9389d72f2f4
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1748,6 +1748,11 @@ module Aws::RDS
|
|
1748
1748
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
1749
1749
|
# of the DB cluster.
|
1750
1750
|
#
|
1751
|
+
# @option params [Boolean] :deletion_protection
|
1752
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
1753
|
+
# The database can't be deleted when this value is set to true. The
|
1754
|
+
# default is false.
|
1755
|
+
#
|
1751
1756
|
# @option params [String] :source_region
|
1752
1757
|
# The source region of the snapshot. This is only needed when the
|
1753
1758
|
# shapshot is encrypted and in a different region.
|
@@ -1822,6 +1827,7 @@ module Aws::RDS
|
|
1822
1827
|
# auto_pause: false,
|
1823
1828
|
# seconds_until_auto_pause: 1,
|
1824
1829
|
# },
|
1830
|
+
# deletion_protection: false,
|
1825
1831
|
# source_region: "String",
|
1826
1832
|
# })
|
1827
1833
|
#
|
@@ -1886,6 +1892,7 @@ module Aws::RDS
|
|
1886
1892
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
1887
1893
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
1888
1894
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
1895
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
1889
1896
|
#
|
1890
1897
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
|
1891
1898
|
#
|
@@ -2915,6 +2922,16 @@ module Aws::RDS
|
|
2915
2922
|
# The number of CPU cores and the number of threads per core for the DB
|
2916
2923
|
# instance class of the DB instance.
|
2917
2924
|
#
|
2925
|
+
# @option params [Boolean] :deletion_protection
|
2926
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
2927
|
+
# The database can't be deleted when this value is set to true. The
|
2928
|
+
# default is false. For more information, see [ Deleting a DB
|
2929
|
+
# Instance][1].
|
2930
|
+
#
|
2931
|
+
#
|
2932
|
+
#
|
2933
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
2934
|
+
#
|
2918
2935
|
# @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2919
2936
|
#
|
2920
2937
|
# * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -2996,6 +3013,7 @@ module Aws::RDS
|
|
2996
3013
|
# value: "String",
|
2997
3014
|
# },
|
2998
3015
|
# ],
|
3016
|
+
# deletion_protection: false,
|
2999
3017
|
# })
|
3000
3018
|
#
|
3001
3019
|
# @example Response structure
|
@@ -3104,6 +3122,7 @@ module Aws::RDS
|
|
3104
3122
|
# resp.db_instance.processor_features #=> Array
|
3105
3123
|
# resp.db_instance.processor_features[0].name #=> String
|
3106
3124
|
# resp.db_instance.processor_features[0].value #=> String
|
3125
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
3107
3126
|
#
|
3108
3127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
3109
3128
|
#
|
@@ -3427,6 +3446,16 @@ module Aws::RDS
|
|
3427
3446
|
# A value that specifies that the DB instance class of the DB instance
|
3428
3447
|
# uses its default processor features.
|
3429
3448
|
#
|
3449
|
+
# @option params [Boolean] :deletion_protection
|
3450
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
3451
|
+
# The database can't be deleted when this value is set to true. The
|
3452
|
+
# default is false. For more information, see [ Deleting a DB
|
3453
|
+
# Instance][1].
|
3454
|
+
#
|
3455
|
+
#
|
3456
|
+
#
|
3457
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
3458
|
+
#
|
3430
3459
|
# @option params [String] :source_region
|
3431
3460
|
# The source region of the snapshot. This is only needed when the
|
3432
3461
|
# shapshot is encrypted and in a different region.
|
@@ -3500,6 +3529,7 @@ module Aws::RDS
|
|
3500
3529
|
# },
|
3501
3530
|
# ],
|
3502
3531
|
# use_default_processor_features: false,
|
3532
|
+
# deletion_protection: false,
|
3503
3533
|
# source_region: "String",
|
3504
3534
|
# })
|
3505
3535
|
#
|
@@ -3609,6 +3639,7 @@ module Aws::RDS
|
|
3609
3639
|
# resp.db_instance.processor_features #=> Array
|
3610
3640
|
# resp.db_instance.processor_features[0].name #=> String
|
3611
3641
|
# resp.db_instance.processor_features[0].value #=> String
|
3642
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
3612
3643
|
#
|
3613
3644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
3614
3645
|
#
|
@@ -4439,6 +4470,7 @@ module Aws::RDS
|
|
4439
4470
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
4440
4471
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
4441
4472
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
4473
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
4442
4474
|
#
|
4443
4475
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
|
4444
4476
|
#
|
@@ -4790,6 +4822,7 @@ module Aws::RDS
|
|
4790
4822
|
# resp.db_instance.processor_features #=> Array
|
4791
4823
|
# resp.db_instance.processor_features[0].name #=> String
|
4792
4824
|
# resp.db_instance.processor_features[0].value #=> String
|
4825
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
4793
4826
|
#
|
4794
4827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
4795
4828
|
#
|
@@ -5920,6 +5953,7 @@ module Aws::RDS
|
|
5920
5953
|
# resp.db_clusters[0].scaling_configuration_info.max_capacity #=> Integer
|
5921
5954
|
# resp.db_clusters[0].scaling_configuration_info.auto_pause #=> Boolean
|
5922
5955
|
# resp.db_clusters[0].scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
5956
|
+
# resp.db_clusters[0].deletion_protection #=> Boolean
|
5923
5957
|
#
|
5924
5958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
|
5925
5959
|
#
|
@@ -6245,6 +6279,7 @@ module Aws::RDS
|
|
6245
6279
|
# resp.db_instances[0].processor_features #=> Array
|
6246
6280
|
# resp.db_instances[0].processor_features[0].name #=> String
|
6247
6281
|
# resp.db_instances[0].processor_features[0].value #=> String
|
6282
|
+
# resp.db_instances[0].deletion_protection #=> Boolean
|
6248
6283
|
#
|
6249
6284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances AWS API Documentation
|
6250
6285
|
#
|
@@ -8487,6 +8522,7 @@ module Aws::RDS
|
|
8487
8522
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
8488
8523
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
8489
8524
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
8525
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
8490
8526
|
#
|
8491
8527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
|
8492
8528
|
#
|
@@ -8838,6 +8874,10 @@ module Aws::RDS
|
|
8838
8874
|
# The scaling properties of the DB cluster. You can only modify scaling
|
8839
8875
|
# properties for DB clusters in `serverless` DB engine mode.
|
8840
8876
|
#
|
8877
|
+
# @option params [Boolean] :deletion_protection
|
8878
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
8879
|
+
# database can't be deleted when this value is set to true.
|
8880
|
+
#
|
8841
8881
|
# @return [Types::ModifyDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8842
8882
|
#
|
8843
8883
|
# * {Types::ModifyDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -8889,6 +8929,7 @@ module Aws::RDS
|
|
8889
8929
|
# auto_pause: false,
|
8890
8930
|
# seconds_until_auto_pause: 1,
|
8891
8931
|
# },
|
8932
|
+
# deletion_protection: false,
|
8892
8933
|
# })
|
8893
8934
|
#
|
8894
8935
|
# @example Response structure
|
@@ -8952,6 +8993,7 @@ module Aws::RDS
|
|
8952
8993
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
8953
8994
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
8954
8995
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
8996
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
8955
8997
|
#
|
8956
8998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
|
8957
8999
|
#
|
@@ -9721,6 +9763,15 @@ module Aws::RDS
|
|
9721
9763
|
# A value that specifies that the DB instance class of the DB instance
|
9722
9764
|
# uses its default processor features.
|
9723
9765
|
#
|
9766
|
+
# @option params [Boolean] :deletion_protection
|
9767
|
+
# Indicates if the DB instance has deletion protection enabled. The
|
9768
|
+
# database can't be deleted when this value is set to true. For more
|
9769
|
+
# information, see [ Deleting a DB Instance][1].
|
9770
|
+
#
|
9771
|
+
#
|
9772
|
+
#
|
9773
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
9774
|
+
#
|
9724
9775
|
# @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9725
9776
|
#
|
9726
9777
|
# * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -9797,6 +9848,7 @@ module Aws::RDS
|
|
9797
9848
|
# },
|
9798
9849
|
# ],
|
9799
9850
|
# use_default_processor_features: false,
|
9851
|
+
# deletion_protection: false,
|
9800
9852
|
# })
|
9801
9853
|
#
|
9802
9854
|
# @example Response structure
|
@@ -9905,6 +9957,7 @@ module Aws::RDS
|
|
9905
9957
|
# resp.db_instance.processor_features #=> Array
|
9906
9958
|
# resp.db_instance.processor_features[0].name #=> String
|
9907
9959
|
# resp.db_instance.processor_features[0].value #=> String
|
9960
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
9908
9961
|
#
|
9909
9962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
9910
9963
|
#
|
@@ -10711,6 +10764,7 @@ module Aws::RDS
|
|
10711
10764
|
# resp.db_instance.processor_features #=> Array
|
10712
10765
|
# resp.db_instance.processor_features[0].name #=> String
|
10713
10766
|
# resp.db_instance.processor_features[0].value #=> String
|
10767
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
10714
10768
|
#
|
10715
10769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
10716
10770
|
#
|
@@ -10806,6 +10860,7 @@ module Aws::RDS
|
|
10806
10860
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
10807
10861
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
10808
10862
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
10863
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
10809
10864
|
#
|
10810
10865
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
10811
10866
|
#
|
@@ -11069,6 +11124,7 @@ module Aws::RDS
|
|
11069
11124
|
# resp.db_instance.processor_features #=> Array
|
11070
11125
|
# resp.db_instance.processor_features[0].name #=> String
|
11071
11126
|
# resp.db_instance.processor_features[0].value #=> String
|
11127
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
11072
11128
|
#
|
11073
11129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
11074
11130
|
#
|
@@ -11664,6 +11720,11 @@ module Aws::RDS
|
|
11664
11720
|
#
|
11665
11721
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
11666
11722
|
#
|
11723
|
+
# @option params [Boolean] :deletion_protection
|
11724
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
11725
|
+
# The database can't be deleted when this value is set to true. The
|
11726
|
+
# default is false.
|
11727
|
+
#
|
11667
11728
|
# @return [Types::RestoreDBClusterFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11668
11729
|
#
|
11669
11730
|
# * {Types::RestoreDBClusterFromS3Result#db_cluster #db_cluster} => Types::DBCluster
|
@@ -11703,6 +11764,7 @@ module Aws::RDS
|
|
11703
11764
|
# s3_ingestion_role_arn: "String", # required
|
11704
11765
|
# backtrack_window: 1,
|
11705
11766
|
# enable_cloudwatch_logs_exports: ["String"],
|
11767
|
+
# deletion_protection: false,
|
11706
11768
|
# })
|
11707
11769
|
#
|
11708
11770
|
# @example Response structure
|
@@ -11766,6 +11828,7 @@ module Aws::RDS
|
|
11766
11828
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
11767
11829
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
11768
11830
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
11831
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
11769
11832
|
#
|
11770
11833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
|
11771
11834
|
#
|
@@ -11920,6 +11983,11 @@ module Aws::RDS
|
|
11920
11983
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
11921
11984
|
# of the DB cluster.
|
11922
11985
|
#
|
11986
|
+
# @option params [Boolean] :deletion_protection
|
11987
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
11988
|
+
# The database can't be deleted when this value is set to true. The
|
11989
|
+
# default is false.
|
11990
|
+
#
|
11923
11991
|
# @return [Types::RestoreDBClusterFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11924
11992
|
#
|
11925
11993
|
# * {Types::RestoreDBClusterFromSnapshotResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -11971,6 +12039,7 @@ module Aws::RDS
|
|
11971
12039
|
# auto_pause: false,
|
11972
12040
|
# seconds_until_auto_pause: 1,
|
11973
12041
|
# },
|
12042
|
+
# deletion_protection: false,
|
11974
12043
|
# })
|
11975
12044
|
#
|
11976
12045
|
# @example Response structure
|
@@ -12034,6 +12103,7 @@ module Aws::RDS
|
|
12034
12103
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
12035
12104
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
12036
12105
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
12106
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
12037
12107
|
#
|
12038
12108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
12039
12109
|
#
|
@@ -12217,6 +12287,11 @@ module Aws::RDS
|
|
12217
12287
|
#
|
12218
12288
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
12219
12289
|
#
|
12290
|
+
# @option params [Boolean] :deletion_protection
|
12291
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
12292
|
+
# The database can't be deleted when this value is set to true. The
|
12293
|
+
# default is false.
|
12294
|
+
#
|
12220
12295
|
# @return [Types::RestoreDBClusterToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12221
12296
|
#
|
12222
12297
|
# * {Types::RestoreDBClusterToPointInTimeResult#db_cluster #db_cluster} => Types::DBCluster
|
@@ -12260,6 +12335,7 @@ module Aws::RDS
|
|
12260
12335
|
# enable_iam_database_authentication: false,
|
12261
12336
|
# backtrack_window: 1,
|
12262
12337
|
# enable_cloudwatch_logs_exports: ["String"],
|
12338
|
+
# deletion_protection: false,
|
12263
12339
|
# })
|
12264
12340
|
#
|
12265
12341
|
# @example Response structure
|
@@ -12323,6 +12399,7 @@ module Aws::RDS
|
|
12323
12399
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
12324
12400
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
12325
12401
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
12402
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
12326
12403
|
#
|
12327
12404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
12328
12405
|
#
|
@@ -12584,6 +12661,16 @@ module Aws::RDS
|
|
12584
12661
|
# A value that specifies that the DB instance class of the DB instance
|
12585
12662
|
# uses its default processor features.
|
12586
12663
|
#
|
12664
|
+
# @option params [Boolean] :deletion_protection
|
12665
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
12666
|
+
# The database can't be deleted when this value is set to true. The
|
12667
|
+
# default is false. For more information, see [ Deleting a DB
|
12668
|
+
# Instance][1].
|
12669
|
+
#
|
12670
|
+
#
|
12671
|
+
#
|
12672
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
12673
|
+
#
|
12587
12674
|
# @return [Types::RestoreDBInstanceFromDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12588
12675
|
#
|
12589
12676
|
# * {Types::RestoreDBInstanceFromDBSnapshotResult#db_instance #db_instance} => Types::DBInstance
|
@@ -12721,6 +12808,7 @@ module Aws::RDS
|
|
12721
12808
|
# },
|
12722
12809
|
# ],
|
12723
12810
|
# use_default_processor_features: false,
|
12811
|
+
# deletion_protection: false,
|
12724
12812
|
# })
|
12725
12813
|
#
|
12726
12814
|
# @example Response structure
|
@@ -12829,6 +12917,7 @@ module Aws::RDS
|
|
12829
12917
|
# resp.db_instance.processor_features #=> Array
|
12830
12918
|
# resp.db_instance.processor_features[0].name #=> String
|
12831
12919
|
# resp.db_instance.processor_features[0].value #=> String
|
12920
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
12832
12921
|
#
|
12833
12922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
12834
12923
|
#
|
@@ -13177,6 +13266,16 @@ module Aws::RDS
|
|
13177
13266
|
# A value that specifies that the DB instance class of the DB instance
|
13178
13267
|
# uses its default processor features.
|
13179
13268
|
#
|
13269
|
+
# @option params [Boolean] :deletion_protection
|
13270
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
13271
|
+
# The database can't be deleted when this value is set to true. The
|
13272
|
+
# default is false. For more information, see [ Deleting a DB
|
13273
|
+
# Instance][1].
|
13274
|
+
#
|
13275
|
+
#
|
13276
|
+
#
|
13277
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
13278
|
+
#
|
13180
13279
|
# @return [Types::RestoreDBInstanceFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13181
13280
|
#
|
13182
13281
|
# * {Types::RestoreDBInstanceFromS3Result#db_instance #db_instance} => Types::DBInstance
|
@@ -13236,6 +13335,7 @@ module Aws::RDS
|
|
13236
13335
|
# },
|
13237
13336
|
# ],
|
13238
13337
|
# use_default_processor_features: false,
|
13338
|
+
# deletion_protection: false,
|
13239
13339
|
# })
|
13240
13340
|
#
|
13241
13341
|
# @example Response structure
|
@@ -13344,6 +13444,7 @@ module Aws::RDS
|
|
13344
13444
|
# resp.db_instance.processor_features #=> Array
|
13345
13445
|
# resp.db_instance.processor_features[0].name #=> String
|
13346
13446
|
# resp.db_instance.processor_features[0].value #=> String
|
13447
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
13347
13448
|
#
|
13348
13449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
13349
13450
|
#
|
@@ -13604,6 +13705,16 @@ module Aws::RDS
|
|
13604
13705
|
# A value that specifies that the DB instance class of the DB instance
|
13605
13706
|
# uses its default processor features.
|
13606
13707
|
#
|
13708
|
+
# @option params [Boolean] :deletion_protection
|
13709
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
13710
|
+
# The database can't be deleted when this value is set to true. The
|
13711
|
+
# default is false. For more information, see [ Deleting a DB
|
13712
|
+
# Instance][1].
|
13713
|
+
#
|
13714
|
+
#
|
13715
|
+
#
|
13716
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
13717
|
+
#
|
13607
13718
|
# @return [Types::RestoreDBInstanceToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13608
13719
|
#
|
13609
13720
|
# * {Types::RestoreDBInstanceToPointInTimeResult#db_instance #db_instance} => Types::DBInstance
|
@@ -13744,6 +13855,7 @@ module Aws::RDS
|
|
13744
13855
|
# },
|
13745
13856
|
# ],
|
13746
13857
|
# use_default_processor_features: false,
|
13858
|
+
# deletion_protection: false,
|
13747
13859
|
# })
|
13748
13860
|
#
|
13749
13861
|
# @example Response structure
|
@@ -13852,6 +13964,7 @@ module Aws::RDS
|
|
13852
13964
|
# resp.db_instance.processor_features #=> Array
|
13853
13965
|
# resp.db_instance.processor_features[0].name #=> String
|
13854
13966
|
# resp.db_instance.processor_features[0].value #=> String
|
13967
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
13855
13968
|
#
|
13856
13969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
13857
13970
|
#
|
@@ -13955,6 +14068,13 @@ module Aws::RDS
|
|
13955
14068
|
# console, the stop-db-cluster AWS CLI command, or the StopDBCluster
|
13956
14069
|
# action.
|
13957
14070
|
#
|
14071
|
+
# For more information, see [ Stopping and Starting an Aurora
|
14072
|
+
# Cluster][1] in the *Amazon Aurora User Guide.*
|
14073
|
+
#
|
14074
|
+
#
|
14075
|
+
#
|
14076
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-cluster-stop-start.html
|
14077
|
+
#
|
13958
14078
|
# @option params [required, String] :db_cluster_identifier
|
13959
14079
|
# The DB cluster identifier of the Amazon Aurora DB cluster to be
|
13960
14080
|
# started. This parameter is stored as a lowercase string.
|
@@ -14030,6 +14150,7 @@ module Aws::RDS
|
|
14030
14150
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
14031
14151
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
14032
14152
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
14153
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
14033
14154
|
#
|
14034
14155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
|
14035
14156
|
#
|
@@ -14175,6 +14296,7 @@ module Aws::RDS
|
|
14175
14296
|
# resp.db_instance.processor_features #=> Array
|
14176
14297
|
# resp.db_instance.processor_features[0].name #=> String
|
14177
14298
|
# resp.db_instance.processor_features[0].value #=> String
|
14299
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
14178
14300
|
#
|
14179
14301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
14180
14302
|
#
|
@@ -14190,6 +14312,13 @@ module Aws::RDS
|
|
14190
14312
|
# parameter groups. Aurora also retains the transaction logs so you can
|
14191
14313
|
# do a point-in-time restore if necessary.
|
14192
14314
|
#
|
14315
|
+
# For more information, see [ Stopping and Starting an Aurora
|
14316
|
+
# Cluster][1] in the *Amazon Aurora User Guide.*
|
14317
|
+
#
|
14318
|
+
#
|
14319
|
+
#
|
14320
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-cluster-stop-start.html
|
14321
|
+
#
|
14193
14322
|
# @option params [required, String] :db_cluster_identifier
|
14194
14323
|
# The DB cluster identifier of the Amazon Aurora DB cluster to be
|
14195
14324
|
# stopped. This parameter is stored as a lowercase string.
|
@@ -14265,6 +14394,7 @@ module Aws::RDS
|
|
14265
14394
|
# resp.db_cluster.scaling_configuration_info.max_capacity #=> Integer
|
14266
14395
|
# resp.db_cluster.scaling_configuration_info.auto_pause #=> Boolean
|
14267
14396
|
# resp.db_cluster.scaling_configuration_info.seconds_until_auto_pause #=> Integer
|
14397
|
+
# resp.db_cluster.deletion_protection #=> Boolean
|
14268
14398
|
#
|
14269
14399
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
|
14270
14400
|
#
|
@@ -14417,6 +14547,7 @@ module Aws::RDS
|
|
14417
14547
|
# resp.db_instance.processor_features #=> Array
|
14418
14548
|
# resp.db_instance.processor_features[0].name #=> String
|
14419
14549
|
# resp.db_instance.processor_features[0].value #=> String
|
14550
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
14420
14551
|
#
|
14421
14552
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
14422
14553
|
#
|
@@ -14440,7 +14571,7 @@ module Aws::RDS
|
|
14440
14571
|
params: params,
|
14441
14572
|
config: config)
|
14442
14573
|
context[:gem_name] = 'aws-sdk-rds'
|
14443
|
-
context[:gem_version] = '1.
|
14574
|
+
context[:gem_version] = '1.32.0'
|
14444
14575
|
Seahorse::Client::Request.new(handlers, context)
|
14445
14576
|
end
|
14446
14577
|
|
@@ -592,6 +592,7 @@ module Aws::RDS
|
|
592
592
|
CreateDBClusterMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
593
593
|
CreateDBClusterMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
594
594
|
CreateDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
595
|
+
CreateDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
595
596
|
CreateDBClusterMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
596
597
|
CreateDBClusterMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
597
598
|
CreateDBClusterMessage.struct_class = Types::CreateDBClusterMessage
|
@@ -660,6 +661,7 @@ module Aws::RDS
|
|
660
661
|
CreateDBInstanceMessage.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
661
662
|
CreateDBInstanceMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
662
663
|
CreateDBInstanceMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
664
|
+
CreateDBInstanceMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
663
665
|
CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
|
664
666
|
|
665
667
|
CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
@@ -687,6 +689,7 @@ module Aws::RDS
|
|
687
689
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
688
690
|
CreateDBInstanceReadReplicaMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
689
691
|
CreateDBInstanceReadReplicaMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
692
|
+
CreateDBInstanceReadReplicaMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
690
693
|
CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
691
694
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
692
695
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
@@ -795,6 +798,7 @@ module Aws::RDS
|
|
795
798
|
DBCluster.add_member(:capacity, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Capacity"))
|
796
799
|
DBCluster.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
797
800
|
DBCluster.add_member(:scaling_configuration_info, Shapes::ShapeRef.new(shape: ScalingConfigurationInfo, location_name: "ScalingConfigurationInfo"))
|
801
|
+
DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
|
798
802
|
DBCluster.struct_class = Types::DBCluster
|
799
803
|
|
800
804
|
DBClusterBacktrack.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterIdentifier"))
|
@@ -977,6 +981,7 @@ module Aws::RDS
|
|
977
981
|
DBInstance.add_member(:performance_insights_retention_period, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PerformanceInsightsRetentionPeriod"))
|
978
982
|
DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
979
983
|
DBInstance.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
984
|
+
DBInstance.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
|
980
985
|
DBInstance.struct_class = Types::DBInstance
|
981
986
|
|
982
987
|
DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
|
@@ -1527,6 +1532,7 @@ module Aws::RDS
|
|
1527
1532
|
ModifyDBClusterMessage.add_member(:cloudwatch_logs_export_configuration, Shapes::ShapeRef.new(shape: CloudwatchLogsExportConfiguration, location_name: "CloudwatchLogsExportConfiguration"))
|
1528
1533
|
ModifyDBClusterMessage.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
1529
1534
|
ModifyDBClusterMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
1535
|
+
ModifyDBClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1530
1536
|
ModifyDBClusterMessage.struct_class = Types::ModifyDBClusterMessage
|
1531
1537
|
|
1532
1538
|
ModifyDBClusterParameterGroupMessage.add_member(:db_cluster_parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterParameterGroupName"))
|
@@ -1584,6 +1590,7 @@ module Aws::RDS
|
|
1584
1590
|
ModifyDBInstanceMessage.add_member(:cloudwatch_logs_export_configuration, Shapes::ShapeRef.new(shape: CloudwatchLogsExportConfiguration, location_name: "CloudwatchLogsExportConfiguration"))
|
1585
1591
|
ModifyDBInstanceMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
1586
1592
|
ModifyDBInstanceMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
1593
|
+
ModifyDBInstanceMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1587
1594
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
1588
1595
|
|
1589
1596
|
ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -1979,6 +1986,7 @@ module Aws::RDS
|
|
1979
1986
|
RestoreDBClusterFromS3Message.add_member(:s3_ingestion_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3IngestionRoleArn"))
|
1980
1987
|
RestoreDBClusterFromS3Message.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
1981
1988
|
RestoreDBClusterFromS3Message.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1989
|
+
RestoreDBClusterFromS3Message.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
1982
1990
|
RestoreDBClusterFromS3Message.struct_class = Types::RestoreDBClusterFromS3Message
|
1983
1991
|
|
1984
1992
|
RestoreDBClusterFromS3Result.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -2001,6 +2009,7 @@ module Aws::RDS
|
|
2001
2009
|
RestoreDBClusterFromSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2002
2010
|
RestoreDBClusterFromSnapshotMessage.add_member(:engine_mode, Shapes::ShapeRef.new(shape: String, location_name: "EngineMode"))
|
2003
2011
|
RestoreDBClusterFromSnapshotMessage.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfiguration, location_name: "ScalingConfiguration"))
|
2012
|
+
RestoreDBClusterFromSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2004
2013
|
RestoreDBClusterFromSnapshotMessage.struct_class = Types::RestoreDBClusterFromSnapshotMessage
|
2005
2014
|
|
2006
2015
|
RestoreDBClusterFromSnapshotResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -2020,6 +2029,7 @@ module Aws::RDS
|
|
2020
2029
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
2021
2030
|
RestoreDBClusterToPointInTimeMessage.add_member(:backtrack_window, Shapes::ShapeRef.new(shape: LongOptional, location_name: "BacktrackWindow"))
|
2022
2031
|
RestoreDBClusterToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2032
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2023
2033
|
RestoreDBClusterToPointInTimeMessage.struct_class = Types::RestoreDBClusterToPointInTimeMessage
|
2024
2034
|
|
2025
2035
|
RestoreDBClusterToPointInTimeResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
|
@@ -2050,6 +2060,7 @@ module Aws::RDS
|
|
2050
2060
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2051
2061
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
2052
2062
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
2063
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2053
2064
|
RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
|
2054
2065
|
|
2055
2066
|
RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -2097,6 +2108,7 @@ module Aws::RDS
|
|
2097
2108
|
RestoreDBInstanceFromS3Message.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2098
2109
|
RestoreDBInstanceFromS3Message.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
2099
2110
|
RestoreDBInstanceFromS3Message.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
2111
|
+
RestoreDBInstanceFromS3Message.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2100
2112
|
RestoreDBInstanceFromS3Message.struct_class = Types::RestoreDBInstanceFromS3Message
|
2101
2113
|
|
2102
2114
|
RestoreDBInstanceFromS3Result.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -2129,6 +2141,7 @@ module Aws::RDS
|
|
2129
2141
|
RestoreDBInstanceToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
2130
2142
|
RestoreDBInstanceToPointInTimeMessage.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
|
2131
2143
|
RestoreDBInstanceToPointInTimeMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
|
2144
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
|
2132
2145
|
RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
|
2133
2146
|
|
2134
2147
|
RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -336,6 +336,13 @@ module Aws::RDS
|
|
336
336
|
data[:scaling_configuration_info]
|
337
337
|
end
|
338
338
|
|
339
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
340
|
+
# database can't be deleted when this value is set to true.
|
341
|
+
# @return [Boolean]
|
342
|
+
def deletion_protection
|
343
|
+
data[:deletion_protection]
|
344
|
+
end
|
345
|
+
|
339
346
|
# @!endgroup
|
340
347
|
|
341
348
|
# @return [Client]
|
@@ -506,6 +513,7 @@ module Aws::RDS
|
|
506
513
|
# auto_pause: false,
|
507
514
|
# seconds_until_auto_pause: 1,
|
508
515
|
# },
|
516
|
+
# deletion_protection: false,
|
509
517
|
# source_region: "String",
|
510
518
|
# })
|
511
519
|
# @param [Hash] options ({})
|
@@ -750,6 +758,10 @@ module Aws::RDS
|
|
750
758
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
751
759
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
752
760
|
# of the DB cluster.
|
761
|
+
# @option options [Boolean] :deletion_protection
|
762
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
763
|
+
# The database can't be deleted when this value is set to true. The
|
764
|
+
# default is false.
|
753
765
|
# @option options [String] :destination_region
|
754
766
|
# @option options [String] :source_region
|
755
767
|
# The source region of the snapshot. This is only needed when the
|
@@ -898,6 +910,7 @@ module Aws::RDS
|
|
898
910
|
# auto_pause: false,
|
899
911
|
# seconds_until_auto_pause: 1,
|
900
912
|
# },
|
913
|
+
# deletion_protection: false,
|
901
914
|
# })
|
902
915
|
# @param [Hash] options ({})
|
903
916
|
# @option options [String] :new_db_cluster_identifier
|
@@ -1041,6 +1054,9 @@ module Aws::RDS
|
|
1041
1054
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
1042
1055
|
# The scaling properties of the DB cluster. You can only modify scaling
|
1043
1056
|
# properties for DB clusters in `serverless` DB engine mode.
|
1057
|
+
# @option options [Boolean] :deletion_protection
|
1058
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
1059
|
+
# database can't be deleted when this value is set to true.
|
1044
1060
|
# @return [DBCluster]
|
1045
1061
|
def modify(options = {})
|
1046
1062
|
options = options.merge(db_cluster_identifier: @id)
|
@@ -1073,6 +1089,7 @@ module Aws::RDS
|
|
1073
1089
|
# enable_iam_database_authentication: false,
|
1074
1090
|
# backtrack_window: 1,
|
1075
1091
|
# enable_cloudwatch_logs_exports: ["String"],
|
1092
|
+
# deletion_protection: false,
|
1076
1093
|
# })
|
1077
1094
|
# @param [Hash] options ({})
|
1078
1095
|
# @option options [required, String] :db_cluster_identifier
|
@@ -1203,6 +1220,10 @@ module Aws::RDS
|
|
1203
1220
|
#
|
1204
1221
|
#
|
1205
1222
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
1223
|
+
# @option options [Boolean] :deletion_protection
|
1224
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
1225
|
+
# The database can't be deleted when this value is set to true. The
|
1226
|
+
# default is false.
|
1206
1227
|
# @return [DBCluster]
|
1207
1228
|
def restore(options = {})
|
1208
1229
|
options = options.merge(source_db_cluster_identifier: @id)
|
@@ -480,6 +480,7 @@ module Aws::RDS
|
|
480
480
|
# auto_pause: false,
|
481
481
|
# seconds_until_auto_pause: 1,
|
482
482
|
# },
|
483
|
+
# deletion_protection: false,
|
483
484
|
# })
|
484
485
|
# @param [Hash] options ({})
|
485
486
|
# @option options [Array<String>] :availability_zones
|
@@ -578,6 +579,10 @@ module Aws::RDS
|
|
578
579
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
579
580
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
580
581
|
# of the DB cluster.
|
582
|
+
# @option options [Boolean] :deletion_protection
|
583
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
584
|
+
# The database can't be deleted when this value is set to true. The
|
585
|
+
# default is false.
|
581
586
|
# @return [DBCluster]
|
582
587
|
def restore(options = {})
|
583
588
|
options = options.merge(snapshot_identifier: @snapshot_id)
|
@@ -440,6 +440,18 @@ module Aws::RDS
|
|
440
440
|
data[:processor_features]
|
441
441
|
end
|
442
442
|
|
443
|
+
# Indicates if the DB instance has deletion protection enabled. The
|
444
|
+
# database can't be deleted when this value is set to true. For more
|
445
|
+
# information, see [ Deleting a DB Instance][1].
|
446
|
+
#
|
447
|
+
#
|
448
|
+
#
|
449
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
450
|
+
# @return [Boolean]
|
451
|
+
def deletion_protection
|
452
|
+
data[:deletion_protection]
|
453
|
+
end
|
454
|
+
|
443
455
|
# @!endgroup
|
444
456
|
|
445
457
|
# @return [Client]
|
@@ -628,6 +640,7 @@ module Aws::RDS
|
|
628
640
|
# value: "String",
|
629
641
|
# },
|
630
642
|
# ],
|
643
|
+
# deletion_protection: false,
|
631
644
|
# })
|
632
645
|
# @param [Hash] options ({})
|
633
646
|
# @option options [String] :db_name
|
@@ -1361,6 +1374,15 @@ module Aws::RDS
|
|
1361
1374
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
1362
1375
|
# The number of CPU cores and the number of threads per core for the DB
|
1363
1376
|
# instance class of the DB instance.
|
1377
|
+
# @option options [Boolean] :deletion_protection
|
1378
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
1379
|
+
# The database can't be deleted when this value is set to true. The
|
1380
|
+
# default is false. For more information, see [ Deleting a DB
|
1381
|
+
# Instance][1].
|
1382
|
+
#
|
1383
|
+
#
|
1384
|
+
#
|
1385
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
1364
1386
|
# @return [DBInstance]
|
1365
1387
|
def create(options = {})
|
1366
1388
|
options = options.merge(db_instance_identifier: @id)
|
@@ -1409,6 +1431,7 @@ module Aws::RDS
|
|
1409
1431
|
# },
|
1410
1432
|
# ],
|
1411
1433
|
# use_default_processor_features: false,
|
1434
|
+
# deletion_protection: false,
|
1412
1435
|
# source_region: "String",
|
1413
1436
|
# })
|
1414
1437
|
# @param [Hash] options ({})
|
@@ -1649,6 +1672,15 @@ module Aws::RDS
|
|
1649
1672
|
# @option options [Boolean] :use_default_processor_features
|
1650
1673
|
# A value that specifies that the DB instance class of the DB instance
|
1651
1674
|
# uses its default processor features.
|
1675
|
+
# @option options [Boolean] :deletion_protection
|
1676
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
1677
|
+
# The database can't be deleted when this value is set to true. The
|
1678
|
+
# default is false. For more information, see [ Deleting a DB
|
1679
|
+
# Instance][1].
|
1680
|
+
#
|
1681
|
+
#
|
1682
|
+
#
|
1683
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
1652
1684
|
# @option options [String] :destination_region
|
1653
1685
|
# @option options [String] :source_region
|
1654
1686
|
# The source region of the snapshot. This is only needed when the
|
@@ -1813,6 +1845,7 @@ module Aws::RDS
|
|
1813
1845
|
# },
|
1814
1846
|
# ],
|
1815
1847
|
# use_default_processor_features: false,
|
1848
|
+
# deletion_protection: false,
|
1816
1849
|
# })
|
1817
1850
|
# @param [Hash] options ({})
|
1818
1851
|
# @option options [Integer] :allocated_storage
|
@@ -2319,6 +2352,14 @@ module Aws::RDS
|
|
2319
2352
|
# @option options [Boolean] :use_default_processor_features
|
2320
2353
|
# A value that specifies that the DB instance class of the DB instance
|
2321
2354
|
# uses its default processor features.
|
2355
|
+
# @option options [Boolean] :deletion_protection
|
2356
|
+
# Indicates if the DB instance has deletion protection enabled. The
|
2357
|
+
# database can't be deleted when this value is set to true. For more
|
2358
|
+
# information, see [ Deleting a DB Instance][1].
|
2359
|
+
#
|
2360
|
+
#
|
2361
|
+
#
|
2362
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
2322
2363
|
# @return [DBInstance]
|
2323
2364
|
def modify(options = {})
|
2324
2365
|
options = options.merge(db_instance_identifier: @id)
|
@@ -2444,6 +2485,7 @@ module Aws::RDS
|
|
2444
2485
|
# },
|
2445
2486
|
# ],
|
2446
2487
|
# use_default_processor_features: false,
|
2488
|
+
# deletion_protection: false,
|
2447
2489
|
# })
|
2448
2490
|
# @param [Hash] options ({})
|
2449
2491
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -2642,6 +2684,15 @@ module Aws::RDS
|
|
2642
2684
|
# @option options [Boolean] :use_default_processor_features
|
2643
2685
|
# A value that specifies that the DB instance class of the DB instance
|
2644
2686
|
# uses its default processor features.
|
2687
|
+
# @option options [Boolean] :deletion_protection
|
2688
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
2689
|
+
# The database can't be deleted when this value is set to true. The
|
2690
|
+
# default is false. For more information, see [ Deleting a DB
|
2691
|
+
# Instance][1].
|
2692
|
+
#
|
2693
|
+
#
|
2694
|
+
#
|
2695
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
2645
2696
|
# @return [DBInstance]
|
2646
2697
|
def restore(options = {})
|
2647
2698
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -562,6 +562,7 @@ module Aws::RDS
|
|
562
562
|
# },
|
563
563
|
# ],
|
564
564
|
# use_default_processor_features: false,
|
565
|
+
# deletion_protection: false,
|
565
566
|
# })
|
566
567
|
# @param [Hash] options ({})
|
567
568
|
# @option options [required, String] :db_instance_identifier
|
@@ -754,6 +755,15 @@ module Aws::RDS
|
|
754
755
|
# @option options [Boolean] :use_default_processor_features
|
755
756
|
# A value that specifies that the DB instance class of the DB instance
|
756
757
|
# uses its default processor features.
|
758
|
+
# @option options [Boolean] :deletion_protection
|
759
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
760
|
+
# The database can't be deleted when this value is set to true. The
|
761
|
+
# default is false. For more information, see [ Deleting a DB
|
762
|
+
# Instance][1].
|
763
|
+
#
|
764
|
+
#
|
765
|
+
#
|
766
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
757
767
|
# @return [DBInstance]
|
758
768
|
def restore(options = {})
|
759
769
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -60,6 +60,7 @@ module Aws::RDS
|
|
60
60
|
# auto_pause: false,
|
61
61
|
# seconds_until_auto_pause: 1,
|
62
62
|
# },
|
63
|
+
# deletion_protection: false,
|
63
64
|
# source_region: "String",
|
64
65
|
# })
|
65
66
|
# @param [Hash] options ({})
|
@@ -317,6 +318,10 @@ module Aws::RDS
|
|
317
318
|
# @option options [Types::ScalingConfiguration] :scaling_configuration
|
318
319
|
# For DB clusters in `serverless` DB engine mode, the scaling properties
|
319
320
|
# of the DB cluster.
|
321
|
+
# @option options [Boolean] :deletion_protection
|
322
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
323
|
+
# The database can't be deleted when this value is set to true. The
|
324
|
+
# default is false.
|
320
325
|
# @option options [String] :destination_region
|
321
326
|
# @option options [String] :source_region
|
322
327
|
# The source region of the snapshot. This is only needed when the
|
@@ -447,6 +452,7 @@ module Aws::RDS
|
|
447
452
|
# value: "String",
|
448
453
|
# },
|
449
454
|
# ],
|
455
|
+
# deletion_protection: false,
|
450
456
|
# })
|
451
457
|
# @param [Hash] options ({})
|
452
458
|
# @option options [String] :db_name
|
@@ -1193,6 +1199,15 @@ module Aws::RDS
|
|
1193
1199
|
# @option options [Array<Types::ProcessorFeature>] :processor_features
|
1194
1200
|
# The number of CPU cores and the number of threads per core for the DB
|
1195
1201
|
# instance class of the DB instance.
|
1202
|
+
# @option options [Boolean] :deletion_protection
|
1203
|
+
# Indicates if the DB instance should have deletion protection enabled.
|
1204
|
+
# The database can't be deleted when this value is set to true. The
|
1205
|
+
# default is false. For more information, see [ Deleting a DB
|
1206
|
+
# Instance][1].
|
1207
|
+
#
|
1208
|
+
#
|
1209
|
+
#
|
1210
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
1196
1211
|
# @return [DBInstance]
|
1197
1212
|
def create_db_instance(options = {})
|
1198
1213
|
resp = @client.create_db_instance(options)
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -1214,6 +1214,7 @@ module Aws::RDS
|
|
1214
1214
|
# auto_pause: false,
|
1215
1215
|
# seconds_until_auto_pause: 1,
|
1216
1216
|
# },
|
1217
|
+
# deletion_protection: false,
|
1217
1218
|
# source_region: "String",
|
1218
1219
|
# }
|
1219
1220
|
#
|
@@ -1525,6 +1526,12 @@ module Aws::RDS
|
|
1525
1526
|
# properties of the DB cluster.
|
1526
1527
|
# @return [Types::ScalingConfiguration]
|
1527
1528
|
#
|
1529
|
+
# @!attribute [rw] deletion_protection
|
1530
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
1531
|
+
# The database can't be deleted when this value is set to true. The
|
1532
|
+
# default is false.
|
1533
|
+
# @return [Boolean]
|
1534
|
+
#
|
1528
1535
|
# @!attribute [rw] destination_region
|
1529
1536
|
# @return [String]
|
1530
1537
|
#
|
@@ -1562,6 +1569,7 @@ module Aws::RDS
|
|
1562
1569
|
:enable_cloudwatch_logs_exports,
|
1563
1570
|
:engine_mode,
|
1564
1571
|
:scaling_configuration,
|
1572
|
+
:deletion_protection,
|
1565
1573
|
:destination_region,
|
1566
1574
|
:source_region)
|
1567
1575
|
include Aws::Structure
|
@@ -1790,6 +1798,7 @@ module Aws::RDS
|
|
1790
1798
|
# value: "String",
|
1791
1799
|
# },
|
1792
1800
|
# ],
|
1801
|
+
# deletion_protection: false,
|
1793
1802
|
# }
|
1794
1803
|
#
|
1795
1804
|
# @!attribute [rw] db_name
|
@@ -2631,6 +2640,17 @@ module Aws::RDS
|
|
2631
2640
|
# DB instance class of the DB instance.
|
2632
2641
|
# @return [Array<Types::ProcessorFeature>]
|
2633
2642
|
#
|
2643
|
+
# @!attribute [rw] deletion_protection
|
2644
|
+
# Indicates if the DB instance should have deletion protection
|
2645
|
+
# enabled. The database can't be deleted when this value is set to
|
2646
|
+
# true. The default is false. For more information, see [ Deleting a
|
2647
|
+
# DB Instance][1].
|
2648
|
+
#
|
2649
|
+
#
|
2650
|
+
#
|
2651
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
2652
|
+
# @return [Boolean]
|
2653
|
+
#
|
2634
2654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage AWS API Documentation
|
2635
2655
|
#
|
2636
2656
|
class CreateDBInstanceMessage < Struct.new(
|
@@ -2677,7 +2697,8 @@ module Aws::RDS
|
|
2677
2697
|
:performance_insights_kms_key_id,
|
2678
2698
|
:performance_insights_retention_period,
|
2679
2699
|
:enable_cloudwatch_logs_exports,
|
2680
|
-
:processor_features
|
2700
|
+
:processor_features,
|
2701
|
+
:deletion_protection)
|
2681
2702
|
include Aws::Structure
|
2682
2703
|
end
|
2683
2704
|
|
@@ -2720,6 +2741,7 @@ module Aws::RDS
|
|
2720
2741
|
# },
|
2721
2742
|
# ],
|
2722
2743
|
# use_default_processor_features: false,
|
2744
|
+
# deletion_protection: false,
|
2723
2745
|
# source_region: "String",
|
2724
2746
|
# }
|
2725
2747
|
#
|
@@ -3044,6 +3066,17 @@ module Aws::RDS
|
|
3044
3066
|
# uses its default processor features.
|
3045
3067
|
# @return [Boolean]
|
3046
3068
|
#
|
3069
|
+
# @!attribute [rw] deletion_protection
|
3070
|
+
# Indicates if the DB instance should have deletion protection
|
3071
|
+
# enabled. The database can't be deleted when this value is set to
|
3072
|
+
# true. The default is false. For more information, see [ Deleting a
|
3073
|
+
# DB Instance][1].
|
3074
|
+
#
|
3075
|
+
#
|
3076
|
+
#
|
3077
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
3078
|
+
# @return [Boolean]
|
3079
|
+
#
|
3047
3080
|
# @!attribute [rw] destination_region
|
3048
3081
|
# @return [String]
|
3049
3082
|
#
|
@@ -3080,6 +3113,7 @@ module Aws::RDS
|
|
3080
3113
|
:enable_cloudwatch_logs_exports,
|
3081
3114
|
:processor_features,
|
3082
3115
|
:use_default_processor_features,
|
3116
|
+
:deletion_protection,
|
3083
3117
|
:destination_region,
|
3084
3118
|
:source_region)
|
3085
3119
|
include Aws::Structure
|
@@ -3830,6 +3864,11 @@ module Aws::RDS
|
|
3830
3864
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
3831
3865
|
# @return [Types::ScalingConfigurationInfo]
|
3832
3866
|
#
|
3867
|
+
# @!attribute [rw] deletion_protection
|
3868
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
3869
|
+
# database can't be deleted when this value is set to true.
|
3870
|
+
# @return [Boolean]
|
3871
|
+
#
|
3833
3872
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBCluster AWS API Documentation
|
3834
3873
|
#
|
3835
3874
|
class DBCluster < Struct.new(
|
@@ -3874,7 +3913,8 @@ module Aws::RDS
|
|
3874
3913
|
:enabled_cloudwatch_logs_exports,
|
3875
3914
|
:capacity,
|
3876
3915
|
:engine_mode,
|
3877
|
-
:scaling_configuration_info
|
3916
|
+
:scaling_configuration_info,
|
3917
|
+
:deletion_protection)
|
3878
3918
|
include Aws::Structure
|
3879
3919
|
end
|
3880
3920
|
|
@@ -4816,6 +4856,16 @@ module Aws::RDS
|
|
4816
4856
|
# DB instance class of the DB instance.
|
4817
4857
|
# @return [Array<Types::ProcessorFeature>]
|
4818
4858
|
#
|
4859
|
+
# @!attribute [rw] deletion_protection
|
4860
|
+
# Indicates if the DB instance has deletion protection enabled. The
|
4861
|
+
# database can't be deleted when this value is set to true. For more
|
4862
|
+
# information, see [ Deleting a DB Instance][1].
|
4863
|
+
#
|
4864
|
+
#
|
4865
|
+
#
|
4866
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
4867
|
+
# @return [Boolean]
|
4868
|
+
#
|
4819
4869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
|
4820
4870
|
#
|
4821
4871
|
class DBInstance < Struct.new(
|
@@ -4872,7 +4922,8 @@ module Aws::RDS
|
|
4872
4922
|
:performance_insights_kms_key_id,
|
4873
4923
|
:performance_insights_retention_period,
|
4874
4924
|
:enabled_cloudwatch_logs_exports,
|
4875
|
-
:processor_features
|
4925
|
+
:processor_features,
|
4926
|
+
:deletion_protection)
|
4876
4927
|
include Aws::Structure
|
4877
4928
|
end
|
4878
4929
|
|
@@ -8603,6 +8654,7 @@ module Aws::RDS
|
|
8603
8654
|
# auto_pause: false,
|
8604
8655
|
# seconds_until_auto_pause: 1,
|
8605
8656
|
# },
|
8657
|
+
# deletion_protection: false,
|
8606
8658
|
# }
|
8607
8659
|
#
|
8608
8660
|
# @!attribute [rw] db_cluster_identifier
|
@@ -8790,6 +8842,11 @@ module Aws::RDS
|
|
8790
8842
|
# scaling properties for DB clusters in `serverless` DB engine mode.
|
8791
8843
|
# @return [Types::ScalingConfiguration]
|
8792
8844
|
#
|
8845
|
+
# @!attribute [rw] deletion_protection
|
8846
|
+
# Indicates if the DB cluster has deletion protection enabled. The
|
8847
|
+
# database can't be deleted when this value is set to true.
|
8848
|
+
# @return [Boolean]
|
8849
|
+
#
|
8793
8850
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage AWS API Documentation
|
8794
8851
|
#
|
8795
8852
|
class ModifyDBClusterMessage < Struct.new(
|
@@ -8808,7 +8865,8 @@ module Aws::RDS
|
|
8808
8865
|
:backtrack_window,
|
8809
8866
|
:cloudwatch_logs_export_configuration,
|
8810
8867
|
:engine_version,
|
8811
|
-
:scaling_configuration
|
8868
|
+
:scaling_configuration,
|
8869
|
+
:deletion_protection)
|
8812
8870
|
include Aws::Structure
|
8813
8871
|
end
|
8814
8872
|
|
@@ -8989,6 +9047,7 @@ module Aws::RDS
|
|
8989
9047
|
# },
|
8990
9048
|
# ],
|
8991
9049
|
# use_default_processor_features: false,
|
9050
|
+
# deletion_protection: false,
|
8992
9051
|
# }
|
8993
9052
|
#
|
8994
9053
|
# @!attribute [rw] db_instance_identifier
|
@@ -9591,6 +9650,16 @@ module Aws::RDS
|
|
9591
9650
|
# uses its default processor features.
|
9592
9651
|
# @return [Boolean]
|
9593
9652
|
#
|
9653
|
+
# @!attribute [rw] deletion_protection
|
9654
|
+
# Indicates if the DB instance has deletion protection enabled. The
|
9655
|
+
# database can't be deleted when this value is set to true. For more
|
9656
|
+
# information, see [ Deleting a DB Instance][1].
|
9657
|
+
#
|
9658
|
+
#
|
9659
|
+
#
|
9660
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
9661
|
+
# @return [Boolean]
|
9662
|
+
#
|
9594
9663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
|
9595
9664
|
#
|
9596
9665
|
class ModifyDBInstanceMessage < Struct.new(
|
@@ -9632,7 +9701,8 @@ module Aws::RDS
|
|
9632
9701
|
:performance_insights_retention_period,
|
9633
9702
|
:cloudwatch_logs_export_configuration,
|
9634
9703
|
:processor_features,
|
9635
|
-
:use_default_processor_features
|
9704
|
+
:use_default_processor_features,
|
9705
|
+
:deletion_protection)
|
9636
9706
|
include Aws::Structure
|
9637
9707
|
end
|
9638
9708
|
|
@@ -11763,6 +11833,7 @@ module Aws::RDS
|
|
11763
11833
|
# s3_ingestion_role_arn: "String", # required
|
11764
11834
|
# backtrack_window: 1,
|
11765
11835
|
# enable_cloudwatch_logs_exports: ["String"],
|
11836
|
+
# deletion_protection: false,
|
11766
11837
|
# }
|
11767
11838
|
#
|
11768
11839
|
# @!attribute [rw] availability_zones
|
@@ -12027,6 +12098,12 @@ module Aws::RDS
|
|
12027
12098
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
12028
12099
|
# @return [Array<String>]
|
12029
12100
|
#
|
12101
|
+
# @!attribute [rw] deletion_protection
|
12102
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
12103
|
+
# The database can't be deleted when this value is set to true. The
|
12104
|
+
# default is false.
|
12105
|
+
# @return [Boolean]
|
12106
|
+
#
|
12030
12107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message AWS API Documentation
|
12031
12108
|
#
|
12032
12109
|
class RestoreDBClusterFromS3Message < Struct.new(
|
@@ -12056,7 +12133,8 @@ module Aws::RDS
|
|
12056
12133
|
:s3_prefix,
|
12057
12134
|
:s3_ingestion_role_arn,
|
12058
12135
|
:backtrack_window,
|
12059
|
-
:enable_cloudwatch_logs_exports
|
12136
|
+
:enable_cloudwatch_logs_exports,
|
12137
|
+
:deletion_protection)
|
12060
12138
|
include Aws::Structure
|
12061
12139
|
end
|
12062
12140
|
|
@@ -12105,6 +12183,7 @@ module Aws::RDS
|
|
12105
12183
|
# auto_pause: false,
|
12106
12184
|
# seconds_until_auto_pause: 1,
|
12107
12185
|
# },
|
12186
|
+
# deletion_protection: false,
|
12108
12187
|
# }
|
12109
12188
|
#
|
12110
12189
|
# @!attribute [rw] availability_zones
|
@@ -12252,6 +12331,12 @@ module Aws::RDS
|
|
12252
12331
|
# properties of the DB cluster.
|
12253
12332
|
# @return [Types::ScalingConfiguration]
|
12254
12333
|
#
|
12334
|
+
# @!attribute [rw] deletion_protection
|
12335
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
12336
|
+
# The database can't be deleted when this value is set to true. The
|
12337
|
+
# default is false.
|
12338
|
+
# @return [Boolean]
|
12339
|
+
#
|
12255
12340
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage AWS API Documentation
|
12256
12341
|
#
|
12257
12342
|
class RestoreDBClusterFromSnapshotMessage < Struct.new(
|
@@ -12271,7 +12356,8 @@ module Aws::RDS
|
|
12271
12356
|
:backtrack_window,
|
12272
12357
|
:enable_cloudwatch_logs_exports,
|
12273
12358
|
:engine_mode,
|
12274
|
-
:scaling_configuration
|
12359
|
+
:scaling_configuration,
|
12360
|
+
:deletion_protection)
|
12275
12361
|
include Aws::Structure
|
12276
12362
|
end
|
12277
12363
|
|
@@ -12312,6 +12398,7 @@ module Aws::RDS
|
|
12312
12398
|
# enable_iam_database_authentication: false,
|
12313
12399
|
# backtrack_window: 1,
|
12314
12400
|
# enable_cloudwatch_logs_exports: ["String"],
|
12401
|
+
# deletion_protection: false,
|
12315
12402
|
# }
|
12316
12403
|
#
|
12317
12404
|
# @!attribute [rw] db_cluster_identifier
|
@@ -12478,6 +12565,12 @@ module Aws::RDS
|
|
12478
12565
|
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch
|
12479
12566
|
# @return [Array<String>]
|
12480
12567
|
#
|
12568
|
+
# @!attribute [rw] deletion_protection
|
12569
|
+
# Indicates if the DB cluster should have deletion protection enabled.
|
12570
|
+
# The database can't be deleted when this value is set to true. The
|
12571
|
+
# default is false.
|
12572
|
+
# @return [Boolean]
|
12573
|
+
#
|
12481
12574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage AWS API Documentation
|
12482
12575
|
#
|
12483
12576
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
@@ -12494,7 +12587,8 @@ module Aws::RDS
|
|
12494
12587
|
:kms_key_id,
|
12495
12588
|
:enable_iam_database_authentication,
|
12496
12589
|
:backtrack_window,
|
12497
|
-
:enable_cloudwatch_logs_exports
|
12590
|
+
:enable_cloudwatch_logs_exports,
|
12591
|
+
:deletion_protection)
|
12498
12592
|
include Aws::Structure
|
12499
12593
|
end
|
12500
12594
|
|
@@ -12551,6 +12645,7 @@ module Aws::RDS
|
|
12551
12645
|
# },
|
12552
12646
|
# ],
|
12553
12647
|
# use_default_processor_features: false,
|
12648
|
+
# deletion_protection: false,
|
12554
12649
|
# }
|
12555
12650
|
#
|
12556
12651
|
# @!attribute [rw] db_instance_identifier
|
@@ -12804,6 +12899,17 @@ module Aws::RDS
|
|
12804
12899
|
# uses its default processor features.
|
12805
12900
|
# @return [Boolean]
|
12806
12901
|
#
|
12902
|
+
# @!attribute [rw] deletion_protection
|
12903
|
+
# Indicates if the DB instance should have deletion protection
|
12904
|
+
# enabled. The database can't be deleted when this value is set to
|
12905
|
+
# true. The default is false. For more information, see [ Deleting a
|
12906
|
+
# DB Instance][1].
|
12907
|
+
#
|
12908
|
+
#
|
12909
|
+
#
|
12910
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
12911
|
+
# @return [Boolean]
|
12912
|
+
#
|
12807
12913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage AWS API Documentation
|
12808
12914
|
#
|
12809
12915
|
class RestoreDBInstanceFromDBSnapshotMessage < Struct.new(
|
@@ -12831,7 +12937,8 @@ module Aws::RDS
|
|
12831
12937
|
:enable_iam_database_authentication,
|
12832
12938
|
:enable_cloudwatch_logs_exports,
|
12833
12939
|
:processor_features,
|
12834
|
-
:use_default_processor_features
|
12940
|
+
:use_default_processor_features,
|
12941
|
+
:deletion_protection)
|
12835
12942
|
include Aws::Structure
|
12836
12943
|
end
|
12837
12944
|
|
@@ -12905,6 +13012,7 @@ module Aws::RDS
|
|
12905
13012
|
# },
|
12906
13013
|
# ],
|
12907
13014
|
# use_default_processor_features: false,
|
13015
|
+
# deletion_protection: false,
|
12908
13016
|
# }
|
12909
13017
|
#
|
12910
13018
|
# @!attribute [rw] db_name
|
@@ -13281,6 +13389,17 @@ module Aws::RDS
|
|
13281
13389
|
# uses its default processor features.
|
13282
13390
|
# @return [Boolean]
|
13283
13391
|
#
|
13392
|
+
# @!attribute [rw] deletion_protection
|
13393
|
+
# Indicates if the DB instance should have deletion protection
|
13394
|
+
# enabled. The database can't be deleted when this value is set to
|
13395
|
+
# true. The default is false. For more information, see [ Deleting a
|
13396
|
+
# DB Instance][1].
|
13397
|
+
#
|
13398
|
+
#
|
13399
|
+
#
|
13400
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
13401
|
+
# @return [Boolean]
|
13402
|
+
#
|
13284
13403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Message AWS API Documentation
|
13285
13404
|
#
|
13286
13405
|
class RestoreDBInstanceFromS3Message < Struct.new(
|
@@ -13325,7 +13444,8 @@ module Aws::RDS
|
|
13325
13444
|
:performance_insights_retention_period,
|
13326
13445
|
:enable_cloudwatch_logs_exports,
|
13327
13446
|
:processor_features,
|
13328
|
-
:use_default_processor_features
|
13447
|
+
:use_default_processor_features,
|
13448
|
+
:deletion_protection)
|
13329
13449
|
include Aws::Structure
|
13330
13450
|
end
|
13331
13451
|
|
@@ -13384,6 +13504,7 @@ module Aws::RDS
|
|
13384
13504
|
# },
|
13385
13505
|
# ],
|
13386
13506
|
# use_default_processor_features: false,
|
13507
|
+
# deletion_protection: false,
|
13387
13508
|
# }
|
13388
13509
|
#
|
13389
13510
|
# @!attribute [rw] source_db_instance_identifier
|
@@ -13647,6 +13768,17 @@ module Aws::RDS
|
|
13647
13768
|
# uses its default processor features.
|
13648
13769
|
# @return [Boolean]
|
13649
13770
|
#
|
13771
|
+
# @!attribute [rw] deletion_protection
|
13772
|
+
# Indicates if the DB instance should have deletion protection
|
13773
|
+
# enabled. The database can't be deleted when this value is set to
|
13774
|
+
# true. The default is false. For more information, see [ Deleting a
|
13775
|
+
# DB Instance][1].
|
13776
|
+
#
|
13777
|
+
#
|
13778
|
+
#
|
13779
|
+
# [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
|
13780
|
+
# @return [Boolean]
|
13781
|
+
#
|
13650
13782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage AWS API Documentation
|
13651
13783
|
#
|
13652
13784
|
class RestoreDBInstanceToPointInTimeMessage < Struct.new(
|
@@ -13676,7 +13808,8 @@ module Aws::RDS
|
|
13676
13808
|
:enable_iam_database_authentication,
|
13677
13809
|
:enable_cloudwatch_logs_exports,
|
13678
13810
|
:processor_features,
|
13679
|
-
:use_default_processor_features
|
13811
|
+
:use_default_processor_features,
|
13812
|
+
:deletion_protection)
|
13680
13813
|
include Aws::Structure
|
13681
13814
|
end
|
13682
13815
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|