Copyright | (c) 2013-2021 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 |
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
This operation returns paginated results.
Synopsis
- data ListIncidentRecords = ListIncidentRecords' {}
- newListIncidentRecords :: ListIncidentRecords
- listIncidentRecords_filters :: Lens' ListIncidentRecords (Maybe [Filter])
- listIncidentRecords_nextToken :: Lens' ListIncidentRecords (Maybe Text)
- listIncidentRecords_maxResults :: Lens' ListIncidentRecords (Maybe Natural)
- data ListIncidentRecordsResponse = ListIncidentRecordsResponse' {}
- newListIncidentRecordsResponse :: Int -> ListIncidentRecordsResponse
- listIncidentRecordsResponse_nextToken :: Lens' ListIncidentRecordsResponse (Maybe Text)
- listIncidentRecordsResponse_httpStatus :: Lens' ListIncidentRecordsResponse Int
- listIncidentRecordsResponse_incidentRecordSummaries :: Lens' ListIncidentRecordsResponse [IncidentRecordSummary]
Creating a Request
data ListIncidentRecords Source #
See: newListIncidentRecords
smart constructor.
ListIncidentRecords' | |
|
Instances
newListIncidentRecords :: ListIncidentRecords Source #
Create a value of ListIncidentRecords
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:filters:ListIncidentRecords'
, listIncidentRecords_filters
- Filter the list of incident records you are searching through. You can
filter on the following keys:
creationTime
impact
status
createdBy
$sel:nextToken:ListIncidentRecords'
, listIncidentRecords_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListIncidentRecords'
, listIncidentRecords_maxResults
- The maximum number of results per page.
Request Lenses
listIncidentRecords_filters :: Lens' ListIncidentRecords (Maybe [Filter]) Source #
Filter the list of incident records you are searching through. You can filter on the following keys:
creationTime
impact
status
createdBy
listIncidentRecords_nextToken :: Lens' ListIncidentRecords (Maybe Text) Source #
The pagination token to continue to the next page of results.
listIncidentRecords_maxResults :: Lens' ListIncidentRecords (Maybe Natural) Source #
The maximum number of results per page.
Destructuring the Response
data ListIncidentRecordsResponse Source #
See: newListIncidentRecordsResponse
smart constructor.
ListIncidentRecordsResponse' | |
|
Instances
newListIncidentRecordsResponse Source #
Create a value of ListIncidentRecordsResponse
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:nextToken:ListIncidentRecords'
, listIncidentRecordsResponse_nextToken
- The pagination token to continue to the next page of results.
$sel:httpStatus:ListIncidentRecordsResponse'
, listIncidentRecordsResponse_httpStatus
- The response's http status code.
$sel:incidentRecordSummaries:ListIncidentRecordsResponse'
, listIncidentRecordsResponse_incidentRecordSummaries
- The details of each listed incident record.
Response Lenses
listIncidentRecordsResponse_nextToken :: Lens' ListIncidentRecordsResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listIncidentRecordsResponse_httpStatus :: Lens' ListIncidentRecordsResponse Int Source #
The response's http status code.
listIncidentRecordsResponse_incidentRecordSummaries :: Lens' ListIncidentRecordsResponse [IncidentRecordSummary] Source #
The details of each listed incident record.