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 specified contact flow.
You can also create and update contact flows using the Amazon Connect Flow language.
Synopsis
- data UpdateContactFlowContent = UpdateContactFlowContent' {
- instanceId :: Text
- contactFlowId :: Text
- content :: Text
- newUpdateContactFlowContent :: Text -> Text -> Text -> UpdateContactFlowContent
- updateContactFlowContent_instanceId :: Lens' UpdateContactFlowContent Text
- updateContactFlowContent_contactFlowId :: Lens' UpdateContactFlowContent Text
- updateContactFlowContent_content :: Lens' UpdateContactFlowContent Text
- data UpdateContactFlowContentResponse = UpdateContactFlowContentResponse' {
- newUpdateContactFlowContentResponse :: UpdateContactFlowContentResponse
Creating a Request
data UpdateContactFlowContent Source #
See: newUpdateContactFlowContent
smart constructor.
UpdateContactFlowContent' | |
|
Instances
newUpdateContactFlowContent Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateContactFlowContent |
Create a value of UpdateContactFlowContent
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:UpdateContactFlowContent'
, updateContactFlowContent_instanceId
- The identifier of the Amazon Connect instance.
$sel:contactFlowId:UpdateContactFlowContent'
, updateContactFlowContent_contactFlowId
- The identifier of the contact flow.
$sel:content:UpdateContactFlowContent'
, updateContactFlowContent_content
- The JSON string that represents contact flow’s content. For an example,
see
Example contact flow in Amazon Connect Flow language
in the Amazon Connect Administrator Guide.
Request Lenses
updateContactFlowContent_instanceId :: Lens' UpdateContactFlowContent Text Source #
The identifier of the Amazon Connect instance.
updateContactFlowContent_contactFlowId :: Lens' UpdateContactFlowContent Text Source #
The identifier of the contact flow.
updateContactFlowContent_content :: Lens' UpdateContactFlowContent Text Source #
The JSON string that represents contact flow’s content. For an example, see Example contact flow in Amazon Connect Flow language in the Amazon Connect Administrator Guide.
Destructuring the Response
data UpdateContactFlowContentResponse Source #
See: newUpdateContactFlowContentResponse
smart constructor.
Instances
newUpdateContactFlowContentResponse :: UpdateContactFlowContentResponse Source #
Create a value of UpdateContactFlowContentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.