| 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.Connect.DescribeQueue
Description
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified queue.
Synopsis
- data DescribeQueue = DescribeQueue' {
- instanceId :: Text
- queueId :: Text
- newDescribeQueue :: Text -> Text -> DescribeQueue
- describeQueue_instanceId :: Lens' DescribeQueue Text
- describeQueue_queueId :: Lens' DescribeQueue Text
- data DescribeQueueResponse = DescribeQueueResponse' {
- queue :: Maybe Queue
- httpStatus :: Int
- newDescribeQueueResponse :: Int -> DescribeQueueResponse
- describeQueueResponse_queue :: Lens' DescribeQueueResponse (Maybe Queue)
- describeQueueResponse_httpStatus :: Lens' DescribeQueueResponse Int
Creating a Request
data DescribeQueue Source #
See: newDescribeQueue smart constructor.
Constructors
| DescribeQueue' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeQueue |
Create a value of DescribeQueue 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:
DescribeQueue, describeQueue_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DescribeQueue, describeQueue_queueId - The identifier for the queue.
Request Lenses
describeQueue_instanceId :: Lens' DescribeQueue Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeQueue_queueId :: Lens' DescribeQueue Text Source #
The identifier for the queue.
Destructuring the Response
data DescribeQueueResponse Source #
See: newDescribeQueueResponse smart constructor.
Constructors
| DescribeQueueResponse' | |
Fields
| |
Instances
newDescribeQueueResponse Source #
Create a value of DescribeQueueResponse 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:
DescribeQueueResponse, describeQueueResponse_queue - The name of the queue.
$sel:httpStatus:DescribeQueueResponse', describeQueueResponse_httpStatus - The response's http status code.
Response Lenses
describeQueueResponse_queue :: Lens' DescribeQueueResponse (Maybe Queue) Source #
The name of the queue.
describeQueueResponse_httpStatus :: Lens' DescribeQueueResponse Int Source #
The response's http status code.