Connect / Client / create_contact_flow_module

create_contact_flow_module#

Connect.Client.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'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • Name (string) –

    [REQUIRED]

    The name of the flow module.

  • Description (string) – The description of the flow module.

  • Content (string) –

    [REQUIRED]

    The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

  • Tags (dict) –

    The tags used to organize, track, or control access for this resource. For example, { “tags”: {“key1”:”value1”, “key2”:”value2”} }.

    • (string) –

      • (string) –

  • ClientToken (string) –

    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.

Return type:

dict

Returns:

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