@aws-sdk/client-connect 3.1086.0 → 3.1087.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +86 -5
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/SearchRulesCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +3 -0
  7. package/dist-es/pagination/SearchRulesPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +65 -4
  10. package/dist-types/Connect.d.ts +14 -0
  11. package/dist-types/ConnectClient.d.ts +3 -2
  12. package/dist-types/commands/AssociateHoursOfOperationsCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeRuleCommand.d.ts +3 -0
  14. package/dist-types/commands/DisassociateHoursOfOperationsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListChildHoursOfOperationsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListRulesCommand.d.ts +3 -0
  17. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +2 -1
  18. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +2 -1
  19. package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -1
  20. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -1
  21. package/dist-types/commands/SearchNotificationsCommand.d.ts +2 -1
  22. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +2 -1
  23. package/dist-types/commands/SearchRulesCommand.d.ts +210 -0
  24. package/dist-types/commands/index.d.ts +1 -0
  25. package/dist-types/models/enums.d.ts +11 -0
  26. package/dist-types/models/models_0.d.ts +2 -2
  27. package/dist-types/models/models_1.d.ts +8 -2
  28. package/dist-types/models/models_2.d.ts +34 -20
  29. package/dist-types/models/models_3.d.ts +166 -184
  30. package/dist-types/models/models_4.d.ts +213 -1
  31. package/dist-types/pagination/SearchRulesPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/schemas/schemas_0.d.ts +8 -0
  34. package/dist-types/ts3.4/Connect.d.ts +24 -0
  35. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  36. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +2 -4
  37. package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +2 -4
  40. package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/SearchRulesCommand.d.ts +41 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  46. package/dist-types/ts3.4/models/models_2.d.ts +2 -0
  47. package/dist-types/ts3.4/models/models_3.d.ts +37 -41
  48. package/dist-types/ts3.4/models/models_4.d.ts +60 -0
  49. package/dist-types/ts3.4/pagination/SearchRulesPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  52. package/package.json +8 -8
@@ -1,4 +1,4 @@
1
- import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, ParticipantRole, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
1
+ import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, ParticipantRole, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
2
2
  import type { ActionSummary, AgentConfig, AgentHierarchyGroups, AgentStatus, AgentStatusSummary, AiAgentsCriteria, AnalyticsDataAssociationResult, Application, ControlPlaneAttributeFilter, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, PrimaryValueResponse, SecurityProfileItem, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, UserProficiency } from "./models_0";
3
3
  import type { Attribute, ContactFlow, ContactFlowModule, DataTableAttribute, Dimensions, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, Filters, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification } from "./models_1";
