@SdkInternalApi
    final ModifyVpnConnectionOptionsResult executeModifyVpnConnectionOptions(ModifyVpnConnectionOptionsRequest modifyVpnConnectionOptionsRequest) {

        ExecutionContext executionContext = createExecutionContext(modifyVpnConnectionOptionsRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ModifyVpnConnectionOptionsRequest> request = null;
        Response<ModifyVpnConnectionOptionsResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new ModifyVpnConnectionOptionsRequestMarshaller().marshall(super.beforeMarshalling(modifyVpnConnectionOptionsRequest));
                // 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, "EC2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ModifyVpnConnectionOptions");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<ModifyVpnConnectionOptionsResult> responseHandler = new StaxResponseHandler<ModifyVpnConnectionOptionsResult>(
                    new ModifyVpnConnectionOptionsResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Modifies the connection options for your Site-to-Site VPN connection.
</p>
<p>
When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon Web Services side do not
change, and the tunnel options do not change. Your VPN connection will be temporarily unavailable for a brief
period while the VPN connection is updated.
</p>

@param modifyVpnConnectionOptionsRequest
@return Result of the ModifyVpnConnectionOptions operation returned by the service.
@sample AmazonEC2.ModifyVpnConnectionOptions
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnectionOptions" target="_top">AWS
     API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java