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 module for the specified Amazon Connect instance.
Synopsis
- data CreateContactFlowModule = CreateContactFlowModule' {}
- newCreateContactFlowModule :: Text -> Text -> Text -> CreateContactFlowModule
- createContactFlowModule_clientToken :: Lens' CreateContactFlowModule (Maybe Text)
- createContactFlowModule_description :: Lens' CreateContactFlowModule (Maybe Text)
- createContactFlowModule_tags :: Lens' CreateContactFlowModule (Maybe (HashMap Text Text))
- createContactFlowModule_instanceId :: Lens' CreateContactFlowModule Text
- createContactFlowModule_name :: Lens' CreateContactFlowModule Text
- createContactFlowModule_content :: Lens' CreateContactFlowModule Text
- data CreateContactFlowModuleResponse = CreateContactFlowModuleResponse' {}
- newCreateContactFlowModuleResponse :: Int -> CreateContactFlowModuleResponse
- createContactFlowModuleResponse_arn :: Lens' CreateContactFlowModuleResponse (Maybe Text)
- createContactFlowModuleResponse_id :: Lens' CreateContactFlowModuleResponse (Maybe Text)
- createContactFlowModuleResponse_httpStatus :: Lens' CreateContactFlowModuleResponse Int
Creating a Request
data CreateContactFlowModule Source #
See: newCreateContactFlowModule
smart constructor.
CreateContactFlowModule' | |
|
Instances
newCreateContactFlowModule Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateContactFlowModule |
Create a value of CreateContactFlowModule
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:clientToken:CreateContactFlowModule'
, createContactFlowModule_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If not provided, the Amazon Web Services SDK
populates this field. For more information about idempotency, see
Making retries safe with idempotent APIs.
CreateContactFlowModule
, createContactFlowModule_description
- The description of the flow module.
CreateContactFlowModule
, createContactFlowModule_tags
- The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateContactFlowModule
, createContactFlowModule_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
CreateContactFlowModule
, createContactFlowModule_name
- The name of the flow module.
CreateContactFlowModule
, createContactFlowModule_content
- The content of the flow module.
Request Lenses
createContactFlowModule_clientToken :: Lens' CreateContactFlowModule (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
createContactFlowModule_description :: Lens' CreateContactFlowModule (Maybe Text) Source #
The description of the flow module.
createContactFlowModule_tags :: Lens' CreateContactFlowModule (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
createContactFlowModule_instanceId :: Lens' CreateContactFlowModule Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createContactFlowModule_name :: Lens' CreateContactFlowModule Text Source #
The name of the flow module.
createContactFlowModule_content :: Lens' CreateContactFlowModule Text Source #
The content of the flow module.
Destructuring the Response
data CreateContactFlowModuleResponse Source #
See: newCreateContactFlowModuleResponse
smart constructor.
Instances
newCreateContactFlowModuleResponse Source #
Create a value of CreateContactFlowModuleResponse
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:
CreateContactFlowModuleResponse
, createContactFlowModuleResponse_arn
- The Amazon Resource Name (ARN) of the flow module.
CreateContactFlowModuleResponse
, createContactFlowModuleResponse_id
- The identifier of the flow module.
$sel:httpStatus:CreateContactFlowModuleResponse'
, createContactFlowModuleResponse_httpStatus
- The response's http status code.
Response Lenses
createContactFlowModuleResponse_arn :: Lens' CreateContactFlowModuleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the flow module.
createContactFlowModuleResponse_id :: Lens' CreateContactFlowModuleResponse (Maybe Text) Source #
The identifier of the flow module.
createContactFlowModuleResponse_httpStatus :: Lens' CreateContactFlowModuleResponse Int Source #
The response's http status code.