Smaws_Client_RDS.RestoreDBInstanceFromS3Amazon Relational Database Service (Amazon RDS) supports importing MySQL databases by using backup files. You can create a backup of your on-premises database, store it on Amazon Simple Storage Service (Amazon S3), and then restore the backup file onto a new Amazon RDS DB instance running MySQL. For more information, see Restoring a backup into an Amazon RDS for MySQL DB instance in the Amazon RDS User Guide.
This operation doesn't apply to RDS Custom.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `BackupPolicyNotFoundFault of Types.backup_policy_not_found_fault
| `CertificateNotFoundFault of Types.certificate_not_found_fault
| `DBInstanceAlreadyExistsFault of Types.db_instance_already_exists_fault
| `DBParameterGroupNotFoundFault of Types.db_parameter_group_not_found_fault
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault
| `InsufficientDBInstanceCapacityFault of
Types.insufficient_db_instance_capacity_fault
| `InvalidS3BucketFault of Types.invalid_s3_bucket_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupported of Types.network_type_not_supported
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `ProvisionedIopsNotAvailableInAZFault of
Types.provisioned_iops_not_available_in_az_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault
| `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault
| `VpcEncryptionControlViolationException of
Types.vpc_encryption_control_violation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.restore_db_instance_from_s3_message ->
(Types.restore_db_instance_from_s3_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `BackupPolicyNotFoundFault of Types.backup_policy_not_found_fault
| `CertificateNotFoundFault of Types.certificate_not_found_fault
| `DBInstanceAlreadyExistsFault of Types.db_instance_already_exists_fault
| `DBParameterGroupNotFoundFault of
Types.db_parameter_group_not_found_fault
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault
| `InsufficientDBInstanceCapacityFault of
Types.insufficient_db_instance_capacity_fault
| `InvalidS3BucketFault of Types.invalid_s3_bucket_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupported of Types.network_type_not_supported
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `ProvisionedIopsNotAvailableInAZFault of
Types.provisioned_iops_not_available_in_az_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault
| `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault
| `VpcEncryptionControlViolationException of
Types.vpc_encryption_control_violation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.restore_db_instance_from_s3_message ->
(Types.restore_db_instance_from_s3_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `BackupPolicyNotFoundFault of Types.backup_policy_not_found_fault
| `CertificateNotFoundFault of Types.certificate_not_found_fault
| `DBInstanceAlreadyExistsFault of Types.db_instance_already_exists_fault
| `DBParameterGroupNotFoundFault of
Types.db_parameter_group_not_found_fault
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `DBSubnetGroupDoesNotCoverEnoughAZs of
Types.db_subnet_group_does_not_cover_enough_a_zs
| `DBSubnetGroupNotFoundFault of Types.db_subnet_group_not_found_fault
| `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault
| `InsufficientDBInstanceCapacityFault of
Types.insufficient_db_instance_capacity_fault
| `InvalidS3BucketFault of Types.invalid_s3_bucket_fault
| `InvalidSubnet of Types.invalid_subnet
| `InvalidVPCNetworkStateFault of Types.invalid_vpc_network_state_fault
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `NetworkTypeNotSupported of Types.network_type_not_supported
| `OptionGroupNotFoundFault of Types.option_group_not_found_fault
| `ProvisionedIopsNotAvailableInAZFault of
Types.provisioned_iops_not_available_in_az_fault
| `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault
| `StorageTypeNotSupportedFault of Types.storage_type_not_supported_fault
| `VpcEncryptionControlViolationException of
Types.vpc_encryption_control_violation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result