@aws-sdk/client-connect 3.616.0 → 3.620.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.
package/dist-cjs/index.js CHANGED
@@ -301,6 +301,8 @@ __export(src_exports, {
301
301
  QueueType: () => QueueType,
302
302
  QuickConnectType: () => QuickConnectType,
303
303
  RealTimeContactAnalysisOutputType: () => RealTimeContactAnalysisOutputType,
304
+ RealTimeContactAnalysisPostContactSummaryFailureCode: () => RealTimeContactAnalysisPostContactSummaryFailureCode,
305
+ RealTimeContactAnalysisPostContactSummaryStatus: () => RealTimeContactAnalysisPostContactSummaryStatus,
304
306
  RealTimeContactAnalysisSegmentType: () => RealTimeContactAnalysisSegmentType,
305
307
  RealTimeContactAnalysisSentimentLabel: () => RealTimeContactAnalysisSentimentLabel,
306
308
  RealTimeContactAnalysisStatus: () => RealTimeContactAnalysisStatus,
@@ -1924,6 +1926,7 @@ var RealTimeContactAnalysisSegmentType = {
1924
1926
  Categories: "Categories",
1925
1927
  Event: "Event",
1926
1928
  Issues: "Issues",
1929
+ PostContactSummary: "PostContactSummary",
1927
1930
  Transcript: "Transcript"
1928
1931
  };
1929
1932
  var RealTimeContactAnalysisSupportedChannel = {
@@ -1943,6 +1946,17 @@ var RealTimeContactAnalysisTimeData;
1943
1946
  return visitor._(value.$unknown[0], value.$unknown[1]);
1944
1947
  }, "visit");
1945
1948
  })(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
1949
+ var RealTimeContactAnalysisPostContactSummaryFailureCode = {
1950
+ FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
1951
+ INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
1952
+ INTERNAL_ERROR: "INTERNAL_ERROR",
1953
+ INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
1954
+ QUOTA_EXCEEDED: "QUOTA_EXCEEDED"
1955
+ };
1956
+ var RealTimeContactAnalysisPostContactSummaryStatus = {
1957
+ COMPLETED: "COMPLETED",
1958
+ FAILED: "FAILED"
1959
+ };
1946
1960
  var RealTimeContactAnalysisSentimentLabel = {
1947
1961
  NEGATIVE: "NEGATIVE",
1948
1962
  NEUTRAL: "NEUTRAL",
@@ -1961,6 +1975,8 @@ var RealtimeContactAnalysisSegment;
1961
1975
  return visitor.Event(value.Event);
1962
1976
  if (value.Attachments !== void 0)
1963
1977
  return visitor.Attachments(value.Attachments);
1978
+ if (value.PostContactSummary !== void 0)
1979
+ return visitor.PostContactSummary(value.PostContactSummary);
1964
1980
  return visitor._(value.$unknown[0], value.$unknown[1]);
1965
1981
  }, "visit");
1966
1982
  })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
@@ -11271,6 +11287,11 @@ var de_RealtimeContactAnalysisSegment = /* @__PURE__ */ __name((output, context)
11271
11287
  Issues: (0, import_smithy_client._json)(output.Issues)
11272
11288
  };
11273
11289
  }
11290
+ if (output.PostContactSummary != null) {
11291
+ return {
11292
+ PostContactSummary: (0, import_smithy_client._json)(output.PostContactSummary)
11293
+ };
11294
+ }
11274
11295
  if (output.Transcript != null) {
11275
11296
  return {
11276
11297
  Transcript: de_RealTimeContactAnalysisSegmentTranscript(output.Transcript, context)
@@ -16741,6 +16762,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16741
16762
  RealTimeContactAnalysisSupportedChannel,
16742
16763
  ArtifactStatus,
16743
16764
  RealTimeContactAnalysisTimeData,
16765
+ RealTimeContactAnalysisPostContactSummaryFailureCode,
16766
+ RealTimeContactAnalysisPostContactSummaryStatus,
16744
16767
  RealTimeContactAnalysisSentimentLabel,
16745
16768
  RealtimeContactAnalysisSegment,
16746
16769
  RealTimeContactAnalysisStatus,
@@ -460,6 +460,7 @@ export const RealTimeContactAnalysisSegmentType = {
460
460
  Categories: "Categories",
461
461
  Event: "Event",
462
462
  Issues: "Issues",
463
+ PostContactSummary: "PostContactSummary",
463
464
  Transcript: "Transcript",
464
465
  };
465
466
  export const RealTimeContactAnalysisSupportedChannel = {
@@ -479,6 +480,17 @@ export var RealTimeContactAnalysisTimeData;
479
480
  return visitor._(value.$unknown[0], value.$unknown[1]);
480
481
  };
481
482
  })(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
483
+ export const RealTimeContactAnalysisPostContactSummaryFailureCode = {
484
+ FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
485
+ INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
486
+ INTERNAL_ERROR: "INTERNAL_ERROR",
487
+ INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",
488
+ QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
489
+ };
490
+ export const RealTimeContactAnalysisPostContactSummaryStatus = {
491
+ COMPLETED: "COMPLETED",
492
+ FAILED: "FAILED",
493
+ };
482
494
  export const RealTimeContactAnalysisSentimentLabel = {
483
495
  NEGATIVE: "NEGATIVE",
484
496
  NEUTRAL: "NEUTRAL",
@@ -497,6 +509,8 @@ export var RealtimeContactAnalysisSegment;
497
509
  return visitor.Event(value.Event);
498
510
  if (value.Attachments !== undefined)
499
511
  return visitor.Attachments(value.Attachments);
512
+ if (value.PostContactSummary !== undefined)
513
+ return visitor.PostContactSummary(value.PostContactSummary);
500
514
  return visitor._(value.$unknown[0], value.$unknown[1]);
501
515
  };
502
516
  })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
