Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
- retrieveTapeRecoveryPoint :: Text -> Text -> RetrieveTapeRecoveryPoint
- data RetrieveTapeRecoveryPoint
- rtrpTapeARN :: Lens' RetrieveTapeRecoveryPoint Text
- rtrpGatewayARN :: Lens' RetrieveTapeRecoveryPoint Text
- retrieveTapeRecoveryPointResponse :: Int -> RetrieveTapeRecoveryPointResponse
- data RetrieveTapeRecoveryPointResponse
- rtrprsTapeARN :: Lens' RetrieveTapeRecoveryPointResponse (Maybe Text)
- rtrprsResponseStatus :: Lens' RetrieveTapeRecoveryPointResponse Int
Creating a Request
retrieveTapeRecoveryPoint Source #
Creates a value of RetrieveTapeRecoveryPoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtrpTapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.rtrpGatewayARN
- Undocumented member.
data RetrieveTapeRecoveryPoint Source #
RetrieveTapeRecoveryPointInput
See: retrieveTapeRecoveryPoint
smart constructor.
Request Lenses
rtrpTapeARN :: Lens' RetrieveTapeRecoveryPoint Text Source #
The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.
rtrpGatewayARN :: Lens' RetrieveTapeRecoveryPoint Text Source #
Undocumented member.
Destructuring the Response
retrieveTapeRecoveryPointResponse Source #
Creates a value of RetrieveTapeRecoveryPointResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtrprsTapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved.rtrprsResponseStatus
- -- | The response status code.
data RetrieveTapeRecoveryPointResponse Source #
RetrieveTapeRecoveryPointOutput
See: retrieveTapeRecoveryPointResponse
smart constructor.
Response Lenses
rtrprsTapeARN :: Lens' RetrieveTapeRecoveryPointResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved.
rtrprsResponseStatus :: Lens' RetrieveTapeRecoveryPointResponse Int Source #
- - | The response status code.