Added get_random_password mock with tests
This commit is contained in:
parent
ba1ceee95f
commit
6c7a22c7d7
5 changed files with 253 additions and 6 deletions
|
|
@ -13,3 +13,17 @@ class ResourceNotFoundException(SecretsManagerClientError):
|
|||
"ResourceNotFoundException",
|
||||
"Secrets Manager can't find the specified secret"
|
||||
)
|
||||
|
||||
|
||||
class ClientError(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(ClientError, self).__init__(
|
||||
'InvalidParameterValue',
|
||||
message)
|
||||
|
||||
|
||||
class InvalidParameterException(SecretsManagerClientError):
|
||||
def __init__(self, message):
|
||||
super(InvalidParameterException, self).__init__(
|
||||
'InvalidParameterException',
|
||||
message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue