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 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.
DescribeAlgorithm' | |
|
Instances
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:
$sel:algorithmArn: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.
DescribeAlgorithmResponse' | |
|
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.