@SdkInternalApi
    final DisableSnapshotBlockPublicAccessResult executeDisableSnapshotBlockPublicAccess(
            DisableSnapshotBlockPublicAccessRequest disableSnapshotBlockPublicAccessRequest) {

        ExecutionContext executionContext = createExecutionContext(disableSnapshotBlockPublicAccessRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DisableSnapshotBlockPublicAccessRequest> request = null;
        Response<DisableSnapshotBlockPublicAccessResult> response = null;

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

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

            StaxResponseHandler<DisableSnapshotBlockPublicAccessResult> responseHandler = new StaxResponseHandler<DisableSnapshotBlockPublicAccessResult>(
                    new DisableSnapshotBlockPublicAccessResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Disables the <i>block public access for snapshots</i> setting at the account level for the specified Amazon Web
Services Region. After you disable block public access for snapshots in a Region, users can publicly share
snapshots in that Region.
</p>
<p>
If block public access is enabled in <code>block-all-sharing</code> mode, and you disable block public access,
all snapshots that were previously publicly shared are no longer treated as private and they become publicly
accessible again.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html"> Block public access
for snapshots</a> in the <i>Amazon EBS User Guide</i> .
</p>
<p/>

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