4
4
  /**
@@ -904,10 +904,12 @@ export interface GetMetricDataV2Request {
904
904
  * <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> |
905
905
  * <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> |
906
906
  * <code>BOT_ALIAS</code> | <code>BOT_ID</code> | <code>BOT_INTENT_NAME</code> | <code>BOT_LOCALE</code> |
907
- * <code>BOT_VERSION</code> | <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> |
907
+ * <code>BOT_VERSION</code> | <code>BROWSER_NAME</code> | <code>CAMPAIGN</code> |
908
+ * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> |
908
909
  * <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> | <code>CASE_STATUS</code> | <code>CASE_TEMPLATE_ARN</code> |
909
910
  * <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> |
910
- * <code>contact/segmentAttributes/connect:ValidationTestType</code> | <code>DISCONNECT_REASON</code> |
911
+ * <code>contact/segmentAttributes/connect:ValidationTestType</code> | <code>DEVICE_MODEL</code> |
912
+ * <code>DEVICE_TYPE</code> | <code>DISCONNECT_REASON</code> |
911
913
  * <code>EVALUATION_FORM</code> | <code>EVALUATION_QUESTION</code> | <code>EVALUATION_SECTION</code> |
912
914
  * <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FEATURE</code> |
913
915
  * <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> |
@@ -919,7 +921,8 @@ export interface GetMetricDataV2Request {
919
921
  * <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> |
920
922
  * <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>SESSION_ID</code> |
921
923
  * <code>TEST_CASE</code> | <code>TEST_CASE_EXECUTION_FAILURE_REASON</code> |
922
- * <code>TEST_CASE_EXECUTION_RESULT</code> | <code>TEST_CASE_EXECUTION_STATE</code>
924
+ * <code>TEST_CASE_EXECUTION_RESULT</code> | <code>TEST_CASE_EXECUTION_STATE</code> |
925
+ * <code>WEB_NOTIFICATION_TYPE</code>
923
926
  * </p>
924
927
  * <note>
925
928
  * <p>The following filter keys correspond to Connect Customer resources and are used for authorizing requests.
@@ -1003,10 +1006,11 @@ export interface GetMetricDataV2Request {
1003
1006
  * <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> |
1004
1007
  * <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> |
1005
1008
  * <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>BOT_ID</code> | <code>BOT_ALIAS</code> |
1006
- * <code>BOT_VERSION</code> | <code>BOT_LOCALE</code> | <code>BOT_INTENT_NAME</code> | <code>CAMPAIGN</code> |
1007
- * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> |
1009
+ * <code>BOT_VERSION</code> | <code>BOT_LOCALE</code> | <code>BOT_INTENT_NAME</code> | <code>BROWSER_NAME</code> |
1010
+ * <code>CAMPAIGN</code> | <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code> | <code>CAMPAIGN_EXCLUDED_EVENT_TYPE</code> |
1008
1011
  * <code>CAMPAIGN_EXECUTION_TIMESTAMP</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> |
1009
- * <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> |
1012
+ * <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> | <code>DEVICE_MODEL</code> |
1013
+ * <code>DEVICE_TYPE</code> | <code>DISCONNECT_REASON</code> |
1010
1014
  * <code>EVALUATION_FORM</code> | <code>EVALUATION_SECTION</code> | <code>EVALUATION_QUESTION</code> |
1011
1015
  * <code>EVALUATION_SOURCE</code> | <code>EVALUATOR_ID</code> | <code>FLOWS_RESOURCE_ID</code> |
1012
1016
  * <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_ACTION_ID</code> | <code>FLOW_TYPE</code> |
@@ -1016,7 +1020,7 @@ export interface GetMetricDataV2Request {
1016
1020
  * <code>PARENT_FLOWS_RESOURCE_ID</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> |
1017
1021
  * <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> |
1018
1022
  * <code>SESSION_ID</code> | <code>TEST_CASE</code> | <code>TEST_CASE_EXECUTION_FAILURE_REASON</code> |
1019
- * <code>TEST_CASE_INVOCATION_METHOD</code>
1023
+ * <code>TEST_CASE_INVOCATION_METHOD</code> | <code>WEB_NOTIFICATION_TYPE</code>
1020
1024
  * </p>
1021
1025
  * <note>
1022
1026
  * <p>
@@ -1887,10 +1891,12 @@ export interface GetMetricDataV2Request {
1887
1891
  * </dd>
1888
1892
  * <dt>CAMPAIGN_INTERACTIONS</dt>
1889
1893
  * <dd>
1890
- * <p>This metric is available only for outbound campaigns using the email delivery mode. </p>
1894
+ * <p>This metric is available only for outbound campaigns using the email, WhatsApp, and web notification
1895
+ * delivery modes. </p>
1891
1896
  * <p>Unit: Count</p>
1892
1897
  * <p>Valid metric filter key: CAMPAIGN_INTERACTION_EVENT_TYPE</p>
1893
- * <p>Valid groupings and filters: Campaign</p>
1898
+ * <p>Valid groupings and filters: Browser Name, Campaign, Channel, contact/segmentAttributes/connect:Subtype,
1899
+ * Device Model, Device Type, Web Notification Type</p>
1894
1900
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#campaign-interactions">Campaign interactions</a>
1895
1901
  * </p>
1896
1902
  * </dd>
@@ -2104,14 +2110,15 @@ export interface GetMetricDataV2Request {
2104
2110
  * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
2105
2111
  * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code>
2106
2112
  * </p>
2107
- * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Campaign Delivery EventType, Channel,
2108
- * contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
2113
+ * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Browser Name, Campaign, Campaign Delivery EventType,
2114
+ * Channel, contact/segmentAttributes/connect:Subtype, Device Model, Device Type, Disconnect Reason, Queue, Routing
2115
+ * Profile, Web Notification Type</p>
2109
2116
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempts">Delivery attempts</a>
2110
2117
  * </p>
2111
2118
  * <note>
2112
- * <p>Campaign Delivery EventType filter and grouping are only available for SMS and Email campaign delivery
2113
- * modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available
2114
- * for agent assisted voice and automated voice delivery modes. </p>
2119
+ * <p>Campaign Delivery EventType filter and grouping are only available for SMS, Email, WhatsApp, and web
2120
+ * notification campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and
2121
+ * Disconnect Reason are only available for agent assisted voice and automated voice delivery modes. </p>
2115
2122
  * </note>
2116
2123
  * </dd>
2117
2124
  * <dt>DELIVERY_ATTEMPT_DISPOSITION_RATE</dt>
@@ -2122,15 +2129,16 @@ export interface GetMetricDataV2Request {
2122
2129
  * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
2123
2130
  * <code>CAMPAIGN_DELIVERY_EVENT_TYPE</code>, <code>DISCONNECT_REASON</code>
2124
2131
  * </p>
2125
- * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Campaign, Channel,
2126
- * contact/segmentAttributes/connect:Subtype, Disconnect Reason, Queue, Routing Profile</p>
2132
+ * <p>Valid groupings and filters: Agent, Answering Machine Detection Status, Browser Name, Campaign, Channel,
2133
+ * contact/segmentAttributes/connect:Subtype, Device Model, Device Type, Disconnect Reason, Queue, Routing Profile,
2134
+ * Web Notification Type</p>
2127
2135
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html#delivery-attempt-disposition-rate">Delivery attempt
2128
2136
  * disposition rate</a>
2129
2137
  * </p>
2130
2138
  * <note>
2131
- * <p>Campaign Delivery Event Type filter and grouping are only available for SMS and Email campaign delivery
2132
- * modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and Disconnect Reason are only available
2133
- * for agent assisted voice and automated voice delivery modes. </p>
2139
+ * <p>Campaign Delivery Event Type filter and grouping are only available for SMS, Email, WhatsApp, and web
2140
+ * notification campaign delivery modes. Agent, Queue, Routing Profile, Answering Machine Detection Status and
2141
+ * Disconnect Reason are only available for agent assisted voice and automated voice delivery modes. </p>
2134
2142
  * </note>
2135
2143
  * </dd>
2136
2144
  * <dt>EVALUATIONS_PERFORMED</dt>
@@ -6934,6 +6942,12 @@ export interface RuleSummary {
6934
6942
  * @public
6935
6943
  */
