| 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.ApplicationInsights.DescribeProblem
Description
Describes an application problem.
Synopsis
- data DescribeProblem = DescribeProblem' {}
- newDescribeProblem :: Text -> DescribeProblem
- describeProblem_problemId :: Lens' DescribeProblem Text
- data DescribeProblemResponse = DescribeProblemResponse' {
- problem :: Maybe Problem
- httpStatus :: Int
- newDescribeProblemResponse :: Int -> DescribeProblemResponse
- describeProblemResponse_problem :: Lens' DescribeProblemResponse (Maybe Problem)
- describeProblemResponse_httpStatus :: Lens' DescribeProblemResponse Int
Creating a Request
data DescribeProblem Source #
See: newDescribeProblem smart constructor.
Constructors
| DescribeProblem' | |
Instances
Arguments
| :: Text | |
| -> DescribeProblem |
Create a value of DescribeProblem 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:problemId:DescribeProblem', describeProblem_problemId - The ID of the problem.
Request Lenses
describeProblem_problemId :: Lens' DescribeProblem Text Source #
The ID of the problem.
Destructuring the Response
data DescribeProblemResponse Source #
See: newDescribeProblemResponse smart constructor.
Constructors
| DescribeProblemResponse' | |
Fields
| |
Instances
newDescribeProblemResponse Source #
Create a value of DescribeProblemResponse 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:problem:DescribeProblemResponse', describeProblemResponse_problem - Information about the problem.
$sel:httpStatus:DescribeProblemResponse', describeProblemResponse_httpStatus - The response's http status code.
Response Lenses
describeProblemResponse_problem :: Lens' DescribeProblemResponse (Maybe Problem) Source #
Information about the problem.
describeProblemResponse_httpStatus :: Lens' DescribeProblemResponse Int Source #
The response's http status code.