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 |
Retrieves the recovery point for the specified virtual tape. This operation is only supported in the tape gateway type.
A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway.
The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge for retrieving recovery points.
Synopsis
- data RetrieveTapeRecoveryPoint = RetrieveTapeRecoveryPoint' {
- tapeARN :: Text
- gatewayARN :: Text
- newRetrieveTapeRecoveryPoint :: Text -> Text -> RetrieveTapeRecoveryPoint
- retrieveTapeRecoveryPoint_tapeARN :: Lens' RetrieveTapeRecoveryPoint Text
- retrieveTapeRecoveryPoint_gatewayARN :: Lens' RetrieveTapeRecoveryPoint Text
- data RetrieveTapeRecoveryPointResponse = RetrieveTapeRecoveryPointResponse' {
- tapeARN :: Maybe Text
- httpStatus :: Int
- newRetrieveTapeRecoveryPointResponse :: Int -> RetrieveTapeRecoveryPointResponse
- retrieveTapeRecoveryPointResponse_tapeARN :: Lens' RetrieveTapeRecoveryPointResponse (Maybe Text)
- retrieveTapeRecoveryPointResponse_httpStatus :: Lens' RetrieveTapeRecoveryPointResponse Int
Creating a Request
data RetrieveTapeRecoveryPoint Source #
RetrieveTapeRecoveryPointInput
See: newRetrieveTapeRecoveryPoint
smart constructor.
RetrieveTapeRecoveryPoint' | |
|
Instances
newRetrieveTapeRecoveryPoint Source #
:: Text | |
-> Text | |
-> RetrieveTapeRecoveryPoint |
Create a value of RetrieveTapeRecoveryPoint
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:tapeARN:RetrieveTapeRecoveryPoint'
, retrieveTapeRecoveryPoint_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which you want to
retrieve the recovery point.
$sel:gatewayARN:RetrieveTapeRecoveryPoint'
, retrieveTapeRecoveryPoint_gatewayARN
- Undocumented member.
Request Lenses
retrieveTapeRecoveryPoint_tapeARN :: Lens' RetrieveTapeRecoveryPoint Text Source #
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.
retrieveTapeRecoveryPoint_gatewayARN :: Lens' RetrieveTapeRecoveryPoint Text Source #
Undocumented member.
Destructuring the Response
data RetrieveTapeRecoveryPointResponse Source #
RetrieveTapeRecoveryPointOutput
See: newRetrieveTapeRecoveryPointResponse
smart constructor.
RetrieveTapeRecoveryPointResponse' | |
|
Instances
Eq RetrieveTapeRecoveryPointResponse Source # | |
Read RetrieveTapeRecoveryPointResponse Source # | |
Show RetrieveTapeRecoveryPointResponse Source # | |
Generic RetrieveTapeRecoveryPointResponse Source # | |
NFData RetrieveTapeRecoveryPointResponse Source # | |
Defined in Amazonka.StorageGateway.RetrieveTapeRecoveryPoint rnf :: RetrieveTapeRecoveryPointResponse -> () # | |
type Rep RetrieveTapeRecoveryPointResponse Source # | |
Defined in Amazonka.StorageGateway.RetrieveTapeRecoveryPoint type Rep RetrieveTapeRecoveryPointResponse = D1 ('MetaData "RetrieveTapeRecoveryPointResponse" "Amazonka.StorageGateway.RetrieveTapeRecoveryPoint" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "RetrieveTapeRecoveryPointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tapeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRetrieveTapeRecoveryPointResponse Source #
Create a value of RetrieveTapeRecoveryPointResponse
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:tapeARN:RetrieveTapeRecoveryPoint'
, retrieveTapeRecoveryPointResponse_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which the
recovery point was retrieved.
$sel:httpStatus:RetrieveTapeRecoveryPointResponse'
, retrieveTapeRecoveryPointResponse_httpStatus
- The response's http status code.
Response Lenses
retrieveTapeRecoveryPointResponse_tapeARN :: Lens' RetrieveTapeRecoveryPointResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved.
retrieveTapeRecoveryPointResponse_httpStatus :: Lens' RetrieveTapeRecoveryPointResponse Int Source #
The response's http status code.