@aws-sdk/client-connect 3.1111.0 → 3.1113.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 (78) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +206 -9
  3. package/dist-es/Connect.js +12 -0
  4. package/dist-es/commands/CreateExtractionDefinitionCommand.js +4 -0
  5. package/dist-es/commands/DeleteExtractionDefinitionCommand.js +4 -0
  6. package/dist-es/commands/DescribeExtractionDefinitionCommand.js +4 -0
  7. package/dist-es/commands/ListExtractionDefinitionsCommand.js +4 -0
  8. package/dist-es/commands/UpdateExtractionDefinitionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +7 -0
  11. package/dist-es/pagination/ListExtractionDefinitionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +146 -8
  14. package/dist-types/Connect.d.ts +42 -0
  15. package/dist-types/ConnectClient.d.ts +7 -2
  16. package/dist-types/commands/CreateExtractionDefinitionCommand.d.ts +111 -0
  17. package/dist-types/commands/CreateRuleCommand.d.ts +9 -2
  18. package/dist-types/commands/CreateTestCaseCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateUseCaseCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteExtractionDefinitionCommand.d.ts +85 -0
  22. package/dist-types/commands/DescribeExtractionDefinitionCommand.d.ts +107 -0
  23. package/dist-types/commands/DescribeRuleCommand.d.ts +9 -2
  24. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  25. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -2
  26. package/dist-types/commands/ListExtractionDefinitionsCommand.d.ts +98 -0
  27. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  28. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  29. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchRulesCommand.d.ts +2 -2
  31. package/dist-types/commands/StartAssistantContactCommand.d.ts +4 -1
  32. package/dist-types/commands/UpdateExtractionDefinitionCommand.d.ts +100 -0
  33. package/dist-types/commands/UpdateRuleCommand.d.ts +8 -1
  34. package/dist-types/commands/UpdateViewMetadataCommand.d.ts +2 -1
  35. package/dist-types/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +5 -0
  40. package/dist-types/models/enums.d.ts +15 -0
  41. package/dist-types/models/models_0.d.ts +128 -188
  42. package/dist-types/models/models_1.d.ts +285 -492
  43. package/dist-types/models/models_2.d.ts +1736 -1606
  44. package/dist-types/models/models_3.d.ts +2192 -2081
  45. package/dist-types/models/models_4.d.ts +367 -7
  46. package/dist-types/pagination/ListExtractionDefinitionsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +22 -0
  49. package/dist-types/ts3.4/Connect.d.ts +92 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  51. package/dist-types/ts3.4/commands/CreateExtractionDefinitionCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteExtractionDefinitionCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/DescribeExtractionDefinitionCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -2
  59. package/dist-types/ts3.4/commands/ListExtractionDefinitionsCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateExtractionDefinitionCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +2 -1
  64. package/dist-types/ts3.4/commands/UpdateWorkspaceMetadataCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkspacePageCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateWorkspaceThemeCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateWorkspaceVisibilityCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/enums.d.ts +8 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +31 -46
  71. package/dist-types/ts3.4/models/models_1.d.ts +72 -72
  72. package/dist-types/ts3.4/models/models_2.d.ts +89 -102
  73. package/dist-types/ts3.4/models/models_3.d.ts +112 -104
  74. package/dist-types/ts3.4/models/models_4.d.ts +109 -14
  75. package/dist-types/ts3.4/pagination/ListExtractionDefinitionsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  77. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  78. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MetricFilterBooleanConditionComparison, MetricFilterNumberConditionComparison, MetricFilterStringConditionComparison, MetricStatus, MetricUnit, MultiSelectQuestionRuleCategoryAutomationCondition, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TestCaseEntryPointType, TestCaseStatus, TrendIndicator, UseCaseType, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
