Connect / Client / search_contact_flow_modules
search_contact_flow_modules#
- Connect.Client.search_contact_flow_modules(**kwargs)#
Searches the flow modules in an Amazon Connect instance, with optional filtering.
See also: AWS API Documentation
Request Syntax
response = client.search_contact_flow_modules( InstanceId='string', NextToken='string', MaxResults=123, SearchFilter={ 'TagFilter': { 'OrConditions': [ [ { 'TagKey': 'string', 'TagValue': 'string' }, ], ], 'AndConditions': [ { 'TagKey': 'string', 'TagValue': 'string' }, ], 'TagCondition': { 'TagKey': 'string', 'TagValue': 'string' } } }, SearchCriteria={ 'OrConditions': [ {'... recursive ...'}, ], 'AndConditions': [ {'... recursive ...'}, ], 'StringCondition': { 'FieldName': 'string', 'Value': 'string', 'ComparisonType': 'STARTS_WITH'|'CONTAINS'|'EXACT' }, 'StateCondition': 'ACTIVE'|'ARCHIVED', 'StatusCondition': 'PUBLISHED'|'SAVED' } )
- 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.
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.
SearchFilter (dict) –
Filters to be applied to search results.
TagFilter (dict) –
An object that can be used to specify Tag conditions inside the
SearchFilter
. This accepts anOR
ofAND
(List of List) input where:Top level list specifies conditions that need to be applied with
OR
operatorInner list specifies conditions that need to be applied with
AND
operator.
OrConditions (list) –
A list of conditions which would be applied together with an
OR
condition.(list) –
(dict) –
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123
.TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
AndConditions (list) –
A list of conditions which would be applied together with an
AND
condition.(dict) –
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123
.TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
TagCondition (dict) –
A leaf node condition which can be used to specify a tag condition.
TagKey (string) –
The tag key in the tag condition.
TagValue (string) –
The tag value in the tag condition.
SearchCriteria (dict) –
The search criteria to be used to return flow modules.
Note
The
name
anddescription
fields support “contains” queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will result in invalid results.OrConditions (list) –
A list of conditions which would be applied together with an
OR
condition.(dict) –
The search criteria to be used to return flow modules.
AndConditions (list) –
A list of conditions which would be applied together with an
AND
condition.(dict) –
The search criteria to be used to return flow modules.
StringCondition (dict) –
A leaf node condition which can be used to specify a string condition.
FieldName (string) –
The name of the field in the string condition.
Value (string) –
The value of the string.
ComparisonType (string) –
The type of comparison to be made when evaluating the string condition.
StateCondition (string) –
The state of the flow.
StatusCondition (string) –
The status of the flow.
- Return type:
dict
- Returns:
Response Syntax
{ 'ContactFlowModules': [ { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'Content': 'string', 'Description': 'string', 'State': 'ACTIVE'|'ARCHIVED', 'Status': 'PUBLISHED'|'SAVED', 'Tags': { 'string': 'string' } }, ], 'NextToken': 'string', 'ApproximateTotalCount': 123 }
Response Structure
(dict) –
ContactFlowModules (list) –
The search criteria to be used to return flow modules.
(dict) –
Contains information about a flow module.
Arn (string) –
The Amazon Resource Name (ARN).
Id (string) –
The identifier of the flow module.
Name (string) –
The name of the flow module.
Content (string) –
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Description (string) –
The description of the flow module.
State (string) –
The type of flow module.
Status (string) –
The status of the flow module.
Tags (dict) –
The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:”value1”, “key2”:”value2”} }.
(string) –
(string) –
NextToken (string) –
If there are additional results, this is the token for the next set of results.
ApproximateTotalCount (integer) –
The total number of flows which matched your search query.
Exceptions
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException