@SdkInternalApi
    final EnableProactiveEngagementResult executeEnableProactiveEngagement(EnableProactiveEngagementRequest enableProactiveEngagementRequest) {

        ExecutionContext executionContext = createExecutionContext(enableProactiveEngagementRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<EnableProactiveEngagementRequest> request = null;
        Response<EnableProactiveEngagementResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new EnableProactiveEngagementRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(enableProactiveEngagementRequest));
                // 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, "Shield");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "EnableProactiveEngagement");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            HttpResponseHandler<AmazonWebServiceResponse<EnableProactiveEngagementResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new EnableProactiveEngagementResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT
and to initiate proactive customer support.
</p>

@param enableProactiveEngagementRequest
@return Result of the EnableProactiveEngagement operation returned by the service.
@throws InternalErrorException
        Exception that indicates that a problem occurred with the service infrastructure. You can retry the
        request.
@throws InvalidOperationException
        Exception that indicates that the operation would not cause any change to occur.
@throws InvalidParameterException
        Exception that indicates that the parameters passed to the API are invalid. If available, this exception
        includes details in additional properties.
@throws ResourceNotFoundException
        Exception indicating the specified resource does not exist. If available, this exception includes details
        in additional properties.
@throws OptimisticLockException
        Exception that indicates that the resource state has been modified by another client. Retrieve the
        resource and then retry your request.
@sample AWSShield.EnableProactiveEngagement
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagement"
     target="_top">AWS API Documentation</a>
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/AWSShieldClient.java