public void assertCurrentStageExists(final String secretId) {
        final GetSecretValueRequest getSecretValueRequest = new GetSecretValueRequest();
        getSecretValueRequest.setSecretId(secretId);
        getSecretValueRequest.setVersionStage(CURRENT.getAwsName());
        getDelegate().getSecretValue(getSecretValueRequest);
    }
public void assertCurrentStageExists ( final String secretId ) { final GetSecretValueRequest getSecretValueRequest = new GetSecretValueRequest ( ) ; getSecretValueRequest . setSecretId ( secretId ) ; getSecretValueRequest . setVersionStage ( CURRENT . getAwsName ( ) ) ; getDelegate ( ) . getSecretValue ( getSecretValueRequest ) ; }
Ensure that the given secret has an AWSCURRENT value. This requires the permission
<code>secretsmanager:GetSecretValue</code>

@param secretId
the ARN of the secret.
@throws ResourceNotFoundException if the secret doesn't exist or it has no AWSCURRENT stage