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 |
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.
Instances
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.
DescribeProblemResponse' | |
|
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.