| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.Types.StatusCodes
Description
Synopsis
- data StatusCodes = StatusCodes' {}
- newStatusCodes :: Int -> NonEmpty Int -> StatusCodes
- statusCodes_quantity :: Lens' StatusCodes Int
- statusCodes_items :: Lens' StatusCodes (NonEmpty Int)
Documentation
data StatusCodes Source #
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a second origin.
See: newStatusCodes smart constructor.
Constructors
| StatusCodes' | |
Instances
Arguments
| :: Int | |
| -> NonEmpty Int | |
| -> StatusCodes |
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:quantity:StatusCodes', statusCodes_quantity - The number of status codes.
$sel:items:StatusCodes', statusCodes_items - The items (status codes) for an origin group.
statusCodes_quantity :: Lens' StatusCodes Int Source #
The number of status codes.
statusCodes_items :: Lens' StatusCodes (NonEmpty Int) Source #
The items (status codes) for an origin group.