@SdkInternalApi
    final TenantDatabase executeDeleteTenantDatabase(DeleteTenantDatabaseRequest deleteTenantDatabaseRequest) {

        ExecutionContext executionContext = createExecutionContext(deleteTenantDatabaseRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DeleteTenantDatabaseRequest> request = null;
        Response<TenantDatabase> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DeleteTenantDatabaseRequestMarshaller().marshall(super.beforeMarshalling(deleteTenantDatabaseRequest));
                // 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, "DeleteTenantDatabase");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<TenantDatabase> responseHandler = new StaxResponseHandler<TenantDatabase>(new TenantDatabaseStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Deletes a tenant database from your DB instance. This command only applies to RDS for Oracle container database
(CDB) instances.
</p>
<p>
You can't delete a tenant database when it is the only tenant in the DB instance.
</p>

@param deleteTenantDatabaseRequest
@return Result of the DeleteTenantDatabase operation returned by the service.
@throws DBInstanceNotFoundException
        <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.
@throws TenantDatabaseNotFoundException
        The specified tenant database wasn't found in the DB instance.
@throws InvalidDBInstanceStateException
        The DB instance isn't in a valid state.
@sample AmazonRDS.DeleteTenantDatabase
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteTenantDatabase" target="_top">AWS API
     Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java