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 |
Synopsis
- data RestoreRequest = RestoreRequest' {}
- newRestoreRequest :: RestoreRequest
- restoreRequest_days :: Lens' RestoreRequest (Maybe Int)
- restoreRequest_selectParameters :: Lens' RestoreRequest (Maybe SelectParameters)
- restoreRequest_outputLocation :: Lens' RestoreRequest (Maybe OutputLocation)
- restoreRequest_tier :: Lens' RestoreRequest (Maybe Tier)
- restoreRequest_glacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters)
- restoreRequest_type :: Lens' RestoreRequest (Maybe RestoreRequestType)
- restoreRequest_description :: Lens' RestoreRequest (Maybe Text)
Documentation
data RestoreRequest Source #
Container for restore job parameters.
See: newRestoreRequest
smart constructor.
RestoreRequest' | |
|
Instances
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:selectParameters:RestoreRequest'
, restoreRequest_selectParameters
- Describes the parameters for Select job types.
$sel:outputLocation:RestoreRequest'
, restoreRequest_outputLocation
- Describes the location where the restore job's output is stored.
$sel:tier:RestoreRequest'
, restoreRequest_tier
- Retrieval tier at which the restore will be processed.
$sel:glacierJobParameters:RestoreRequest'
, restoreRequest_glacierJobParameters
- S3 Glacier related parameters pertaining to this job. Do not use with
restores that specify OutputLocation
.
$sel:type':RestoreRequest'
, restoreRequest_type
- Type of restore request.
$sel:description:RestoreRequest'
, restoreRequest_description
- The optional description for the job.
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_selectParameters :: Lens' RestoreRequest (Maybe SelectParameters) Source #
Describes the parameters for Select job types.
restoreRequest_outputLocation :: Lens' RestoreRequest (Maybe OutputLocation) Source #
Describes the location where the restore job's output is stored.
restoreRequest_tier :: Lens' RestoreRequest (Maybe Tier) Source #
Retrieval tier at which the restore will be processed.
restoreRequest_glacierJobParameters :: Lens' RestoreRequest (Maybe GlacierJobParameters) Source #
S3 Glacier related parameters pertaining to this job. Do not use with
restores that specify OutputLocation
.
restoreRequest_type :: Lens' RestoreRequest (Maybe RestoreRequestType) Source #
Type of restore request.
restoreRequest_description :: Lens' RestoreRequest (Maybe Text) Source #
The optional description for the job.