amazonka-s3-2.0: Amazon Simple Storage Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3.Types.RestoreRequest

Description

 
Synopsis

Documentation

data RestoreRequest Source #

Container for restore job parameters.

See: newRestoreRequest smart constructor.

Constructors

RestoreRequest' 

Fields

Instances

Instances details
ToXML RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

Methods

toXML :: RestoreRequest -> XML #

Generic RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

Associated Types

type Rep RestoreRequest :: Type -> Type #

Show RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

NFData RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

Methods

rnf :: RestoreRequest -> () #

Eq RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

Hashable RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

type Rep RestoreRequest Source # 
Instance details

Defined in Amazonka.S3.Types.RestoreRequest

newRestoreRequest :: RestoreRequest Source #

Create a value of RestoreRequest 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:days:RestoreRequest', restoreRequest_days - Lifetime of the active copy in days. Do not use with restores that specify OutputLocation.

The Days element is required for regular restores, and must not be provided for select requests.

$sel:description:RestoreRequest', restoreRequest_description - The optional description for the job.

$sel:glacierJobParameters:RestoreRequest', restoreRequest_glacierJobParameters - S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation.

$sel:outputLocation:RestoreRequest', restoreRequest_outputLocation - Describes the location where the restore job's output is stored.

$sel:selectParameters:RestoreRequest', restoreRequest_selectParameters - Describes the parameters for Select job types.

RestoreRequest, restoreRequest_tier - Retrieval tier at which the restore will be processed.

$sel:type':RestoreRequest', restoreRequest_type - Type of restore request.

restoreRequest_days :: Lens' RestoreRequest (Maybe Int) Source #

Lifetime of the active copy in days. Do not use with restores that specify OutputLocation.

The Days element is required for regular restores, and must not be provided for select requests.

restoreRequest_description :: Lens' RestoreRequest (Maybe Text) Source #

The optional description for the job.

restoreRequest_glacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters) Source #

S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation.

restoreRequest_outputLocation :: Lens' RestoreRequest (Maybe OutputLocation) Source #

Describes the location where the restore job's output is stored.

restoreRequest_selectParameters :: Lens' RestoreRequest (Maybe SelectParameters) Source #

Describes the parameters for Select job types.

restoreRequest_tier :: Lens' RestoreRequest (Maybe Tier) Source #

Retrieval tier at which the restore will be processed.