libZSservicesZSamazonka-glacierZSamazonka-glacier
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glacier.Types.DataRetrievalRule

Description

 
Synopsis

Documentation

data DataRetrievalRule Source #

Data retrieval policy rule.

See: newDataRetrievalRule smart constructor.

Constructors

DataRetrievalRule' 

Fields

  • strategy :: Maybe Text

    The type of data retrieval policy to set.

    Valid values: BytesPerHour|FreeTier|None

  • bytesPerHour :: Maybe Integer

    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.

Instances

Instances details
Eq DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Read DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Show DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Generic DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Associated Types

type Rep DataRetrievalRule :: Type -> Type #

NFData DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

Methods

rnf :: DataRetrievalRule -> () #

Hashable DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

ToJSON DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

FromJSON DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

type Rep DataRetrievalRule Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalRule

type Rep DataRetrievalRule = D1 ('MetaData "DataRetrievalRule" "Amazonka.Glacier.Types.DataRetrievalRule" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "DataRetrievalRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "strategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "bytesPerHour") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

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.