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 |
Describe an accelerator.
Synopsis
- data DescribeAccelerator = DescribeAccelerator' {}
- newDescribeAccelerator :: Text -> DescribeAccelerator
- describeAccelerator_acceleratorArn :: Lens' DescribeAccelerator Text
- data DescribeAcceleratorResponse = DescribeAcceleratorResponse' {}
- newDescribeAcceleratorResponse :: Int -> DescribeAcceleratorResponse
- describeAcceleratorResponse_accelerator :: Lens' DescribeAcceleratorResponse (Maybe Accelerator)
- describeAcceleratorResponse_httpStatus :: Lens' DescribeAcceleratorResponse Int
Creating a Request
data DescribeAccelerator Source #
See: newDescribeAccelerator
smart constructor.
DescribeAccelerator' | |
|
Instances
newDescribeAccelerator Source #
Create a value of DescribeAccelerator
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:acceleratorArn:DescribeAccelerator'
, describeAccelerator_acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator to describe.
Request Lenses
describeAccelerator_acceleratorArn :: Lens' DescribeAccelerator Text Source #
The Amazon Resource Name (ARN) of the accelerator to describe.
Destructuring the Response
data DescribeAcceleratorResponse Source #
See: newDescribeAcceleratorResponse
smart constructor.
DescribeAcceleratorResponse' | |
|
Instances
newDescribeAcceleratorResponse Source #
Create a value of DescribeAcceleratorResponse
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:accelerator:DescribeAcceleratorResponse'
, describeAcceleratorResponse_accelerator
- The description of the accelerator.
$sel:httpStatus:DescribeAcceleratorResponse'
, describeAcceleratorResponse_httpStatus
- The response's http status code.
Response Lenses
describeAcceleratorResponse_accelerator :: Lens' DescribeAcceleratorResponse (Maybe Accelerator) Source #
The description of the accelerator.
describeAcceleratorResponse_httpStatus :: Lens' DescribeAcceleratorResponse Int Source #
The response's http status code.