@SdkInternalApi
    final DBInstance executeRestoreDBInstanceFromS3(RestoreDBInstanceFromS3Request restoreDBInstanceFromS3Request) {

        ExecutionContext executionContext = createExecutionContext(restoreDBInstanceFromS3Request);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<RestoreDBInstanceFromS3Request> request = null;
        Response<DBInstance> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new RestoreDBInstanceFromS3RequestMarshaller().marshall(super.beforeMarshalling(restoreDBInstanceFromS3Request));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "RDS");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "RestoreDBInstanceFromS3");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            StaxResponseHandler<DBInstance> responseHandler = new StaxResponseHandler<DBInstance>(new DBInstanceStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Amazon 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 <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html">Importing Data into
an Amazon RDS MySQL DB Instance</a> in the <i>Amazon RDS User Guide.</i>
</p>
<p>
This operation doesn't apply to RDS Custom.
</p>

@param restoreDBInstanceFromS3Request
@return Result of the RestoreDBInstanceFromS3 operation returned by the service.
@throws DBInstanceAlreadyExistsException
        The user already has a DB instance with the given identifier.
@throws InsufficientDBInstanceCapacityException
        The specified DB instance class isn't available in the specified Availability Zone.
@throws DBParameterGroupNotFoundException
        <code>DBParameterGroupName</code> doesn't refer to an existing DB parameter group.
@throws DBSecurityGroupNotFoundException
        <code>DBSecurityGroupName</code> doesn't refer to an existing DB security group.
@throws InstanceQuotaExceededException
        The request would result in the user exceeding the allowed number of DB instances.
@throws StorageQuotaExceededException
        The request would result in the user exceeding the allowed amount of storage available across all DB
        instances.
@throws DBSubnetGroupNotFoundException
        <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.
@throws DBSubnetGroupDoesNotCoverEnoughAZsException
        Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one
        Availability Zone.
@throws InvalidSubnetException
        The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
@throws InvalidVPCNetworkStateException
        The DB subnet group doesn't cover all Availability Zones after it's created because of users' change.
@throws InvalidS3BucketException
        The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized to access the specified
        Amazon S3 bucket. Verify the <b>SourceS3BucketName</b> and <b>S3IngestionRoleArn</b> values and try
        again.
@throws ProvisionedIopsNotAvailableInAZException
        Provisioned IOPS not available in the specified Availability Zone.
@throws OptionGroupNotFoundException
        The specified option group could not be found.
@throws StorageTypeNotSupportedException
        The specified <code>StorageType</code> can't be associated with the DB instance.
@throws AuthorizationNotFoundException
        The specified CIDR IP range or Amazon EC2 security group might not be authorized for the specified DB
        security group.</p>
        <p>
        Or, RDS might not be authorized to perform necessary actions using IAM on your behalf.
@throws KMSKeyNotAccessibleException
        An error occurred accessing an Amazon Web Services KMS key.
@throws BackupPolicyNotFoundException
@throws NetworkTypeNotSupportedException
        The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and
        <code>DUAL</code>.
@throws CertificateNotFoundException
        <code>CertificateIdentifier</code> doesn't refer to an existing certificate.
@sample AmazonRDS.RestoreDBInstanceFromS3
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3" target="_top">AWS
     API Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java