6936
6944
  PublishStatus: RulePublishStatus | undefined;
6945
+ /**
6946
+ * <p>The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example,
6947
+ * <code>GenerativeAI</code>).</p>
6948
+ * @public
6949
+ */
6950
+ RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
6937
6951
  /**
6938
6952
  * <p>A list of ActionTypes associated with a rule. </p>
6939
6953
  * @public
@@ -1,5 +1,5 @@
1
- import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, Behavior, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
- import type { AfterContactWorkConfigPerChannel, AgentConfig, AgentStatusSearchFilter, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, VoiceEnhancementConfig } from "./models_0";
1
+ import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, Behavior, ChatEventType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInteractionType, ContactMediaProcessingFailureMode, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, EmailHeaderType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormLanguageCode, EvaluationFormQuestionType, EvaluationFormVersionStatus, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, NotificationPriority, NotificationStatus, NotificationType, OutboundMessageSourceType, OverrideType, ParticipantTimerAction, ParticipantTimerType, Policy, QueueStatus, RehydrationType, ResponseMode, RuleCapabilityTier, RulePublishStatus, SearchableQueueType, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
+ import type { ActionSummary, AfterContactWorkConfigPerChannel, AgentConfig, AgentStatusSearchFilter, AliasConfiguration, AllowedCapabilities, Application, AutoAcceptConfig, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, EvaluationFormItemEnablementExpression, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, RuleTriggerEventSource, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, UserProficiency, Validation, VoiceEnhancementConfig } from "./models_0";
3
3
  import type { AttributeCondition, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TestCase, View, ViewInputContent, WorkspaceTheme } from "./models_1";
4
4
  import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ControlPlaneTagFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition, SearchContactsTimeRange, SearchCriteria, SignInConfig, Sort, TelephonyConfig } from "./models_2";
5
5
  /**
@@ -835,6 +835,142 @@ export interface SearchRoutingProfilesResponse {
835
835
  */
836
836
  ApproximateTotalCount?: number | undefined;
837
837
  }
