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 a solution. For more information on solutions, see CreateSolution.
Synopsis
- data DescribeSolution = DescribeSolution' {
- solutionArn :: Text
- newDescribeSolution :: Text -> DescribeSolution
- describeSolution_solutionArn :: Lens' DescribeSolution Text
- data DescribeSolutionResponse = DescribeSolutionResponse' {
- solution :: Maybe Solution
- httpStatus :: Int
- newDescribeSolutionResponse :: Int -> DescribeSolutionResponse
- describeSolutionResponse_solution :: Lens' DescribeSolutionResponse (Maybe Solution)
- describeSolutionResponse_httpStatus :: Lens' DescribeSolutionResponse Int
Creating a Request
data DescribeSolution Source #
See: newDescribeSolution
smart constructor.
DescribeSolution' | |
|
Instances
Create a value of DescribeSolution
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:solutionArn:DescribeSolution'
, describeSolution_solutionArn
- The Amazon Resource Name (ARN) of the solution to describe.
Request Lenses
describeSolution_solutionArn :: Lens' DescribeSolution Text Source #
The Amazon Resource Name (ARN) of the solution to describe.
Destructuring the Response
data DescribeSolutionResponse Source #
See: newDescribeSolutionResponse
smart constructor.
DescribeSolutionResponse' | |
|
Instances
newDescribeSolutionResponse Source #
Create a value of DescribeSolutionResponse
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:solution:DescribeSolutionResponse'
, describeSolutionResponse_solution
- An object that describes the solution.
$sel:httpStatus:DescribeSolutionResponse'
, describeSolutionResponse_httpStatus
- The response's http status code.
Response Lenses
describeSolutionResponse_solution :: Lens' DescribeSolutionResponse (Maybe Solution) Source #
An object that describes the solution.
describeSolutionResponse_httpStatus :: Lens' DescribeSolutionResponse Int Source #
The response's http status code.