| 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.UpdateRoutingProfileName
Description
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' {
- description :: Maybe Text
- name :: Maybe Text
- instanceId :: Text
- routingProfileId :: Text
- newUpdateRoutingProfileName :: Text -> Text -> UpdateRoutingProfileName
- updateRoutingProfileName_description :: Lens' UpdateRoutingProfileName (Maybe Text)
- updateRoutingProfileName_name :: 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.
Constructors
| UpdateRoutingProfileName' | |
Fields
| |
Instances
newUpdateRoutingProfileName Source #
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:
UpdateRoutingProfileName, updateRoutingProfileName_description - The description of the routing profile. Must not be more than 250
characters.
UpdateRoutingProfileName, updateRoutingProfileName_name - The name of the routing profile. Must not be more than 127 characters.
UpdateRoutingProfileName, updateRoutingProfileName_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
UpdateRoutingProfileName, updateRoutingProfileName_routingProfileId - The identifier of the routing profile.
Request Lenses
updateRoutingProfileName_description :: Lens' UpdateRoutingProfileName (Maybe Text) Source #
The description of the routing profile. Must not be more than 250 characters.
updateRoutingProfileName_name :: Lens' UpdateRoutingProfileName (Maybe Text) Source #
The name of the routing profile. Must not be more than 127 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.
Constructors
| UpdateRoutingProfileNameResponse' | |
Instances
| Generic UpdateRoutingProfileNameResponse Source # | |
Defined in Amazonka.Connect.UpdateRoutingProfileName Associated Types type Rep UpdateRoutingProfileNameResponse :: Type -> Type # | |
| Read UpdateRoutingProfileNameResponse Source # | |
| Show UpdateRoutingProfileNameResponse Source # | |
Defined in Amazonka.Connect.UpdateRoutingProfileName Methods showsPrec :: Int -> UpdateRoutingProfileNameResponse -> ShowS # | |
| NFData UpdateRoutingProfileNameResponse Source # | |
Defined in Amazonka.Connect.UpdateRoutingProfileName Methods rnf :: UpdateRoutingProfileNameResponse -> () # | |
| Eq UpdateRoutingProfileNameResponse Source # | |
| type Rep UpdateRoutingProfileNameResponse Source # | |
Defined in Amazonka.Connect.UpdateRoutingProfileName | |
newUpdateRoutingProfileNameResponse :: UpdateRoutingProfileNameResponse Source #
Create a value of UpdateRoutingProfileNameResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.