838
+ /**
839
+ * <p>A list of conditions which would be applied together with an <code>AND</code> condition.</p>
840
+ * @public
841
+ */
842
+ export interface RuleAttributeAndCondition {
843
+ /**
844
+ * <p>A list of tag conditions that need to be applied with <code>AND</code> condition.</p>
845
+ * @public
846
+ */
847
+ TagConditions?: TagCondition[] | undefined;
848
+ }
849
+ /**
850
+ * <p>An object that can be used to specify tag conditions inside the <code>SearchFilter</code>. This accepts an
851
+ * <code>OR</code> of <code>AND</code> (List of List) input where:</p>
852
+ * <ul>
853
+ * <li>
854
+ * <p>The top level list specifies conditions that need to be applied with <code>OR</code> operator.</p>
855
+ * </li>
856
+ * <li>
857
+ * <p>The inner list specifies conditions that need to be applied with <code>AND</code> operator.</p>
858
+ * </li>
859
+ * </ul>
860
+ * @public
861
+ */
862
+ export interface RuleAttributeFilter {
863
+ /**
864
+ * <p>A list of conditions which would be applied together with an <code>OR</code> condition.</p>
865
+ * @public
866
+ */
867
+ OrConditions?: RuleAttributeAndCondition[] | undefined;
868
+ /**
869
+ * <p>A list of conditions which would be applied together with an <code>AND</code> condition.</p>
870
+ * @public
871
+ */
872
+ AndCondition?: RuleAttributeAndCondition | undefined;
873
+ /**
874
+ * <p>A leaf node condition which can be used to specify a tag condition, for example, <code>HAVE BPO = 123</code>.
875
+ * </p>
876
+ * @public
877
+ */
878
+ TagCondition?: TagCondition | undefined;
879
+ }
880
+ /**
881
+ * <p>Filters to be applied to search results.</p>
882
+ * @public
883
+ */
884
+ export interface RulesSearchFilter {
885
+ /**
886
+ * <p>An object that can be used to specify tag conditions inside the <code>SearchFilter</code>.</p>
887
+ * @public
888
+ */
889
+ AttributeFilter?: RuleAttributeFilter | undefined;
890
+ }
891
+ /**
892
+ * <p>A summary of information about a rule, returned as part of the response to a <code>SearchRules</code>
893
+ * operation.</p>
894
+ * @public
895
+ */
896
+ export interface RuleSearchSummary {
897
+ /**
898
+ * <p>The name of the rule.</p>
899
+ * @public
900
+ */
901
+ Name: string | undefined;
902
+ /**
903
+ * <p>A unique identifier for the rule.</p>
904
+ * @public
905
+ */
906
+ RuleId: string | undefined;
907
+ /**
908
+ * <p>The Amazon Resource Name (ARN) of the rule.</p>
909
+ * @public
910
+ */
911
+ RuleArn: string | undefined;
912
+ /**
913
+ * <p>The event source to trigger the rule.</p>
914
+ * @public
915
+ */
916
+ TriggerEventSource: RuleTriggerEventSource | undefined;
917
+ /**
918
+ * <p>A list of <code>ActionTypes</code> associated with a rule.</p>
919
+ * @public
920
+ */
921
+ ActionSummaries: ActionSummary[] | undefined;
922
+ /**
923
+ * <p>The list of capability tiers associated with the rule. Used for categorizing rules by capability (for example,
924
+ * <code>GenerativeAI</code>).</p>
925
+ * @public
926
+ */
927
+ RuleCapabilityTiers?: RuleCapabilityTier[] | undefined;
928
+ /**
929
+ * <p>The publish status of the rule.</p>
930
+ * @public
931
+ */
932
+ PublishStatus: RulePublishStatus | undefined;
933
+ /**
934
+ * <p>The timestamp for when the rule was created.</p>
935
+ * @public
936
+ */
937
+ CreatedTime: Date | undefined;
938
+ /**
939
+ * <p>The timestamp for when the rule was last updated.</p>
940
+ * @public
941
+ */
942
+ LastUpdatedTime: Date | undefined;
943
+ /**
944
+ * <p>The Amazon Resource Name (ARN) of the user who last updated the rule.</p>
945
+ * @public
946
+ */
947
+ LastUpdatedBy: string | undefined;
948
+ /**
949
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
950
+ * @public
951
+ */
952
+ Tags?: Record<string, string> | undefined;
953
+ }
954
+ /**
955
+ * @public
956
+ */
957
+ export interface SearchRulesResponse {
958
+ /**
959
+ * <p>Information about the rules.</p>
960
+ * @public
961
+ */
962
+ Rules: RuleSearchSummary[] | undefined;
963
+ /**
964
+ * <p>The total number of rules which matched your search query.</p>
965
+ * @public
966
+ */
967
+ ApproximateTotalCount?: number | undefined;
968
+ /**
969
+ * <p>If there are additional results, this is the token for the next set of results.</p>
970
+ * @public
971
+ */
972
+ NextToken?: string | undefined;
973
+ }
838
974
  /**
839
975
  * <p>Filters to be applied to search results.</p>
840
976
  * @public
@@ -4451,7 +4587,7 @@ export interface UpdateHoursOfOperationOverrideRequest {
4451
4587
  RecurrenceConfig?: RecurrenceConfig | undefined;
4452
4588
  /**
4453
4589
  * <p>Whether the override will be defined as a <i>standard</i> or as a <i>recurring event</i>.</p>
4454
- * <p>For more information about how override types are applied, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html">Build your list of overrides</a> in the
4590
+ * <p>For more information about how override types are applied, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/hours-of-operation-overrides.html">Build your list of overrides</a> in the
4455
4591
  * <i> Administrator Guide</i>.</p>
4456
4592
  * @public
4457
4593
  */
