| 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 |
Amazonka.SSMIncidents.GetIncidentRecord
Description
Returns the details for 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.
Constructors
| GetIncidentRecord' | |
Instances
Arguments
| :: Text | |
| -> GetIncidentRecord |
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:
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.
Constructors
| GetIncidentRecordResponse' | |
Fields
| |
Instances
newGetIncidentRecordResponse Source #
Arguments
| :: Int | |
| -> IncidentRecord | |
| -> GetIncidentRecordResponse |
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 the 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 the structure of the incident record.