Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns an array of recovery points.
This operation returns paginated results.
Synopsis
- data ListRecoveryPoints = ListRecoveryPoints' {}
- newListRecoveryPoints :: ListRecoveryPoints
- listRecoveryPoints_endTime :: Lens' ListRecoveryPoints (Maybe UTCTime)
- listRecoveryPoints_maxResults :: Lens' ListRecoveryPoints (Maybe Natural)
- listRecoveryPoints_namespaceArn :: Lens' ListRecoveryPoints (Maybe Text)
- listRecoveryPoints_namespaceName :: Lens' ListRecoveryPoints (Maybe Text)
- listRecoveryPoints_nextToken :: Lens' ListRecoveryPoints (Maybe Text)
- listRecoveryPoints_startTime :: Lens' ListRecoveryPoints (Maybe UTCTime)
- data ListRecoveryPointsResponse = ListRecoveryPointsResponse' {
- nextToken :: Maybe Text
- recoveryPoints :: Maybe [RecoveryPoint]
- httpStatus :: Int
- newListRecoveryPointsResponse :: Int -> ListRecoveryPointsResponse
- listRecoveryPointsResponse_nextToken :: Lens' ListRecoveryPointsResponse (Maybe Text)
- listRecoveryPointsResponse_recoveryPoints :: Lens' ListRecoveryPointsResponse (Maybe [RecoveryPoint])
- listRecoveryPointsResponse_httpStatus :: Lens' ListRecoveryPointsResponse Int
Creating a Request
data ListRecoveryPoints Source #
See: newListRecoveryPoints
smart constructor.
ListRecoveryPoints' | |
|
Instances
newListRecoveryPoints :: ListRecoveryPoints Source #
Create a value of ListRecoveryPoints
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:endTime:ListRecoveryPoints'
, listRecoveryPoints_endTime
- The time when creation of the recovery point finished.
$sel:maxResults:ListRecoveryPoints'
, listRecoveryPoints_maxResults
- An optional parameter that specifies the maximum number of results to
return. You can use nextToken
to display the next page of results.
ListRecoveryPoints
, listRecoveryPoints_namespaceArn
- The Amazon Resource Name (ARN) of the namespace from which to list
recovery points.
ListRecoveryPoints
, listRecoveryPoints_namespaceName
- The name of the namespace to list recovery points for.
ListRecoveryPoints
, listRecoveryPoints_nextToken
- If your initial ListRecoveryPoints
operation returns a nextToken
,
you can include the returned nextToken
in following
ListRecoveryPoints
operations, which returns results in the next page.
$sel:startTime:ListRecoveryPoints'
, listRecoveryPoints_startTime
- The time when the recovery point's creation was initiated.
Request Lenses
listRecoveryPoints_endTime :: Lens' ListRecoveryPoints (Maybe UTCTime) Source #
The time when creation of the recovery point finished.
listRecoveryPoints_maxResults :: Lens' ListRecoveryPoints (Maybe Natural) Source #
An optional parameter that specifies the maximum number of results to
return. You can use nextToken
to display the next page of results.
listRecoveryPoints_namespaceArn :: Lens' ListRecoveryPoints (Maybe Text) Source #
The Amazon Resource Name (ARN) of the namespace from which to list recovery points.
listRecoveryPoints_namespaceName :: Lens' ListRecoveryPoints (Maybe Text) Source #
The name of the namespace to list recovery points for.
listRecoveryPoints_nextToken :: Lens' ListRecoveryPoints (Maybe Text) Source #
If your initial ListRecoveryPoints
operation returns a nextToken
,
you can include the returned nextToken
in following
ListRecoveryPoints
operations, which returns results in the next page.
listRecoveryPoints_startTime :: Lens' ListRecoveryPoints (Maybe UTCTime) Source #
The time when the recovery point's creation was initiated.
Destructuring the Response
data ListRecoveryPointsResponse Source #
See: newListRecoveryPointsResponse
smart constructor.
ListRecoveryPointsResponse' | |
|
Instances
newListRecoveryPointsResponse Source #
Create a value of ListRecoveryPointsResponse
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:
ListRecoveryPoints
, listRecoveryPointsResponse_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page.
$sel:recoveryPoints:ListRecoveryPointsResponse'
, listRecoveryPointsResponse_recoveryPoints
- The returned recovery point objects.
$sel:httpStatus:ListRecoveryPointsResponse'
, listRecoveryPointsResponse_httpStatus
- The response's http status code.
Response Lenses
listRecoveryPointsResponse_nextToken :: Lens' ListRecoveryPointsResponse (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page.
listRecoveryPointsResponse_recoveryPoints :: Lens' ListRecoveryPointsResponse (Maybe [RecoveryPoint]) Source #
The returned recovery point objects.
listRecoveryPointsResponse_httpStatus :: Lens' ListRecoveryPointsResponse Int Source #
The response's http status code.