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
- 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.
Instances
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.