lib/aws-sdk-rds/client.rb in aws-sdk-rds-1.158.0 vs lib/aws-sdk-rds/client.rb in aws-sdk-rds-1.159.0

- old
+ new

@@ -4518,10 +4518,12 @@ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html # # @option params [Integer] :storage_throughput # Specifies the storage throughput value for the DB instance. # + # This setting applies only to the `gp3` storage type. + # # This setting doesn't apply to RDS Custom or Amazon Aurora. # # @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance @@ -15287,10 +15289,12 @@ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html # # @option params [Integer] :storage_throughput # Specifies the storage throughput value for the DB instance. # + # This setting applies only to the `gp3` storage type. + # # This setting doesn't apply to RDS Custom or Amazon Aurora. # # @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance @@ -19664,17 +19668,22 @@ # # * Can't end with a hyphen or contain two consecutive hyphens # # Example: `my-snapshot-id` # - # @option params [required, String] :db_snapshot_identifier + # @option params [String] :db_snapshot_identifier # The identifier for the DB snapshot to restore from. # # Constraints: # # * Must match the identifier of an existing DBSnapshot. # + # * Can't be specified when `DBClusterSnapshotIdentifier` is specified. + # + # * Must be specified when `DBClusterSnapshotIdentifier` isn't + # specified. + # # * If you are restoring from a shared manual DB snapshot, the # `DBSnapshotIdentifier` must be the ARN of the shared DB snapshot. # # @option params [String] :db_instance_class # The compute and memory capacity of the Amazon RDS DB instance, for @@ -20049,10 +20058,40 @@ # @option params [Integer] :storage_throughput # Specifies the storage throughput value for the DB instance. # # This setting doesn't apply to RDS Custom or Amazon Aurora. # + # @option params [String] :db_cluster_snapshot_identifier + # The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to + # restore from. + # + # For more information on Multi-AZ DB clusters, see [ Multi-AZ + # deployments with two readable standby DB instances][1] in the *Amazon + # RDS User Guide*. + # + # Constraints: + # + # * Must match the identifier of an existing Multi-AZ DB cluster + # snapshot. + # + # * Can't be specified when `DBSnapshotIdentifier` is specified. + # + # * Must be specified when `DBSnapshotIdentifier` isn't specified. + # + # * If you are restoring from a shared manual Multi-AZ DB cluster + # snapshot, the `DBClusterSnapshotIdentifier` must be the ARN of the + # shared snapshot. + # + # * Can't be the identifier of an Aurora DB cluster snapshot. + # + # * Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB + # cluster snapshot. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html + # # @return [Types::RestoreDBInstanceFromDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RestoreDBInstanceFromDBSnapshotResult#db_instance #db_instance} => Types::DBInstance # # @@ -20152,11 +20191,11 @@ # # @example Request syntax with placeholder values # # resp = client.restore_db_instance_from_db_snapshot({ # db_instance_identifier: "String", # required - # db_snapshot_identifier: "String", # required + # db_snapshot_identifier: "String", # db_instance_class: "String", # port: 1, # availability_zone: "String", # db_subnet_group_name: "String", # multi_az: false, @@ -20194,10 +20233,11 @@ # enable_customer_owned_ip: false, # custom_iam_instance_profile: "String", # backup_target: "String", # network_type: "String", # storage_throughput: 1, + # db_cluster_snapshot_identifier: "String", # }) # # @example Response structure # # resp.db_instance.db_instance_identifier #=> String @@ -23147,10 +23187,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-rds' - context[:gem_version] = '1.158.0' + context[:gem_version] = '1.159.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #