aws-sdk-docdb 1.42.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-docdb/client.rb +42 -1
- data/lib/aws-sdk-docdb/client_api.rb +5 -0
- data/lib/aws-sdk-docdb/types.rb +44 -0
- data/lib/aws-sdk-docdb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 419461714c9f0a76d13d64b4f585213269425203364149bccb9cdf417c330615
|
4
|
+
data.tar.gz: 6087447c96a5f17c3d57ea1f2d641306060531e0c17013ef9edfcbff04d18eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14676534258ce8ded6d6332464b8044975f98fcc020baf9fce650576c680dbe3f8e916cdf95e95ca5c47a9e0c19116e97b28e1057a84fc8b434506a590722446
|
7
|
+
data.tar.gz: 9b25265d89c0dcc54a0f14d3b5ba5299ecce0dbff1c8c32ba91acfce8d303262d1d585c5f720786bce20221e57b628f855d61580c96070155851ed5e494a2cf4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
data/lib/aws-sdk-docdb/client.rb
CHANGED
@@ -985,6 +985,7 @@ module Aws::DocDB
|
|
985
985
|
# resp.db_cluster.associated_roles #=> Array
|
986
986
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
987
987
|
# resp.db_cluster.associated_roles[0].status #=> String
|
988
|
+
# resp.db_cluster.clone_group_id #=> String
|
988
989
|
# resp.db_cluster.cluster_create_time #=> Time
|
989
990
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
990
991
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -1217,6 +1218,10 @@ module Aws::DocDB
|
|
1217
1218
|
# @option params [required, String] :db_cluster_identifier
|
1218
1219
|
# The identifier of the cluster that the instance will belong to.
|
1219
1220
|
#
|
1221
|
+
# @option params [Boolean] :copy_tags_to_snapshot
|
1222
|
+
# A value that indicates whether to copy tags from the DB instance to
|
1223
|
+
# snapshots of the DB instance. By default, tags are not copied.
|
1224
|
+
#
|
1220
1225
|
# @option params [Integer] :promotion_tier
|
1221
1226
|
# A value that specifies the order in which an Amazon DocumentDB replica
|
1222
1227
|
# is promoted to the primary instance after a failure of the existing
|
@@ -1267,6 +1272,7 @@ module Aws::DocDB
|
|
1267
1272
|
# },
|
1268
1273
|
# ],
|
1269
1274
|
# db_cluster_identifier: "String", # required
|
1275
|
+
# copy_tags_to_snapshot: false,
|
1270
1276
|
# promotion_tier: 1,
|
1271
1277
|
# enable_performance_insights: false,
|
1272
1278
|
# performance_insights_kms_key_id: "String",
|
@@ -1329,6 +1335,7 @@ module Aws::DocDB
|
|
1329
1335
|
# resp.db_instance.kms_key_id #=> String
|
1330
1336
|
# resp.db_instance.dbi_resource_id #=> String
|
1331
1337
|
# resp.db_instance.ca_certificate_identifier #=> String
|
1338
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
1332
1339
|
# resp.db_instance.promotion_tier #=> Integer
|
1333
1340
|
# resp.db_instance.db_instance_arn #=> String
|
1334
1341
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -1710,6 +1717,7 @@ module Aws::DocDB
|
|
1710
1717
|
# resp.db_cluster.associated_roles #=> Array
|
1711
1718
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
1712
1719
|
# resp.db_cluster.associated_roles[0].status #=> String
|
1720
|
+
# resp.db_cluster.clone_group_id #=> String
|
1713
1721
|
# resp.db_cluster.cluster_create_time #=> Time
|
1714
1722
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
1715
1723
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -1887,6 +1895,7 @@ module Aws::DocDB
|
|
1887
1895
|
# resp.db_instance.kms_key_id #=> String
|
1888
1896
|
# resp.db_instance.dbi_resource_id #=> String
|
1889
1897
|
# resp.db_instance.ca_certificate_identifier #=> String
|
1898
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
1890
1899
|
# resp.db_instance.promotion_tier #=> Integer
|
1891
1900
|
# resp.db_instance.db_instance_arn #=> String
|
1892
1901
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -2549,6 +2558,7 @@ module Aws::DocDB
|
|
2549
2558
|
# resp.db_clusters[0].associated_roles #=> Array
|
2550
2559
|
# resp.db_clusters[0].associated_roles[0].role_arn #=> String
|
2551
2560
|
# resp.db_clusters[0].associated_roles[0].status #=> String
|
2561
|
+
# resp.db_clusters[0].clone_group_id #=> String
|
2552
2562
|
# resp.db_clusters[0].cluster_create_time #=> Time
|
2553
2563
|
# resp.db_clusters[0].enabled_cloudwatch_logs_exports #=> Array
|
2554
2564
|
# resp.db_clusters[0].enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -2791,6 +2801,7 @@ module Aws::DocDB
|
|
2791
2801
|
# resp.db_instances[0].kms_key_id #=> String
|
2792
2802
|
# resp.db_instances[0].dbi_resource_id #=> String
|
2793
2803
|
# resp.db_instances[0].ca_certificate_identifier #=> String
|
2804
|
+
# resp.db_instances[0].copy_tags_to_snapshot #=> Boolean
|
2794
2805
|
# resp.db_instances[0].promotion_tier #=> Integer
|
2795
2806
|
# resp.db_instances[0].db_instance_arn #=> String
|
2796
2807
|
# resp.db_instances[0].enabled_cloudwatch_logs_exports #=> Array
|
@@ -3508,6 +3519,7 @@ module Aws::DocDB
|
|
3508
3519
|
# resp.db_cluster.associated_roles #=> Array
|
3509
3520
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
3510
3521
|
# resp.db_cluster.associated_roles[0].status #=> String
|
3522
|
+
# resp.db_cluster.clone_group_id #=> String
|
3511
3523
|
# resp.db_cluster.cluster_create_time #=> Time
|
3512
3524
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
3513
3525
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -3754,6 +3766,7 @@ module Aws::DocDB
|
|
3754
3766
|
# resp.db_cluster.associated_roles #=> Array
|
3755
3767
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
3756
3768
|
# resp.db_cluster.associated_roles[0].status #=> String
|
3769
|
+
# resp.db_cluster.clone_group_id #=> String
|
3757
3770
|
# resp.db_cluster.cluster_create_time #=> Time
|
3758
3771
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
3759
3772
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -3991,6 +4004,10 @@ module Aws::DocDB
|
|
3991
4004
|
# Indicates the certificate that needs to be associated with the
|
3992
4005
|
# instance.
|
3993
4006
|
#
|
4007
|
+
# @option params [Boolean] :copy_tags_to_snapshot
|
4008
|
+
# A value that indicates whether to copy all tags from the DB instance
|
4009
|
+
# to snapshots of the DB instance. By default, tags are not copied.
|
4010
|
+
#
|
3994
4011
|
# @option params [Integer] :promotion_tier
|
3995
4012
|
# A value that specifies the order in which an Amazon DocumentDB replica
|
3996
4013
|
# is promoted to the primary instance after a failure of the existing
|
@@ -4035,6 +4052,7 @@ module Aws::DocDB
|
|
4035
4052
|
# auto_minor_version_upgrade: false,
|
4036
4053
|
# new_db_instance_identifier: "String",
|
4037
4054
|
# ca_certificate_identifier: "String",
|
4055
|
+
# copy_tags_to_snapshot: false,
|
4038
4056
|
# promotion_tier: 1,
|
4039
4057
|
# enable_performance_insights: false,
|
4040
4058
|
# performance_insights_kms_key_id: "String",
|
@@ -4097,6 +4115,7 @@ module Aws::DocDB
|
|
4097
4115
|
# resp.db_instance.kms_key_id #=> String
|
4098
4116
|
# resp.db_instance.dbi_resource_id #=> String
|
4099
4117
|
# resp.db_instance.ca_certificate_identifier #=> String
|
4118
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
4100
4119
|
# resp.db_instance.promotion_tier #=> Integer
|
4101
4120
|
# resp.db_instance.db_instance_arn #=> String
|
4102
4121
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -4393,6 +4412,7 @@ module Aws::DocDB
|
|
4393
4412
|
# resp.db_instance.kms_key_id #=> String
|
4394
4413
|
# resp.db_instance.dbi_resource_id #=> String
|
4395
4414
|
# resp.db_instance.ca_certificate_identifier #=> String
|
4415
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
4396
4416
|
# resp.db_instance.promotion_tier #=> Integer
|
4397
4417
|
# resp.db_instance.db_instance_arn #=> String
|
4398
4418
|
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
@@ -4766,6 +4786,7 @@ module Aws::DocDB
|
|
4766
4786
|
# resp.db_cluster.associated_roles #=> Array
|
4767
4787
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4768
4788
|
# resp.db_cluster.associated_roles[0].status #=> String
|
4789
|
+
# resp.db_cluster.clone_group_id #=> String
|
4769
4790
|
# resp.db_cluster.cluster_create_time #=> Time
|
4770
4791
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
4771
4792
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -4798,6 +4819,22 @@ module Aws::DocDB
|
|
4798
4819
|
#
|
4799
4820
|
# * Cannot end with a hyphen or contain two consecutive hyphens.
|
4800
4821
|
#
|
4822
|
+
# @option params [String] :restore_type
|
4823
|
+
# The type of restore to be performed. You can specify one of the
|
4824
|
+
# following values:
|
4825
|
+
#
|
4826
|
+
# * `full-copy` - The new DB cluster is restored as a full copy of the
|
4827
|
+
# source DB cluster.
|
4828
|
+
#
|
4829
|
+
# * `copy-on-write` - The new DB cluster is restored as a clone of the
|
4830
|
+
# source DB cluster.
|
4831
|
+
#
|
4832
|
+
# Constraints: You can't specify `copy-on-write` if the engine version
|
4833
|
+
# of the source DB cluster is earlier than 1.11.
|
4834
|
+
#
|
4835
|
+
# If you don't specify a `RestoreType` value, then the new DB cluster
|
4836
|
+
# is restored as a full copy of the source DB cluster.
|
4837
|
+
#
|
4801
4838
|
# @option params [required, String] :source_db_cluster_identifier
|
4802
4839
|
# The identifier of the source cluster from which to restore.
|
4803
4840
|
#
|
@@ -4902,6 +4939,7 @@ module Aws::DocDB
|
|
4902
4939
|
#
|
4903
4940
|
# resp = client.restore_db_cluster_to_point_in_time({
|
4904
4941
|
# db_cluster_identifier: "String", # required
|
4942
|
+
# restore_type: "String",
|
4905
4943
|
# source_db_cluster_identifier: "String", # required
|
4906
4944
|
# restore_to_time: Time.now,
|
4907
4945
|
# use_latest_restorable_time: false,
|
@@ -4959,6 +4997,7 @@ module Aws::DocDB
|
|
4959
4997
|
# resp.db_cluster.associated_roles #=> Array
|
4960
4998
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
4961
4999
|
# resp.db_cluster.associated_roles[0].status #=> String
|
5000
|
+
# resp.db_cluster.clone_group_id #=> String
|
4962
5001
|
# resp.db_cluster.cluster_create_time #=> Time
|
4963
5002
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
4964
5003
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -5035,6 +5074,7 @@ module Aws::DocDB
|
|
5035
5074
|
# resp.db_cluster.associated_roles #=> Array
|
5036
5075
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5037
5076
|
# resp.db_cluster.associated_roles[0].status #=> String
|
5077
|
+
# resp.db_cluster.clone_group_id #=> String
|
5038
5078
|
# resp.db_cluster.cluster_create_time #=> Time
|
5039
5079
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
5040
5080
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -5111,6 +5151,7 @@ module Aws::DocDB
|
|
5111
5151
|
# resp.db_cluster.associated_roles #=> Array
|
5112
5152
|
# resp.db_cluster.associated_roles[0].role_arn #=> String
|
5113
5153
|
# resp.db_cluster.associated_roles[0].status #=> String
|
5154
|
+
# resp.db_cluster.clone_group_id #=> String
|
5114
5155
|
# resp.db_cluster.cluster_create_time #=> Time
|
5115
5156
|
# resp.db_cluster.enabled_cloudwatch_logs_exports #=> Array
|
5116
5157
|
# resp.db_cluster.enabled_cloudwatch_logs_exports[0] #=> String
|
@@ -5138,7 +5179,7 @@ module Aws::DocDB
|
|
5138
5179
|
params: params,
|
5139
5180
|
config: config)
|
5140
5181
|
context[:gem_name] = 'aws-sdk-docdb'
|
5141
|
-
context[:gem_version] = '1.
|
5182
|
+
context[:gem_version] = '1.43.0'
|
5142
5183
|
Seahorse::Client::Request.new(handlers, context)
|
5143
5184
|
end
|
5144
5185
|
|
@@ -372,6 +372,7 @@ module Aws::DocDB
|
|
372
372
|
CreateDBInstanceMessage.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
373
373
|
CreateDBInstanceMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
374
374
|
CreateDBInstanceMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
375
|
+
CreateDBInstanceMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
375
376
|
CreateDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
376
377
|
CreateDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
377
378
|
CreateDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
@@ -441,6 +442,7 @@ module Aws::DocDB
|
|
441
442
|
DBCluster.add_member(:db_cluster_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbClusterResourceId"))
|
442
443
|
DBCluster.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
|
443
444
|
DBCluster.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBClusterRoles, location_name: "AssociatedRoles"))
|
445
|
+
DBCluster.add_member(:clone_group_id, Shapes::ShapeRef.new(shape: String, location_name: "CloneGroupId"))
|
444
446
|
DBCluster.add_member(:cluster_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ClusterCreateTime"))
|
445
447
|
DBCluster.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
446
448
|
DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
|
@@ -571,6 +573,7 @@ module Aws::DocDB
|
|
571
573
|
DBInstance.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
572
574
|
DBInstance.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
|
573
575
|
DBInstance.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
576
|
+
DBInstance.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
574
577
|
DBInstance.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
575
578
|
DBInstance.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
|
576
579
|
DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
@@ -969,6 +972,7 @@ module Aws::DocDB
|
|
969
972
|
ModifyDBInstanceMessage.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
970
973
|
ModifyDBInstanceMessage.add_member(:new_db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "NewDBInstanceIdentifier"))
|
971
974
|
ModifyDBInstanceMessage.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
975
|
+
ModifyDBInstanceMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
972
976
|
ModifyDBInstanceMessage.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "PromotionTier"))
|
973
977
|
ModifyDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
974
978
|
ModifyDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
@@ -1125,6 +1129,7 @@ module Aws::DocDB
|
|
1125
1129
|
RestoreDBClusterFromSnapshotResult.struct_class = Types::RestoreDBClusterFromSnapshotResult
|
1126
1130
|
|
1127
1131
|
RestoreDBClusterToPointInTimeMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1132
|
+
RestoreDBClusterToPointInTimeMessage.add_member(:restore_type, Shapes::ShapeRef.new(shape: String, location_name: "RestoreType"))
|
1128
1133
|
RestoreDBClusterToPointInTimeMessage.add_member(:source_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceDBClusterIdentifier"))
|
1129
1134
|
RestoreDBClusterToPointInTimeMessage.add_member(:restore_to_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "RestoreToTime"))
|
1130
1135
|
RestoreDBClusterToPointInTimeMessage.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseLatestRestorableTime"))
|
data/lib/aws-sdk-docdb/types.rb
CHANGED
@@ -942,6 +942,7 @@ module Aws::DocDB
|
|
942
942
|
# },
|
943
943
|
# ],
|
944
944
|
# db_cluster_identifier: "String", # required
|
945
|
+
# copy_tags_to_snapshot: false,
|
945
946
|
# promotion_tier: 1,
|
946
947
|
# enable_performance_insights: false,
|
947
948
|
# performance_insights_kms_key_id: "String",
|
@@ -1014,6 +1015,11 @@ module Aws::DocDB
|
|
1014
1015
|
# The identifier of the cluster that the instance will belong to.
|
1015
1016
|
# @return [String]
|
1016
1017
|
#
|
1018
|
+
# @!attribute [rw] copy_tags_to_snapshot
|
1019
|
+
# A value that indicates whether to copy tags from the DB instance to
|
1020
|
+
# snapshots of the DB instance. By default, tags are not copied.
|
1021
|
+
# @return [Boolean]
|
1022
|
+
#
|
1017
1023
|
# @!attribute [rw] promotion_tier
|
1018
1024
|
# A value that specifies the order in which an Amazon DocumentDB
|
1019
1025
|
# replica is promoted to the primary instance after a failure of the
|
@@ -1058,6 +1064,7 @@ module Aws::DocDB
|
|
1058
1064
|
:auto_minor_version_upgrade,
|
1059
1065
|
:tags,
|
1060
1066
|
:db_cluster_identifier,
|
1067
|
+
:copy_tags_to_snapshot,
|
1061
1068
|
:promotion_tier,
|
1062
1069
|
:enable_performance_insights,
|
1063
1070
|
:performance_insights_kms_key_id)
|
@@ -1468,6 +1475,10 @@ module Aws::DocDB
|
|
1468
1475
|
# other Amazon Web Services services on your behalf.
|
1469
1476
|
# @return [Array<Types::DBClusterRole>]
|
1470
1477
|
#
|
1478
|
+
# @!attribute [rw] clone_group_id
|
1479
|
+
# Identifies the clone group to which the DB cluster is associated.
|
1480
|
+
# @return [String]
|
1481
|
+
#
|
1471
1482
|
# @!attribute [rw] cluster_create_time
|
1472
1483
|
# Specifies the time when the cluster was created, in Universal
|
1473
1484
|
# Coordinated Time (UTC).
|
@@ -1517,6 +1528,7 @@ module Aws::DocDB
|
|
1517
1528
|
:db_cluster_resource_id,
|
1518
1529
|
:db_cluster_arn,
|
1519
1530
|
:associated_roles,
|
1531
|
+
:clone_group_id,
|
1520
1532
|
:cluster_create_time,
|
1521
1533
|
:enabled_cloudwatch_logs_exports,
|
1522
1534
|
:deletion_protection)
|
@@ -2114,6 +2126,11 @@ module Aws::DocDB
|
|
2114
2126
|
# The identifier of the CA certificate for this DB instance.
|
2115
2127
|
# @return [String]
|
2116
2128
|
#
|
2129
|
+
# @!attribute [rw] copy_tags_to_snapshot
|
2130
|
+
# A value that indicates whether to copy tags from the DB instance to
|
2131
|
+
# snapshots of the DB instance. By default, tags are not copied.
|
2132
|
+
# @return [Boolean]
|
2133
|
+
#
|
2117
2134
|
# @!attribute [rw] promotion_tier
|
2118
2135
|
# A value that specifies the order in which an Amazon DocumentDB
|
2119
2136
|
# replica is promoted to the primary instance after a failure of the
|
@@ -2155,6 +2172,7 @@ module Aws::DocDB
|
|
2155
2172
|
:kms_key_id,
|
2156
2173
|
:dbi_resource_id,
|
2157
2174
|
:ca_certificate_identifier,
|
2175
|
+
:copy_tags_to_snapshot,
|
2158
2176
|
:promotion_tier,
|
2159
2177
|
:db_instance_arn,
|
2160
2178
|
:enabled_cloudwatch_logs_exports)
|
@@ -4690,6 +4708,7 @@ module Aws::DocDB
|
|
4690
4708
|
# auto_minor_version_upgrade: false,
|
4691
4709
|
# new_db_instance_identifier: "String",
|
4692
4710
|
# ca_certificate_identifier: "String",
|
4711
|
+
# copy_tags_to_snapshot: false,
|
4693
4712
|
# promotion_tier: 1,
|
4694
4713
|
# enable_performance_insights: false,
|
4695
4714
|
# performance_insights_kms_key_id: "String",
|
@@ -4780,6 +4799,11 @@ module Aws::DocDB
|
|
4780
4799
|
# instance.
|
4781
4800
|
# @return [String]
|
4782
4801
|
#
|
4802
|
+
# @!attribute [rw] copy_tags_to_snapshot
|
4803
|
+
# A value that indicates whether to copy all tags from the DB instance
|
4804
|
+
# to snapshots of the DB instance. By default, tags are not copied.
|
4805
|
+
# @return [Boolean]
|
4806
|
+
#
|
4783
4807
|
# @!attribute [rw] promotion_tier
|
4784
4808
|
# A value that specifies the order in which an Amazon DocumentDB
|
4785
4809
|
# replica is promoted to the primary instance after a failure of the
|
@@ -4823,6 +4847,7 @@ module Aws::DocDB
|
|
4823
4847
|
:auto_minor_version_upgrade,
|
4824
4848
|
:new_db_instance_identifier,
|
4825
4849
|
:ca_certificate_identifier,
|
4850
|
+
:copy_tags_to_snapshot,
|
4826
4851
|
:promotion_tier,
|
4827
4852
|
:enable_performance_insights,
|
4828
4853
|
:performance_insights_kms_key_id)
|
@@ -5751,6 +5776,7 @@ module Aws::DocDB
|
|
5751
5776
|
#
|
5752
5777
|
# {
|
5753
5778
|
# db_cluster_identifier: "String", # required
|
5779
|
+
# restore_type: "String",
|
5754
5780
|
# source_db_cluster_identifier: "String", # required
|
5755
5781
|
# restore_to_time: Time.now,
|
5756
5782
|
# use_latest_restorable_time: false,
|
@@ -5780,6 +5806,23 @@ module Aws::DocDB
|
|
5780
5806
|
# * Cannot end with a hyphen or contain two consecutive hyphens.
|
5781
5807
|
# @return [String]
|
5782
5808
|
#
|
5809
|
+
# @!attribute [rw] restore_type
|
5810
|
+
# The type of restore to be performed. You can specify one of the
|
5811
|
+
# following values:
|
5812
|
+
#
|
5813
|
+
# * `full-copy` - The new DB cluster is restored as a full copy of the
|
5814
|
+
# source DB cluster.
|
5815
|
+
#
|
5816
|
+
# * `copy-on-write` - The new DB cluster is restored as a clone of the
|
5817
|
+
# source DB cluster.
|
5818
|
+
#
|
5819
|
+
# Constraints: You can't specify `copy-on-write` if the engine
|
5820
|
+
# version of the source DB cluster is earlier than 1.11.
|
5821
|
+
#
|
5822
|
+
# If you don't specify a `RestoreType` value, then the new DB cluster
|
5823
|
+
# is restored as a full copy of the source DB cluster.
|
5824
|
+
# @return [String]
|
5825
|
+
#
|
5783
5826
|
# @!attribute [rw] source_db_cluster_identifier
|
5784
5827
|
# The identifier of the source cluster from which to restore.
|
5785
5828
|
#
|
@@ -5892,6 +5935,7 @@ module Aws::DocDB
|
|
5892
5935
|
#
|
5893
5936
|
class RestoreDBClusterToPointInTimeMessage < Struct.new(
|
5894
5937
|
:db_cluster_identifier,
|
5938
|
+
:restore_type,
|
5895
5939
|
:source_db_cluster_identifier,
|
5896
5940
|
:restore_to_time,
|
5897
5941
|
:use_latest_restorable_time,
|
data/lib/aws-sdk-docdb.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-docdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.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: 2022-
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|