| 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.UpdateContactFlowContent
Description
Updates the specified flow.
You can also create and update 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.
Constructors
| UpdateContactFlowContent' | |
Fields
| |
Instances
newUpdateContactFlowContent Source #
Arguments
| :: 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:
UpdateContactFlowContent, updateContactFlowContent_instanceId - The identifier of the Amazon Connect instance.
UpdateContactFlowContent, updateContactFlowContent_contactFlowId - The identifier of the flow.
UpdateContactFlowContent, updateContactFlowContent_content - The JSON string that represents flow's content. For an example, see
Example contact flow in Amazon Connect Flow language.
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 flow.
updateContactFlowContent_content :: Lens' UpdateContactFlowContent Text Source #
The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
Destructuring the Response
data UpdateContactFlowContentResponse Source #
See: newUpdateContactFlowContentResponse smart constructor.
Constructors
| UpdateContactFlowContentResponse' | |
Instances
| Generic UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Associated Types type Rep UpdateContactFlowContentResponse :: Type -> Type # | |
| Read UpdateContactFlowContentResponse Source # | |
| Show UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Methods showsPrec :: Int -> UpdateContactFlowContentResponse -> ShowS # | |
| NFData UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Methods rnf :: UpdateContactFlowContentResponse -> () # | |
| Eq UpdateContactFlowContentResponse Source # | |
| type Rep UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent | |
newUpdateContactFlowContentResponse :: UpdateContactFlowContentResponse Source #
Create a value of UpdateContactFlowContentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.