@SdkInternalApi
    final PutBackupVaultLockConfigurationResult executePutBackupVaultLockConfiguration(
            PutBackupVaultLockConfigurationRequest putBackupVaultLockConfigurationRequest) {

        ExecutionContext executionContext = createExecutionContext(putBackupVaultLockConfigurationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<PutBackupVaultLockConfigurationRequest> request = null;
        Response<PutBackupVaultLockConfigurationResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Applies Backup Vault Lock to a backup vault, preventing attempts to delete any recovery point stored in or
created in a backup vault. Vault Lock also prevents attempts to update the lifecycle policy that controls the
retention period of any recovery point currently stored in a backup vault. If specified, Vault Lock enforces a
minimum and maximum retention period for future backup and copy jobs that target a backup vault.
</p>
<note>
<p>
Backup Vault Lock has been assessed by Cohasset Associates for use in environments that are subject to SEC 17a-4,
CFTC, and FINRA regulations. For more information about how Backup Vault Lock relates to these regulations, see
the <a href="samples/cohassetreport.zip">Cohasset Associates Compliance Assessment.</a>
</p>
</note>

@param putBackupVaultLockConfigurationRequest
@return Result of the PutBackupVaultLockConfiguration operation returned by the service.
@throws ResourceNotFoundException
        A resource that is required for the action doesn't exist.
@throws InvalidParameterValueException
        Indicates that something is wrong with a parameter's value. For example, the value is out of range.
@throws MissingParameterValueException
        Indicates that a required parameter is missing.
@throws InvalidRequestException
        Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong
        type.
@throws ServiceUnavailableException
        The request failed due to a temporary failure of the server.
@sample AWSBackup.PutBackupVaultLockConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultLockConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/AWSBackupClient.java