Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data StatusCodes Source #
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.
See: newStatusCodes
smart constructor.
StatusCodes' | |
|
Instances
newStatusCodes :: StatusCodes Source #
Create a value of StatusCodes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status2xx:StatusCodes'
, statusCodes_status2xx
- The percentage of requests over the last 10 seconds that resulted in a
2xx (200, 201, etc.) status code.
$sel:status3xx:StatusCodes'
, statusCodes_status3xx
- The percentage of requests over the last 10 seconds that resulted in a
3xx (300, 301, etc.) status code.
$sel:status4xx:StatusCodes'
, statusCodes_status4xx
- The percentage of requests over the last 10 seconds that resulted in a
4xx (400, 401, etc.) status code.
$sel:status5xx:StatusCodes'
, statusCodes_status5xx
- The percentage of requests over the last 10 seconds that resulted in a
5xx (500, 501, etc.) status code.
statusCodes_status2xx :: Lens' StatusCodes (Maybe Int) Source #
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
statusCodes_status3xx :: Lens' StatusCodes (Maybe Int) Source #
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
statusCodes_status4xx :: Lens' StatusCodes (Maybe Int) Source #
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
statusCodes_status5xx :: Lens' StatusCodes (Maybe Int) Source #
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.