@cdklabs/cdk-construct-connect-datalake 0.0.24 → 0.0.26

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 (90) hide show
  1. package/.jsii +10 -10
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
  6. package/node_modules/@aws-sdk/client-connect/README.md +14 -0
  7. package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +132 -19
  8. package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +4 -0
  9. package/node_modules/@aws-sdk/client-connect/dist-es/commands/GetCrossRegionRoutingCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateCrossRegionRoutingCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +2 -0
  12. package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +17 -0
  13. package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +91 -18
  14. package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +14 -0
  15. package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +4 -2
  16. package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +14 -0
  17. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeContactCommand.d.ts +1 -0
  18. package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +11 -0
  19. package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +94 -0
  20. package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +18 -1
  21. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -1
  22. package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchRulesCommand.d.ts +11 -0
  23. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateCrossRegionRoutingCommand.d.ts +95 -0
  24. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateRuleCommand.d.ts +11 -0
  25. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserNotificationStatusCommand.d.ts +2 -1
  26. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  29. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  30. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewContentCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateViewMetadataCommand.d.ts +1 -2
  32. package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +2 -0
  33. package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +49 -0
  34. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +66 -33
  35. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +44 -85
  36. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +202 -137
  37. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +172 -157
  38. package/node_modules/@aws-sdk/client-connect/dist-types/models/models_4.d.ts +156 -4
  39. package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +10 -0
  40. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +34 -0
  41. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  42. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +40 -0
  43. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -4
  44. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateCrossRegionRoutingCommand.d.ts +42 -0
  45. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserNotificationStatusCommand.d.ts +2 -4
  46. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +1 -2
  52. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +25 -0
  54. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +16 -8
  55. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +12 -22
  56. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +54 -38
  57. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +46 -40
  58. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_4.d.ts +44 -1
  59. package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  60. package/node_modules/@aws-sdk/client-connect/package.json +2 -2
  61. package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +1 -1
  62. package/node_modules/@aws-sdk/client-glue/package.json +2 -2
  63. package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/index.js +1 -1
  64. package/node_modules/@aws-sdk/client-lakeformation/package.json +2 -2
  65. package/node_modules/@aws-sdk/client-ram/dist-cjs/index.js +1 -1
  66. package/node_modules/@aws-sdk/client-ram/package.json +2 -2
  67. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  68. package/node_modules/@aws-sdk/client-sts/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +2 -0
  70. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +2 -0
  71. package/node_modules/@aws-sdk/credential-provider-node/package.json +1 -1
  72. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -1
  73. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +2 -1
  74. package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
  75. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  76. package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +1 -0
  77. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +2 -3
  78. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +8 -1
  79. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  80. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +14 -0
  81. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +14 -0
  82. package/node_modules/@smithy/types/package.json +1 -1
  83. package/node_modules/@types/aws-lambda/README.md +1 -1
  84. package/node_modules/@types/aws-lambda/package.json +3 -3
  85. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +1 -1
  86. package/node_modules/js-yaml/dist/js-yaml.js +17 -4
  87. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  88. package/node_modules/js-yaml/lib/js-yaml/loader.js +16 -3
  89. package/node_modules/js-yaml/package.json +1 -1
  90. package/package.json +12 -12
