| 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.UpdateQueueStatus
Description
This API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
Synopsis
- data UpdateQueueStatus = UpdateQueueStatus' {
- instanceId :: Text
- queueId :: Text
- status :: QueueStatus
- newUpdateQueueStatus :: Text -> Text -> QueueStatus -> UpdateQueueStatus
- updateQueueStatus_instanceId :: Lens' UpdateQueueStatus Text
- updateQueueStatus_queueId :: Lens' UpdateQueueStatus Text
- updateQueueStatus_status :: Lens' UpdateQueueStatus QueueStatus
- data UpdateQueueStatusResponse = UpdateQueueStatusResponse' {
- newUpdateQueueStatusResponse :: UpdateQueueStatusResponse
Creating a Request
data UpdateQueueStatus Source #
See: newUpdateQueueStatus smart constructor.
Constructors
| UpdateQueueStatus' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> QueueStatus | |
| -> UpdateQueueStatus |
Create a value of UpdateQueueStatus 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:
UpdateQueueStatus, updateQueueStatus_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
UpdateQueueStatus, updateQueueStatus_queueId - The identifier for the queue.
UpdateQueueStatus, updateQueueStatus_status - The status of the queue.
Request Lenses
updateQueueStatus_instanceId :: Lens' UpdateQueueStatus Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateQueueStatus_queueId :: Lens' UpdateQueueStatus Text Source #
The identifier for the queue.
updateQueueStatus_status :: Lens' UpdateQueueStatus QueueStatus Source #
The status of the queue.
Destructuring the Response
data UpdateQueueStatusResponse Source #
See: newUpdateQueueStatusResponse smart constructor.
Constructors
| UpdateQueueStatusResponse' | |
Instances
newUpdateQueueStatusResponse :: UpdateQueueStatusResponse Source #
Create a value of UpdateQueueStatusResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.