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 |
This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.
This operation returns paginated results.
Synopsis
- data ListRecoveryPointsByLegalHold = ListRecoveryPointsByLegalHold' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- legalHoldId :: Text
- newListRecoveryPointsByLegalHold :: Text -> ListRecoveryPointsByLegalHold
- listRecoveryPointsByLegalHold_maxResults :: Lens' ListRecoveryPointsByLegalHold (Maybe Natural)
- listRecoveryPointsByLegalHold_nextToken :: Lens' ListRecoveryPointsByLegalHold (Maybe Text)
- listRecoveryPointsByLegalHold_legalHoldId :: Lens' ListRecoveryPointsByLegalHold Text
- data ListRecoveryPointsByLegalHoldResponse = ListRecoveryPointsByLegalHoldResponse' {}
- newListRecoveryPointsByLegalHoldResponse :: Int -> ListRecoveryPointsByLegalHoldResponse
- listRecoveryPointsByLegalHoldResponse_nextToken :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe Text)
- listRecoveryPointsByLegalHoldResponse_recoveryPoints :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe [RecoveryPointMember])
- listRecoveryPointsByLegalHoldResponse_httpStatus :: Lens' ListRecoveryPointsByLegalHoldResponse Int
Creating a Request
data ListRecoveryPointsByLegalHold Source #
See: newListRecoveryPointsByLegalHold
smart constructor.
ListRecoveryPointsByLegalHold' | |
|
Instances
newListRecoveryPointsByLegalHold Source #
Create a value of ListRecoveryPointsByLegalHold
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:maxResults:ListRecoveryPointsByLegalHold'
, listRecoveryPointsByLegalHold_maxResults
- This is the maximum number of resource list items to be returned.
ListRecoveryPointsByLegalHold
, listRecoveryPointsByLegalHold_nextToken
- This is the next item following a partial list of returned resources.
For example, if a request is made to return maxResults
number of
resources, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
ListRecoveryPointsByLegalHold
, listRecoveryPointsByLegalHold_legalHoldId
- This is the ID of the legal hold.
Request Lenses
listRecoveryPointsByLegalHold_maxResults :: Lens' ListRecoveryPointsByLegalHold (Maybe Natural) Source #
This is the maximum number of resource list items to be returned.
listRecoveryPointsByLegalHold_nextToken :: Lens' ListRecoveryPointsByLegalHold (Maybe Text) Source #
This is the next item following a partial list of returned resources.
For example, if a request is made to return maxResults
number of
resources, NextToken
allows you to return more items in your list
starting at the location pointed to by the next token.
listRecoveryPointsByLegalHold_legalHoldId :: Lens' ListRecoveryPointsByLegalHold Text Source #
This is the ID of the legal hold.
Destructuring the Response
data ListRecoveryPointsByLegalHoldResponse Source #
See: newListRecoveryPointsByLegalHoldResponse
smart constructor.
ListRecoveryPointsByLegalHoldResponse' | |
|
Instances
newListRecoveryPointsByLegalHoldResponse Source #
Create a value of ListRecoveryPointsByLegalHoldResponse
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:
ListRecoveryPointsByLegalHold
, listRecoveryPointsByLegalHoldResponse_nextToken
- This return is the next item following a partial list of returned
resources.
$sel:recoveryPoints:ListRecoveryPointsByLegalHoldResponse'
, listRecoveryPointsByLegalHoldResponse_recoveryPoints
- This is a list of the recovery points returned by
ListRecoveryPointsByLegalHold
.
$sel:httpStatus:ListRecoveryPointsByLegalHoldResponse'
, listRecoveryPointsByLegalHoldResponse_httpStatus
- The response's http status code.
Response Lenses
listRecoveryPointsByLegalHoldResponse_nextToken :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe Text) Source #
This return is the next item following a partial list of returned resources.
listRecoveryPointsByLegalHoldResponse_recoveryPoints :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe [RecoveryPointMember]) Source #
This is a list of the recovery points returned by
ListRecoveryPointsByLegalHold
.
listRecoveryPointsByLegalHoldResponse_httpStatus :: Lens' ListRecoveryPointsByLegalHoldResponse Int Source #
The response's http status code.