Searches rules in an Connect Customer instance, with optional filtering¶
Description¶
Searches rules in an Connect Customer instance, with optional filtering.
Usage¶
Arguments¶
-
InstanceId[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
MaxResultsThe maximum number of results to return per page.
-
NextTokenThe 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.
-
SearchCriteriaThe search criteria to be used to return rules.
-
SearchFilterFilters to be applied to search results, such as tag-based filters.
Value¶
A list with the following syntax:
list(
Rules = list(
list(
Name = "string",
RuleId = "string",
RuleArn = "string",
TriggerEventSource = list(
EventSourceName = "OnPostCallAnalysisAvailable"|"OnRealTimeCallAnalysisAvailable"|"OnRealTimeChatAnalysisAvailable"|"OnPostChatAnalysisAvailable"|"OnAfterCallWorkAvailable"|"OnAfterChatWorkAvailable"|"OnEmailAnalysisAvailable"|"OnZendeskTicketCreate"|"OnZendeskTicketStatusUpdate"|"OnSalesforceCaseCreate"|"OnContactEvaluationSubmit"|"OnMetricDataUpdate"|"OnCaseCreate"|"OnCaseUpdate"|"OnSlaBreach"|"OnAlertUpdate"|"OnSchedulePublish"|"OnScheduleUpdate"|"OnScheduleTimeOffRequestActivity",
IntegrationAssociationId = "string"
),
ActionSummaries = list(
list(
ActionType = "CREATE_TASK"|"ASSIGN_CONTACT_CATEGORY"|"GENERATE_EVENTBRIDGE_EVENT"|"SEND_NOTIFICATION"|"CREATE_CASE"|"UPDATE_CASE"|"ASSIGN_SLA"|"END_ASSOCIATED_TASKS"|"SUBMIT_AUTO_EVALUATION"|"EXTRACT_INFORMATION"|"SEND_IN_APP_NOTIFICATION"
)
),
RuleCapabilityTiers = list(
"GenerativeAI"
),
PublishStatus = "DRAFT"|"PUBLISHED",
PreEvaluationFilters = list(
AndConditions = list(
list(
ResourceType = "CONTACT",
FilterType = "TAG",
FilterKey = "string",
FilterValue = "string",
Operator = "EQUALS"
)
)
),
CreatedTime = as.POSIXct(
"2015-01-01"
),
LastUpdatedTime = as.POSIXct(
"2015-01-01"
),
LastUpdatedBy = "string",
Tags = list(
"string"
)
)
),
ApproximateTotalCount = 123,
NextToken = "string"
)
Request syntax¶
svc$search_rules(
InstanceId = "string",
MaxResults = 123,
NextToken = "string",
SearchCriteria = list(
OrConditions = list(
list()
),
AndConditions = list(
list()
),
StringCondition = list(
FieldName = "string",
Value = "string",
ComparisonType = "STARTS_WITH"|"CONTAINS"|"EXACT"
)
),
SearchFilter = list(
AttributeFilter = list(
OrConditions = list(
list(
TagConditions = list(
list(
TagKey = "string",
TagValue = "string"
)
)
)
),
AndCondition = list(
TagConditions = list(
list(
TagKey = "string",
TagValue = "string"
)
)
),
TagCondition = list(
TagKey = "string",
TagValue = "string"
)
)
)
)