@@ -6505,6 +6641,33 @@ export interface RoutingProfileSearchCriteria {
6505
6641
  */
6506
6642
  StringCondition?: StringCondition | undefined;
6507
6643
  }
6644
+ /**
6645
+ * <p>The search criteria to be used to return rules.</p>
6646
+ * @public
6647
+ */
6648
+ export interface RulesSearchCriteria {
6649
+ /**
6650
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
6651
+ * @public
6652
+ */
6653
+ OrConditions?: RulesSearchCriteria[] | undefined;
6654
+ /**
6655
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
6656
+ * @public
6657
+ */
6658
+ AndConditions?: RulesSearchCriteria[] | undefined;
6659
+ /**
6660
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
6661
+ * <note>
6662
+ * <p>The currently supported values for <code>FieldName</code> are <code>Name</code>,
6663
+ * <code>PublishStatus</code>, <code>EventSourceName</code>, <code>RuleId</code>,
6664
+ * <code>IntegrationAssociationId</code>, <code>ActionSummaries</code>, and
6665
+ * <code>RuleCapabilityTiers</code>.</p>
6666
+ * </note>
6667
+ * @public
6668
+ */
6669
+ StringCondition?: StringCondition | undefined;
6670
+ }
6508
6671
  /**
6509
6672
  * <p>The search criteria to be used to return security profiles.</p>
6510
6673
  * <note>
@@ -6966,184 +7129,3 @@ export interface SearchDataTablesRequest {
6966
7129
  */
6967
7130
  SearchCriteria?: DataTableSearchCriteria | undefined;
6968
7131
  }
