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 |
Creates a flow for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
Synopsis
- data CreateContactFlow = CreateContactFlow' {}
- newCreateContactFlow :: Text -> Text -> ContactFlowType -> Text -> CreateContactFlow
- createContactFlow_description :: Lens' CreateContactFlow (Maybe Text)
- createContactFlow_tags :: Lens' CreateContactFlow (Maybe (HashMap Text Text))
- createContactFlow_instanceId :: Lens' CreateContactFlow Text
- createContactFlow_name :: Lens' CreateContactFlow Text
- createContactFlow_type :: Lens' CreateContactFlow ContactFlowType
- createContactFlow_content :: Lens' CreateContactFlow Text
- data CreateContactFlowResponse = CreateContactFlowResponse' {}
- newCreateContactFlowResponse :: Int -> CreateContactFlowResponse
- createContactFlowResponse_contactFlowArn :: Lens' CreateContactFlowResponse (Maybe Text)
- createContactFlowResponse_contactFlowId :: Lens' CreateContactFlowResponse (Maybe Text)
- createContactFlowResponse_httpStatus :: Lens' CreateContactFlowResponse Int
Creating a Request
data CreateContactFlow Source #
See: newCreateContactFlow
smart constructor.
CreateContactFlow' | |
|
Instances
:: Text | |
-> Text | |
-> ContactFlowType | |
-> Text | |
-> CreateContactFlow |
Create a value of CreateContactFlow
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:
CreateContactFlow
, createContactFlow_description
- The description of the flow.
CreateContactFlow
, createContactFlow_tags
- The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateContactFlow
, createContactFlow_instanceId
- The identifier of the Amazon Connect instance.
CreateContactFlow
, createContactFlow_name
- The name of the flow.
CreateContactFlow
, createContactFlow_type
- The type of the flow. For descriptions of the available types, see
Choose a flow type
in the Amazon Connect Administrator Guide.
CreateContactFlow
, createContactFlow_content
- The content of the flow.
Request Lenses
createContactFlow_description :: Lens' CreateContactFlow (Maybe Text) Source #
The description of the flow.
createContactFlow_tags :: Lens' CreateContactFlow (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
createContactFlow_instanceId :: Lens' CreateContactFlow Text Source #
The identifier of the Amazon Connect instance.
createContactFlow_name :: Lens' CreateContactFlow Text Source #
The name of the flow.
createContactFlow_type :: Lens' CreateContactFlow ContactFlowType Source #
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
createContactFlow_content :: Lens' CreateContactFlow Text Source #
The content of the flow.
Destructuring the Response
data CreateContactFlowResponse Source #
See: newCreateContactFlowResponse
smart constructor.
CreateContactFlowResponse' | |
|
Instances
newCreateContactFlowResponse Source #
Create a value of CreateContactFlowResponse
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:contactFlowArn:CreateContactFlowResponse'
, createContactFlowResponse_contactFlowArn
- The Amazon Resource Name (ARN) of the flow.
CreateContactFlowResponse
, createContactFlowResponse_contactFlowId
- The identifier of the flow.
$sel:httpStatus:CreateContactFlowResponse'
, createContactFlowResponse_httpStatus
- The response's http status code.
Response Lenses
createContactFlowResponse_contactFlowArn :: Lens' CreateContactFlowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the flow.
createContactFlowResponse_contactFlowId :: Lens' CreateContactFlowResponse (Maybe Text) Source #
The identifier of the flow.
createContactFlowResponse_httpStatus :: Lens' CreateContactFlowResponse Int Source #
The response's http status code.