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 - Ruleto or delete a- Rulefrom a- WebACLthat doesn’t exist.
- You tried to add a - ByteMatchSetto or delete a- ByteMatchSetfrom a- Rulethat doesn’t exist.
- You tried to add an IP address to or delete an IP address from an - IPSetthat doesn’t exist.
- You tried to add a - ByteMatchTupleto or delete a- ByteMatchTuplefrom a- ByteMatchSetthat 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 - Errorkey 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 - Ruleto or delete a- Rulefrom a- WebACLthat doesn’t exist.
- You tried to add a - ByteMatchSetto or delete a- ByteMatchSetfrom a- Rulethat doesn’t exist.
- You tried to add an IP address to or delete an IP address from an - IPSetthat doesn’t exist.
- You tried to add a - ByteMatchTupleto or delete a- ByteMatchTuplefrom a- ByteMatchSetthat 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.