@@ -8739,6 +8739,11 @@ const de_RealtimeContactAnalysisSegment = (output, context) => {
8739
8739
  Issues: _json(output.Issues),
8740
8740
  };
8741
8741
  }
8742
+ if (output.PostContactSummary != null) {
8743
+ return {
8744
+ PostContactSummary: _json(output.PostContactSummary),
8745
+ };
8746
+ }
8742
8747
  if (output.Transcript != null) {
8743
8748
  return {
8744
8749
  Transcript: de_RealTimeContactAnalysisSegmentTranscript(output.Transcript, context),
@@ -41,7 +41,7 @@ declare const ListRealtimeContactAnalysisSegmentsV2Command_base: {
41
41
  * NextToken: "STRING_VALUE",
42
42
  * OutputType: "Raw" || "Redacted", // required
43
43
  * SegmentTypes: [ // RealTimeContactAnalysisSegmentTypes // required
44
- * "Transcript" || "Categories" || "Issues" || "Event" || "Attachments",
44
+ * "Transcript" || "Categories" || "Issues" || "Event" || "Attachments" || "PostContactSummary",
45
45
  * ],
46
46
  * };
47
47
  * const command = new ListRealtimeContactAnalysisSegmentsV2Command(input);
@@ -130,6 +130,11 @@ declare const ListRealtimeContactAnalysisSegmentsV2Command_base: {
130
130
  * // AbsoluteTime: new Date("TIMESTAMP"),
131
131
  * // },
132
132
  * // },
133
+ * // PostContactSummary: { // RealTimeContactAnalysisSegmentPostContactSummary
134
+ * // Content: "STRING_VALUE",
135
+ * // Status: "FAILED" || "COMPLETED", // required
136
+ * // FailureCode: "QUOTA_EXCEEDED" || "INSUFFICIENT_CONVERSATION_CONTENT" || "FAILED_SAFETY_GUIDELINES" || "INVALID_ANALYSIS_CONFIGURATION" || "INTERNAL_ERROR",
137
+ * // },
133
138
  * // },
134
139
  * // ],
135
140
  * // NextToken: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListTrafficDistributionGroupsRequest, ListTrafficDistributionGroupsResponse } from "../models/models_1";
4
+ import { ListTrafficDistributionGroupsRequest, ListTrafficDistributionGroupsResponse } from "../models/models_2";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -4010,7 +4010,8 @@ export interface MetricFilterV2 {
4010
4010
  */
4011
4011
  export interface ThresholdV2 {
4012
4012
  /**
4013
- * <p>The type of comparison. Only "less than" (LT) comparisons are supported.</p>
4013
+ * <p>The type of comparison. Only "less than" (LT) and "greater than" (GT) comparisons are
4014
+ * supported.</p>
4014
4015
  * @public
4015
4016
  */
4016
4017
  Comparison?: string;
@@ -4131,6 +4132,9 @@ export interface GetMetricDataV2Request {
4131
4132
  * <p>Agents</p>
4132
4133
  * </li>
4133
4134
  * <li>
4135
+ * <p>Campaigns</p>
4136
+ * </li>
4137
+ * <li>
4134
4138
  * <p>Channels</p>
4135
4139
  * </li>
4136
4140
  * <li>
@@ -4151,6 +4155,8 @@ export interface GetMetricDataV2Request {
4151
4155
  * </ul>
4152
4156
  * <p>At least one filter must be passed from queues, routing profiles, agents, or user hierarchy
4153
4157
  * groups.</p>
4158
+ * <p>For metrics for outbound campaigns analytics, you can also use campaigns to satisfy at least
4159
+ * one filter requirement.</p>
4154
4160
  * <p>To filter by phone number, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-historical-metrics-report.html">Create a historical
4155
4161
  * metrics report</a> in the <i>Amazon Connect Administrator
4156
4162
  * Guide</i>.</p>
@@ -4162,15 +4168,15 @@ export interface GetMetricDataV2Request {
4162
4168
  * a single request. Valid filter keys: <code>AGENT</code> |
4163
4169
  * <code>AGENT_HIERARCHY_LEVEL_ONE</code> | <code>AGENT_HIERARCHY_LEVEL_TWO</code> |
4164
4170
  * <code>AGENT_HIERARCHY_LEVEL_THREE</code> | <code>AGENT_HIERARCHY_LEVEL_FOUR</code> |
4165
- * <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>CASE_TEMPLATE_ARN</code> |
4166
- * <code>CASE_STATUS</code> | <code>CHANNEL</code> |
4167
- * <code>contact/segmentAttributes/connect:Subtype</code> | <code>FEATURE</code> |
4168
- * <code>FLOW_TYPE</code> | <code>FLOWS_NEXT_RESOURCE_ID</code> |
4169
- * <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> | <code>FLOWS_OUTCOME_TYPE</code> |
4170
- * <code>FLOWS_RESOURCE_ID</code> | <code>INITIATION_METHOD</code> |
4171
- * <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> |
4172
- * <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> | <code>Q_CONNECT_ENABLED</code> |
4173
- * </p>
4171
+ * <code>AGENT_HIERARCHY_LEVEL_FIVE</code> | <code>ANSWERING_MACHINE_DETECTION_STATUS</code> |
4172
+ * <code>CAMPAIGN</code> | <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> |
4173
+ * <code>CHANNEL</code> | <code>contact/segmentAttributes/connect:Subtype</code> |
4174
+ * <code>DISCONNECT_REASON</code> | <code>FEATURE</code> | <code>FLOW_TYPE</code> |
4175
+ * <code>FLOWS_NEXT_RESOURCE_ID</code> | <code>FLOWS_NEXT_RESOURCE_QUEUE_ID</code> |
4176
+ * <code>FLOWS_OUTCOME_TYPE</code> | <code>FLOWS_RESOURCE_ID</code> |
4177
+ * <code>INITIATION_METHOD</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code> |
4178
+ * <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code> | <code>QUEUE</code> |
4179
+ * <code>Q_CONNECT_ENABLED</code> | </p>
4174
4180
  * </li>
4175
4181
  * <li>
4176
4182
  * <p>
@@ -4203,6 +4209,9 @@ export interface GetMetricDataV2Request {
4203
4209
  * </li>
4204
4210
  * </ul>
4205
4211
  * <p>This filter is available only for contact record-driven metrics. </p>
4212
+ * <p>
4213
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-outbound-campaigns_Campaign.html">Campaign</a> ARNs are valid <code>filterValues</code> for the <code>CAMPAIGN</code>
4214
+ * filter key.</p>
4206
4215
  * </li>
4207
4216
  * </ul>
4208
4217
  * @public
@@ -4216,12 +4225,13 @@ export interface GetMetricDataV2Request {
4216
4225
  * <p>Valid grouping keys: <code>AGENT</code> | <code>AGENT_HIERARCHY_LEVEL_ONE</code> |
4217
4226
  * <code>AGENT_HIERARCHY_LEVEL_TWO</code> | <code>AGENT_HIERARCHY_LEVEL_THREE</code> |
4218
4227
  * <code>AGENT_HIERARCHY_LEVEL_FOUR</code> | <code>AGENT_HIERARCHY_LEVEL_FIVE</code> |
4228
+ * <code>ANSWERING_MACHINE_DETECTION_STATUS</code> | <code>CAMPAIGN</code> |
4219
4229
  * <code>CASE_TEMPLATE_ARN</code> | <code>CASE_STATUS</code> | <code>CHANNEL</code> |
4220
- * <code>contact/segmentAttributes/connect:Subtype</code> | <code>FLOWS_RESOURCE_ID</code> |
4221
- * <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_TYPE</code> | <code>FLOWS_OUTCOME_TYPE</code>
4222
- * | <code>INITIATION_METHOD</code> | <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> |
4223
- * <code>RESOURCE_PUBLISHED_TIMESTAMP</code> | <code>ROUTING_PROFILE</code> |
4224
- * <code>ROUTING_STEP_EXPRESSION</code>
4230
+ * <code>contact/segmentAttributes/connect:Subtype</code> | <code>DISCONNECT_REASON</code> |
4231
+ * <code>FLOWS_RESOURCE_ID</code> | <code>FLOWS_MODULE_RESOURCE_ID</code> | <code>FLOW_TYPE</code>
4232
+ * | <code>FLOWS_OUTCOME_TYPE</code> | <code>INITIATION_METHOD</code> |
4233
+ * <code>Q_CONNECT_ENABLED</code> | <code>QUEUE</code> | <code>RESOURCE_PUBLISHED_TIMESTAMP</code>
4234
+ * | <code>ROUTING_PROFILE</code> | <code>ROUTING_STEP_EXPRESSION</code>
4225
4235
  * </p>
4226
4236
  * @public
4227
4237
  */
@@ -4385,6 +4395,15 @@ export interface GetMetricDataV2Request {
4385
4395
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-conversation-duration-historical">Average conversation duration</a>
4386
4396
  * </p>
4387
4397
  * </dd>
4398
+ * <dt>AVG_DIALS_PER_MINUTE</dt>
4399
+ * <dd>
4400
+ * <p>This metric is available only for contacts analyzed by outbound campaigns
4401
+ * analytics.</p>
4402
+ * <p>Unit: Count</p>
4403
+ * <p>Valid groupings and filters: Campaign, Agent, Queue, Routing Profile</p>
4404
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-dials-historical">Average dials per minute</a>
4405
+ * </p>
4406
+ * </dd>
4388
4407
  * <dt>AVG_FLOW_TIME</dt>
4389
4408
  * <dd>
4390
4409
  * <p>Unit: Seconds</p>
@@ -4545,12 +4564,45 @@ export interface GetMetricDataV2Request {
4545
4564
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-customer-historical">Average customer talk time</a>
4546
4565
  * </p>
4547
4566
  * </dd>
4567
+ * <dt>AVG_WAIT_TIME_AFTER_CUSTOMER_CONNECTION</dt>
4568
+ * <dd>
4569
+ * <p>This metric is available only for contacts analyzed by outbound campaigns
4570
+ * analytics.</p>
4571
+ * <p>Unit: Seconds</p>
4572
+ * <p>Valid groupings and filters: Campaign</p>
4573
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-wait-time-historical">Average wait time after customer connection</a>
4574
+ * </p>
4575
+ * </dd>
4576
+ * <dt>CAMPAIGN_CONTACTS_ABANDONED_AFTER_X</dt>
4577
+ * <dd>
4578
+ * <p>This metric is available only for contacts analyzed by outbound campaigns
4579
+ * analytics.</p>
4580
+ * <p>Unit: Count</p>
4581
+ * <p>Valid groupings and filters: Campaign, Agent </p>
4582
+ * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4583
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for
4584
+ * <i>Greater than</i>).</p>
4585
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#campaign-contacts-abandoned-historical">Campaign contacts abandoned after X</a>
4586
+ * </p>
4587
+ * </dd>
4588
+ * <dt>CAMPAIGN_CONTACTS_ABANDONED_AFTER_X_RATE</dt>
4589
+ * <dd>
4590
+ * <p>This metric is available only for contacts analyzed by outbound campaigns
4591
+ * analytics.</p>
4592
+ * <p>Unit: Percent</p>
4593
+ * <p>Valid groupings and filters: Campaign, Agent </p>
4594
+ * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4595
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>GT</code> (for
4596
+ * <i>Greater than</i>).</p>
4597
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#campaign-contacts-abandoned-rate-historical">Campaign contacts abandoned after X rate</a>
4598
+ * </p>
4599
+ * </dd>
4548
4600
  * <dt>CASES_CREATED</dt>
4549
4601
  * <dd>
4550
4602
  * <p>Unit: Count</p>
4551
4603
  * <p>Required filter key: CASE_TEMPLATE_ARN</p>
4552
4604
  * <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
4553
- * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##cases-created-historical">Cases created</a>
4605
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-created-historical">Cases created</a>
4554
4606
  * </p>
4555
4607
  * </dd>
4556
4608
  * <dt>CONTACTS_CREATED</dt>
@@ -4705,6 +4757,35 @@ export interface GetMetricDataV2Request {
4705
4757
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#current-cases-historical">Current cases</a>
4706
4758
  * </p>
4707
4759
  * </dd>
4760
+ * <dt>DELIVERY_ATTEMPTS</dt>
4761
+ * <dd>
4762
+ * <p>This metric is available only for contacts analyzed by outbound campaigns
4763
+ * analytics.</p>
4764
+ * <p>Unit: Count</p>
4765
+ * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
4766
+ * <code>DISCONNECT_REASON</code>
4767
+ * </p>
4768
+ * <p>Valid groupings and filters: Campaign, Agent, Queue, Routing Profile, Answering Machine Detection Status,
4769
+ * Disconnect Reason</p>
4770
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#delivery-attempts-historical">Delivery attempts</a>
4771
+ * </p>
4772
+ * </dd>
4773
+ * <dt>DELIVERY_ATTEMPT_DISPOSITION_RATE</dt>
4774
+ * <dd>
4775
+ * <p>This metric is available only for contacts analyzed by outbound campaigns analytics, and
4776
+ * with the answering machine detection enabled.</p>
4777
+ * <p>Unit: Percent</p>
4778
+ * <p>Valid metric filter key: <code>ANSWERING_MACHINE_DETECTION_STATUS</code>,
4779
+ * <code>DISCONNECT_REASON</code>
4780
+ * </p>
4781
+ * <p>Valid groupings and filters: Campaign, Agent, Answering Machine Detection Status, Disconnect Reason</p>
4782
+ * <note>
4783
+ * <p>Answering Machine Detection Status and Disconnect Reason are valid filters but not valid
4784
+ * groupings.</p>
4785
+ * </note>
4786
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#delivery-attempt-disposition-rate-historical">Delivery attempt disposition rate</a>
4787
+ * </p>
4788
+ * </dd>
4708
4789
  * <dt>FLOWS_OUTCOME</dt>
4709
4790
  * <dd>
4710
4791
  * <p>Unit: Count</p>
@@ -4722,6 +4803,15 @@ export interface GetMetricDataV2Request {
4722
4803
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#flows-started-historical">Flows started</a>
4723
4804
  * </p>
4724
4805
  * </dd>
4806
+ * <dt>HUMAN_ANSWERED_CALLS</dt>
4807
+ * <dd>
4808
+ * <p>This metric is available only for contacts analyzed by outbound campaigns analytics, and
4809
+ * with the answering machine detection enabled.</p>
4810
+ * <p>Unit: Count</p>
4811
+ * <p>Valid groupings and filters: Campaign, Agent</p>
4812
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#human-answered-historical">Human answered</a>
4813
+ * </p>
4814
+ * </dd>
4725
4815
  * <dt>MAX_FLOW_TIME</dt>
4726
4816
  * <dd>
4727
4817
  * <p>Unit: Seconds</p>
@@ -7422,6 +7512,7 @@ export declare const RealTimeContactAnalysisSegmentType: {
7422
7512
  readonly Categories: "Categories";
7423
7513
  readonly Event: "Event";
7424
7514
  readonly Issues: "Issues";
7515
+ readonly PostContactSummary: "PostContactSummary";
7425
7516
  readonly Transcript: "Transcript";
7426
7517
  };
7427
7518
  /**
@@ -7741,6 +7832,85 @@ export interface RealTimeContactAnalysisSegmentIssues {
7741
7832
  */
7742
7833
  IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
7743
7834
  }
7835
+ /**
7836
+ * @public
7837
+ * @enum
7838
+ */
7839
+ export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
7840
+ readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
7841
+ readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
7842
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
7843
+ readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
7844
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
7845
+ };
7846
+ /**
7847
+ * @public
7848
+ */
7849
+ export type RealTimeContactAnalysisPostContactSummaryFailureCode = (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
7850
+ /**
7851
+ * @public
7852
+ * @enum
7853
+ */
7854
+ export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
7855
+ readonly COMPLETED: "COMPLETED";
7856
+ readonly FAILED: "FAILED";
7857
+ };
7858
+ /**
7859
+ * @public
7860
+ */
7861
+ export type RealTimeContactAnalysisPostContactSummaryStatus = (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
7862
+ /**
7863
+ * <p>Information about the post-contact summary for a real-time contact segment.</p>
7864
+ * @public
7865
+ */
7866
+ export interface RealTimeContactAnalysisSegmentPostContactSummary {
7867
+ /**
7868
+ * <p>The content of the summary.</p>
7869
+ * @public
7870
+ */
7871
+ Content?: string;
7872
+ /**
7873
+ * <p>Whether the summary was successfully COMPLETED or FAILED to be generated.</p>
7874
+ * @public
7875
+ */
7876
+ Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
7877
+ /**
7878
+ * <p>If the summary failed to be generated, one of the following failure codes
7879
+ * occurs:</p>
7880
+ * <ul>
7881
+ * <li>
7882
+ * <p>
7883
+ * <code>QUOTA_EXCEEDED</code>: The number of concurrent analytics jobs reached
7884
+ * your service quota.</p>
7885
+ * </li>
7886
+ * <li>
7887
+ * <p>
7888
+ * <code>INSUFFICIENT_CONVERSATION_CONTENT</code>: The conversation needs to have
7889
+ * at least one turn from both the participants in order to generate the
7890
+ * summary.</p>
7891
+ * </li>
7892
+ * <li>
7893
+ * <p>
7894
+ * <code>FAILED_SAFETY_GUIDELINES</code>: The generated summary cannot be
7895
+ * provided because it failed to meet system safety guidelines.</p>
7896
+ * </li>
7897
+ * <li>
7898
+ * <p>
7899
+ * <code>INVALID_ANALYSIS_CONFIGURATION</code>: This code occurs when, for
7900
+ * example, you're using a
7901
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/supported-languages.html#supported-languages-contact-lens">language</a>
7902
+ * that isn't supported by generative AI-powered post-contact summaries.
7903
+ * </p>
7904
+ * </li>
7905
+ * <li>
7906
+ * <p>
7907
+ * <code>INTERNAL_ERROR</code>: Internal system error.</p>
7908
+ * </li>
7909
+ * </ul>
7910
+ * @public
7911
+ */
7912
+ FailureCode?: RealTimeContactAnalysisPostContactSummaryFailureCode;
7913
+ }
7744
7914
  /**
7745
7915
  * <p>Object describing redaction applied to the segment.</p>
7746
7916
  * @public
@@ -7823,7 +7993,7 @@ export interface RealTimeContactAnalysisSegmentTranscript {
7823
7993
  * <p>An analyzed segment for a real-time analysis session.</p>
7824
7994
  * @public
7825
7995
  */
7826
- export type RealtimeContactAnalysisSegment = RealtimeContactAnalysisSegment.AttachmentsMember | RealtimeContactAnalysisSegment.CategoriesMember | RealtimeContactAnalysisSegment.EventMember | RealtimeContactAnalysisSegment.IssuesMember | RealtimeContactAnalysisSegment.TranscriptMember | RealtimeContactAnalysisSegment.$UnknownMember;
7996
+ export type RealtimeContactAnalysisSegment = RealtimeContactAnalysisSegment.AttachmentsMember | RealtimeContactAnalysisSegment.CategoriesMember | RealtimeContactAnalysisSegment.EventMember | RealtimeContactAnalysisSegment.IssuesMember | RealtimeContactAnalysisSegment.PostContactSummaryMember | RealtimeContactAnalysisSegment.TranscriptMember | RealtimeContactAnalysisSegment.$UnknownMember;
7827
7997
  /**
7828
7998
  * @public
7829
7999
  */
@@ -7838,6 +8008,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7838
8008
  Issues?: never;
7839
8009
  Event?: never;
7840
8010
  Attachments?: never;
8011
+ PostContactSummary?: never;
7841
8012
  $unknown?: never;
7842
8013
  }
7843
8014
  /**
@@ -7850,6 +8021,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7850
8021
  Issues?: never;
7851
8022
  Event?: never;
7852
8023
  Attachments?: never;
8024
+ PostContactSummary?: never;
7853
8025
  $unknown?: never;
7854
8026
  }
7855
8027
  /**
@@ -7862,6 +8034,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7862
8034
  Issues: RealTimeContactAnalysisSegmentIssues;
7863
8035
  Event?: never;
7864
8036
  Attachments?: never;
8037
+ PostContactSummary?: never;
7865
8038
  $unknown?: never;
7866
8039
  }
7867
8040
  /**
@@ -7874,6 +8047,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7874
8047
  Issues?: never;
7875
8048
  Event: RealTimeContactAnalysisSegmentEvent;
7876
8049
  Attachments?: never;
8050
+ PostContactSummary?: never;
7877
8051
  $unknown?: never;
7878
8052
  }
7879
8053
  /**
@@ -7886,6 +8060,20 @@ export declare namespace RealtimeContactAnalysisSegment {
7886
8060
  Issues?: never;
7887
8061
  Event?: never;
7888
8062
  Attachments: RealTimeContactAnalysisSegmentAttachments;
8063
+ PostContactSummary?: never;
8064
+ $unknown?: never;
8065
+ }
8066
+ /**
8067
+ * <p>Information about the post-contact summary.</p>
8068
+ * @public
8069
+ */
8070
+ interface PostContactSummaryMember {
8071
+ Transcript?: never;
8072
+ Categories?: never;
8073
+ Issues?: never;
8074
+ Event?: never;
8075
+ Attachments?: never;
8076
+ PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary;
7889
8077
  $unknown?: never;
7890
8078
  }
7891
8079
  /**
@@ -7897,6 +8085,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7897
8085
  Issues?: never;
7898
8086
  Event?: never;
7899
8087
  Attachments?: never;
8088
+ PostContactSummary?: never;
7900
8089
  $unknown: [string, any];
7901
8090
  }
7902
8091
  interface Visitor<T> {
@@ -7905,6 +8094,7 @@ export declare namespace RealtimeContactAnalysisSegment {
7905
8094
  Issues: (value: RealTimeContactAnalysisSegmentIssues) => T;
7906
8095
  Event: (value: RealTimeContactAnalysisSegmentEvent) => T;
7907
8096
  Attachments: (value: RealTimeContactAnalysisSegmentAttachments) => T;
8097
+ PostContactSummary: (value: RealTimeContactAnalysisSegmentPostContactSummary) => T;
7908
8098
  _: (name: string, value: any) => T;
7909
8099
  }
7910
8100
  const visit: <T>(value: RealtimeContactAnalysisSegment, visitor: Visitor<T>) => T;
@@ -8562,112 +8752,6 @@ export interface ListTaskTemplatesResponse {
8562
8752
  */
8563
8753
  NextToken?: string;
8564
8754
  }
8565
- /**
8566
- * @public
8567
- */
8568
- export interface ListTrafficDistributionGroupsRequest {
8569
- /**
8570
- * <p>The maximum number of results to return per page.</p>
8571
- * @public
8572
- */
8573
- MaxResults?: number;
8574
- /**
8575
- * <p>The token for the next set of results. Use the value returned in the previous
8576
- * response in the next request to retrieve the next set of results.</p>
8577
- * @public
8578
- */
8579
- NextToken?: string;
8580
- /**
8581
- * <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>
8582
- * @public
8583
- */
8584
- InstanceId?: string;
8585
- }
8586
- /**
8587
- * <p>Information about traffic distribution groups.</p>
8588
- * @public
8589
- */
8590
- export interface TrafficDistributionGroupSummary {
8591
- /**
8592
- * <p>The identifier of the traffic distribution group.
8593
- * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
8594
- * The ARN must be provided if the call is from the replicated Region.</p>
8595
- * @public
8596
- */
8597
- Id?: string;
8598
- /**
8599
- * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
8600
- * @public
8601
- */
8602
- Arn?: string;
8603
- /**
8604
- * <p>The name of the traffic distribution group.</p>
8605
- * @public
8606
- */
8607
- Name?: string;
8608
- /**
8609
- * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
8610
- * @public
8611
- */
8612
- InstanceArn?: string;
8613
- /**
8614
- * <p>The status of the traffic distribution group. </p>
8615
- * <ul>
8616
- * <li>
8617
- * <p>
8618
- * <code>CREATION_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation is still in progress and has not yet
8619
- * completed.</p>
8620
- * </li>
8621
- * <li>
8622
- * <p>
8623
- * <code>ACTIVE</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has succeeded.</p>
8624
- * </li>
8625
- * <li>
8626
- * <p>
8627
- * <code>CREATION_FAILED</code> indicates that the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has failed.</p>
8628
- * </li>
8629
- * <li>
8630
- * <p>
8631
- * <code>PENDING_DELETION</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet
8632
- * completed.</p>
8633
- * </li>
8634
- * <li>
8635
- * <p>
8636
- * <code>DELETION_FAILED</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation has failed.</p>
8637
- * </li>
8638
- * <li>
8639
- * <p>
8640
- * <code>UPDATE_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html">UpdateTrafficDistributionGroup</a> operation is still in progress and has not yet
8641
- * completed.</p>
8642
- * </li>
8643
- * </ul>
8644
- * @public
8645
- */
8646
- Status?: TrafficDistributionGroupStatus;
8647
- /**
8648
- * <p>Whether this is the default traffic distribution group created during instance
8649
- * replication. The default traffic distribution group cannot be deleted by the
8650
- * <code>DeleteTrafficDistributionGroup</code> API. The default traffic distribution group is deleted as
8651
- * part of the process for deleting a replica.</p>
8652
- * @public
8653
- */
8654
- IsDefault?: boolean;
8655
- }
8656
- /**
8657
- * @public
8658
- */
8659
- export interface ListTrafficDistributionGroupsResponse {
8660
- /**
8661
- * <p>If there are additional results, this is the token for the next set of results.</p>
8662
- * @public
8663
- */
8664
- NextToken?: string;
8665
- /**
8666
- * <p>A list of traffic distribution groups.</p>
8667
- * @public
8668
- */
8669
- TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummary[];
8670
- }
8671
8755
  /**
8672
8756
  * @internal
8673
8757
  */
@@ -1,7 +1,113 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatus, AgentStatusSearchFilter, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, AttributeCondition, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, EvaluationFormQuestion, EvaluationFormScoringStrategy, Expiry, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
- import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingCriteriaStepStatus, RoutingProfile, SegmentAttributeValue, SignInConfig, SortOrder, TelephonyConfig, WisdomInfo } from "./models_1";
4
+ import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingCriteriaStepStatus, RoutingProfile, SegmentAttributeValue, SignInConfig, SortOrder, TelephonyConfig, TrafficDistributionGroupStatus, WisdomInfo } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListTrafficDistributionGroupsRequest {
9
+ /**
10
+ * <p>The maximum number of results to return per page.</p>
11
+ * @public
12
+ */
13
+ MaxResults?: number;
14
+ /**
15
+ * <p>The token for the next set of results. Use the value returned in the previous
16
+ * response in the next request to retrieve the next set of results.</p>
17
+ * @public
18
+ */
19
+ NextToken?: string;
20
+ /**
21
+ * <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>
22
+ * @public
23
+ */
24
+ InstanceId?: string;
25
+ }
26
+ /**
27
+ * <p>Information about traffic distribution groups.</p>
28
+ * @public
29
+ */
30
+ export interface TrafficDistributionGroupSummary {
31
+ /**
32
+ * <p>The identifier of the traffic distribution group.
33
+ * This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created.
34
+ * The ARN must be provided if the call is from the replicated Region.</p>
35
+ * @public
36
+ */
37
+ Id?: string;
38
+ /**
39
+ * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
40
+ * @public
41
+ */
42
+ Arn?: string;
43
+ /**
44
+ * <p>The name of the traffic distribution group.</p>
45
+ * @public
46
+ */
47
+ Name?: string;
48
+ /**
49
+ * <p>The Amazon Resource Name (ARN) of the traffic distribution group.</p>
50
+ * @public
51
+ */
52
+ InstanceArn?: string;
53
+ /**
54
+ * <p>The status of the traffic distribution group. </p>
55
+ * <ul>
56
+ * <li>
57
+ * <p>
58
+ * <code>CREATION_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation is still in progress and has not yet
59
+ * completed.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>
63
+ * <code>ACTIVE</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has succeeded.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>
67
+ * <code>CREATION_FAILED</code> indicates that the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html">CreateTrafficDistributionGroup</a> operation has failed.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>PENDING_DELETION</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet
72
+ * completed.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>DELETION_FAILED</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation has failed.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>UPDATE_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html">UpdateTrafficDistributionGroup</a> operation is still in progress and has not yet
81
+ * completed.</p>
82
+ * </li>
83
+ * </ul>
84
+ * @public
85
+ */
86
+ Status?: TrafficDistributionGroupStatus;
87
+ /**
88
+ * <p>Whether this is the default traffic distribution group created during instance
89
+ * replication. The default traffic distribution group cannot be deleted by the
90
+ * <code>DeleteTrafficDistributionGroup</code> API. The default traffic distribution group is deleted as
91
+ * part of the process for deleting a replica.</p>
92
+ * @public
93
+ */
94
+ IsDefault?: boolean;
95
+ }
96
+ /**
97
+ * @public
98
+ */
99
+ export interface ListTrafficDistributionGroupsResponse {
100
+ /**
101
+ * <p>If there are additional results, this is the token for the next set of results.</p>
102
+ * @public
103
+ */
104
+ NextToken?: string;
105
+ /**
106
+ * <p>A list of traffic distribution groups.</p>
107
+ * @public
108
+ */
109
+ TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummary[];
110
+ }
5
111
  /**
6
112
  * @public
7
113
  */
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListTrafficDistributionGroupsRequest,
10
10
  ListTrafficDistributionGroupsResponse,
11
- } from "../models/models_1";
11
+ } from "../models/models_2";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListTrafficDistributionGroupsCommandInput
@@ -1841,6 +1841,7 @@ export declare const RealTimeContactAnalysisSegmentType: {
1841
1841
  readonly Categories: "Categories";
1842
1842
  readonly Event: "Event";
1843
1843
  readonly Issues: "Issues";
1844
+ readonly PostContactSummary: "PostContactSummary";
1844
1845
  readonly Transcript: "Transcript";
1845
1846
  };
1846
1847
  export type RealTimeContactAnalysisSegmentType =
@@ -1941,6 +1942,26 @@ export interface RealTimeContactAnalysisIssueDetected {
1941
1942
  export interface RealTimeContactAnalysisSegmentIssues {
1942
1943
  IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
1943
1944
  }
1945
+ export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
1946
+ readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
1947
+ readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
1948
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1949
+ readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
1950
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
1951
+ };
1952
+ export type RealTimeContactAnalysisPostContactSummaryFailureCode =
1953
+ (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
1954
+ export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
1955
+ readonly COMPLETED: "COMPLETED";
1956
+ readonly FAILED: "FAILED";
1957
+ };
1958
+ export type RealTimeContactAnalysisPostContactSummaryStatus =
1959
+ (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
1960
+ export interface RealTimeContactAnalysisSegmentPostContactSummary {
1961
+ Content?: string;
1962
+ Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
1963
+ FailureCode?: RealTimeContactAnalysisPostContactSummaryFailureCode;
1964
+ }
1944
1965
  export interface RealTimeContactAnalysisTranscriptItemRedaction {
1945
1966
  CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[];
1946
1967
  }
@@ -1967,6 +1988,7 @@ export type RealtimeContactAnalysisSegment =
1967
1988
  | RealtimeContactAnalysisSegment.CategoriesMember
1968
1989
  | RealtimeContactAnalysisSegment.EventMember
1969
1990
  | RealtimeContactAnalysisSegment.IssuesMember
1991
+ | RealtimeContactAnalysisSegment.PostContactSummaryMember
1970
1992
  | RealtimeContactAnalysisSegment.TranscriptMember
1971
1993
  | RealtimeContactAnalysisSegment.$UnknownMember;
1972
1994
  export declare namespace RealtimeContactAnalysisSegment {
@@ -1976,6 +1998,7 @@ export declare namespace RealtimeContactAnalysisSegment {
1976
1998
  Issues?: never;
1977
1999
  Event?: never;
1978
2000
  Attachments?: never;
2001
+ PostContactSummary?: never;
1979
2002
  $unknown?: never;
1980
2003
  }
1981
2004
  interface CategoriesMember {
@@ -1984,6 +2007,7 @@ export declare namespace RealtimeContactAnalysisSegment {
1984
2007
  Issues?: never;
1985
2008
  Event?: never;
1986
2009
  Attachments?: never;
2010
+ PostContactSummary?: never;
1987
2011
  $unknown?: never;
1988
2012
  }
1989
2013
  interface IssuesMember {
@@ -1992,6 +2016,7 @@ export declare namespace RealtimeContactAnalysisSegment {
1992
2016
  Issues: RealTimeContactAnalysisSegmentIssues;
1993
2017
  Event?: never;
1994
2018
  Attachments?: never;
2019
+ PostContactSummary?: never;
1995
2020
  $unknown?: never;
1996
2021
  }
1997
2022
  interface EventMember {
@@ -2000,6 +2025,7 @@ export declare namespace RealtimeContactAnalysisSegment {
2000
2025
  Issues?: never;
2001
2026
  Event: RealTimeContactAnalysisSegmentEvent;
2002
2027
  Attachments?: never;
2028
+ PostContactSummary?: never;
2003
2029
  $unknown?: never;
2004
2030
  }
2005
2031
  interface AttachmentsMember {
@@ -2008,6 +2034,16 @@ export declare namespace RealtimeContactAnalysisSegment {
2008
2034
  Issues?: never;
2009
2035
  Event?: never;
2010
2036
  Attachments: RealTimeContactAnalysisSegmentAttachments;
2037
+ PostContactSummary?: never;
2038
+ $unknown?: never;
2039
+ }
2040
+ interface PostContactSummaryMember {
2041
+ Transcript?: never;
2042
+ Categories?: never;
2043
+ Issues?: never;
2044
+ Event?: never;
2045
+ Attachments?: never;
2046
+ PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary;
2011
2047
  $unknown?: never;
2012
2048
  }
2013
2049
  interface $UnknownMember {
@@ -2016,6 +2052,7 @@ export declare namespace RealtimeContactAnalysisSegment {
2016
2052
  Issues?: never;
2017
2053
  Event?: never;
2018
2054
  Attachments?: never;
2055
+ PostContactSummary?: never;
2019
2056
  $unknown: [string, any];
2020
2057
  }
2021
2058
  interface Visitor<T> {
@@ -2024,6 +2061,9 @@ export declare namespace RealtimeContactAnalysisSegment {
2024
2061
  Issues: (value: RealTimeContactAnalysisSegmentIssues) => T;
2025
2062
  Event: (value: RealTimeContactAnalysisSegmentEvent) => T;
2026
2063
  Attachments: (value: RealTimeContactAnalysisSegmentAttachments) => T;
2064
+ PostContactSummary: (
2065
+ value: RealTimeContactAnalysisSegmentPostContactSummary
2066
+ ) => T;
2027
2067
  _: (name: string, value: any) => T;
2028
2068
  }
2029
2069
  const visit: <T>(
@@ -2189,23 +2229,6 @@ export interface ListTaskTemplatesResponse {
2189
2229
  TaskTemplates?: TaskTemplateMetadata[];
2190
2230
  NextToken?: string;
2191
2231
  }
2192
- export interface ListTrafficDistributionGroupsRequest {
2193
- MaxResults?: number;
2194
- NextToken?: string;
2195
- InstanceId?: string;
2196
- }
2197
- export interface TrafficDistributionGroupSummary {
2198
- Id?: string;
2199
- Arn?: string;
2200
- Name?: string;
2201
- InstanceArn?: string;
2202
- Status?: TrafficDistributionGroupStatus;
2203
- IsDefault?: boolean;
2204
- }
2205
- export interface ListTrafficDistributionGroupsResponse {
2206
- NextToken?: string;
2207
- TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummary[];
2208
- }
2209
2232
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2210
2233
  export declare const DescribeInstanceResponseFilterSensitiveLog: (
2211
2234
  obj: DescribeInstanceResponse
@@ -87,8 +87,26 @@ import {
87
87
  SignInConfig,
88
88
  SortOrder,
89
89
  TelephonyConfig,
90
+ TrafficDistributionGroupStatus,
90
91
  WisdomInfo,
91
92
  } from "./models_1";
93
+ export interface ListTrafficDistributionGroupsRequest {
94
+ MaxResults?: number;
95
+ NextToken?: string;
96
+ InstanceId?: string;
97
+ }
98
+ export interface TrafficDistributionGroupSummary {
99
+ Id?: string;
100
+ Arn?: string;
101
+ Name?: string;
102
+ InstanceArn?: string;
103
+ Status?: TrafficDistributionGroupStatus;
104
+ IsDefault?: boolean;
105
+ }
106
+ export interface ListTrafficDistributionGroupsResponse {
107
+ NextToken?: string;
108
+ TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummary[];
109
+ }
92
110
  export interface ListTrafficDistributionGroupUsersRequest {
93
111
  TrafficDistributionGroupId: string | undefined;
94
112
  MaxResults?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.616.0",
4
+ "version": "3.620.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.616.0",
24
- "@aws-sdk/client-sts": "3.616.0",
25
- "@aws-sdk/core": "3.616.0",
26
- "@aws-sdk/credential-provider-node": "3.616.0",
27
- "@aws-sdk/middleware-host-header": "3.616.0",
23
+ "@aws-sdk/client-sso-oidc": "3.620.0",
24
+ "@aws-sdk/client-sts": "3.620.0",
25
+ "@aws-sdk/core": "3.620.0",
26
+ "@aws-sdk/credential-provider-node": "3.620.0",
27
+ "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.616.0",
30
- "@aws-sdk/middleware-user-agent": "3.616.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
+ "@aws-sdk/middleware-user-agent": "3.620.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
33
  "@aws-sdk/util-endpoints": "3.614.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.2.7",
38
- "@smithy/fetch-http-handler": "^3.2.2",
37
+ "@smithy/core": "^2.3.0",
38
+ "@smithy/fetch-http-handler": "^3.2.3",
39
39
  "@smithy/hash-node": "^3.0.3",
40
40
  "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.4",
42
- "@smithy/middleware-endpoint": "^3.0.5",
43
- "@smithy/middleware-retry": "^3.0.10",
41
+ "@smithy/middleware-content-length": "^3.0.5",
42
+ "@smithy/middleware-endpoint": "^3.1.0",
43
+ "@smithy/middleware-retry": "^3.0.12",
44
44
  "@smithy/middleware-serde": "^3.0.3",
45
45
  "@smithy/middleware-stack": "^3.0.3",
46
46
  "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.3",
48
- "@smithy/protocol-http": "^4.0.4",
49
- "@smithy/smithy-client": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.1.4",
48
+ "@smithy/protocol-http": "^4.1.0",
49
+ "@smithy/smithy-client": "^3.1.10",
50
50
  "@smithy/types": "^3.3.0",
51
51
  "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.10",
56
- "@smithy/util-defaults-mode-node": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.12",
56
+ "@smithy/util-defaults-mode-node": "^3.0.12",
57
57
  "@smithy/util-endpoints": "^2.0.5",
58
58
  "@smithy/util-middleware": "^3.0.3",
59
59
  "@smithy/util-retry": "^3.0.3",