1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RestoreDBClusterFromS3`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`availability_zones(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::availability_zones) / [`set_availability_zones(Option<Vec::<String>>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_availability_zones):<br>required: **false**<br><p>A list of Availability Zones (AZs) where instances in the restored DB cluster can be created.</p><br>
/// - [`backup_retention_period(i32)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::backup_retention_period) / [`set_backup_retention_period(Option<i32>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_backup_retention_period):<br>required: **false**<br><p>The number of days for which automated backups of the restored DB cluster are retained. You must specify a minimum value of 1.</p> <p>Default: 1</p> <p>Constraints:</p> <ul> <li> <p>Must be a value from 1 to 35</p></li> </ul><br>
/// - [`character_set_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::character_set_name) / [`set_character_set_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_character_set_name):<br>required: **false**<br><p>A value that indicates that the restored DB cluster should be associated with the specified CharacterSet.</p><br>
/// - [`database_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_database_name):<br>required: **false**<br><p>The database name for the restored DB cluster.</p><br>
/// - [`db_cluster_identifier(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::db_cluster_identifier) / [`set_db_cluster_identifier(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_db_cluster_identifier):<br>required: **true**<br><p>The name of the DB cluster to create from the source data in the Amazon S3 bucket. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p></li> <li> <p>First character must be a letter.</p></li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p></li> </ul> <p>Example: <code>my-cluster1</code></p><br>
/// - [`db_cluster_parameter_group_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::db_cluster_parameter_group_name) / [`set_db_cluster_parameter_group_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_db_cluster_parameter_group_name):<br>required: **false**<br><p>The name of the DB cluster parameter group to associate with the restored DB cluster. If this argument is omitted, the default parameter group for the engine version is used.</p> <p>Constraints:</p> <ul> <li> <p>If supplied, must match the name of an existing DBClusterParameterGroup.</p></li> </ul><br>
/// - [`vpc_security_group_ids(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::vpc_security_group_ids) / [`set_vpc_security_group_ids(Option<Vec::<String>>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_vpc_security_group_ids):<br>required: **false**<br><p>A list of EC2 VPC security groups to associate with the restored DB cluster.</p><br>
/// - [`db_subnet_group_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::db_subnet_group_name) / [`set_db_subnet_group_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_db_subnet_group_name):<br>required: **false**<br><p>A DB subnet group to associate with the restored DB cluster.</p> <p>Constraints: If supplied, must match the name of an existing DBSubnetGroup.</p> <p>Example: <code>mydbsubnetgroup</code></p><br>
/// - [`engine(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::engine) / [`set_engine(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_engine):<br>required: **true**<br><p>The name of the database engine to be used for this DB cluster.</p> <p>Valid Values: <code>aurora-mysql</code> (for Aurora MySQL)</p><br>
/// - [`engine_version(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::engine_version) / [`set_engine_version(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_engine_version):<br>required: **false**<br><p>The version number of the database engine to use.</p> <p>To list all of the available engine versions for <code>aurora-mysql</code> (Aurora MySQL), use the following command:</p> <p><code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code></p> <p><b>Aurora MySQL</b></p> <p>Examples: <code>5.7.mysql_aurora.2.12.0</code>, <code>8.0.mysql_aurora.3.04.0</code></p><br>
/// - [`port(i32)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::port) / [`set_port(Option<i32>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_port):<br>required: **false**<br><p>The port number on which the instances in the restored DB cluster accept connections.</p> <p>Default: <code>3306</code></p><br>
/// - [`master_username(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::master_username) / [`set_master_username(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_master_username):<br>required: **true**<br><p>The name of the master user for the restored DB cluster.</p> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 16 letters or numbers.</p></li> <li> <p>First character must be a letter.</p></li> <li> <p>Can't be a reserved word for the chosen database engine.</p></li> </ul><br>
/// - [`master_user_password(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::master_user_password) / [`set_master_user_password(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_master_user_password):<br>required: **false**<br><p>The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@".</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 8 to 41 characters.</p></li> <li> <p>Can't be specified if <code>ManageMasterUserPassword</code> is turned on.</p></li> </ul><br>
/// - [`option_group_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::option_group_name) / [`set_option_group_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_option_group_name):<br>required: **false**<br><p>A value that indicates that the restored DB cluster should be associated with the specified option group.</p> <p>Permanent options can't be removed from an option group. An option group can't be removed from a DB cluster once it is associated with a DB cluster.</p><br>
/// - [`preferred_backup_window(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::preferred_backup_window) / [`set_preferred_backup_window(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_preferred_backup_window):<br>required: **false**<br><p>The daily time range during which automated backups are created if automated backups are enabled using the <code>BackupRetentionPeriod</code> parameter.</p> <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. To view the time blocks available, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.Backups.BackupWindow"> Backup window</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>Constraints:</p> <ul> <li> <p>Must be in the format <code>hh24:mi-hh24:mi</code>.</p></li> <li> <p>Must be in Universal Coordinated Time (UTC).</p></li> <li> <p>Must not conflict with the preferred maintenance window.</p></li> <li> <p>Must be at least 30 minutes.</p></li> </ul><br>
/// - [`preferred_maintenance_window(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::preferred_maintenance_window) / [`set_preferred_maintenance_window(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_preferred_maintenance_window):<br>required: **false**<br><p>The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).</p> <p>Format: <code>ddd:hh24:mi-ddd:hh24:mi</code></p> <p>The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. To see the time blocks available, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora"> Adjusting the Preferred Maintenance Window</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.</p> <p>Constraints: Minimum 30-minute window.</p><br>
/// - [`tags(Tag)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS Resources</a> in the <i>Amazon RDS User Guide.</i></p><br>
/// - [`storage_encrypted(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::storage_encrypted) / [`set_storage_encrypted(Option<bool>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_storage_encrypted):<br>required: **false**<br><p>Specifies whether the restored DB cluster is encrypted.</p><br>
/// - [`kms_key_id(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::kms_key_id) / [`set_kms_key_id(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_kms_key_id):<br>required: **false**<br><p>The Amazon Web Services KMS key identifier for an encrypted DB cluster.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p> <p>If the StorageEncrypted parameter is enabled, and you do not specify a value for the <code>KmsKeyId</code> parameter, then Amazon RDS will use your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p><br>
/// - [`enable_iam_database_authentication(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::enable_iam_database_authentication) / [`set_enable_iam_database_authentication(Option<bool>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_enable_iam_database_authentication):<br>required: **false**<br><p>Specifies whether to enable mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts. By default, mapping isn't enabled.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html"> IAM Database Authentication</a> in the <i>Amazon Aurora User Guide</i>.</p><br>
/// - [`source_engine(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::source_engine) / [`set_source_engine(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_source_engine):<br>required: **true**<br><p>The identifier for the database engine that was backed up to create the files stored in the Amazon S3 bucket.</p> <p>Valid Values: <code>mysql</code></p><br>
/// - [`source_engine_version(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::source_engine_version) / [`set_source_engine_version(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_source_engine_version):<br>required: **true**<br><p>The version of the database that the backup files were created from.</p> <p>MySQL versions 5.7 and 8.0 are supported.</p> <p>Example: <code>5.7.40</code>, <code>8.0.28</code></p><br>
/// - [`s3_bucket_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::s3_bucket_name) / [`set_s3_bucket_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_s3_bucket_name):<br>required: **true**<br><p>The name of the Amazon S3 bucket that contains the data used to create the Amazon Aurora DB cluster.</p><br>
/// - [`s3_prefix(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::s3_prefix) / [`set_s3_prefix(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_s3_prefix):<br>required: **false**<br><p>The prefix for all of the file names that contain the data used to create the Amazon Aurora DB cluster. If you do not specify a <b>SourceS3Prefix</b> value, then the Amazon Aurora DB cluster is created by using all of the files in the Amazon S3 bucket.</p><br>
/// - [`s3_ingestion_role_arn(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::s3_ingestion_role_arn) / [`set_s3_ingestion_role_arn(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_s3_ingestion_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that authorizes Amazon RDS to access the Amazon S3 bucket on your behalf.</p><br>
/// - [`backtrack_window(i64)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::backtrack_window) / [`set_backtrack_window(Option<i64>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_backtrack_window):<br>required: **false**<br><p>The target backtrack window, in seconds. To disable backtracking, set this value to 0.</p><note> <p>Currently, Backtrack is only supported for Aurora MySQL DB clusters.</p> </note> <p>Default: 0</p> <p>Constraints:</p> <ul> <li> <p>If specified, this value must be set to a number from 0 to 259,200 (72 hours).</p></li> </ul><br>
/// - [`enable_cloudwatch_logs_exports(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::enable_cloudwatch_logs_exports) / [`set_enable_cloudwatch_logs_exports(Option<Vec::<String>>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_enable_cloudwatch_logs_exports):<br>required: **false**<br><p>The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values in the list depend on the DB engine being used.</p> <p><b>Aurora MySQL</b></p> <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p> <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p><br>
/// - [`deletion_protection(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::deletion_protection) / [`set_deletion_protection(Option<bool>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_deletion_protection):<br>required: **false**<br><p>Specifies whether to enable deletion protection for the DB cluster. The database can't be deleted when deletion protection is enabled. By default, deletion protection isn't enabled.</p><br>
/// - [`copy_tags_to_snapshot(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::copy_tags_to_snapshot) / [`set_copy_tags_to_snapshot(Option<bool>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_copy_tags_to_snapshot):<br>required: **false**<br><p>Specifies whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.</p><br>
/// - [`domain(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_domain):<br>required: **false**<br><p>Specify the Active Directory directory ID to restore the DB cluster in. The domain must be created prior to this operation.</p> <p>For Amazon Aurora DB clusters, Amazon RDS can use Kerberos Authentication to authenticate users that connect to the DB cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html">Kerberos Authentication</a> in the <i>Amazon Aurora User Guide</i>.</p><br>
/// - [`domain_iam_role_name(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::domain_iam_role_name) / [`set_domain_iam_role_name(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_domain_iam_role_name):<br>required: **false**<br><p>Specify the name of the IAM role to be used when making API calls to the Directory Service.</p><br>
/// - [`serverless_v2_scaling_configuration(ServerlessV2ScalingConfiguration)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::serverless_v2_scaling_configuration) / [`set_serverless_v2_scaling_configuration(Option<ServerlessV2ScalingConfiguration>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_serverless_v2_scaling_configuration):<br>required: **false**<br><p>Contains the scaling configuration of an Aurora Serverless v2 DB cluster.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html">Using Amazon Aurora Serverless v2</a> in the <i>Amazon Aurora User Guide</i>.</p><br>
/// - [`network_type(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::network_type) / [`set_network_type(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_network_type):<br>required: **false**<br><p>The network type of the DB cluster.</p> <p>Valid Values:</p> <ul> <li> <p><code>IPV4</code></p></li> <li> <p><code>DUAL</code></p></li> </ul> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i></p><br>
/// - [`manage_master_user_password(bool)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::manage_master_user_password) / [`set_manage_master_user_password(Option<bool>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_manage_master_user_password):<br>required: **false**<br><p>Specifies whether to manage the master user password with Amazon Web Services Secrets Manager.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html">Password management with Amazon Web Services Secrets Manager</a> in the <i>Amazon Aurora User Guide.</i></p> <p>Constraints:</p> <ul> <li> <p>Can't manage the master user password with Amazon Web Services Secrets Manager if <code>MasterUserPassword</code> is specified.</p></li> </ul><br>
/// - [`master_user_secret_kms_key_id(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::master_user_secret_kms_key_id) / [`set_master_user_secret_kms_key_id(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_master_user_secret_kms_key_id):<br>required: **false**<br><p>The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and managed in Amazon Web Services Secrets Manager.</p> <p>This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets Manager for the DB cluster.</p> <p>The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.</p> <p>If you don't specify <code>MasterUserSecretKmsKeyId</code>, then the <code>aws/secretsmanager</code> KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't use the <code>aws/secretsmanager</code> KMS key to encrypt the secret, and you must use a customer managed KMS key.</p> <p>There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.</p><br>
/// - [`storage_type(impl Into<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::storage_type) / [`set_storage_type(Option<String>)`](crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::set_storage_type):<br>required: **false**<br><p>Specifies the storage type to be associated with the DB cluster.</p> <p>Valid Values: <code>aurora</code>, <code>aurora-iopt1</code></p> <p>Default: <code>aurora</code></p> <p>Valid for: Aurora DB clusters only</p><br>
/// - On success, responds with [`RestoreDbClusterFromS3Output`](crate::operation::restore_db_cluster_from_s3::RestoreDbClusterFromS3Output) with field(s):
/// - [`db_cluster(Option<DbCluster>)`](crate::operation::restore_db_cluster_from_s3::RestoreDbClusterFromS3Output::db_cluster): <p>Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster.</p> <p>For an Amazon Aurora DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>PromoteReadReplicaDBCluster</code>, <code>RestoreDBClusterFromS3</code>, <code>RestoreDBClusterFromSnapshot</code>, <code>RestoreDBClusterToPointInTime</code>, <code>StartDBCluster</code>, and <code>StopDBCluster</code>.</p> <p>For a Multi-AZ DB cluster, this data type is used as a response element in the operations <code>CreateDBCluster</code>, <code>DeleteDBCluster</code>, <code>DescribeDBClusters</code>, <code>FailoverDBCluster</code>, <code>ModifyDBCluster</code>, <code>RebootDBCluster</code>, <code>RestoreDBClusterFromSnapshot</code>, and <code>RestoreDBClusterToPointInTime</code>.</p> <p>For more information on Amazon Aurora DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide.</i></p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i></p>
/// - On failure, responds with [`SdkError<RestoreDBClusterFromS3Error>`](crate::operation::restore_db_cluster_from_s3::RestoreDBClusterFromS3Error)
pub fn restore_db_cluster_from_s3(&self) -> crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder {
crate::operation::restore_db_cluster_from_s3::builders::RestoreDBClusterFromS3FluentBuilder::new(self.handle.clone())
}
}