Skip to content

ResponseInspectionStatusCode

Source code in docs_src/capo_wafv2/types/response_inspection_status_code.py
class ResponseInspectionStatusCode(TypedDict, closed=True):
    success_codes: "capo_wafv2.types.response_inspection_status_code_success_codes.ResponseInspectionStatusCodeSuccessCodes"
    """<p>Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes. </p> <p>JSON example: <code>"SuccessCodes": [ 200, 201 ]</code> </p>"""
    failure_codes: "capo_wafv2.types.response_inspection_status_code_failure_codes.ResponseInspectionStatusCodeFailureCodes"
    """<p>Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes. </p> <p>JSON example: <code>"FailureCodes": [ 400, 404 ]</code> </p>"""

failure_codes instance-attribute

Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

JSON example: "FailureCodes": [ 400, 404 ]

success_codes instance-attribute

Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

JSON example: "SuccessCodes": [ 200, 201 ]