aws-sdk-rds 1.153.0 → 1.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +183 -1
- data/lib/aws-sdk-rds/client_api.rb +19 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +16 -0
- data/lib/aws-sdk-rds/types.rb +62 -0
- data/lib/aws-sdk-rds.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: aadb1867e4c7741c3b14100a6b66173ffaa11a328076dd38d4cc3a691fd118cc
|
4
|
+
data.tar.gz: c5f2683188950bce2822401ed37166cec221e00ad3f89cd992fbbfe90f1a2d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c66483af659cf682396472888f28cb4a13af991cced8e1552e3eac4ed6e7f4ea79937de88c0a1b2262f0c36fb431c6f9f58d3d0124520155ce7c924fb54bff
|
7
|
+
data.tar.gz: 21ddb8bb59b3f3456585824fa6c4d883e88bb73c31a2fa87b52896a7f1254280457030b7163262ebef0b8474bc9b9c9dfbf96dad1972d32741372393b6149e85
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.154.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -1643,6 +1643,7 @@ module Aws::RDS
|
|
1643
1643
|
# resp.db_snapshot.tag_list[0].key #=> String
|
1644
1644
|
# resp.db_snapshot.tag_list[0].value #=> String
|
1645
1645
|
# resp.db_snapshot.original_snapshot_create_time #=> Time
|
1646
|
+
# resp.db_snapshot.snapshot_database_time #=> Time
|
1646
1647
|
# resp.db_snapshot.snapshot_target #=> String
|
1647
1648
|
#
|
1648
1649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot AWS API Documentation
|
@@ -6089,6 +6090,7 @@ module Aws::RDS
|
|
6089
6090
|
# resp.db_snapshot.tag_list[0].key #=> String
|
6090
6091
|
# resp.db_snapshot.tag_list[0].value #=> String
|
6091
6092
|
# resp.db_snapshot.original_snapshot_create_time #=> Time
|
6093
|
+
# resp.db_snapshot.snapshot_database_time #=> Time
|
6092
6094
|
# resp.db_snapshot.snapshot_target #=> String
|
6093
6095
|
#
|
6094
6096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot AWS API Documentation
|
@@ -7729,6 +7731,7 @@ module Aws::RDS
|
|
7729
7731
|
# resp.db_snapshot.tag_list[0].key #=> String
|
7730
7732
|
# resp.db_snapshot.tag_list[0].value #=> String
|
7731
7733
|
# resp.db_snapshot.original_snapshot_create_time #=> Time
|
7734
|
+
# resp.db_snapshot.snapshot_database_time #=> Time
|
7732
7735
|
# resp.db_snapshot.snapshot_target #=> String
|
7733
7736
|
#
|
7734
7737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot AWS API Documentation
|
@@ -10589,6 +10592,7 @@ module Aws::RDS
|
|
10589
10592
|
# resp.db_snapshots[0].tag_list[0].key #=> String
|
10590
10593
|
# resp.db_snapshots[0].tag_list[0].value #=> String
|
10591
10594
|
# resp.db_snapshots[0].original_snapshot_create_time #=> Time
|
10595
|
+
# resp.db_snapshots[0].snapshot_database_time #=> Time
|
10592
10596
|
# resp.db_snapshots[0].snapshot_target #=> String
|
10593
10597
|
#
|
10594
10598
|
#
|
@@ -15863,6 +15867,7 @@ module Aws::RDS
|
|
15863
15867
|
# resp.db_snapshot.tag_list[0].key #=> String
|
15864
15868
|
# resp.db_snapshot.tag_list[0].value #=> String
|
15865
15869
|
# resp.db_snapshot.original_snapshot_create_time #=> Time
|
15870
|
+
# resp.db_snapshot.snapshot_database_time #=> Time
|
15866
15871
|
# resp.db_snapshot.snapshot_target #=> String
|
15867
15872
|
#
|
15868
15873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot AWS API Documentation
|
@@ -22817,6 +22822,183 @@ module Aws::RDS
|
|
22817
22822
|
req.send_request(options)
|
22818
22823
|
end
|
22819
22824
|
|
22825
|
+
# Switches over an Oracle standby database in an Oracle Data Guard
|
22826
|
+
# environment, making it the new primary database. Issue this command in
|
22827
|
+
# the AWS Region that hosts the current standby database.
|
22828
|
+
#
|
22829
|
+
# @option params [required, String] :db_instance_identifier
|
22830
|
+
# The DB instance identifier of the current standby database. This value
|
22831
|
+
# is stored as a lowercase string.
|
22832
|
+
#
|
22833
|
+
# Constraints:
|
22834
|
+
#
|
22835
|
+
# * Must match the identifier of an existing Oracle read replica DB
|
22836
|
+
# instance.
|
22837
|
+
#
|
22838
|
+
# ^
|
22839
|
+
#
|
22840
|
+
# @return [Types::SwitchoverReadReplicaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22841
|
+
#
|
22842
|
+
# * {Types::SwitchoverReadReplicaResult#db_instance #db_instance} => Types::DBInstance
|
22843
|
+
#
|
22844
|
+
# @example Request syntax with placeholder values
|
22845
|
+
#
|
22846
|
+
# resp = client.switchover_read_replica({
|
22847
|
+
# db_instance_identifier: "String", # required
|
22848
|
+
# })
|
22849
|
+
#
|
22850
|
+
# @example Response structure
|
22851
|
+
#
|
22852
|
+
# resp.db_instance.db_instance_identifier #=> String
|
22853
|
+
# resp.db_instance.db_instance_class #=> String
|
22854
|
+
# resp.db_instance.engine #=> String
|
22855
|
+
# resp.db_instance.db_instance_status #=> String
|
22856
|
+
# resp.db_instance.automatic_restart_time #=> Time
|
22857
|
+
# resp.db_instance.master_username #=> String
|
22858
|
+
# resp.db_instance.db_name #=> String
|
22859
|
+
# resp.db_instance.endpoint.address #=> String
|
22860
|
+
# resp.db_instance.endpoint.port #=> Integer
|
22861
|
+
# resp.db_instance.endpoint.hosted_zone_id #=> String
|
22862
|
+
# resp.db_instance.allocated_storage #=> Integer
|
22863
|
+
# resp.db_instance.instance_create_time #=> Time
|
22864
|
+
# resp.db_instance.preferred_backup_window #=> String
|
22865
|
+
# resp.db_instance.backup_retention_period #=> Integer
|
22866
|
+
# resp.db_instance.db_security_groups #=> Array
|
22867
|
+
# resp.db_instance.db_security_groups[0].db_security_group_name #=> String
|
22868
|
+
# resp.db_instance.db_security_groups[0].status #=> String
|
22869
|
+
# resp.db_instance.vpc_security_groups #=> Array
|
22870
|
+
# resp.db_instance.vpc_security_groups[0].vpc_security_group_id #=> String
|
22871
|
+
# resp.db_instance.vpc_security_groups[0].status #=> String
|
22872
|
+
# resp.db_instance.db_parameter_groups #=> Array
|
22873
|
+
# resp.db_instance.db_parameter_groups[0].db_parameter_group_name #=> String
|
22874
|
+
# resp.db_instance.db_parameter_groups[0].parameter_apply_status #=> String
|
22875
|
+
# resp.db_instance.availability_zone #=> String
|
22876
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_name #=> String
|
22877
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_description #=> String
|
22878
|
+
# resp.db_instance.db_subnet_group.vpc_id #=> String
|
22879
|
+
# resp.db_instance.db_subnet_group.subnet_group_status #=> String
|
22880
|
+
# resp.db_instance.db_subnet_group.subnets #=> Array
|
22881
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_identifier #=> String
|
22882
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_availability_zone.name #=> String
|
22883
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_outpost.arn #=> String
|
22884
|
+
# resp.db_instance.db_subnet_group.subnets[0].subnet_status #=> String
|
22885
|
+
# resp.db_instance.db_subnet_group.db_subnet_group_arn #=> String
|
22886
|
+
# resp.db_instance.db_subnet_group.supported_network_types #=> Array
|
22887
|
+
# resp.db_instance.db_subnet_group.supported_network_types[0] #=> String
|
22888
|
+
# resp.db_instance.preferred_maintenance_window #=> String
|
22889
|
+
# resp.db_instance.pending_modified_values.db_instance_class #=> String
|
22890
|
+
# resp.db_instance.pending_modified_values.allocated_storage #=> Integer
|
22891
|
+
# resp.db_instance.pending_modified_values.master_user_password #=> String
|
22892
|
+
# resp.db_instance.pending_modified_values.port #=> Integer
|
22893
|
+
# resp.db_instance.pending_modified_values.backup_retention_period #=> Integer
|
22894
|
+
# resp.db_instance.pending_modified_values.multi_az #=> Boolean
|
22895
|
+
# resp.db_instance.pending_modified_values.engine_version #=> String
|
22896
|
+
# resp.db_instance.pending_modified_values.license_model #=> String
|
22897
|
+
# resp.db_instance.pending_modified_values.iops #=> Integer
|
22898
|
+
# resp.db_instance.pending_modified_values.db_instance_identifier #=> String
|
22899
|
+
# resp.db_instance.pending_modified_values.storage_type #=> String
|
22900
|
+
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
22901
|
+
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
22902
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
22903
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
22904
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
22905
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
22906
|
+
# resp.db_instance.pending_modified_values.processor_features #=> Array
|
22907
|
+
# resp.db_instance.pending_modified_values.processor_features[0].name #=> String
|
22908
|
+
# resp.db_instance.pending_modified_values.processor_features[0].value #=> String
|
22909
|
+
# resp.db_instance.pending_modified_values.iam_database_authentication_enabled #=> Boolean
|
22910
|
+
# resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
|
22911
|
+
# resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
|
22912
|
+
# resp.db_instance.latest_restorable_time #=> Time
|
22913
|
+
# resp.db_instance.multi_az #=> Boolean
|
22914
|
+
# resp.db_instance.engine_version #=> String
|
22915
|
+
# resp.db_instance.auto_minor_version_upgrade #=> Boolean
|
22916
|
+
# resp.db_instance.read_replica_source_db_instance_identifier #=> String
|
22917
|
+
# resp.db_instance.read_replica_db_instance_identifiers #=> Array
|
22918
|
+
# resp.db_instance.read_replica_db_instance_identifiers[0] #=> String
|
22919
|
+
# resp.db_instance.read_replica_db_cluster_identifiers #=> Array
|
22920
|
+
# resp.db_instance.read_replica_db_cluster_identifiers[0] #=> String
|
22921
|
+
# resp.db_instance.replica_mode #=> String, one of "open-read-only", "mounted"
|
22922
|
+
# resp.db_instance.license_model #=> String
|
22923
|
+
# resp.db_instance.iops #=> Integer
|
22924
|
+
# resp.db_instance.option_group_memberships #=> Array
|
22925
|
+
# resp.db_instance.option_group_memberships[0].option_group_name #=> String
|
22926
|
+
# resp.db_instance.option_group_memberships[0].status #=> String
|
22927
|
+
# resp.db_instance.character_set_name #=> String
|
22928
|
+
# resp.db_instance.nchar_character_set_name #=> String
|
22929
|
+
# resp.db_instance.secondary_availability_zone #=> String
|
22930
|
+
# resp.db_instance.publicly_accessible #=> Boolean
|
22931
|
+
# resp.db_instance.status_infos #=> Array
|
22932
|
+
# resp.db_instance.status_infos[0].status_type #=> String
|
22933
|
+
# resp.db_instance.status_infos[0].normal #=> Boolean
|
22934
|
+
# resp.db_instance.status_infos[0].status #=> String
|
22935
|
+
# resp.db_instance.status_infos[0].message #=> String
|
22936
|
+
# resp.db_instance.storage_type #=> String
|
22937
|
+
# resp.db_instance.tde_credential_arn #=> String
|
22938
|
+
# resp.db_instance.db_instance_port #=> Integer
|
22939
|
+
# resp.db_instance.db_cluster_identifier #=> String
|
22940
|
+
# resp.db_instance.storage_encrypted #=> Boolean
|
22941
|
+
# resp.db_instance.kms_key_id #=> String
|
22942
|
+
# resp.db_instance.dbi_resource_id #=> String
|
22943
|
+
# resp.db_instance.ca_certificate_identifier #=> String
|
22944
|
+
# resp.db_instance.domain_memberships #=> Array
|
22945
|
+
# resp.db_instance.domain_memberships[0].domain #=> String
|
22946
|
+
# resp.db_instance.domain_memberships[0].status #=> String
|
22947
|
+
# resp.db_instance.domain_memberships[0].fqdn #=> String
|
22948
|
+
# resp.db_instance.domain_memberships[0].iam_role_name #=> String
|
22949
|
+
# resp.db_instance.copy_tags_to_snapshot #=> Boolean
|
22950
|
+
# resp.db_instance.monitoring_interval #=> Integer
|
22951
|
+
# resp.db_instance.enhanced_monitoring_resource_arn #=> String
|
22952
|
+
# resp.db_instance.monitoring_role_arn #=> String
|
22953
|
+
# resp.db_instance.promotion_tier #=> Integer
|
22954
|
+
# resp.db_instance.db_instance_arn #=> String
|
22955
|
+
# resp.db_instance.timezone #=> String
|
22956
|
+
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
22957
|
+
# resp.db_instance.performance_insights_enabled #=> Boolean
|
22958
|
+
# resp.db_instance.performance_insights_kms_key_id #=> String
|
22959
|
+
# resp.db_instance.performance_insights_retention_period #=> Integer
|
22960
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
22961
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
22962
|
+
# resp.db_instance.processor_features #=> Array
|
22963
|
+
# resp.db_instance.processor_features[0].name #=> String
|
22964
|
+
# resp.db_instance.processor_features[0].value #=> String
|
22965
|
+
# resp.db_instance.deletion_protection #=> Boolean
|
22966
|
+
# resp.db_instance.associated_roles #=> Array
|
22967
|
+
# resp.db_instance.associated_roles[0].role_arn #=> String
|
22968
|
+
# resp.db_instance.associated_roles[0].feature_name #=> String
|
22969
|
+
# resp.db_instance.associated_roles[0].status #=> String
|
22970
|
+
# resp.db_instance.listener_endpoint.address #=> String
|
22971
|
+
# resp.db_instance.listener_endpoint.port #=> Integer
|
22972
|
+
# resp.db_instance.listener_endpoint.hosted_zone_id #=> String
|
22973
|
+
# resp.db_instance.max_allocated_storage #=> Integer
|
22974
|
+
# resp.db_instance.tag_list #=> Array
|
22975
|
+
# resp.db_instance.tag_list[0].key #=> String
|
22976
|
+
# resp.db_instance.tag_list[0].value #=> String
|
22977
|
+
# resp.db_instance.db_instance_automated_backups_replications #=> Array
|
22978
|
+
# resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
|
22979
|
+
# resp.db_instance.customer_owned_ip_enabled #=> Boolean
|
22980
|
+
# resp.db_instance.aws_backup_recovery_point_arn #=> String
|
22981
|
+
# resp.db_instance.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
22982
|
+
# resp.db_instance.activity_stream_kms_key_id #=> String
|
22983
|
+
# resp.db_instance.activity_stream_kinesis_stream_name #=> String
|
22984
|
+
# resp.db_instance.activity_stream_mode #=> String, one of "sync", "async"
|
22985
|
+
# resp.db_instance.activity_stream_engine_native_audit_fields_included #=> Boolean
|
22986
|
+
# resp.db_instance.automation_mode #=> String, one of "full", "all-paused"
|
22987
|
+
# resp.db_instance.resume_full_automation_mode_time #=> Time
|
22988
|
+
# resp.db_instance.custom_iam_instance_profile #=> String
|
22989
|
+
# resp.db_instance.backup_target #=> String
|
22990
|
+
# resp.db_instance.network_type #=> String
|
22991
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
22992
|
+
#
|
22993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
|
22994
|
+
#
|
22995
|
+
# @overload switchover_read_replica(params = {})
|
22996
|
+
# @param [Hash] params ({})
|
22997
|
+
def switchover_read_replica(params = {}, options = {})
|
22998
|
+
req = build_request(:switchover_read_replica, params)
|
22999
|
+
req.send_request(options)
|
23000
|
+
end
|
23001
|
+
|
22820
23002
|
# @!endgroup
|
22821
23003
|
|
22822
23004
|
# @param params ({})
|
@@ -22830,7 +23012,7 @@ module Aws::RDS
|
|
22830
23012
|
params: params,
|
22831
23013
|
config: config)
|
22832
23014
|
context[:gem_name] = 'aws-sdk-rds'
|
22833
|
-
context[:gem_version] = '1.
|
23015
|
+
context[:gem_version] = '1.154.0'
|
22834
23016
|
Seahorse::Client::Request.new(handlers, context)
|
22835
23017
|
end
|
22836
23018
|
|
@@ -581,6 +581,8 @@ module Aws::RDS
|
|
581
581
|
SubscriptionNotFoundFault = Shapes::StructureShape.new(name: 'SubscriptionNotFoundFault')
|
582
582
|
SupportedCharacterSetsList = Shapes::ListShape.new(name: 'SupportedCharacterSetsList')
|
583
583
|
SupportedTimezonesList = Shapes::ListShape.new(name: 'SupportedTimezonesList')
|
584
|
+
SwitchoverReadReplicaMessage = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaMessage')
|
585
|
+
SwitchoverReadReplicaResult = Shapes::StructureShape.new(name: 'SwitchoverReadReplicaResult')
|
584
586
|
TStamp = Shapes::TimestampShape.new(name: 'TStamp')
|
585
587
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
586
588
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -1651,6 +1653,7 @@ module Aws::RDS
|
|
1651
1653
|
DBSnapshot.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
|
1652
1654
|
DBSnapshot.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
1653
1655
|
DBSnapshot.add_member(:original_snapshot_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "OriginalSnapshotCreateTime"))
|
1656
|
+
DBSnapshot.add_member(:snapshot_database_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "SnapshotDatabaseTime"))
|
1654
1657
|
DBSnapshot.add_member(:snapshot_target, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotTarget"))
|
1655
1658
|
DBSnapshot.struct_class = Types::DBSnapshot
|
1656
1659
|
|
@@ -3381,6 +3384,12 @@ module Aws::RDS
|
|
3381
3384
|
|
3382
3385
|
SupportedTimezonesList.member = Shapes::ShapeRef.new(shape: Timezone, location_name: "Timezone")
|
3383
3386
|
|
3387
|
+
SwitchoverReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
3388
|
+
SwitchoverReadReplicaMessage.struct_class = Types::SwitchoverReadReplicaMessage
|
3389
|
+
|
3390
|
+
SwitchoverReadReplicaResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
3391
|
+
SwitchoverReadReplicaResult.struct_class = Types::SwitchoverReadReplicaResult
|
3392
|
+
|
3384
3393
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
3385
3394
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
3386
3395
|
Tag.struct_class = Types::Tag
|
@@ -5300,6 +5309,16 @@ module Aws::RDS
|
|
5300
5309
|
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
5301
5310
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
5302
5311
|
end)
|
5312
|
+
|
5313
|
+
api.add_operation(:switchover_read_replica, Seahorse::Model::Operation.new.tap do |o|
|
5314
|
+
o.name = "SwitchoverReadReplica"
|
5315
|
+
o.http_method = "POST"
|
5316
|
+
o.http_request_uri = "/"
|
5317
|
+
o.input = Shapes::ShapeRef.new(shape: SwitchoverReadReplicaMessage)
|
5318
|
+
o.output = Shapes::ShapeRef.new(shape: SwitchoverReadReplicaResult)
|
5319
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
5320
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
5321
|
+
end)
|
5303
5322
|
end
|
5304
5323
|
|
5305
5324
|
end
|
@@ -237,6 +237,22 @@ module Aws::RDS
|
|
237
237
|
data[:original_snapshot_create_time]
|
238
238
|
end
|
239
239
|
|
240
|
+
# The timestamp of the most recent transaction applied to the database
|
241
|
+
# that you're backing up. Thus, if you restore a snapshot,
|
242
|
+
# SnapshotDatabaseTime is the most recent transaction in the restored DB
|
243
|
+
# instance. In contrast, originalSnapshotCreateTime specifies the system
|
244
|
+
# time that the snapshot completed.
|
245
|
+
#
|
246
|
+
# If you back up a read replica, you can determine the replica lag by
|
247
|
+
# comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For
|
248
|
+
# example, if originalSnapshotCreateTime is two hours later than
|
249
|
+
# SnapshotDatabaseTime, then the replica lag is two hours. ***
|
250
|
+
# REVIEWERS 7/27: Switchover
|
251
|
+
# @return [Time]
|
252
|
+
def snapshot_database_time
|
253
|
+
data[:snapshot_database_time]
|
254
|
+
end
|
255
|
+
|
240
256
|
# Specifies where manual snapshots are stored: Amazon Web Services
|
241
257
|
# Outposts or the Amazon Web Services Region.
|
242
258
|
# @return [String]
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -9194,6 +9194,20 @@ module Aws::RDS
|
|
9194
9194
|
# Universal Time (UTC). Doesn't change when the snapshot is copied.
|
9195
9195
|
# @return [Time]
|
9196
9196
|
#
|
9197
|
+
# @!attribute [rw] snapshot_database_time
|
9198
|
+
# The timestamp of the most recent transaction applied to the database
|
9199
|
+
# that you're backing up. Thus, if you restore a snapshot,
|
9200
|
+
# SnapshotDatabaseTime is the most recent transaction in the restored
|
9201
|
+
# DB instance. In contrast, originalSnapshotCreateTime specifies the
|
9202
|
+
# system time that the snapshot completed.
|
9203
|
+
#
|
9204
|
+
# If you back up a read replica, you can determine the replica lag by
|
9205
|
+
# comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For
|
9206
|
+
# example, if originalSnapshotCreateTime is two hours later than
|
9207
|
+
# SnapshotDatabaseTime, then the replica lag is two hours. ***
|
9208
|
+
# REVIEWERS 7/27: Switchover
|
9209
|
+
# @return [Time]
|
9210
|
+
#
|
9197
9211
|
# @!attribute [rw] snapshot_target
|
9198
9212
|
# Specifies where manual snapshots are stored: Amazon Web Services
|
9199
9213
|
# Outposts or the Amazon Web Services Region.
|
@@ -9232,6 +9246,7 @@ module Aws::RDS
|
|
9232
9246
|
:dbi_resource_id,
|
9233
9247
|
:tag_list,
|
9234
9248
|
:original_snapshot_create_time,
|
9249
|
+
:snapshot_database_time,
|
9235
9250
|
:snapshot_target)
|
9236
9251
|
SENSITIVE = []
|
9237
9252
|
include Aws::Structure
|
@@ -23999,6 +24014,53 @@ module Aws::RDS
|
|
23999
24014
|
#
|
24000
24015
|
class SubscriptionNotFoundFault < Aws::EmptyStructure; end
|
24001
24016
|
|
24017
|
+
# @note When making an API call, you may pass SwitchoverReadReplicaMessage
|
24018
|
+
# data as a hash:
|
24019
|
+
#
|
24020
|
+
# {
|
24021
|
+
# db_instance_identifier: "String", # required
|
24022
|
+
# }
|
24023
|
+
#
|
24024
|
+
# @!attribute [rw] db_instance_identifier
|
24025
|
+
# The DB instance identifier of the current standby database. This
|
24026
|
+
# value is stored as a lowercase string.
|
24027
|
+
#
|
24028
|
+
# Constraints:
|
24029
|
+
#
|
24030
|
+
# * Must match the identifier of an existing Oracle read replica DB
|
24031
|
+
# instance.
|
24032
|
+
#
|
24033
|
+
# ^
|
24034
|
+
# @return [String]
|
24035
|
+
#
|
24036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplicaMessage AWS API Documentation
|
24037
|
+
#
|
24038
|
+
class SwitchoverReadReplicaMessage < Struct.new(
|
24039
|
+
:db_instance_identifier)
|
24040
|
+
SENSITIVE = []
|
24041
|
+
include Aws::Structure
|
24042
|
+
end
|
24043
|
+
|
24044
|
+
# @!attribute [rw] db_instance
|
24045
|
+
# Contains the details of an Amazon RDS DB instance.
|
24046
|
+
#
|
24047
|
+
# This data type is used as a response element in the operations
|
24048
|
+
# `CreateDBInstance`, `CreateDBInstanceReadReplica`,
|
24049
|
+
# `DeleteDBInstance`, `DescribeDBInstances`, `ModifyDBInstance`,
|
24050
|
+
# `PromoteReadReplica`, `RebootDBInstance`,
|
24051
|
+
# `RestoreDBInstanceFromDBSnapshot`, `RestoreDBInstanceFromS3`,
|
24052
|
+
# `RestoreDBInstanceToPointInTime`, `StartDBInstance`, and
|
24053
|
+
# `StopDBInstance`.
|
24054
|
+
# @return [Types::DBInstance]
|
24055
|
+
#
|
24056
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplicaResult AWS API Documentation
|
24057
|
+
#
|
24058
|
+
class SwitchoverReadReplicaResult < Struct.new(
|
24059
|
+
:db_instance)
|
24060
|
+
SENSITIVE = []
|
24061
|
+
include Aws::Structure
|
24062
|
+
end
|
24063
|
+
|
24002
24064
|
# Metadata assigned to an Amazon RDS resource consisting of a key-value
|
24003
24065
|
# pair.
|
24004
24066
|
#
|
data/lib/aws-sdk-rds.rb
CHANGED
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.154.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-08-
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|