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 |
Documentation
data DataRetrievalRule Source #
Data retrieval policy rule.
See: newDataRetrievalRule
smart constructor.
DataRetrievalRule' | |
|
Instances
newDataRetrievalRule :: DataRetrievalRule Source #
Create a value of DataRetrievalRule
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:strategy:DataRetrievalRule'
, dataRetrievalRule_strategy
- The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None
$sel:bytesPerHour:DataRetrievalRule'
, dataRetrievalRule_bytesPerHour
- The maximum number of bytes that can be retrieved in an hour.
This field is required only if the value of the Strategy field is
BytesPerHour
. Your PUT operation will be rejected if the Strategy
field is not set to BytesPerHour
and you set this field.
dataRetrievalRule_strategy :: Lens' DataRetrievalRule (Maybe Text) Source #
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None
dataRetrievalRule_bytesPerHour :: Lens' DataRetrievalRule (Maybe Integer) Source #
The maximum number of bytes that can be retrieved in an hour.
This field is required only if the value of the Strategy field is
BytesPerHour
. Your PUT operation will be rejected if the Strategy
field is not set to BytesPerHour
and you set this field.