1
+ import type { AccessType, ActionType, AgentAvailabilityTimer, AgentStatusState, AgentStatusType, AiUseCase, AllowedUserAction, ApplicationType, AttachedFileInvalidRequestExceptionReason, AttachedFileServiceQuotaExceededExceptionReason, AuthCodeEntityType, BehaviorType, Channel, ConfigurableNotificationPriority, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactState, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DeviceType, DirectoryType, EncryptionType, EndpointType, EntityType, EvaluationFormItemEnablementSourceType, EvaluationFormItemEnablementSourceValueType, EvaluationFormItemSourceValuesComparator, EvaluationFormLanguageCode, EvaluationFormMultiSelectQuestionDisplayMode, EvaluationFormQuestionAutomationAnswerSourceType, EvaluationFormScoringMode, EvaluationFormScoringStatus, EvaluationFormSingleSelectQuestionDisplayMode, EvaluationReviewNotificationRecipientType, EventSourceName, FailureReasonCode, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowModuleType, HoursOfOperationDays, InstanceStorageResourceType, IntegrationType, ListFlowAssociationResourceType, LocaleCode, MetricFilterBooleanConditionComparison, MetricFilterNumberConditionComparison, MetricFilterStringConditionComparison, MetricStatus, MetricUnit, MultiSelectQuestionRuleCategoryAutomationCondition, NotFoundBehaviorType, NotificationContentType, NotificationDeliveryType, NumericQuestionPropertyAutomationLabel, OutboundStrategyType, OverrideDays, OverrideType, ParticipantRole, ParticipantState, PerformanceCategoryName, PropertyValidationExceptionReason, QuickConnectType, RecurrenceFrequency, ReferenceStatus, ReferenceType, RehydrationType, RulePublishStatus, ScreenShareCapability, SingleSelectQuestionRuleCategoryAutomationCondition, SlaAssignmentType, SlaType, SourceType, StorageType, StringComparisonType, TaskTemplateFieldType, TaskTemplateStatus, TrendIndicator, VideoCapability, VocabularyLanguageCode, VoiceEnhancementMode } from "./enums";
2
2
  /**
3
3
  * <p>Information about an action.</p>
4
4
  * @public
@@ -4521,6 +4521,105 @@ export interface CreateEvaluationFormResponse {
4521
4521
  */
4522
4522
  EvaluationFormArn: string | undefined;
4523
4523
  }
4524
+ /**
4525
+ * <p>The display configuration for an extraction definition.</p>
4526
+ * @public
4527
+ */
4528
+ export interface ExtractionDefinitionDisplay {
4529
+ /**
4530
+ * <p>The label displayed in the agent workspace for this extraction definition.</p>
4531
+ * @public
4532
+ */
4533
+ Label?: string | undefined;
4534
+ }
4535
+ /**
4536
+ * <p>The behavior configuration when an extraction definition cannot find the target value.</p>
4537
+ * @public
4538
+ */
4539
+ export interface ExtractionDefinitionNotFoundBehavior {
4540
+ /**
4541
+ * <p>The behavior type. <code>USE_DEFAULT_VALUE</code> returns the specified default value.
4542
+ * <code>OMIT</code> excludes the field from the output.</p>
4543
+ * @public
4544
+ */
4545
+ Behavior: NotFoundBehaviorType | undefined;
4546
+ /**
4547
+ * <p>The default value to use when the behavior is <code>USE_DEFAULT_VALUE</code>.</p>
4548
+ * @public
4549
+ */
4550
+ DefaultValue?: string | undefined;
4551
+ }
4552
+ /**
4553
+ * <p>The extraction configuration that defines how data is extracted from customer
4554
+ * interactions.</p>
4555
+ * @public
4556
+ */
4557
+ export interface ExtractionConfiguration {
4558
+ /**
4559
+ * <p>The prompt hint that guides the extraction. This text tells the generative AI model what
4560
+ * data to look for in the customer interaction.</p>
4561
+ * @public
4562
+ */
4563
+ PromptHint: string | undefined;
4564
+ /**
4565
+ * <p>The behavior when the extraction cannot find the specified data in the interaction.</p>
4566
+ * @public
4567
+ */
4568
+ NotFoundBehavior?: ExtractionDefinitionNotFoundBehavior | undefined;
4569
+ }
4570
+ /**
4571
+ * @public
4572
+ */
4573
+ export interface CreateExtractionDefinitionRequest {
4574
+ /**
4575
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
4576
+ * request. If not provided, the Amazon Web Services SDK populates this field.</p>
4577
+ * @public
4578
+ */
4579
+ ClientToken?: string | undefined;
4580
+ /**
4581
+ * <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>
4582
+ * @public
4583
+ */
4584
+ InstanceId: string | undefined;
4585
+ /**
4586
+ * <p>A unique name of the extraction definition.</p>
4587
+ * @public
4588
+ */
4589
+ Name: string | undefined;
4590
+ /**
4591
+ * <p>The configuration that defines how data is extracted, including the prompt hint and
4592
+ * not-found behavior.</p>
4593
+ * @public
4594
+ */
4595
+ ExtractionConfiguration: ExtractionConfiguration | undefined;
4596
+ /**
4597
+ * <p>The display settings for the extraction definition, including the label shown in the
4598
+ * agent workspace.</p>
4599
+ * @public
4600
+ */
4601
+ Display?: ExtractionDefinitionDisplay | undefined;
4602
+ /**
4603
+ * <p>The tags used to organize, track, or control access for this resource.</p>
4604
+ * @public
4605
+ */
4606
+ Tags?: Record<string, string> | undefined;
4607
+ }
4608
+ /**
4609
+ * @public
4610
+ */
4611
+ export interface CreateExtractionDefinitionResponse {
4612
+ /**
4613
+ * <p>The Amazon Resource Name (ARN) of the extraction definition.</p>
4614
+ * @public
4615
+ */
4616
+ ExtractionDefinitionArn: string | undefined;
4617
+ /**
4618
+ * <p>The identifier of the extraction definition.</p>
4619
+ * @public
4620
+ */
4621
+ ExtractionDefinitionId: string | undefined;
4622
+ }
4524
4623
  /**
4525
4624
  * <p>The start time or end time for an hours of operation.</p>
4526
4625
  * @public
@@ -6044,6 +6143,29 @@ export interface EventBridgeActionDefinition {
6044
6143
  */
