@Override
    public GetSecretValueResult getSecretValue(GetSecretValueRequest request) {
        request = beforeClientExecution(request);
        return executeGetSecretValue(request);
    }
@ Override public GetSecretValueResult getSecretValue ( GetSecretValueRequest request ) { request = beforeClientExecution ( request ) ; return executeGetSecretValue ( request ) ; }
<p>
Retrieves the contents of the encrypted fields <code>SecretString</code> or <code>SecretBinary</code> from the
specified version of a secret, whichever contains content.
</p>
<p>
<b>Minimum permissions</b>
</p>
<p>
To run this command, you must have the following permissions:
</p>
<ul>
<li>
<p>
secretsmanager:GetSecretValue
</p>
</li>
<li>
<p>
kms:Decrypt - required only if you use a customer-managed AWS KMS key to encrypt the secret. You do not need this
permission to use the account's default AWS managed CMK for Secrets Manager.
</p>
</li>
</ul>
<p>
<b>Related operations</b>
</p>
<ul>
<li>
<p>
To create a new version of the secret with different encrypted information, use <a>PutSecretValue</a>.
</p>
</li>
<li>
<p>
To retrieve the non-encrypted details for the secret, use <a>DescribeSecret</a>.
</p>
</li>
</ul>

@param getSecretValueRequest
@return Result of the GetSecretValue operation returned by the service.
@throws ResourceNotFoundException
We can't find the resource that you asked for.
@throws InvalidParameterException
You provided an invalid value for a parameter.
@throws InvalidRequestException
You provided a parameter value that is not valid for the current state of the resource.</p>
<p>
Possible causes:
</p>
<ul>
<li>
<p>
You tried to perform the operation on a secret that's currently marked deleted.
</p>
</li>
<li>
<p>
You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and
you didn't include such an ARN as a parameter in this call.
</p>
</li>
@throws DecryptionFailureException
Secrets Manager can't decrypt the protected secret text using the provided KMS key.
@throws InternalServiceErrorException
An error occurred on the server side.
@sample AWSSecretsManager.GetSecretValue
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetSecretValue" target="_top">AWS
API Documentation</a>