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 |
Amazonka.Connect.UpdateContactFlowContent
Description
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.
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:
$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.
Constructors
UpdateContactFlowContentResponse' | |
Instances
Eq UpdateContactFlowContentResponse Source # | |
Read UpdateContactFlowContentResponse Source # | |
Show UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Methods showsPrec :: Int -> UpdateContactFlowContentResponse -> ShowS # | |
Generic UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Associated Types type Rep UpdateContactFlowContentResponse :: Type -> Type # | |
NFData UpdateContactFlowContentResponse Source # | |
Defined in Amazonka.Connect.UpdateContactFlowContent Methods rnf :: UpdateContactFlowContentResponse -> () # | |
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.