@@ -1,5 +1,37 @@
1
- import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, AvailableFilterType, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, CurrentMetricName, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, MetricCreationMethod, MetricStatus, MetricType, MetricUnit, NextContactType, NotificationPriority, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RuleCapabilityTier, RulePublishStatus, SortOrder, Status, StorageType, TestCaseEntryPointType, TestCaseStatus, TrafficDistributionGroupStatus, TrendIndicator, Unit, UseCaseType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceEnhancementMode, WorkspaceFontFamily } from "./enums";
2
- import type { AfterContactWorkConfigPerChannel, AgentQualityMetrics, AgentsCriteria, AgentStatus, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, ChatEntryPointParameters, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, ExtractionConfiguration, ExtractionDefinitionDisplay, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PrimaryValue, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, Validation, VoiceCallEntryPointParameters } from "./models_0";
1
+ import type { AgentAvailabilityTimer, AttachmentScope, AutoEvaluationStatus, AvailableFilterType, Channel, ContactField, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactMetricName, ContactParticipantRole, DataTableAttributeValueType, DataTableLockLevel, DataTableStatus, DirectoryType, EndpointType, EntityType, EvaluationQuestionAnswerAnalysisType, EvaluationStatus, EvaluationSuggestedAnswerStatus, EvaluationTranscriptType, EvaluationType, FileStatusType, FileUseCaseType, FlowAssociationResourceType, InstanceAttributeType, InstanceReplicationStatus, InstanceStatus, InstanceStorageResourceType, LocaleCode, MediaStreamType, MediaType, MetricCreationMethod, MetricStatus, MetricType, MetricUnit, NextContactType, NotificationPriority, OverrideType, ParticipantType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, PhoneNumberWorkflowStatus, PhoneType, QuestionRuleCategoryAutomationCondition, QueueStatus, QuickConnectType, RecordingStatus, RuleCapabilityTier, RulePublishStatus, Status, StorageType, TestCaseEntryPointType, TestCaseStatus, TrafficDistributionGroupStatus, TrendIndicator, UseCaseType, ViewStatus, ViewType, Visibility, VocabularyLanguageCode, VocabularyState, VoiceEnhancementMode, WorkspaceFontFamily } from "./enums";
2
+ import type { AfterContactWorkConfigPerChannel, AgentQualityMetrics, AgentsCriteria, AgentStatus, AiAgentInfo, AliasConfiguration, AllowedExtension, AudioQualityMetricsInfo, CreatedByInfo, DataTableLockVersion, DeviceInfo, ExternalInvocationConfiguration, ExtractionConfiguration, ExtractionDefinitionDisplay, FailedBatchAssociationSummary, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InstanceStorageConfig, LexBot, LexV2Bot, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, ParticipantCapabilities, PredefinedAttributeValues, PreEvaluationFilters, PrimaryValue, QuickConnectConfig, RecurrenceConfig, RoutingProfileQueueReference, RuleAction, RuleTriggerEventSource, SecurityProfileItem, SuccessfulBatchAssociationSummary, Validation } from "./models_0";
3
+ /**
4
+ * <p>Parameters for initiating a chat test.</p>
5
+ * @public
6
+ */
7
+ export interface ChatEntryPointParameters {
8
+ /**
9
+ * <p>The flow identifier for the test.</p>
10
+ * @public
11
+ */
12
+ FlowId?: string | undefined;
13
+ }
14
+ /**
15
+ * <p>Parameters for initiating a voice call test.</p>
16
+ * @public
17
+ */
18
+ export interface VoiceCallEntryPointParameters {
19
+ /**
20
+ * <p>The source phone number for the test.</p>
21
+ * @public
22
+ */
23
+ SourcePhoneNumber?: string | undefined;
24
+ /**
25
+ * <p>The destination phone number for the test.</p>
26
+ * @public
27
+ */
28
+ DestinationPhoneNumber?: string | undefined;
29
+ /**
30
+ * <p>The flow identifier for the test.</p>
31
+ * @public
32
+ */
33
+ FlowId?: string | undefined;
34
+ }
3
35
  /**
4
36
  * <p>Defines the starting point for a test case.</p>
5
37
  * @public
@@ -5325,6 +5357,13 @@ export interface Rule {
5325
5357
  * @public
5326
5358
  */
5327
5359
  PublishStatus: RulePublishStatus | undefined;
5360
+ /**
5361
+ * <p>The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based
5362
+ * on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before
5363
+ * rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.</p>
5364
+ * @public
5365
+ */
5366
+ PreEvaluationFilters?: PreEvaluationFilters | undefined;
5328
5367
  /**
5329
5368
  * <p>The timestamp for when the rule was created.</p>
5330
5369
  * @public
@@ -7044,92 +7083,12 @@ export interface GetContactMetricsResponse {
7044
7083
  Arn?: string | undefined;
7045
7084
  }
7046
7085
  /**
7047
- * <p>Contains information about a real-time metric. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definitions</a> in the <i>Connect Customer Administrator Guide</i>.</p>
7048
- * <important>
7049
- * <p>Only one of either the Name or MetricId is required.</p>
7050
- * </important>
7051
- * @public
7052
- */
7053
- export interface CurrentMetric {
7054
- /**
7055
- * <p>The name of the metric.</p>
7056
- * @public
7057
- */
7058
- Name?: CurrentMetricName | undefined;
7059
- /**
7060
- * <p>Out of the box current metrics or custom metrics can be referenced via this field. This field is a valid AWS Connect Arn or a UUID.</p>
7061
- * @public
7062
- */
7063
- MetricId?: string | undefined;
7064
- /**
7065
- * <note>
7066
- * <p>The Unit parameter is not supported for custom metrics.</p>
7067
- * </note>
7068
- * <p>The unit for the metric.</p>
7069
- * @public
7070
- */
7071
- Unit?: Unit | undefined;
7072
- }
7073
- /**
7074
- * <p>Contains the filter to apply when retrieving metrics.</p>
7075
7086
  * @public
7076
7087
  */
