CmdID / aws / aws connect
aws connect list-contact-flows
Provides information about the flows for the specified Connect Customer instance. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list the contact flows in an instance
The following list-contact-flows example lists the contact flows in the specified Amazon Connect instance.
aws connect list-contact-flows --instance-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--instance-idThe identifier of the Connect Customer instance.Its output
{
"ContactFlowSummaryList": [
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/contact-flow/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Name": "Default queue transfer",
"ContactFlowType": "QUEUE_TRANSFER"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/contact-flow/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
"Name": "Default agent hold",
"ContactFlowType": "AGENT_HOLD"
},
{
"Id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
"Arn": "arn:aws:connect:us-west-2:123456789012:instance/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111/contact-flow/a1b2c3d4-5678-90ab-cdef-EXAMPLE44444",
"Name": "Default customer hold",
"ContactFlowType": "CUSTOMER_HOLD"
}
]
}For more information, see Create Amazon Connect Contact Flows in the Amazon Connect Administrator Guide.
Options
--contact-flow-typesThe type of flow.--instance-idThe identifier of the Connect Customer instance.--max-resultsThe maximum number of results to return per page.--next-tokenThe token for the next set of results.