create_contact_flow_module
(**kwargs)¶Creates a flow module for the specified Amazon Connect instance.
See also: AWS API Documentation
Request Syntax
response = client.create_contact_flow_module(
InstanceId='string',
Name='string',
Description='string',
Content='string',
Tags={
'string': 'string'
},
ClientToken='string'
)
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
[REQUIRED]
The name of the flow module.
[REQUIRED]
The content of the flow module.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
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.
This field is autopopulated if not provided.
dict
Response Syntax
{
'Id': 'string',
'Arn': 'string'
}
Response Structure
(dict) --
Id (string) --
The identifier of the flow module.
Arn (string) --
The Amazon Resource Name (ARN) of the flow module.
Exceptions
Connect.Client.exceptions.AccessDeniedException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidContactFlowModuleException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.DuplicateResourceException
Connect.Client.exceptions.LimitExceededException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.IdempotencyException
Connect.Client.exceptions.InternalServiceException