| 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.Glacier.Types.DataRetrievalRule
Description
Documentation
data DataRetrievalRule Source #
Data retrieval policy rule.
See: newDataRetrievalRule smart constructor.
Constructors
| DataRetrievalRule' | |
Fields
| |
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: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.
$sel:strategy:DataRetrievalRule', dataRetrievalRule_strategy - 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.
dataRetrievalRule_strategy :: Lens' DataRetrievalRule (Maybe Text) Source #
The type of data retrieval policy to set.
Valid values: BytesPerHour|FreeTier|None