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 |
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.
DescribeQueue' | |
|
Instances
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:
$sel:instanceId:DescribeQueue'
, describeQueue_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:queueId: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.
DescribeQueueResponse' | |
|
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:
$sel:queue: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.