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 |
Returns a list of virtual tape recovery points that are available for the specified tape gateway.
A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. This operation is only supported in the tape gateway type.
This operation returns paginated results.
Synopsis
- describeTapeRecoveryPoints :: Text -> DescribeTapeRecoveryPoints
- data DescribeTapeRecoveryPoints
- dtrpMarker :: Lens' DescribeTapeRecoveryPoints (Maybe Text)
- dtrpLimit :: Lens' DescribeTapeRecoveryPoints (Maybe Natural)
- dtrpGatewayARN :: Lens' DescribeTapeRecoveryPoints Text
- describeTapeRecoveryPointsResponse :: Int -> DescribeTapeRecoveryPointsResponse
- data DescribeTapeRecoveryPointsResponse
- dtrprsTapeRecoveryPointInfos :: Lens' DescribeTapeRecoveryPointsResponse [TapeRecoveryPointInfo]
- dtrprsGatewayARN :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text)
- dtrprsMarker :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text)
- dtrprsResponseStatus :: Lens' DescribeTapeRecoveryPointsResponse Int
Creating a Request
describeTapeRecoveryPoints Source #
Creates a value of DescribeTapeRecoveryPoints
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrpMarker
- An opaque string that indicates the position at which to begin describing the virtual tape recovery points.dtrpLimit
- Specifies that the number of virtual tape recovery points that are described be limited to the specified number.dtrpGatewayARN
- Undocumented member.
data DescribeTapeRecoveryPoints Source #
DescribeTapeRecoveryPointsInput
See: describeTapeRecoveryPoints
smart constructor.
Instances
Request Lenses
dtrpMarker :: Lens' DescribeTapeRecoveryPoints (Maybe Text) Source #
An opaque string that indicates the position at which to begin describing the virtual tape recovery points.
dtrpLimit :: Lens' DescribeTapeRecoveryPoints (Maybe Natural) Source #
Specifies that the number of virtual tape recovery points that are described be limited to the specified number.
dtrpGatewayARN :: Lens' DescribeTapeRecoveryPoints Text Source #
Undocumented member.
Destructuring the Response
describeTapeRecoveryPointsResponse Source #
Creates a value of DescribeTapeRecoveryPointsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrprsTapeRecoveryPointInfos
- An array of TapeRecoveryPointInfos that are available for the specified gateway.dtrprsGatewayARN
- Undocumented member.dtrprsMarker
- An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.dtrprsResponseStatus
- -- | The response status code.
data DescribeTapeRecoveryPointsResponse Source #
DescribeTapeRecoveryPointsOutput
See: describeTapeRecoveryPointsResponse
smart constructor.
Instances
Response Lenses
dtrprsTapeRecoveryPointInfos :: Lens' DescribeTapeRecoveryPointsResponse [TapeRecoveryPointInfo] Source #
An array of TapeRecoveryPointInfos that are available for the specified gateway.
dtrprsGatewayARN :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text) Source #
Undocumented member.
dtrprsMarker :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text) Source #
An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.
dtrprsResponseStatus :: Lens' DescribeTapeRecoveryPointsResponse Int Source #
- - | The response status code.