def METHOD_NAME(self, name, stage, secret_value, error_code=None):
    expected_params = {'SecretId': name}
    if stage is not None:
        expected_params['VersionStage'] = stage
    response = {}
    if isinstance(secret_value, str):
        response['SecretString'] = secret_value
    elif isinstance(secret_value, bytes):
        response['SecretBinary'] = secret_value
    self._stub_bifurcator(
        'get_secret_value', expected_params, response, error_code=error_code)