| 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.DescribeAlgorithm
Description
Describes the given algorithm.
Synopsis
- data DescribeAlgorithm = DescribeAlgorithm' {
- algorithmArn :: Text
- newDescribeAlgorithm :: Text -> DescribeAlgorithm
- describeAlgorithm_algorithmArn :: Lens' DescribeAlgorithm Text
- data DescribeAlgorithmResponse = DescribeAlgorithmResponse' {
- algorithm :: Maybe Algorithm
- httpStatus :: Int
- newDescribeAlgorithmResponse :: Int -> DescribeAlgorithmResponse
- describeAlgorithmResponse_algorithm :: Lens' DescribeAlgorithmResponse (Maybe Algorithm)
- describeAlgorithmResponse_httpStatus :: Lens' DescribeAlgorithmResponse Int
Creating a Request
data DescribeAlgorithm Source #
See: newDescribeAlgorithm smart constructor.
Constructors
| DescribeAlgorithm' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeAlgorithm |
Create a value of DescribeAlgorithm 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:
DescribeAlgorithm, describeAlgorithm_algorithmArn - The Amazon Resource Name (ARN) of the algorithm to describe.
Request Lenses
describeAlgorithm_algorithmArn :: Lens' DescribeAlgorithm Text Source #
The Amazon Resource Name (ARN) of the algorithm to describe.
Destructuring the Response
data DescribeAlgorithmResponse Source #
See: newDescribeAlgorithmResponse smart constructor.
Constructors
| DescribeAlgorithmResponse' | |
Fields
| |
Instances
newDescribeAlgorithmResponse Source #
Create a value of DescribeAlgorithmResponse 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:algorithm:DescribeAlgorithmResponse', describeAlgorithmResponse_algorithm - A listing of the properties of the algorithm.
$sel:httpStatus:DescribeAlgorithmResponse', describeAlgorithmResponse_httpStatus - The response's http status code.
Response Lenses
describeAlgorithmResponse_algorithm :: Lens' DescribeAlgorithmResponse (Maybe Algorithm) Source #
A listing of the properties of the algorithm.
describeAlgorithmResponse_httpStatus :: Lens' DescribeAlgorithmResponse Int Source #
The response's http status code.