Connect / Client / list_flow_associations

list_flow_associations#

Connect.Client.list_flow_associations(**kwargs)#

List the flow association based on the filters.

See also: AWS API Documentation

Request Syntax

response = client.list_flow_associations(
    InstanceId='string',
    ResourceType='VOICE_PHONE_NUMBER',
    NextToken='string',
    MaxResults=123
)
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.

  • ResourceType (string) – A valid resource type.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page.

Return type:

dict

Returns:

Response Syntax

{
    'FlowAssociationSummaryList': [
        {
            'ResourceId': 'string',
            'FlowId': 'string',
            'ResourceType': 'VOICE_PHONE_NUMBER'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • FlowAssociationSummaryList (list) –

      Summary of flow associations.

      • (dict) –

        Information about flow associations.

        • ResourceId (string) –

          The identifier of the resource.

        • FlowId (string) –

          The identifier of the flow.

        • ResourceType (string) –

          The type of resource association.

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

Exceptions