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.
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.
UpdateQueueStatus' | |
|
Instances
:: 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:
$sel:instanceId:UpdateQueueStatus'
, updateQueueStatus_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:queueId:UpdateQueueStatus'
, updateQueueStatus_queueId
- The identifier for the queue.
$sel:status: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.
Instances
Eq UpdateQueueStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueStatus | |
Read UpdateQueueStatusResponse Source # | |
Show UpdateQueueStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueStatus showsPrec :: Int -> UpdateQueueStatusResponse -> ShowS # show :: UpdateQueueStatusResponse -> String # showList :: [UpdateQueueStatusResponse] -> ShowS # | |
Generic UpdateQueueStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueStatus type Rep UpdateQueueStatusResponse :: Type -> Type # | |
NFData UpdateQueueStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueStatus rnf :: UpdateQueueStatusResponse -> () # | |
type Rep UpdateQueueStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueStatus |
newUpdateQueueStatusResponse :: UpdateQueueStatusResponse Source #
Create a value of UpdateQueueStatusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.