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 |
Returns the details of the specified incident record.
Synopsis
- data GetIncidentRecord = GetIncidentRecord' {}
- newGetIncidentRecord :: Text -> GetIncidentRecord
- getIncidentRecord_arn :: Lens' GetIncidentRecord Text
- data GetIncidentRecordResponse = GetIncidentRecordResponse' {}
- newGetIncidentRecordResponse :: Int -> IncidentRecord -> GetIncidentRecordResponse
- getIncidentRecordResponse_httpStatus :: Lens' GetIncidentRecordResponse Int
- getIncidentRecordResponse_incidentRecord :: Lens' GetIncidentRecordResponse IncidentRecord
Creating a Request
data GetIncidentRecord Source #
See: newGetIncidentRecord
smart constructor.
Instances
Create a value of GetIncidentRecord
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:arn:GetIncidentRecord'
, getIncidentRecord_arn
- The Amazon Resource Name (ARN) of the incident record.
Request Lenses
getIncidentRecord_arn :: Lens' GetIncidentRecord Text Source #
The Amazon Resource Name (ARN) of the incident record.
Destructuring the Response
data GetIncidentRecordResponse Source #
See: newGetIncidentRecordResponse
smart constructor.
GetIncidentRecordResponse' | |
|
Instances
newGetIncidentRecordResponse Source #
Create a value of GetIncidentRecordResponse
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:httpStatus:GetIncidentRecordResponse'
, getIncidentRecordResponse_httpStatus
- The response's http status code.
$sel:incidentRecord:GetIncidentRecordResponse'
, getIncidentRecordResponse_incidentRecord
- Details structure of the incident record.
Response Lenses
getIncidentRecordResponse_httpStatus :: Lens' GetIncidentRecordResponse Int Source #
The response's http status code.
getIncidentRecordResponse_incidentRecord :: Lens' GetIncidentRecordResponse IncidentRecord Source #
Details structure of the incident record.