@Override
    public CreateDeploymentResult createDeployment(CreateDeploymentRequest request) {
        request = beforeClientExecution(request);
        return executeCreateDeployment(request);
    }
<p>
Creates a Deployment for an API.
</p>

@param createDeploymentRequest
       Creates a new Deployment resource to represent a deployment.
@return Result of the CreateDeployment operation returned by the service.
@throws NotFoundException
        The resource specified in the request was not found.
@throws TooManyRequestsException
        The client is sending more than the allowed number of requests per unit of time.
@throws BadRequestException
        One of the parameters in the request is invalid.
@throws ConflictException
        The resource already exists.
@sample AmazonApiGatewayV2.CreateDeployment
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/AmazonApiGatewayV2Client.java