6045
6144
  Name: string | undefined;
6046
6145
  }
6146
+ /**
6147
+ * <p>An identifier that references an extraction definition resource.</p>
6148
+ * @public
6149
+ */
6150
+ export interface RulesExtractionDefinitionIdentifier {
6151
+ /**
6152
+ * <p>The identifier of the extraction definition.</p>
6153
+ * @public
6154
+ */
6155
+ Identifier: string | undefined;
6156
+ }
6157
+ /**
6158
+ * <p>Information about the extract information action, which references extraction definitions
6159
+ * to use when extracting structured data from customer interactions.</p>
6160
+ * @public
6161
+ */
6162
+ export interface ExtractInformationActionDefinition {
6163
+ /**
6164
+ * <p>The list of extraction definition identifiers that specify what data to extract.</p>
6165
+ * @public
6166
+ */
6167
+ RulesExtractionDefinitions: RulesExtractionDefinitionIdentifier[] | undefined;
6168
+ }
6047
6169
  /**
6048
6170
  * <p>The type of notification recipient.</p>
6049
6171
  * @public
@@ -6232,6 +6354,11 @@ export interface RuleAction {
6232
6354
  * @public
6233
6355
  */
6234
6356
  SubmitAutoEvaluationAction?: SubmitAutoEvaluationActionDefinition | undefined;
6357
+ /**
6358
+ * <p>Information about the extract information action.</p>
6359
+ * @public
6360
+ */
6361
+ ExtractInformationAction?: ExtractInformationActionDefinition | undefined;
6235
6362
  }
6236
6363
  /**
6237
6364
  * <p>The name of the event source. This field is required if <code>TriggerEventSource</code> is one of the following values:
@@ -6719,190 +6846,3 @@ export interface VoiceCallEntryPointParameters {
6719
6846
  */
6720
6847
  FlowId?: string | undefined;
6721
6848
  }
