@SdkInternalApi
    final ModifyCustomDBEngineVersionResult executeModifyCustomDBEngineVersion(ModifyCustomDBEngineVersionRequest modifyCustomDBEngineVersionRequest) {

        ExecutionContext executionContext = createExecutionContext(modifyCustomDBEngineVersionRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ModifyCustomDBEngineVersionRequest> request = null;
        Response<ModifyCustomDBEngineVersionResult> response = null;

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

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

            StaxResponseHandler<ModifyCustomDBEngineVersionResult> responseHandler = new StaxResponseHandler<ModifyCustomDBEngineVersionResult>(
                    new ModifyCustomDBEngineVersionResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Modifies the status of a custom engine version (CEV). You can find CEVs to modify by calling
<code>DescribeDBEngineVersions</code>.
</p>
<note>
<p>
The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with Amazon Web
Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the
<code>ModifyCustomDbEngineVersion</code> event aren't logged. However, you might see calls from the API gateway
that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for the
<code>ModifyCustomDbEngineVersion</code> event.
</p>
</note>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-cev.html#custom-cev.modify">Modifying CEV
status</a> in the <i>Amazon RDS User Guide</i>.
</p>

@param modifyCustomDBEngineVersionRequest
@return Result of the ModifyCustomDBEngineVersion operation returned by the service.
@throws CustomDBEngineVersionNotFoundException
        The specified CEV was not found.
@throws InvalidCustomDBEngineVersionStateException
        You can't delete the CEV.
@sample AmazonRDS.ModifyCustomDBEngineVersion
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCustomDBEngineVersion"
     target="_top">AWS API Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java