@SdkInternalApi
    final ModifySnapshotTierResult executeModifySnapshotTier(ModifySnapshotTierRequest modifySnapshotTierRequest) {

        ExecutionContext executionContext = createExecutionContext(modifySnapshotTierRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<ModifySnapshotTierRequest> request = null;
        Response<ModifySnapshotTierResult> response = null;

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

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

            StaxResponseHandler<ModifySnapshotTierResult> responseHandler = new StaxResponseHandler<ModifySnapshotTierResult>(
                    new ModifySnapshotTierResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full snapshot that includes
all of the blocks of data that were written to the volume at the time the snapshot was created, and moved from
the standard tier to the archive tier. For more information, see <a
href="https://docs.aws.amazon.com/ebs/latest/userguide/snapshot-archive.html">Archive Amazon EBS snapshots</a> in
the <i>Amazon EBS User Guide</i>.
</p>

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