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 |
Updates the name and description of a routing profile. The request
accepts the following data in JSON format. At least Name
or
Description
must be provided.
Synopsis
- data UpdateRoutingProfileName = UpdateRoutingProfileName' {
- name :: Maybe Text
- description :: Maybe Text
- instanceId :: Text
- routingProfileId :: Text
- newUpdateRoutingProfileName :: Text -> Text -> UpdateRoutingProfileName
- updateRoutingProfileName_name :: Lens' UpdateRoutingProfileName (Maybe Text)
- updateRoutingProfileName_description :: Lens' UpdateRoutingProfileName (Maybe Text)
- updateRoutingProfileName_instanceId :: Lens' UpdateRoutingProfileName Text
- updateRoutingProfileName_routingProfileId :: Lens' UpdateRoutingProfileName Text
- data UpdateRoutingProfileNameResponse = UpdateRoutingProfileNameResponse' {
- newUpdateRoutingProfileNameResponse :: UpdateRoutingProfileNameResponse
Creating a Request
data UpdateRoutingProfileName Source #
See: newUpdateRoutingProfileName
smart constructor.
UpdateRoutingProfileName' | |
|
Instances
newUpdateRoutingProfileName Source #
:: Text | |
-> Text | |
-> UpdateRoutingProfileName |
Create a value of UpdateRoutingProfileName
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:UpdateRoutingProfileName'
, updateRoutingProfileName_name
- The name of the routing profile. Must not be more than 127 characters.
$sel:description:UpdateRoutingProfileName'
, updateRoutingProfileName_description
- The description of the routing profile. Must not be more than 250
characters.
$sel:instanceId:UpdateRoutingProfileName'
, updateRoutingProfileName_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:routingProfileId:UpdateRoutingProfileName'
, updateRoutingProfileName_routingProfileId
- The identifier of the routing profile.
Request Lenses
updateRoutingProfileName_name :: Lens' UpdateRoutingProfileName (Maybe Text) Source #
The name of the routing profile. Must not be more than 127 characters.
updateRoutingProfileName_description :: Lens' UpdateRoutingProfileName (Maybe Text) Source #
The description of the routing profile. Must not be more than 250 characters.
updateRoutingProfileName_instanceId :: Lens' UpdateRoutingProfileName Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateRoutingProfileName_routingProfileId :: Lens' UpdateRoutingProfileName Text Source #
The identifier of the routing profile.
Destructuring the Response
data UpdateRoutingProfileNameResponse Source #
See: newUpdateRoutingProfileNameResponse
smart constructor.
Instances
newUpdateRoutingProfileNameResponse :: UpdateRoutingProfileNameResponse Source #
Create a value of UpdateRoutingProfileNameResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.