6722
- /**
6723
- * <p>Defines the starting point for a test case.</p>
6724
- * @public
6725
- */
6726
- export interface TestCaseEntryPoint {
6727
- /**
6728
- * <p>The type of entry point.</p>
6729
- * @public
6730
- */
6731
- Type?: TestCaseEntryPointType | undefined;
6732
- /**
6733
- * <p>Parameters for voice call entry point.</p>
6734
- * @public
6735
- */
6736
- VoiceCallEntryPointParameters?: VoiceCallEntryPointParameters | undefined;
6737
- /**
6738
- * <p>Parameters for chat entry point.</p>
6739
- * @public
6740
- */
6741
- ChatEntryPointParameters?: ChatEntryPointParameters | undefined;
6742
- }
6743
- /**
6744
- * @public
6745
- */
6746
- export interface CreateTestCaseRequest {
6747
- /**
6748
- * <p>The identifier of the Amazon Connect instance.</p>
6749
- * @public
6750
- */
6751
- InstanceId: string | undefined;
6752
- /**
6753
- * <p>The name of the test.</p>
6754
- * @public
6755
- */
6756
- Name: string | undefined;
6757
- /**
6758
- * <p>The description of the test.</p>
6759
- * @public
6760
- */
6761
- Description?: string | undefined;
6762
- /**
6763
- * <p>The JSON string that represents the content of the test.</p>
6764
- * @public
6765
- */
6766
- Content: string | undefined;
6767
- /**
6768
- * <p>Defines the starting point for your test.</p>
6769
- * @public
6770
- */
6771
- EntryPoint?: TestCaseEntryPoint | undefined;
6772
- /**
6773
- * <p>Defines the initial custom attributes for your test.</p>
6774
- * @public
6775
- */
6776
- InitializationData?: string | undefined;
6777
- /**
6778
- * <p>Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.</p>
6779
- * @public
6780
- */
6781
- Status?: TestCaseStatus | undefined;
6782
- /**
6783
- * <p>Id of the test case if you want to create it in a replica region using Amazon Connect Global Resiliency</p>
6784
- * @public
6785
- */
6786
- TestCaseId?: string | undefined;
6787
- /**
6788
- * <p>The tags used to organize, track, or control access for this resource.</p>
6789
- * @public
6790
- */
6791
- Tags?: Record<string, string> | undefined;
6792
- /**
6793
- * <p>The time at which the resource was last modified.</p>
6794
- * @public
6795
- */
6796
- LastModifiedTime?: Date | undefined;
6797
- /**
6798
- * <p>The region in which the resource was last modified</p>
6799
- * @public
6800
- */
6801
- LastModifiedRegion?: string | undefined;
6802
- }
6803
- /**
6804
- * @public
6805
- */
6806
- export interface CreateTestCaseResponse {
6807
- /**
6808
- * <p>The identifier of the test.</p>
6809
- * @public
6810
- */
6811
- TestCaseId?: string | undefined;
6812
- /**
6813
- * <p>The Amazon Resource Name (ARN) of the test.</p>
6814
- * @public
6815
- */
6816
- TestCaseArn?: string | undefined;
6817
- }
6818
- /**
6819
- * @public
6820
- */
6821
- export interface CreateTrafficDistributionGroupRequest {
6822
- /**
6823
- * <p>The name for the traffic distribution group. </p>
6824
- * @public
6825
- */
6826
- Name: string | undefined;
6827
- /**
6828
- * <p>A description for the traffic distribution group.</p>
6829
- * @public
6830
- */
6831
- Description?: string | undefined;
6832
- /**
6833
- * <p>The identifier of the Connect Customer instance that has been replicated. You can find the
6834
- * <code>instanceId</code> in the ARN of the instance.</p>
6835
- * @public
6836
- */
6837
- InstanceId: string | undefined;
6838
- /**
6839
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6840
- * request. If not provided, the Amazon Web Services
6841
- * SDK populates this field. For more information about idempotency, see
6842
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
6843
- * @public
6844
- */
6845
- ClientToken?: string | undefined;
6846
- /**
6847
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6848
- * @public
6849
- */
6850
- Tags?: Record<string, string> | undefined;
6851
- }
6852
- /**
6853
- * @public
6854
- */
6855
- export interface CreateTrafficDistributionGroupResponse {
6856
- /**
6857
- * <p>The identifier of the traffic distribution group.
6858
- * This can be the ID or the ARN of the traffic distribution group.</p>
6859
- * @public
6860
- */
6861
- Id?: string | undefined;
6862
- /**
6863
- * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
6864
- * @public
6865
- */
6866
- Arn?: string | undefined;
6867
- }
6868
- /**
6869
- * @public
6870
- */
6871
- export interface CreateUseCaseRequest {
6872
- /**
6873
- * <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>
6874
- * @public
6875
- */
6876
- InstanceId: string | undefined;
6877
- /**
6878
- * <p>The identifier for the integration association.</p>
6879
- * @public
6880
- */
6881
- IntegrationAssociationId: string | undefined;
6882
- /**
6883
- * <p>The type of use case to associate to the integration association. Each integration association can have only one
6884
- * of each use case type.</p>
6885
- * @public
6886
- */
6887
- UseCaseType: UseCaseType | undefined;
6888
- /**
6889
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6890
- * @public
6891
- */
6892
- Tags?: Record<string, string> | undefined;
6893
- }
6894
- /**
6895
- * @public
6896
- */
6897
- export interface CreateUseCaseResponse {
6898
- /**
6899
- * <p>The identifier of the use case.</p>
6900
- * @public
6901
- */
6902
- UseCaseId?: string | undefined;
6903
- /**
6904
- * <p>The Amazon Resource Name (ARN) for the use case.</p>
6905
- * @public
6906
- */
6907
- UseCaseArn?: string | undefined;
6908
- }