6969
- /**
6970
- * @public
6971
- */
6972
- export interface SearchEmailAddressesRequest {
6973
- /**
6974
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6975
- * @public
6976
- */
6977
- InstanceId: string | undefined;
6978
- /**
6979
- * <p>The maximum number of results to return per page.</p>
6980
- * @public
6981
- */
6982
- MaxResults?: number | undefined;
6983
- /**
6984
- * <p>The token for the next set of results. Use the value returned in the previous
6985
- * response in the next request to retrieve the next set of results.</p>
6986
- * @public
6987
- */
6988
- NextToken?: string | undefined;
6989
- /**
6990
- * <p>The search criteria to be used to return email addresses.</p>
6991
- * @public
6992
- */
6993
- SearchCriteria?: EmailAddressSearchCriteria | undefined;
6994
- /**
6995
- * <p>Filters to be applied to search results.</p>
6996
- * @public
6997
- */
6998
- SearchFilter?: EmailAddressSearchFilter | undefined;
6999
- }
7000
- /**
7001
- * @public
7002
- */
7003
- export interface SearchEvaluationFormsRequest {
7004
- /**
7005
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7006
- * @public
7007
- */
7008
- InstanceId: string | undefined;
7009
- /**
7010
- * <p>The token for the next set of results. Use the value returned in the previous
7011
- * response in the next request to retrieve the next set of results.</p>
7012
- * @public
7013
- */
7014
- NextToken?: string | undefined;
7015
- /**
7016
- * <p>The maximum number of results to return per page.</p>
7017
- * @public
7018
- */
7019
- MaxResults?: number | undefined;
7020
- /**
7021
- * <p>The search criteria to be used to return evaluation forms.</p>
7022
- * @public
7023
- */
7024
- SearchCriteria?: EvaluationFormSearchCriteria | undefined;
7025
- /**
7026
- * <p>Filters to be applied to search results.</p>
7027
- * @public
7028
- */
7029
- SearchFilter?: EvaluationFormSearchFilter | undefined;
7030
- }
7031
- /**
7032
- * @public
7033
- */
7034
- export interface SearchHoursOfOperationOverridesRequest {
7035
- /**
7036
- * <p>The identifier of the Connect Customer instance.</p>
7037
- * @public
7038
- */
7039
- InstanceId: string | undefined;
7040
- /**
7041
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
7042
- * retrieve the next set of results. </p>
7043
- * @public
7044
- */
7045
- NextToken?: string | undefined;
7046
- /**
7047
- * <p>The maximum number of results to return per page.</p>
7048
- * @public
7049
- */
7050
- MaxResults?: number | undefined;
7051
- /**
7052
- * <p>Filters to be applied to search results.</p>
7053
- * @public
7054
- */
7055
- SearchFilter?: HoursOfOperationSearchFilter | undefined;
7056
- /**
7057
- * <p>The search criteria to be used to return hours of operations overrides.</p>
7058
- * @public
7059
- */
7060
- SearchCriteria?: HoursOfOperationOverrideSearchCriteria | undefined;
7061
- }
7062
- /**
7063
- * @public
7064
- */
7065
- export interface SearchHoursOfOperationsRequest {
7066
- /**
7067
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7068
- * @public
7069
- */
7070
- InstanceId: string | undefined;
7071
- /**
7072
- * <p>The token for the next set of results. Use the value returned in the previous
7073
- * response in the next request to retrieve the next set of results.</p>
7074
- * @public
7075
- */
7076
- NextToken?: string | undefined;
7077
- /**
7078
- * <p>The maximum number of results to return per page.</p>
7079
- * @public
7080
- */
7081
- MaxResults?: number | undefined;
7082
- /**
7083
- * <p>Filters to be applied to search results.</p>
7084
- * @public
7085
- */
7086
- SearchFilter?: HoursOfOperationSearchFilter | undefined;
7087
- /**
7088
- * <p>The search criteria to be used to return hours of operations.</p>
7089
- * @public
7090
- */
7091
- SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
7092
- }
7093
- /**
7094
- * @public
7095
- */
7096
- export interface SearchNotificationsRequest {
7097
- /**
7098
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
7099
- * @public
7100
- */
7101
- InstanceId: string | undefined;
7102
- /**
7103
- * <p>The token for the next set of results. Use the value returned in the previous response to retrieve the next page of results.</p>
7104
- * @public
7105
- */
7106
- NextToken?: string | undefined;
7107
- /**
7108
- * <p>The maximum number of results to return per page. Valid range is 1-100.</p>
7109
- * @public
7110
- */
7111
- MaxResults?: number | undefined;
7112
- /**
7113
- * <p>Filters to apply to the search results, such as tag-based filters.</p>
7114
- * @public
7115
- */
7116
- SearchFilter?: NotificationSearchFilter | undefined;
7117
- /**
7118
- * <p>The search criteria to apply when searching for notifications. Supports filtering by notification ID and message content using comparison types such as STARTS_WITH, CONTAINS, and EXACT.</p>
7119
- * @public
7120
- */
7121
- SearchCriteria?: NotificationSearchCriteria | undefined;
7122
- }
7123
- /**
7124
- * @public
7125
- */
7126
- export interface SearchPredefinedAttributesRequest {
7127
- /**
7128
- * <p>The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the
7129
- * instance.</p>
7130
- * @public
7131
- */
7132
- InstanceId: string | undefined;
7133
- /**
7134
- * <p>The token for the next set of results. Use the value returned in the previous response in the next request to
7135
- * retrieve the next set of results.</p>
7136
- * @public
7137
- */
7138
- NextToken?: string | undefined;
7139
- /**
7140
- * <p>The maximum number of results to return per page.</p>
7141
- * @public
7142
- */
7143
- MaxResults?: number | undefined;
7144
- /**
7145
- * <p>The search criteria to be used to return predefined attributes.</p>
7146
- * @public
7147
- */
7148
- SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
7149
- }