Connect / Client / disassociate_flow

disassociate_flow#

Connect.Client.disassociate_flow(**kwargs)#

Disassociates a connect resource from a flow.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_flow(
    InstanceId='string',
    ResourceId='string',
    ResourceType='SMS_PHONE_NUMBER'|'INBOUND_EMAIL'|'OUTBOUND_EMAIL'|'ANALYTICS_CONNECTOR'|'WHATSAPP_MESSAGING_PHONE_NUMBER'
)
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.

  • ResourceId (string) –

    [REQUIRED]

    The identifier of the resource.

    • Amazon Web Services End User Messaging SMS phone number ARN when using SMS_PHONE_NUMBER

    • Amazon Web Services End User Messaging Social phone number ARN when using WHATSAPP_MESSAGING_PHONE_NUMBER

  • ResourceType (string) –

    [REQUIRED]

    A valid resource type.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ThrottlingException