lib/aws-sdk-docdb/client.rb in aws-sdk-docdb-1.26.0 vs lib/aws-sdk-docdb/client.rb in aws-sdk-docdb-1.27.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-docdb/plugins/cross_region_copying.rb' Aws::Plugins::GlobalConfiguration.add_identifier(:docdb) module Aws::DocDB # An API client for DocDB. 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::DocDB::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 @@ -597,10 +599,14 @@ # `false`. # # @option params [Array<Types::Tag>] :tags # The tags to be assigned to the cluster snapshot. # + # @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 @@ -615,10 +621,11 @@ # { # key: "String", # value: "String", # }, # ], + # source_region: "String", # }) # # @example Response structure # # resp.db_cluster_snapshot.availability_zones #=> Array @@ -805,10 +812,14 @@ # Specifies whether this cluster can be deleted. If `DeletionProtection` # is enabled, the cluster cannot be deleted unless it is modified and # `DeletionProtection` is disabled. `DeletionProtection` protects # clusters from being accidentally deleted. # + # @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 @@ -836,10 +847,11 @@ # storage_encrypted: false, # kms_key_id: "String", # pre_signed_url: "String", # enable_cloudwatch_logs_exports: ["String"], # deletion_protection: false, + # source_region: "String", # }) # # @example Response structure # # resp.db_cluster.availability_zones #=> Array @@ -4268,10 +4280,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-docdb' - context[:gem_version] = '1.26.0' + context[:gem_version] = '1.27.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #