lib/aws-sdk-rds/client.rb in aws-sdk-rds-1.153.0 vs lib/aws-sdk-rds/client.rb in aws-sdk-rds-1.154.0
- old
+ new
@@ -1641,10 +1641,11 @@
# resp.db_snapshot.dbi_resource_id #=> String
# resp.db_snapshot.tag_list #=> Array
# resp.db_snapshot.tag_list[0].key #=> String
# resp.db_snapshot.tag_list[0].value #=> String
# resp.db_snapshot.original_snapshot_create_time #=> Time
+ # resp.db_snapshot.snapshot_database_time #=> Time
# resp.db_snapshot.snapshot_target #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot AWS API Documentation
#
# @overload copy_db_snapshot(params = {})
@@ -6087,10 +6088,11 @@
# resp.db_snapshot.dbi_resource_id #=> String
# resp.db_snapshot.tag_list #=> Array
# resp.db_snapshot.tag_list[0].key #=> String
# resp.db_snapshot.tag_list[0].value #=> String
# resp.db_snapshot.original_snapshot_create_time #=> Time
+ # resp.db_snapshot.snapshot_database_time #=> Time
# resp.db_snapshot.snapshot_target #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot AWS API Documentation
#
# @overload create_db_snapshot(params = {})
@@ -7727,10 +7729,11 @@
# resp.db_snapshot.dbi_resource_id #=> String
# resp.db_snapshot.tag_list #=> Array
# resp.db_snapshot.tag_list[0].key #=> String
# resp.db_snapshot.tag_list[0].value #=> String
# resp.db_snapshot.original_snapshot_create_time #=> Time
+ # resp.db_snapshot.snapshot_database_time #=> Time
# resp.db_snapshot.snapshot_target #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot AWS API Documentation
#
# @overload delete_db_snapshot(params = {})
@@ -10587,10 +10590,11 @@
# resp.db_snapshots[0].dbi_resource_id #=> String
# resp.db_snapshots[0].tag_list #=> Array
# resp.db_snapshots[0].tag_list[0].key #=> String
# resp.db_snapshots[0].tag_list[0].value #=> String
# resp.db_snapshots[0].original_snapshot_create_time #=> Time
+ # resp.db_snapshots[0].snapshot_database_time #=> Time
# resp.db_snapshots[0].snapshot_target #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
#
@@ -15861,10 +15865,11 @@
# resp.db_snapshot.dbi_resource_id #=> String
# resp.db_snapshot.tag_list #=> Array
# resp.db_snapshot.tag_list[0].key #=> String
# resp.db_snapshot.tag_list[0].value #=> String
# resp.db_snapshot.original_snapshot_create_time #=> Time
+ # resp.db_snapshot.snapshot_database_time #=> Time
# resp.db_snapshot.snapshot_target #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot AWS API Documentation
#
# @overload modify_db_snapshot(params = {})
@@ -22815,10 +22820,187 @@
def stop_db_instance_automated_backups_replication(params = {}, options = {})
req = build_request(:stop_db_instance_automated_backups_replication, params)
req.send_request(options)
end
+ # Switches over an Oracle standby database in an Oracle Data Guard
+ # environment, making it the new primary database. Issue this command in
+ # the AWS Region that hosts the current standby database.
+ #
+ # @option params [required, String] :db_instance_identifier
+ # The DB instance identifier of the current standby database. This value
+ # is stored as a lowercase string.
+ #
+ # Constraints:
+ #
+ # * Must match the identiļ¬er of an existing Oracle read replica DB
+ # instance.
+ #
+ # ^
+ #
+ # @return [Types::SwitchoverReadReplicaResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::SwitchoverReadReplicaResult#db_instance #db_instance} => Types::DBInstance
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.switchover_read_replica({
+ # db_instance_identifier: "String", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.db_instance.db_instance_identifier #=> String
+ # resp.db_instance.db_instance_class #=> String
+ # resp.db_instance.engine #=> String
+ # resp.db_instance.db_instance_status #=> String
+ # resp.db_instance.automatic_restart_time #=> Time
+ # resp.db_instance.master_username #=> String
+ # resp.db_instance.db_name #=> String
+ # resp.db_instance.endpoint.address #=> String
+ # resp.db_instance.endpoint.port #=> Integer
+ # resp.db_instance.endpoint.hosted_zone_id #=> String
+ # resp.db_instance.allocated_storage #=> Integer
+ # resp.db_instance.instance_create_time #=> Time
+ # resp.db_instance.preferred_backup_window #=> String
+ # resp.db_instance.backup_retention_period #=> Integer
+ # resp.db_instance.db_security_groups #=> Array
+ # resp.db_instance.db_security_groups[0].db_security_group_name #=> String
+ # resp.db_instance.db_security_groups[0].status #=> String
+ # resp.db_instance.vpc_security_groups #=> Array
+ # resp.db_instance.vpc_security_groups[0].vpc_security_group_id #=> String
+ # resp.db_instance.vpc_security_groups[0].status #=> String
+ # resp.db_instance.db_parameter_groups #=> Array
+ # resp.db_instance.db_parameter_groups[0].db_parameter_group_name #=> String
+ # resp.db_instance.db_parameter_groups[0].parameter_apply_status #=> String
+ # resp.db_instance.availability_zone #=> String
+ # resp.db_instance.db_subnet_group.db_subnet_group_name #=> String
+ # resp.db_instance.db_subnet_group.db_subnet_group_description #=> String
+ # resp.db_instance.db_subnet_group.vpc_id #=> String
+ # resp.db_instance.db_subnet_group.subnet_group_status #=> String
+ # resp.db_instance.db_subnet_group.subnets #=> Array
+ # resp.db_instance.db_subnet_group.subnets[0].subnet_identifier #=> String
+ # resp.db_instance.db_subnet_group.subnets[0].subnet_availability_zone.name #=> String
+ # resp.db_instance.db_subnet_group.subnets[0].subnet_outpost.arn #=> String
+ # resp.db_instance.db_subnet_group.subnets[0].subnet_status #=> String
+ # resp.db_instance.db_subnet_group.db_subnet_group_arn #=> String
+ # resp.db_instance.db_subnet_group.supported_network_types #=> Array
+ # resp.db_instance.db_subnet_group.supported_network_types[0] #=> String
+ # resp.db_instance.preferred_maintenance_window #=> String
+ # resp.db_instance.pending_modified_values.db_instance_class #=> String
+ # resp.db_instance.pending_modified_values.allocated_storage #=> Integer
+ # resp.db_instance.pending_modified_values.master_user_password #=> String
+ # resp.db_instance.pending_modified_values.port #=> Integer
+ # resp.db_instance.pending_modified_values.backup_retention_period #=> Integer
+ # resp.db_instance.pending_modified_values.multi_az #=> Boolean
+ # resp.db_instance.pending_modified_values.engine_version #=> String
+ # resp.db_instance.pending_modified_values.license_model #=> String
+ # resp.db_instance.pending_modified_values.iops #=> Integer
+ # resp.db_instance.pending_modified_values.db_instance_identifier #=> String
+ # resp.db_instance.pending_modified_values.storage_type #=> String
+ # resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
+ # resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
+ # resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
+ # resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
+ # resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
+ # resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
+ # resp.db_instance.pending_modified_values.processor_features #=> Array
+ # resp.db_instance.pending_modified_values.processor_features[0].name #=> String
+ # resp.db_instance.pending_modified_values.processor_features[0].value #=> String
+ # resp.db_instance.pending_modified_values.iam_database_authentication_enabled #=> Boolean
+ # resp.db_instance.pending_modified_values.automation_mode #=> String, one of "full", "all-paused"
+ # resp.db_instance.pending_modified_values.resume_full_automation_mode_time #=> Time
+ # resp.db_instance.latest_restorable_time #=> Time
+ # resp.db_instance.multi_az #=> Boolean
+ # resp.db_instance.engine_version #=> String
+ # resp.db_instance.auto_minor_version_upgrade #=> Boolean
+ # resp.db_instance.read_replica_source_db_instance_identifier #=> String
+ # resp.db_instance.read_replica_db_instance_identifiers #=> Array
+ # resp.db_instance.read_replica_db_instance_identifiers[0] #=> String
+ # resp.db_instance.read_replica_db_cluster_identifiers #=> Array
+ # resp.db_instance.read_replica_db_cluster_identifiers[0] #=> String
+ # resp.db_instance.replica_mode #=> String, one of "open-read-only", "mounted"
+ # resp.db_instance.license_model #=> String
+ # resp.db_instance.iops #=> Integer
+ # resp.db_instance.option_group_memberships #=> Array
+ # resp.db_instance.option_group_memberships[0].option_group_name #=> String
+ # resp.db_instance.option_group_memberships[0].status #=> String
+ # resp.db_instance.character_set_name #=> String
+ # resp.db_instance.nchar_character_set_name #=> String
+ # resp.db_instance.secondary_availability_zone #=> String
+ # resp.db_instance.publicly_accessible #=> Boolean
+ # resp.db_instance.status_infos #=> Array
+ # resp.db_instance.status_infos[0].status_type #=> String
+ # resp.db_instance.status_infos[0].normal #=> Boolean
+ # resp.db_instance.status_infos[0].status #=> String
+ # resp.db_instance.status_infos[0].message #=> String
+ # resp.db_instance.storage_type #=> String
+ # resp.db_instance.tde_credential_arn #=> String
+ # resp.db_instance.db_instance_port #=> Integer
+ # resp.db_instance.db_cluster_identifier #=> String
+ # resp.db_instance.storage_encrypted #=> Boolean
+ # resp.db_instance.kms_key_id #=> String
+ # resp.db_instance.dbi_resource_id #=> String
+ # resp.db_instance.ca_certificate_identifier #=> String
+ # resp.db_instance.domain_memberships #=> Array
+ # resp.db_instance.domain_memberships[0].domain #=> String
+ # resp.db_instance.domain_memberships[0].status #=> String
+ # resp.db_instance.domain_memberships[0].fqdn #=> String
+ # resp.db_instance.domain_memberships[0].iam_role_name #=> String
+ # resp.db_instance.copy_tags_to_snapshot #=> Boolean
+ # resp.db_instance.monitoring_interval #=> Integer
+ # resp.db_instance.enhanced_monitoring_resource_arn #=> String
+ # resp.db_instance.monitoring_role_arn #=> String
+ # resp.db_instance.promotion_tier #=> Integer
+ # resp.db_instance.db_instance_arn #=> String
+ # resp.db_instance.timezone #=> String
+ # resp.db_instance.iam_database_authentication_enabled #=> Boolean
+ # resp.db_instance.performance_insights_enabled #=> Boolean
+ # resp.db_instance.performance_insights_kms_key_id #=> String
+ # resp.db_instance.performance_insights_retention_period #=> Integer
+ # resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
+ # resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
+ # resp.db_instance.processor_features #=> Array
+ # resp.db_instance.processor_features[0].name #=> String
+ # resp.db_instance.processor_features[0].value #=> String
+ # resp.db_instance.deletion_protection #=> Boolean
+ # resp.db_instance.associated_roles #=> Array
+ # resp.db_instance.associated_roles[0].role_arn #=> String
+ # resp.db_instance.associated_roles[0].feature_name #=> String
+ # resp.db_instance.associated_roles[0].status #=> String
+ # resp.db_instance.listener_endpoint.address #=> String
+ # resp.db_instance.listener_endpoint.port #=> Integer
+ # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
+ # resp.db_instance.max_allocated_storage #=> Integer
+ # resp.db_instance.tag_list #=> Array
+ # resp.db_instance.tag_list[0].key #=> String
+ # resp.db_instance.tag_list[0].value #=> String
+ # resp.db_instance.db_instance_automated_backups_replications #=> Array
+ # resp.db_instance.db_instance_automated_backups_replications[0].db_instance_automated_backups_arn #=> String
+ # resp.db_instance.customer_owned_ip_enabled #=> Boolean
+ # resp.db_instance.aws_backup_recovery_point_arn #=> String
+ # resp.db_instance.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
+ # resp.db_instance.activity_stream_kms_key_id #=> String
+ # resp.db_instance.activity_stream_kinesis_stream_name #=> String
+ # resp.db_instance.activity_stream_mode #=> String, one of "sync", "async"
+ # resp.db_instance.activity_stream_engine_native_audit_fields_included #=> Boolean
+ # resp.db_instance.automation_mode #=> String, one of "full", "all-paused"
+ # resp.db_instance.resume_full_automation_mode_time #=> Time
+ # resp.db_instance.custom_iam_instance_profile #=> String
+ # resp.db_instance.backup_target #=> String
+ # resp.db_instance.network_type #=> String
+ # resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverReadReplica AWS API Documentation
+ #
+ # @overload switchover_read_replica(params = {})
+ # @param [Hash] params ({})
+ def switchover_read_replica(params = {}, options = {})
+ req = build_request(:switchover_read_replica, params)
+ req.send_request(options)
+ end
+
# @!endgroup
# @param params ({})
# @api private
def build_request(operation_name, params = {})
@@ -22828,10 +23010,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-rds'
- context[:gem_version] = '1.153.0'
+ context[:gem_version] = '1.154.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#