| Copyright | (c) 2013-2015 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.AWS.StorageGateway.RetrieveTapeArchive
Description
Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway, even though it is also listed in the VTS.
Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to another gateway. You must archive the tape again before you can retrieve it to another gateway.
See: AWS API Reference for RetrieveTapeArchive.
- retrieveTapeArchive :: Text -> Text -> RetrieveTapeArchive
- data RetrieveTapeArchive
- rtaTapeARN :: Lens' RetrieveTapeArchive Text
- rtaGatewayARN :: Lens' RetrieveTapeArchive Text
- retrieveTapeArchiveResponse :: Int -> RetrieveTapeArchiveResponse
- data RetrieveTapeArchiveResponse
- rtarsTapeARN :: Lens' RetrieveTapeArchiveResponse (Maybe Text)
- rtarsStatus :: Lens' RetrieveTapeArchiveResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> RetrieveTapeArchive | 
Creates a value of RetrieveTapeArchive with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RetrieveTapeArchive Source
RetrieveTapeArchiveInput
See: retrieveTapeArchive smart constructor.
Instances
Request Lenses
rtaTapeARN :: Lens' RetrieveTapeArchive Text Source
The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the virtual tape shelf (VTS).
rtaGatewayARN :: Lens' RetrieveTapeArchive Text Source
The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the ListGateways operation to return a list of gateways for your account and region.
You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL.
Destructuring the Response
retrieveTapeArchiveResponse Source
Arguments
| :: Int | |
| -> RetrieveTapeArchiveResponse | 
Creates a value of RetrieveTapeArchiveResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RetrieveTapeArchiveResponse Source
RetrieveTapeArchiveOutput
See: retrieveTapeArchiveResponse smart constructor.
Response Lenses
rtarsTapeARN :: Lens' RetrieveTapeArchiveResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the retrieved virtual tape.
rtarsStatus :: Lens' RetrieveTapeArchiveResponse Int Source
The response status code.