| 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.Personalize.DescribeSolution
Description
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.
Constructors
| DescribeSolution' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeSolution |
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:
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.
Constructors
| DescribeSolutionResponse' | |
Fields
| |
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.