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

Description

 
Synopsis

Documentation

data DataRetrievalPolicy Source #

Data retrieval policy.

See: newDataRetrievalPolicy smart constructor.

Constructors

DataRetrievalPolicy' 

Fields

  • rules :: Maybe [DataRetrievalRule]

    The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

Instances

Instances details
Eq DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Read DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Show DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Generic DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Associated Types

type Rep DataRetrievalPolicy :: Type -> Type #

NFData DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

Methods

rnf :: DataRetrievalPolicy -> () #

Hashable DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

ToJSON DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

FromJSON DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

type Rep DataRetrievalPolicy Source # 
Instance details

Defined in Amazonka.Glacier.Types.DataRetrievalPolicy

type Rep DataRetrievalPolicy = D1 ('MetaData "DataRetrievalPolicy" "Amazonka.Glacier.Types.DataRetrievalPolicy" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "DataRetrievalPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataRetrievalRule]))))

newDataRetrievalPolicy :: DataRetrievalPolicy Source #

Create a value of DataRetrievalPolicy 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:rules:DataRetrievalPolicy', dataRetrievalPolicy_rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

dataRetrievalPolicy_rules :: Lens' DataRetrievalPolicy (Maybe [DataRetrievalRule]) Source #

The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.