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 name and description of a queue. At least Name
or
Description
must be provided.
Synopsis
- data UpdateQueueName = UpdateQueueName' {
- name :: Maybe Text
- description :: Maybe Text
- instanceId :: Text
- queueId :: Text
- newUpdateQueueName :: Text -> Text -> UpdateQueueName
- updateQueueName_name :: Lens' UpdateQueueName (Maybe Text)
- updateQueueName_description :: Lens' UpdateQueueName (Maybe Text)
- updateQueueName_instanceId :: Lens' UpdateQueueName Text
- updateQueueName_queueId :: Lens' UpdateQueueName Text
- data UpdateQueueNameResponse = UpdateQueueNameResponse' {
- newUpdateQueueNameResponse :: UpdateQueueNameResponse
Creating a Request
data UpdateQueueName Source #
See: newUpdateQueueName
smart constructor.
UpdateQueueName' | |
|
Instances
Create a value of UpdateQueueName
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:name:UpdateQueueName'
, updateQueueName_name
- The name of the queue.
$sel:description:UpdateQueueName'
, updateQueueName_description
- The description of the queue.
$sel:instanceId:UpdateQueueName'
, updateQueueName_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:queueId:UpdateQueueName'
, updateQueueName_queueId
- The identifier for the queue.
Request Lenses
updateQueueName_name :: Lens' UpdateQueueName (Maybe Text) Source #
The name of the queue.
updateQueueName_description :: Lens' UpdateQueueName (Maybe Text) Source #
The description of the queue.
updateQueueName_instanceId :: Lens' UpdateQueueName Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateQueueName_queueId :: Lens' UpdateQueueName Text Source #
The identifier for the queue.
Destructuring the Response
data UpdateQueueNameResponse Source #
See: newUpdateQueueNameResponse
smart constructor.
Instances
Eq UpdateQueueNameResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueName | |
Read UpdateQueueNameResponse Source # | |
Show UpdateQueueNameResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueName showsPrec :: Int -> UpdateQueueNameResponse -> ShowS # show :: UpdateQueueNameResponse -> String # showList :: [UpdateQueueNameResponse] -> ShowS # | |
Generic UpdateQueueNameResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueName type Rep UpdateQueueNameResponse :: Type -> Type # | |
NFData UpdateQueueNameResponse Source # | |
Defined in Amazonka.Connect.UpdateQueueName rnf :: UpdateQueueNameResponse -> () # | |
type Rep UpdateQueueNameResponse Source # | |
newUpdateQueueNameResponse :: UpdateQueueNameResponse Source #
Create a value of UpdateQueueNameResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.