7077
- export interface Filters {
7078
- /**
7079
- * <p>The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
7080
- * per request. The <code>GetCurrentMetricsData</code> API in particular requires a queue when you include a
7081
- * <code>Filter</code> in your request. </p>
7082
- * @public
7083
- */
7084
- Queues?: string[] | undefined;
7085
- /**
7086
- * <p>The channel to use to filter the metrics.</p>
7087
- * @public
7088
- */
7089
- Channels?: Channel[] | undefined;
7090
- /**
7091
- * <p>A list of up to 100 routing profile IDs or ARNs.</p>
7092
- * @public
7093
- */
7094
- RoutingProfiles?: string[] | undefined;
7088
+ export interface GetCrossRegionRoutingRequest {
7095
7089
  /**
7096
- * <p>A list of expressions as a filter, in which an expression is an object of a step in a routing
7097
- * criteria. Accepts filter values up to 3,000 characters in length. Filter values are case-sensitive.
7098
- * JSON object key order and whitespace may be arbitrary; array order and tree structure must be preserved.</p>
7099
- * @public
7100
- */
7101
- RoutingStepExpressions?: string[] | undefined;
7102
- /**
7103
- * <p>A list of up to 50 agent status IDs or ARNs.</p>
7104
- * @public
7105
- */
7106
- AgentStatuses?: string[] | undefined;
7107
- /**
7108
- * <p>A list of up to 10 subtypes can be provided.</p>
7109
- * @public
7110
- */
7111
- Subtypes?: string[] | undefined;
7112
- /**
7113
- * <p>A list of up to 10 validationTestTypes can be provided.</p>
7114
- * @public
7115
- */
7116
- ValidationTestTypes?: string[] | undefined;
7117
- }
7118
- /**
7119
- * <p>The way to sort the resulting response based on metrics. By default resources are sorted based on
7120
- * <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The metric collection is sorted based on the input
7121
- * metrics.</p>
7122
- * @public
7123
- */
7124
- export interface CurrentMetricSortCriteria {
7125
- /**
7126
- * <p>The current metric names.</p>
7127
- * @public
7128
- */
7129
- SortByMetric?: CurrentMetricName | undefined;
7130
- /**
7131
- * <p>The way to sort.</p>
7090
+ * <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>
7132
7091
  * @public
7133
7092
  */
7134
- SortOrder?: SortOrder | undefined;
7093
+ InstanceId: string | undefined;
7135
7094
  }
@@ -1,6 +1,108 @@
1
- import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, BooleanComparisonType, Channel, Comparison, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactRecordingType, ContactState, DataTableAttributeValueType, DateTimeComparisonType, DecimalComparisonType, DirectoryType, EntityType, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MetricStatus, MetricType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, NumberComparisonType, OperationalStatus, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
1
+ import type { AgentStatusType, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, Channel, Comparison, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactRecordingType, ContactState, CurrentMetricName, DataTableAttributeValueType, DirectoryType, EntityType, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MetricStatus, MetricType, MonitorCapability, NotificationPriority, NotificationSource, NotificationStatus, OperationalStatus, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisExtractedInformationFailureCode, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
2
2
  import type { ActionSummary, AgentConfig, AgentContactReference, AgentStatus, AgentStatusIdentifier, AgentStatusReference, AgentStatusSummary, AnalyticsDataAssociationResult, Application, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, OverrideTimeSlice, PrimaryValueResponse, QueueReference, SecurityProfileItem, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, UserProficiency } from "./models_0";
3
- import type { Attribute, CurrentMetric, CurrentMetricSortCriteria, DataTableAttribute, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, Filters, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification } from "./models_1";
3
+ import type { Attribute, DataTableAttribute, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification } from "./models_1";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface GetCrossRegionRoutingResponse {
8
+ /**
9
+ * <p>The list of Regions for which cross-region routing is currently disabled (isolated). When a Region
10
+ * appears in this list, contacts originating in that Region will not be routed to agents in other Regions,
11
+ * and agents in that Region will not receive contacts from other Regions.</p>
12
+ * @public
13
+ */
14
+ IsolatedRegions?: string[] | undefined;
15
+ }
16
+ /**
17
+ * <p>Contains information about a real-time metric. For a description of each metric, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/metrics-definitions.html">Metrics definitions</a> in the <i>Connect Customer Administrator Guide</i>.</p>
18
+ * <important>
19
+ * <p>Only one of either the Name or MetricId is required.</p>
20
+ * </important>
21
+ * @public
22
+ */
23
+ export interface CurrentMetric {
24
+ /**
25
+ * <p>The name of the metric.</p>
26
+ * @public
27
+ */
28
+ Name?: CurrentMetricName | undefined;
29
+ /**
30
+ * <p>Out of the box current metrics or custom metrics can be referenced via this field. This field is a valid AWS Connect Arn or a UUID.</p>
31
+ * @public
32
+ */
33
+ MetricId?: string | undefined;
34
+ /**
35
+ * <note>
36
+ * <p>The Unit parameter is not supported for custom metrics.</p>
37
+ * </note>
38
+ * <p>The unit for the metric.</p>
39
+ * @public
40
+ */
41
+ Unit?: Unit | undefined;
42
+ }
43
+ /**
44
+ * <p>Contains the filter to apply when retrieving metrics.</p>
45
+ * @public
46
+ */
47
+ export interface Filters {
48
+ /**
49
+ * <p>The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
50
+ * per request. The <code>GetCurrentMetricsData</code> API in particular requires a queue when you include a
51
+ * <code>Filter</code> in your request. </p>
52
+ * @public
53
+ */
54
+ Queues?: string[] | undefined;
55
+ /**
56
+ * <p>The channel to use to filter the metrics.</p>
57
+ * @public
58
+ */
59
+ Channels?: Channel[] | undefined;
60
+ /**
61
+ * <p>A list of up to 100 routing profile IDs or ARNs.</p>
62
+ * @public
63
+ */
64
+ RoutingProfiles?: string[] | undefined;
65
+ /**
66
+ * <p>A list of expressions as a filter, in which an expression is an object of a step in a routing
67
+ * criteria. Accepts filter values up to 3,000 characters in length. Filter values are case-sensitive.
68
+ * JSON object key order and whitespace may be arbitrary; array order and tree structure must be preserved.</p>
69
+ * @public
70
+ */
71
+ RoutingStepExpressions?: string[] | undefined;
72
+ /**
73
+ * <p>A list of up to 50 agent status IDs or ARNs.</p>
74
+ * @public
75
+ */
76
+ AgentStatuses?: string[] | undefined;
77
+ /**
78
+ * <p>A list of up to 10 subtypes can be provided.</p>
79
+ * @public
80
+ */
81
+ Subtypes?: string[] | undefined;
82
+ /**
83
+ * <p>A list of up to 10 validationTestTypes can be provided.</p>
84
+ * @public
85
+ */
86
+ ValidationTestTypes?: string[] | undefined;
87
+ }
88
+ /**
89
+ * <p>The way to sort the resulting response based on metrics. By default resources are sorted based on
90
+ * <code>AGENTS_ONLINE</code>, <code>DESCENDING</code>. The metric collection is sorted based on the input
91
+ * metrics.</p>
92
+ * @public
93
+ */
94
+ export interface CurrentMetricSortCriteria {
95
+ /**
96
+ * <p>The current metric names.</p>
97
+ * @public
98
+ */
99
+ SortByMetric?: CurrentMetricName | undefined;
100
+ /**
101
+ * <p>The way to sort.</p>
102
+ * @public
103
+ */
104
+ SortOrder?: SortOrder | undefined;
105
+ }
4
106
  /**
5
107
  * @public
6
108
  */
@@ -7358,6 +7460,80 @@ export interface RealTimeContactAnalysisSegmentEvent {
7358
7460
  */
7359
7461
  Time: RealTimeContactAnalysisTimeData | undefined;
7360
7462
  }
7463
+ /**
7464
+ * <p>An individual value extracted from the conversation, including its content and the locations where it
7465
+ * was found.</p>
7466
+ * @public
7467
+ */
7468
+ export interface RealTimeContactAnalysisExtractedInformationValue {
7469
+ /**
7470
+ * <p>The text content of the extracted value.</p>
7471
+ * @public
7472
+ */
7473
+ Content: string | undefined;
7474
+ /**
7475
+ * <p>The sections in the conversation that indicate where the extracted value was found.</p>
7476
+ * @public
7477
+ */
7478
+ PointsOfInterest: RealTimeContactAnalysisTranscriptItemWithCharacterOffsets[] | undefined;
7479
+ }
7480
+ /**
7481
+ * <p>Segment containing information extracted from the conversation. Each segment represents the results for a
7482
+ * single extraction definition.</p>
7483
+ * @public
7484
+ */
7485
+ export interface RealTimeContactAnalysisSegmentExtractedInformation {
7486
+ /**
7487
+ * <p>The identifier of the extraction definition that produced this result.</p>
7488
+ * @public
7489
+ */
7490
+ ExtractionDefinitionId: string | undefined;
7491
+ /**
7492
+ * <p>The name of the extraction definition that produced this result.</p>
7493
+ * @public
7494
+ */
7495
+ ExtractionDefinitionName: string | undefined;
7496
+ /**
7497
+ * <p>The display label of the extraction definition that produced this result.</p>
7498
+ * @public
7499
+ */
7500
+ ExtractionDefinitionDisplayLabel?: string | undefined;
7501
+ /**
7502
+ * <p>The list of values extracted from the conversation for this extraction definition. This field is empty when a
7503
+ * <code>FailureCode</code> is present.</p>
7504
+ * @public
7505
+ */
7506
+ ExtractedValues?: RealTimeContactAnalysisExtractedInformationValue[] | undefined;
7507
+ /**
7508
+ * <p>If the information failed to be extracted, one of the following failure codes occurs:</p>
7509
+ * <ul>
7510
+ * <li>
7511
+ * <p>
7512
+ * <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached your service quota.</p>
7513
+ * </li>
7514
+ * <li>
7515
+ * <p>
7516
+ * <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: Information extraction requires a conversation with at least
7517
+ * one turn from each participant.</p>
7518
+ * </li>
7519
+ * <li>
7520
+ * <p>
7521
+ * <code>FAILED_SAFETY_GUIDELINES</code>: The extracted information cannot be provided because it failed to meet
7522
+ * system safety guidelines.</p>
7523
+ * </li>
7524
+ * <li>
7525
+ * <p>
7526
+ * <code>INTERNAL_ERROR</code>: Internal system error.</p>
7527
+ * </li>
7528
+ * <li>
7529
+ * <p>
7530
+ * <code>MAX_PACKAGE_FEATURE_ONLY</code>: Information extraction is only available in Amazon Connect Customer instances.</p>
7531
+ * </li>
7532
+ * </ul>
7533
+ * @public
7534
+ */
7535
+ FailureCode?: RealTimeContactAnalysisExtractedInformationFailureCode | undefined;
7536
+ }
7361
7537
  /**
7362
7538
  * <p>Transcript representation containing Id, Content and list of character intervals that are associated with
7363
7539
  * analysis data. For example, this object within an issue detected would describe both content that contains identified
@@ -7518,7 +7694,7 @@ export interface RealTimeContactAnalysisSegmentTranscript {
7518
7694
  * <p>An analyzed segment for a real-time analysis session.</p>
7519
7695
  * @public
7520
7696
  */
7521
- export type RealtimeContactAnalysisSegment = RealtimeContactAnalysisSegment.AttachmentsMember | RealtimeContactAnalysisSegment.CategoriesMember | RealtimeContactAnalysisSegment.EventMember | RealtimeContactAnalysisSegment.IssuesMember | RealtimeContactAnalysisSegment.PostContactSummaryMember | RealtimeContactAnalysisSegment.TranscriptMember | RealtimeContactAnalysisSegment.$UnknownMember;
7697
+ export type RealtimeContactAnalysisSegment = RealtimeContactAnalysisSegment.AttachmentsMember | RealtimeContactAnalysisSegment.CategoriesMember | RealtimeContactAnalysisSegment.EventMember | RealtimeContactAnalysisSegment.ExtractedInformationMember | RealtimeContactAnalysisSegment.IssuesMember | RealtimeContactAnalysisSegment.PostContactSummaryMember | RealtimeContactAnalysisSegment.TranscriptMember | RealtimeContactAnalysisSegment.$UnknownMember;
7522
7698
  /**
7523
7699
  * @public
7524
7700
  */
@@ -7534,6 +7710,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7534
7710
  Event?: never;
7535
7711
  Attachments?: never;
7536
7712
  PostContactSummary?: never;
7713
+ ExtractedInformation?: never;
7537
7714
  $unknown?: never;
7538
7715
  }
7539
7716
  /**
@@ -7547,6 +7724,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7547
7724
  Event?: never;
7548
7725
  Attachments?: never;
7549
7726
  PostContactSummary?: never;
7727
+ ExtractedInformation?: never;
7550
7728
  $unknown?: never;
7551
7729
  }
7552
7730
  /**
@@ -7560,6 +7738,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7560
7738
  Event?: never;
7561
7739
  Attachments?: never;
7562
7740
  PostContactSummary?: never;
7741
+ ExtractedInformation?: never;
7563
7742
  $unknown?: never;
7564
7743
  }
7565
7744
  /**
@@ -7573,6 +7752,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7573
7752
  Event: RealTimeContactAnalysisSegmentEvent;
7574
7753
  Attachments?: never;
7575
7754
  PostContactSummary?: never;
7755
+ ExtractedInformation?: never;
7576
7756
  $unknown?: never;
7577
7757
  }
7578
7758
  /**
@@ -7586,6 +7766,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7586
7766
  Event?: never;
7587
7767
  Attachments: RealTimeContactAnalysisSegmentAttachments;
7588
7768
  PostContactSummary?: never;
7769
+ ExtractedInformation?: never;
7589
7770
  $unknown?: never;
7590
7771
  }
7591
7772
  /**
@@ -7599,6 +7780,21 @@ export declare namespace RealtimeContactAnalysisSegment {
7599
7780
  Event?: never;
7600
7781
  Attachments?: never;
7601
7782
  PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary;
7783
+ ExtractedInformation?: never;
7784
+ $unknown?: never;
7785
+ }
7786
+ /**
7787
+ * <p>The extracted information from the conversation.</p>
7788
+ * @public
7789
+ */
7790
+ interface ExtractedInformationMember {
7791
+ Transcript?: never;
7792
+ Categories?: never;
7793
+ Issues?: never;
7794
+ Event?: never;
7795
+ Attachments?: never;
7796
+ PostContactSummary?: never;
7797
+ ExtractedInformation: RealTimeContactAnalysisSegmentExtractedInformation;
7602
7798
  $unknown?: never;
7603
7799
  }
7604
7800
  /**
@@ -7611,6 +7807,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7611
7807
  Event?: never;
7612
7808
  Attachments?: never;
7613
7809
  PostContactSummary?: never;
7810
+ ExtractedInformation?: never;
7614
7811
  $unknown: [string, any];
7615
7812
  }
7616
7813
  /**
@@ -7624,6 +7821,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7624
7821
  Event: (value: RealTimeContactAnalysisSegmentEvent) => T;
7625
7822
  Attachments: (value: RealTimeContactAnalysisSegmentAttachments) => T;
7626
7823
  PostContactSummary: (value: RealTimeContactAnalysisSegmentPostContactSummary) => T;
7824
+ ExtractedInformation: (value: RealTimeContactAnalysisSegmentExtractedInformation) => T;
7627
7825
  _: (name: string, value: any) => T;
7628
7826
  }
7629
7827
  }
@@ -8681,7 +8879,7 @@ export interface TrafficDistributionGroupSummary {
8681
8879
  */
8682
8880
  Name?: string | undefined;
8683
8881
  /**
8684
- * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
8882
+ * <p>The Amazon Resource Name (ARN) of the instance.</p>
8685
8883
  * @public
8686
8884
  */
8687
8885
  InstanceArn?: string | undefined;
@@ -9733,136 +9931,3 @@ export interface SearchAvailablePhoneNumbersRequest {
9733
9931
  */
9734
9932
  NextToken?: string | undefined;
9735
9933
  }
9736
- /**
9737
- * <p>Information about available phone numbers.</p>
9738
- * @public
9739
- */
9740
- export interface AvailableNumberSummary {
9741
- /**
9742
- * <p>The phone number. Phone numbers are formatted <code>[+] [country code] [subscriber number including area code]</code>.</p>
9743
- * @public
9744
- */
9745
- PhoneNumber?: string | undefined;
9746
- /**
9747
- * <p>The ISO country code.</p>
9748
- * @public
9749
- */
9750
- PhoneNumberCountryCode?: PhoneNumberCountryCode | undefined;
9751
- /**
9752
- * <p>The type of phone number.</p>
9753
- * @public
9754
- */
9755
- PhoneNumberType?: PhoneNumberType | undefined;
9756
- }
9757
- /**
9758
- * @public
9759
- */
9760
- export interface SearchAvailablePhoneNumbersResponse {
9761
- /**
9762
- * <p>If there are additional results, this is the token for the next set of results.</p>
9763
- * @public
9764
- */
9765
- NextToken?: string | undefined;
9766
- /**
9767
- * <p>A list of available phone numbers that you can claim to your Connect Customer instance or traffic distribution group.</p>
9768
- * @public
9769
- */
9770
- AvailableNumbersList?: AvailableNumberSummary[] | undefined;
9771
- }
9772
- /**
9773
- * <p>A boolean search condition for Search APIs.</p>
9774
- * @public
9775
- */
9776
- export interface BooleanCondition {
9777
- /**
9778
- * <p>A name of the property to be searched.</p>
9779
- * @public
9780
- */
9781
- FieldName?: string | undefined;
9782
- /**
9783
- * <p>Boolean property comparison type.</p>
9784
- * @public
9785
- */
9786
- ComparisonType?: BooleanComparisonType | undefined;
9787
- }
9788
- /**
9789
- * <p>A datetime search condition for Search APIs.</p>
9790
- * @public
9791
- */
9792
- export interface DateTimeCondition {
9793
- /**
9794
- * <p>A name of the datetime property to be searched</p>
9795
- * @public
9796
- */
9797
- FieldName?: string | undefined;
9798
- /**
9799
- * <p>A minimum value of the property.</p>
9800
- * @public
9801
- */
9802
- MinValue?: string | undefined;
9803
- /**
9804
- * <p>A maximum value of the property.</p>
9805
- * @public
9806
- */
9807
- MaxValue?: string | undefined;
9808
- /**
9809
- * <p>Datetime property comparison type.</p>
9810
- * @public
9811
- */
9812
- ComparisonType?: DateTimeComparisonType | undefined;
9813
- }
9814
- /**
9815
- * <p>A decimal search condition for Search APIs.</p>
9816
- * @public
9817
- */
9818
- export interface DecimalCondition {
9819
- /**
9820
- * <p>A name of the decimal property to be searched.</p>
9821
- * @public
9822
- */
9823
- FieldName?: string | undefined;
9824
- /**
9825
- * <p>A minimum value of the decimal property.</p>
9826
- * @public
9827
- */
9828
- MinValue?: number | undefined;
9829
- /**
9830
- * <p>A maximum value of the decimal property.</p>
9831
- * @public
9832
- */
9833
- MaxValue?: number | undefined;
9834
- /**
9835
- * <p>The type of comparison to be made when evaluating the decimal condition.</p>
9836
- * @public
9837
- */
9838
- ComparisonType?: DecimalComparisonType | undefined;
9839
- }
9840
- /**
9841
- * <p>A leaf node condition which can be used to specify a numeric condition.</p>
9842
- * <note>
9843
- * <p>The currently supported value for <code>FieldName</code> is <code>limit</code>.</p>
9844
- * </note>
9845
- * @public
9846
- */
9847
- export interface NumberCondition {
9848
- /**
9849
- * <p>The name of the field in the number condition.</p>
9850
- * @public
9851
- */
9852
- FieldName?: string | undefined;
9853
- /**
9854
- * <p>The minValue to be used while evaluating the number condition.</p>
9855
- * @public
9856
- */
9857
- MinValue?: number | undefined;
9858
- /**
9859
- * <p>The maxValue to be used while evaluating the number condition.</p>
9860
- * @public
9861
- */
9862
- MaxValue?: number | undefined;
9863
- /**
9864
- * <p>The type of comparison to be made when evaluating the number condition.</p>
9865
- * @public
9866
- */
9867
- ComparisonType?: NumberComparisonType | undefined;
9868
- }