@SdkInternalApi
    final CreateDBProxyResult executeCreateDBProxy(CreateDBProxyRequest createDBProxyRequest) {

        ExecutionContext executionContext = createExecutionContext(createDBProxyRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CreateDBProxyRequest> request = null;
        Response<CreateDBProxyResult> response = null;

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

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

            StaxResponseHandler<CreateDBProxyResult> responseHandler = new StaxResponseHandler<CreateDBProxyResult>(new CreateDBProxyResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Creates a new DB proxy.
</p>

@param createDBProxyRequest
@return Result of the CreateDBProxy operation returned by the service.
@throws InvalidSubnetException
        The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
@throws DBProxyAlreadyExistsException
        The specified proxy name must be unique for all proxies owned by your Amazon Web Services account in the
        specified Amazon Web Services Region.
@throws DBProxyQuotaExceededException
        Your Amazon Web Services account already has the maximum number of proxies in the specified Amazon Web
        Services Region.
@sample AmazonRDS.CreateDBProxy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxy" target="_top">AWS API
     Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java