WAF / Client / exceptions / WAFNonexistentContainerException
WAFNonexistentContainerException#
- class WAF.Client.exceptions.WAFNonexistentContainerException#
The operation failed because you tried to add an object to or delete an object from another object that doesn’t exist. For example:
You tried to add a
Rule
to or delete aRule
from aWebACL
that doesn’t exist.You tried to add a
ByteMatchSet
to or delete aByteMatchSet
from aRule
that doesn’t exist.You tried to add an IP address to or delete an IP address from an
IPSet
that doesn’t exist.You tried to add a
ByteMatchTuple
to or delete aByteMatchTuple
from aByteMatchSet
that doesn’t exist.
Example
try: ... except client.exceptions.WAFNonexistentContainerException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The operation failed because you tried to add an object to or delete an object from another object that doesn’t exist. For example:
You tried to add a
Rule
to or delete aRule
from aWebACL
that doesn’t exist.You tried to add a
ByteMatchSet
to or delete aByteMatchSet
from aRule
that doesn’t exist.You tried to add an IP address to or delete an IP address from an
IPSet
that doesn’t exist.You tried to add a
ByteMatchTuple
to or delete aByteMatchTuple
from aByteMatchSet
that doesn’t exist.
message (string) –
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.