lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.31.0 vs lib/aws-sdk-neptune/client.rb in aws-sdk-neptune-1.32.0
- old
+ new
@@ -27,10 +27,11 @@
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
require 'aws-sdk-core/plugins/transfer_encoding.rb'
require 'aws-sdk-core/plugins/http_checksum.rb'
require 'aws-sdk-core/plugins/signature_v4.rb'
require 'aws-sdk-core/plugins/protocols/query.rb'
+require 'aws-sdk-neptune/plugins/cross_region_copying.rb'
Aws::Plugins::GlobalConfiguration.add_identifier(:neptune)
module Aws::Neptune
# An API client for Neptune. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -73,10 +74,11 @@
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
add_plugin(Aws::Plugins::TransferEncoding)
add_plugin(Aws::Plugins::HttpChecksum)
add_plugin(Aws::Plugins::SignatureV4)
add_plugin(Aws::Plugins::Protocols::Query)
+ add_plugin(Aws::Neptune::Plugins::CrossRegionCopying)
# @overload initialize(options)
# @param [Hash] options
# @option options [required, Aws::CredentialProvider] :credentials
# Your AWS credentials. This can be an instance of any one of the
@@ -667,10 +669,14 @@
# target DB cluster snapshot, and otherwise false. The default is false.
#
# @option params [Array<Types::Tag>] :tags
# The tags to assign to the new DB cluster snapshot copy.
#
+ # @option params [String] :source_region
+ # The source region of the snapshot. This is only needed when the
+ # shapshot is encrypted and in a different region.
+ #
# @return [Types::CopyDBClusterSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CopyDBClusterSnapshotResult#db_cluster_snapshot #db_cluster_snapshot} => Types::DBClusterSnapshot
#
# @example Request syntax with placeholder values
@@ -685,10 +691,11 @@
# {
# key: "String",
# value: "String",
# },
# ],
+ # source_region: "String",
# })
#
# @example Response structure
#
# resp.db_cluster_snapshot.availability_zones #=> Array
@@ -999,10 +1006,14 @@
# @option params [Boolean] :deletion_protection
# A value that indicates whether the DB cluster has deletion protection
# enabled. The database can't be deleted when deletion protection is
# enabled. By default, deletion protection is enabled.
#
+ # @option params [String] :source_region
+ # The source region of the snapshot. This is only needed when the
+ # shapshot is encrypted and in a different region.
+ #
# @return [Types::CreateDBClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateDBClusterResult#db_cluster #db_cluster} => Types::DBCluster
#
# @example Request syntax with placeholder values
@@ -1035,10 +1046,11 @@
# kms_key_id: "String",
# pre_signed_url: "String",
# enable_iam_database_authentication: false,
# enable_cloudwatch_logs_exports: ["String"],
# deletion_protection: false,
+ # source_region: "String",
# })
#
# @example Response structure
#
# resp.db_cluster.allocated_storage #=> Integer
@@ -6728,10 +6740,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-neptune'
- context[:gem_version] = '1.31.0'
+ context[:gem_version] = '1.32.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#