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 |
Amazonka.StorageGateway.RetrieveTapeRecoveryPoint
Description
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.
Constructors
RetrieveTapeRecoveryPoint' | |
Fields
|
Instances
newRetrieveTapeRecoveryPoint Source #
Arguments
:: 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.
Constructors
RetrieveTapeRecoveryPointResponse' | |
Fields
|
Instances
newRetrieveTapeRecoveryPointResponse Source #
Arguments
:: Int | |
-> RetrieveTapeRecoveryPointResponse |
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.