@aws-sdk/client-connect 3.606.0 → 3.607.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
@@ -1412,10 +1412,6 @@ var EvaluationAnswerData;
1412
1412
  return visitor._(value.$unknown[0], value.$unknown[1]);
1413
1413
  }, "visit");
1414
1414
  })(EvaluationAnswerData || (EvaluationAnswerData = {}));
1415
- var EvaluationStatus = {
1416
- DRAFT: "DRAFT",
1417
- SUBMITTED: "SUBMITTED"
1418
- };
1419
1415
  var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1420
1416
  ...obj,
1421
1417
  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
@@ -1462,6 +1458,10 @@ var CreateViewVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1462
1458
 
1463
1459
  // src/models/models_1.ts
1464
1460
 
1461
+ var EvaluationStatus = {
1462
+ DRAFT: "DRAFT",
1463
+ SUBMITTED: "SUBMITTED"
1464
+ };
1465
1465
  var _ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {
1466
1466
  /**
1467
1467
  * @internal
@@ -10314,6 +10314,7 @@ var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {
10314
10314
  var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {
10315
10315
  return (0, import_smithy_client.take)(output, {
10316
10316
  ComparisonOperator: import_smithy_client.expectString,
10317
+ MatchCriteria: import_smithy_client._json,
10317
10318
  Name: import_smithy_client.expectString,
10318
10319
  ProficiencyLevel: import_smithy_client.limitedParseFloat32,
10319
10320
  Value: import_smithy_client.expectString
@@ -16350,7 +16351,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16350
16351
  AnsweringMachineDetectionStatus,
16351
16352
  RoutingCriteriaStepStatus,
16352
16353
  EvaluationAnswerData,
16353
- EvaluationStatus,
16354
16354
  CreateInstanceRequestFilterSensitiveLog,
16355
16355
  UserIdentityInfoFilterSensitiveLog,
16356
16356
  CreateUserRequestFilterSensitiveLog,
@@ -16360,6 +16360,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
16360
16360
  ViewFilterSensitiveLog,
16361
16361
  CreateViewResponseFilterSensitiveLog,
16362
16362
  CreateViewVersionResponseFilterSensitiveLog,
16363
+ EvaluationStatus,
16363
16364
  ContactFlowNotPublishedException,
16364
16365
  ContactFlowState,
16365
16366
  ContactFlowModuleState,
@@ -638,10 +638,6 @@ export var EvaluationAnswerData;
638
638
  return visitor._(value.$unknown[0], value.$unknown[1]);
639
639
  };
640
640
  })(EvaluationAnswerData || (EvaluationAnswerData = {}));
641
- export const EvaluationStatus = {
642
- DRAFT: "DRAFT",
643
- SUBMITTED: "SUBMITTED",
644
- };
645
641
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
646
642
  ...obj,
647
643
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,6 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
4
+ export const EvaluationStatus = {
5
+ DRAFT: "DRAFT",
6
+ SUBMITTED: "SUBMITTED",
7
+ };
4
8
  export class ContactFlowNotPublishedException extends __BaseException {
5
9
  constructor(opts) {
6
10
  super({
@@ -7752,6 +7752,7 @@ const de_AgentStatusSummaryList = (output, context) => {
7752
7752
  const de_AttributeCondition = (output, context) => {
7753
7753
  return take(output, {
7754
7754
  ComparisonOperator: __expectString,
7755
+ MatchCriteria: _json,
7755
7756
  Name: __expectString,
7756
7757
  ProficiencyLevel: __limitedParseFloat32,
7757
7758
  Value: __expectString,
@@ -122,6 +122,13 @@ declare const DescribeContactCommand_base: {
122
122
  * // Name: "STRING_VALUE",
123
123
  * // Value: "STRING_VALUE",
124
124
  * // ProficiencyLevel: Number("float"),
125
+ * // MatchCriteria: { // MatchCriteria
126
+ * // AgentsCriteria: { // AgentsCriteria
127
+ * // AgentIds: [ // AgentIds
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // },
131
+ * // },
125
132
  * // ComparisonOperator: "STRING_VALUE",
126
133
  * // },
127
134
  * // AndExpression: [ // Expressions
@@ -130,6 +137,13 @@ declare const DescribeContactCommand_base: {
130
137
  * // Name: "STRING_VALUE",
131
138
  * // Value: "STRING_VALUE",
132
139
  * // ProficiencyLevel: Number("float"),
140
+ * // MatchCriteria: {
141
+ * // AgentsCriteria: {
142
+ * // AgentIds: [
143
+ * // "STRING_VALUE",
144
+ * // ],
145
+ * // },
146
+ * // },
133
147
  * // ComparisonOperator: "STRING_VALUE",
134
148
  * // },
135
149
  * // AndExpression: [
@@ -30,6 +30,22 @@ declare const ImportPhoneNumberCommand_base: {
30
30
  * <p>Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an
31
31
  * Amazon Connect instance. You can call this API only in the same Amazon Web Services Region
32
32
  * where the Amazon Connect instance was created.</p>
33
+ * <important>
34
+ * <p>Call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API
35
+ * to verify the status of a previous <code>ImportPhoneNumber</code> operation. </p>
36
+ * </important>
37
+ * <p>If you plan to claim or import numbers and then release numbers frequently, contact us for a
38
+ * service quota exception. Otherwise, it is possible you will be blocked from claiming and
39
+ * releasing any more numbers until up to 180 days past the oldest number released has expired. </p>
40
+ * <p> By default you can claim or import and then release up to 200% of your maximum number of
41
+ * active phone numbers. If you claim or import and then release phone numbers using the UI or API
42
+ * during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you
43
+ * will be blocked from claiming or importing any more numbers until 180 days past the oldest number
44
+ * released has expired. </p>
45
+ * <p>For example, if you already have 99 claimed or imported numbers and a service level quota of
46
+ * 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you
47
+ * will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers
48
+ * until you open an Amazon Web Services Support ticket. </p>
33
49
  * @example
34
50
  * Use a bare-bones client and the command you need to make an API call.
35
51
  * ```javascript
@@ -1,7 +1,8 @@
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 { ListUsersRequest, ListUsersResponse } from "../models/models_1";
4
+ import { ListUsersRequest } from "../models/models_1";
5
+ import { ListUsersResponse } from "../models/models_2";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +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 { ListViewsRequest } from "../models/models_1";
5
- import { ListViewsResponse } from "../models/models_2";
4
+ import { ListViewsRequest, ListViewsResponse } from "../models/models_2";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -46,8 +46,20 @@ declare const StartChatContactCommand_base: {
46
46
  * <p>If you use the <code>ChatDurationInMinutes</code> parameter and receive a 400 error, your
47
47
  * account may not support the ability to configure custom chat durations. For more information,
48
48
  * contact Amazon Web Services Support. </p>
49
- * <p>For more information about chat, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat.html">Chat</a> in the <i>Amazon Connect
50
- * Administrator Guide</i>.</p>
49
+ * <p>For more information about chat, see the following topics in the <i>Amazon Connect
50
+ * Administrator Guide</i>: </p>
51
+ * <ul>
52
+ * <li>
53
+ * <p>
54
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html">Concepts: Web and mobile messaging capabilities in Amazon Connect</a>
55
+ * </p>
56
+ * </li>
57
+ * <li>
58
+ * <p>
59
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>
60
+ * </p>
61
+ * </li>
62
+ * </ul>
51
63
  * @example
52
64
  * Use a bare-bones client and the command you need to make an API call.
53
65
  * ```javascript
@@ -30,6 +30,20 @@ declare const StartContactStreamingCommand_base: {
30
30
  * <p> Initiates real-time message streaming for a new chat contact.</p>
31
31
  * <p> For more information about message streaming, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html">Enable real-time chat message
32
32
  * streaming</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
33
+ * <p>For more information about chat, see the following topics in the <i>Amazon Connect
34
+ * Administrator Guide</i>: </p>
35
+ * <ul>
36
+ * <li>
37
+ * <p>
38
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html">Concepts: Web and mobile messaging capabilities in Amazon Connect</a>
39
+ * </p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat">Amazon Connect Chat security best practices</a>
44
+ * </p>
45
+ * </li>
46
+ * </ul>
33
47
  * @example
34
48
  * Use a bare-bones client and the command you need to make an API call.
35
49
  * ```javascript
@@ -403,7 +403,8 @@ export interface DeviceInfo {
403
403
  OperatingSystem?: string;
404
404
  }
405
405
  /**
406
- * <p>Information about the agent hierarchy. Hierarchies can be configured with up to five levels.</p>
406
+ * <p>Information about the agent hierarchy. Hierarchies can be configured with up to five
407
+ * levels.</p>
407
408
  * @public
408
409
  */
409
410
  export interface HierarchyGroups {
@@ -481,8 +482,10 @@ export interface AudioQualityMetricsInfo {
481
482
  */
482
483
  QualityScore?: number;
483
484
  /**
484
- * <p>List of potential issues causing degradation of quality on a media connection. If the service did not detect any potential quality issues the list is empty.</p>
485
- * <p>Valid values: <code>HighPacketLoss</code> | <code>HighRoundTripTime</code> | <code>HighJitterBuffer</code>
485
+ * <p>List of potential issues causing degradation of quality on a media connection. If the
486
+ * service did not detect any potential quality issues the list is empty.</p>
487
+ * <p>Valid values: <code>HighPacketLoss</code> | <code>HighRoundTripTime</code> |
488
+ * <code>HighJitterBuffer</code>
486
489
  * </p>
487
490
  * @public
488
491
  */
@@ -499,6 +502,19 @@ export interface AgentQualityMetrics {
499
502
  */
500
503
  Audio?: AudioQualityMetricsInfo;
501
504
  }
505
+ /**
506
+ * <p>Can be used to define a list of preferred agents to target the contact within the queue.
507
+ * Note that agents must have the queue in their routing profile in order to be offered the
508
+ * contact.</p>
509
+ * @public
510
+ */
511
+ export interface AgentsCriteria {
512
+ /**
513
+ * <p>An object to specify a list of agents, by Agent ID.</p>
514
+ * @public
515
+ */
516
+ AgentIds?: string[];
517
+ }
502
518
  /**
503
519
  * @public
504
520
  * @enum
@@ -3725,7 +3741,7 @@ export interface FieldValueUnion {
3725
3741
  */
3726
3742
  BooleanValue?: boolean;
3727
3743
  /**
3728
- * <p>a Double number value type.</p>
3744
+ * <p>A Double number value type.</p>
3729
3745
  * @public
3730
3746
  */
3731
3747
  DoubleValue?: number;
@@ -5753,7 +5769,8 @@ export interface Customer {
5753
5769
  */
5754
5770
  export interface CustomerVoiceActivity {
5755
5771
  /**
5756
- * <p>Timestamp that measures the beginning of the customer greeting from an outbound voice call.</p>
5772
+ * <p>Timestamp that measures the beginning of the customer greeting from an outbound voice
5773
+ * call.</p>
5757
5774
  * @public
5758
5775
  */
5759
5776
  GreetingStartTimestamp?: Date;
@@ -5769,7 +5786,8 @@ export interface CustomerVoiceActivity {
5769
5786
  */
5770
5787
  export interface DisconnectDetails {
5771
5788
  /**
5772
- * <p>Indicates the potential disconnection issues for a call. This field is not populated if the service does not detect potential issues.</p>
5789
+ * <p>Indicates the potential disconnection issues for a call. This field is not populated if the
5790
+ * service does not detect potential issues.</p>
5773
5791
  * @public
5774
5792
  */
5775
5793
  PotentialDisconnectIssue?: string;
@@ -5833,6 +5851,17 @@ export interface Expiry {
5833
5851
  */
5834
5852
  ExpiryTimestamp?: Date;
5835
5853
  }
5854
+ /**
5855
+ * <p>An object to define <code>AgentsCriteria</code>.</p>
5856
+ * @public
5857
+ */
5858
+ export interface MatchCriteria {
5859
+ /**
5860
+ * <p>An object to define <code>AgentIds</code>.</p>
5861
+ * @public
5862
+ */
5863
+ AgentsCriteria?: AgentsCriteria;
5864
+ }
5836
5865
  /**
5837
5866
  * <p>An object to specify the predefined attribute condition.</p>
5838
5867
  * @public
@@ -5853,6 +5882,11 @@ export interface AttributeCondition {
5853
5882
  * @public
5854
5883
  */
5855
5884
  ProficiencyLevel?: number;
5885
+ /**
5886
+ * <p>An object to define <code>AgentsCriteria</code>.</p>
5887
+ * @public
5888
+ */
5889
+ MatchCriteria?: MatchCriteria;
5856
5890
  /**
5857
5891
  * <p>The operator of the condition.</p>
5858
5892
  * @public
@@ -6049,74 +6083,6 @@ export interface EvaluationNote {
6049
6083
  */
6050
6084
  Value?: string;
6051
6085
  }
6052
- /**
6053
- * @public
6054
- * @enum
6055
- */
6056
- export declare const EvaluationStatus: {
6057
- readonly DRAFT: "DRAFT";
6058
- readonly SUBMITTED: "SUBMITTED";
6059
- };
6060
- /**
6061
- * @public
6062
- */
6063
- export type EvaluationStatus = (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
6064
- /**
6065
- * <p>Information about a contact evaluation.</p>
6066
- * @public
6067
- */
6068
- export interface Evaluation {
6069
- /**
6070
- * <p>A unique identifier for the contact evaluation.</p>
6071
- * @public
6072
- */
6073
- EvaluationId: string | undefined;
6074
- /**
6075
- * <p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>
6076
- * @public
6077
- */
6078
- EvaluationArn: string | undefined;
6079
- /**
6080
- * <p>Metadata about the contact evaluation.</p>
6081
- * @public
6082
- */
6083
- Metadata: EvaluationMetadata | undefined;
6084
- /**
6085
- * <p>A map of question identifiers to answer value.</p>
6086
- * @public
6087
- */
6088
- Answers: Record<string, EvaluationAnswerOutput> | undefined;
6089
- /**
6090
- * <p>A map of question identifiers to note value.</p>
6091
- * @public
6092
- */
6093
- Notes: Record<string, EvaluationNote> | undefined;
6094
- /**
6095
- * <p>The status of the contact evaluation.</p>
6096
- * @public
6097
- */
6098
- Status: EvaluationStatus | undefined;
6099
- /**
6100
- * <p>A map of item (section or question) identifiers to score value.</p>
6101
- * @public
6102
- */
6103
- Scores?: Record<string, EvaluationScore>;
6104
- /**
6105
- * <p>The timestamp for when the evaluation was created.</p>
6106
- * @public
6107
- */
6108
- CreatedTime: Date | undefined;
6109
- /**
6110
- * <p>The timestamp for when the evaluation was last updated.</p>
6111
- * @public
6112
- */
6113
- LastModifiedTime: Date | undefined;
6114
- /**
6115
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6116
- * @public
6117
- */
6118
- Tags?: Record<string, string>;
6119
- }
6120
6086
  /**
6121
6087
  * @internal
6122
6088
  */
@@ -1,6 +1,74 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Channel, ContactFlowStatus, ContactFlowType, ContactState, CreatedByInfo, DirectoryType, Distribution, EvaluationScore, EvaluationStatus, EventSourceName, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { ActionSummary, AgentAvailabilityTimer, AgentConfig, AgentContactReference, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, Channel, ContactFlowStatus, ContactFlowType, ContactState, CreatedByInfo, DirectoryType, Distribution, EvaluationAnswerOutput, EvaluationMetadata, EvaluationNote, EvaluationScore, EventSourceName, FileStatusType, FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, ListFlowAssociationResourceType, MediaConcurrency, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QueueReference, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfileQueueReference, RuleAction, RulePublishStatus, RuleTriggerEventSource, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const EvaluationStatus: {
9
+ readonly DRAFT: "DRAFT";
10
+ readonly SUBMITTED: "SUBMITTED";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type EvaluationStatus = (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
16
+ /**
17
+ * <p>Information about a contact evaluation.</p>
18
+ * @public
19
+ */
20
+ export interface Evaluation {
21
+ /**
22
+ * <p>A unique identifier for the contact evaluation.</p>
23
+ * @public
24
+ */
25
+ EvaluationId: string | undefined;
26
+ /**
27
+ * <p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>
28
+ * @public
29
+ */
30
+ EvaluationArn: string | undefined;
31
+ /**
32
+ * <p>Metadata about the contact evaluation.</p>
33
+ * @public
34
+ */
35
+ Metadata: EvaluationMetadata | undefined;
36
+ /**
37
+ * <p>A map of question identifiers to answer value.</p>
38
+ * @public
39
+ */
40
+ Answers: Record<string, EvaluationAnswerOutput> | undefined;
41
+ /**
42
+ * <p>A map of question identifiers to note value.</p>
43
+ * @public
44
+ */
45
+ Notes: Record<string, EvaluationNote> | undefined;
46
+ /**
47
+ * <p>The status of the contact evaluation.</p>
48
+ * @public
49
+ */
50
+ Status: EvaluationStatus | undefined;
51
+ /**
52
+ * <p>A map of item (section or question) identifiers to score value.</p>
53
+ * @public
54
+ */
55
+ Scores?: Record<string, EvaluationScore>;
56
+ /**
57
+ * <p>The timestamp for when the evaluation was created.</p>
58
+ * @public
59
+ */
60
+ CreatedTime: Date | undefined;
61
+ /**
62
+ * <p>The timestamp for when the evaluation was last updated.</p>
63
+ * @public
64
+ */
65
+ LastModifiedTime: Date | undefined;
66
+ /**
67
+ * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
68
+ * @public
69
+ */
70
+ Tags?: Record<string, string>;
71
+ }
4
72
  /**
5
73
  * <p>The flow has not been published.</p>
6
74
  * @public
@@ -4295,45 +4363,6 @@ export interface GetMetricDataV2Request {
4295
4363
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##cases-created-historical">Cases created</a>
4296
4364
  * </p>
4297
4365
  * </dd>
4298
- * <dt>CONTACTS_ABANDONED</dt>
4299
- * <dd>
4300
- * <p>Unit: Count</p>
4301
- * <p>Metric filter: </p>
4302
- * <ul>
4303
- * <li>
4304
- * <p>Valid values: <code>API</code>| <code>Incoming</code> | <code>Outbound</code> |
4305
- * <code>Transfer</code> | <code>Callback</code> | <code>Queue_Transfer</code>|
4306
- * <code>Disconnect</code>
4307
- * </p>
4308
- * </li>
4309
- * </ul>
4310
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,
4311
- * contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
4312
- * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical">Contact abandoned</a>
4313
- * </p>
4314
- * </dd>
4315
- * <dt>CONTACTS_ABANDONED_IN_X</dt>
4316
- * <dd>
4317
- * <p>Unit: Count</p>
4318
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype,
4319
- * Q in Connect</p>
4320
- * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4321
- * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
4322
- * "Less than"). </p>
4323
- * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical">Contacts abandoned in X seconds</a>
4324
- * </p>
4325
- * </dd>
4326
- * <dt>CONTACTS_ANSWERED_IN_X</dt>
4327
- * <dd>
4328
- * <p>Unit: Count</p>
4329
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype,
4330
- * Q in Connect</p>
4331
- * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4332
- * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
4333
- * "Less than"). </p>
4334
- * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical">Contacts answered in X seconds</a>
4335
- * </p>
4336
- * </dd>
4337
4366
  * <dt>CONTACTS_CREATED</dt>
4338
4367
  * <dd>
4339
4368
  * <p>Unit: Count</p>
@@ -4430,6 +4459,15 @@ export interface GetMetricDataV2Request {
4430
4459
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical">Contacts queued (enqueue timestamp)</a>
4431
4460
  * </p>
4432
4461
  * </dd>
4462
+ * <dt>CONTACTS_REMOVED_FROM_QUEUE_IN_X</dt>
4463
+ * <dd>
4464
+ * <p>Unit: Count</p>
4465
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect</p>
4466
+ * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4467
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
4468
+ * "Less than").</p>
4469
+ * <p>UI name: This metric is not available in Amazon Connect admin website. </p>
4470
+ * </dd>
4433
4471
  * <dt>CONTACTS_RESOLVED_IN_X</dt>
4434
4472
  * <dd>
4435
4473
  * <p>Unit: Count</p>
@@ -4531,13 +4569,15 @@ export interface GetMetricDataV2Request {
4531
4569
  * <dd>
4532
4570
  * <p>Unit: Percent</p>
4533
4571
  * <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4534
- * <p>UI name: Not available </p>
4572
+ * <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical
4573
+ * Metrics UI.</p>
4535
4574
  * </dd>
4536
4575
  * <dt>PERCENT_CONTACTS_STEP_JOINED</dt>
4537
4576
  * <dd>
4538
4577
  * <p>Unit: Percent</p>
4539
4578
  * <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4540
- * <p>UI name: Not available </p>
4579
+ * <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical
4580
+ * Metrics UI.</p>
4541
4581
  * </dd>
4542
4582
  * <dt>PERCENT_FLOWS_OUTCOME</dt>
4543
4583
  * <dd>
@@ -4608,7 +4648,7 @@ export interface GetMetricDataV2Request {
4608
4648
  * <p>Unit: Count</p>
4609
4649
  * <p>Required filter key: CASE_TEMPLATE_ARN</p>
4610
4650
  * <p>Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS</p>
4611
- * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historicall">Cases resolved</a>
4651
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historical">Cases resolved</a>
4612
4652
  * </p>
4613
4653
  * </dd>
4614
4654
  * <dt>SERVICE_LEVEL</dt>
@@ -4626,7 +4666,8 @@ export interface GetMetricDataV2Request {
4626
4666
  * <dd>
4627
4667
  * <p>Unit: Count</p>
4628
4668
  * <p>Valid groupings and filters: Queue, RoutingStepExpression</p>
4629
- * <p>UI name: Not available</p>
4669
+ * <p>UI name: This metric is available in Real-time Metrics UI but not on the Historical
4670
+ * Metrics UI.</p>
4630
4671
  * </dd>
4631
4672
  * <dt>SUM_AFTER_CONTACT_WORK_TIME</dt>
4632
4673
  * <dd>
@@ -4651,6 +4692,45 @@ export interface GetMetricDataV2Request {
4651
4692
  * metric.</p>
4652
4693
  * </note>
4653
4694
  * </dd>
4695
+ * <dt>SUM_CONTACTS_ABANDONED</dt>
4696
+ * <dd>
4697
+ * <p>Unit: Count</p>
4698
+ * <p>Metric filter: </p>
4699
+ * <ul>
4700
+ * <li>
4701
+ * <p>Valid values: <code>API</code>| <code>Incoming</code> | <code>Outbound</code> |
4702
+ * <code>Transfer</code> | <code>Callback</code> | <code>Queue_Transfer</code>|
4703
+ * <code>Disconnect</code>
4704
+ * </p>
4705
+ * </li>
4706
+ * </ul>
4707
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,
4708
+ * contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect</p>
4709
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical">Contact abandoned</a>
4710
+ * </p>
4711
+ * </dd>
4712
+ * <dt>SUM_CONTACTS_ABANDONED_IN_X</dt>
4713
+ * <dd>
4714
+ * <p>Unit: Count</p>
4715
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype,
4716
+ * Q in Connect</p>
4717
+ * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4718
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
4719
+ * "Less than"). </p>
4720
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical">Contacts abandoned in X seconds</a>
4721
+ * </p>
4722
+ * </dd>
4723
+ * <dt>SUM_CONTACTS_ANSWERED_IN_X</dt>
4724
+ * <dd>
4725
+ * <p>Unit: Count</p>
4726
+ * <p>Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype,
4727
+ * Q in Connect</p>
4728
+ * <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
4729
+ * (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
4730
+ * "Less than"). </p>
4731
+ * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical">Contacts answered in X seconds</a>
4732
+ * </p>
4733
+ * </dd>
4654
4734
  * <dt>SUM_CONTACT_FLOW_TIME</dt>
4655
4735
  * <dd>
4656
4736
  * <p>Unit: Seconds</p>
@@ -4661,7 +4741,7 @@ export interface GetMetricDataV2Request {
4661
4741
  * <dt>SUM_CONTACT_TIME_AGENT</dt>
4662
4742
  * <dd>
4663
4743
  * <p>Unit: Seconds</p>
4664
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
4744
+ * <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4665
4745
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-on-contact-time-historical">Agent on contact time</a>
4666
4746
  * </p>
4667
4747
  * </dd>
@@ -4678,7 +4758,7 @@ export interface GetMetricDataV2Request {
4678
4758
  * <dt>SUM_ERROR_STATUS_TIME_AGENT</dt>
4679
4759
  * <dd>
4680
4760
  * <p>Unit: Seconds</p>
4681
- * <p>Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy</p>
4761
+ * <p>Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy</p>
4682
4762
  * <p>UI name: <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#error-status-time-historical">Error status time</a>
4683
4763
  * </p>
4684
4764
  * </dd>
@@ -8576,48 +8656,6 @@ export interface UserSummary {
8576
8656
  */
8577
8657
  LastModifiedRegion?: string;
8578
8658
  }
8579
- /**
8580
- * @public
8581
- */
8582
- export interface ListUsersResponse {
8583
- /**
8584
- * <p>Information about the users.</p>
8585
- * @public
8586
- */
8587
- UserSummaryList?: UserSummary[];
8588
- /**
8589
- * <p>If there are additional results, this is the token for the next set of results.</p>
8590
- * @public
8591
- */
8592
- NextToken?: string;
8593
- }
8594
- /**
8595
- * @public
8596
- */
8597
- export interface ListViewsRequest {
8598
- /**
8599
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
8600
- * the instance.</p>
8601
- * @public
8602
- */
8603
- InstanceId: string | undefined;
8604
- /**
8605
- * <p>The type of the view.</p>
8606
- * @public
8607
- */
8608
- Type?: ViewType;
8609
- /**
8610
- * <p>The token for the next set of results. Use the value returned in the previous response in
8611
- * the next request to retrieve the next set of results.</p>
8612
- * @public
8613
- */
8614
- NextToken?: string;
8615
- /**
8616
- * <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
8617
- * @public
8618
- */
8619
- MaxResults?: number;
8620
- }
8621
8659
  /**
8622
8660
  * @internal
8623
8661
  */
@@ -1,7 +1,49 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, AttributeCondition, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationNote, Expiry, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingCriteriaStepStatus, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SegmentAttributeValue, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState, WisdomInfo } from "./models_0";
4
- import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationFormVersionStatus, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingProfile, SignInConfig, SortOrder, TelephonyConfig } from "./models_1";
3
+ import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, AttributeCondition, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationNote, Expiry, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingCriteriaStepStatus, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SegmentAttributeValue, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState, WisdomInfo } from "./models_0";
4
+ import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationFormVersionStatus, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingProfile, SignInConfig, SortOrder, TelephonyConfig, UserSummary } from "./models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface ListUsersResponse {
9
+ /**
10
+ * <p>Information about the users.</p>
11
+ * @public
12
+ */
13
+ UserSummaryList?: UserSummary[];
14
+ /**
15
+ * <p>If there are additional results, this is the token for the next set of results.</p>
16
+ * @public
17
+ */
18
+ NextToken?: string;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface ListViewsRequest {
24
+ /**
25
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
26
+ * the instance.</p>
27
+ * @public
28
+ */
29
+ InstanceId: string | undefined;
30
+ /**
31
+ * <p>The type of the view.</p>
32
+ * @public
33
+ */
34
+ Type?: ViewType;
35
+ /**
36
+ * <p>The token for the next set of results. Use the value returned in the previous response in
37
+ * the next request to retrieve the next set of results.</p>
38
+ * @public
39
+ */
40
+ NextToken?: string;
41
+ /**
42
+ * <p>The maximum number of results to return per page. The default MaxResult size is 100.</p>
43
+ * @public
44
+ */
45
+ MaxResults?: number;
46
+ }
5
47
  /**
6
48
  * <p>A summary of a view's metadata.</p>
7
49
  * @public
@@ -761,7 +803,7 @@ export interface SearchCriteria {
761
803
  QueueIds?: string[];
762
804
  /**
763
805
  * <p>The search criteria based on user-defined contact attributes that have been configured for
764
- * contact search. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html">Search by customer contact
806
+ * contact search. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html">Search by custom contact
765
807
  * attributes</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
766
808
  * <important>
767
809
  * <p>To use <code>SearchableContactAttributes</code> in a search request, the
@@ -789,7 +831,7 @@ export declare const SortableFieldName: {
789
831
  */
790
832
  export type SortableFieldName = (typeof SortableFieldName)[keyof typeof SortableFieldName];
791
833
  /**
792
- * <p>A structure that defineds the field name to sort by and a sort order.</p>
834
+ * <p>A structure that defines the field name to sort by and a sort order.</p>
793
835
  * @public
794
836
  */
795
837
  export interface Sort {
@@ -5255,7 +5297,8 @@ export interface RoutingProfileSearchCriteria {
5255
5297
  * <p>A leaf node condition which can be used to specify a string condition.</p>
5256
5298
  * <note>
5257
5299
  * <p>The currently supported values for <code>FieldName</code> are
5258
- * <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and <code>resourceID</code>.</p>
5300
+ * <code>associatedQueueIds</code>, <code>name</code>, <code>description</code>, and
5301
+ * <code>resourceID</code>.</p>
5259
5302
  * </note>
5260
5303
  * @public
5261
5304
  */
@@ -5777,12 +5820,18 @@ export interface Step {
5777
5820
  */
5778
5821
  export interface RoutingCriteria {
5779
5822
  /**
5780
- * <p>List of routing steps. When Amazon Connect does not find an available agent meeting the requirements in a step for a given step duration, the routing criteria will move on to the next step sequentially until a join is completed with an agent. When all steps are exhausted, the contact will be offered to any agent in the queue.</p>
5823
+ * <p>List of routing steps. When Amazon Connect does not find an available agent meeting the
5824
+ * requirements in a step for a given step duration, the routing criteria will move on to the next
5825
+ * step sequentially until a join is completed with an agent. When all steps are exhausted, the
5826
+ * contact will be offered to any agent in the queue.</p>
5781
5827
  * @public
5782
5828
  */
5783
5829
  Steps?: Step[];
5784
5830
  /**
5785
- * <p>The timestamp indicating when the routing criteria is set to active. A routing criteria is activated when contact is transferred to a queue. ActivationTimestamp will be set on routing criteria for contacts in agent queue even though Routing criteria is never activated for contacts in agent queue.</p>
5831
+ * <p>The timestamp indicating when the routing criteria is set to active. A routing criteria is
5832
+ * activated when contact is transferred to a queue. ActivationTimestamp will be set on routing
5833
+ * criteria for contacts in agent queue even though Routing criteria is never activated for contacts
5834
+ * in agent queue.</p>
5786
5835
  * @public
5787
5836
  */
5788
5837
  ActivationTimestamp?: Date;
@@ -5947,7 +5996,8 @@ export interface Contact {
5947
5996
  */
5948
5997
  Campaign?: Campaign;
5949
5998
  /**
5950
- * <p>Indicates how an <a href="https://docs.aws.amazon.com/connect/latest/adminguide/how-to-create-campaigns.html">outbound campaign</a> call is actually disposed if the contact is connected to Amazon Connect.</p>
5999
+ * <p>Indicates how an <a href="https://docs.aws.amazon.com/connect/latest/adminguide/how-to-create-campaigns.html">outbound campaign</a> call is
6000
+ * actually disposed if the contact is connected to Amazon Connect.</p>
5951
6001
  * @public
5952
6002
  */
5953
6003
  AnsweringMachineDetectionStatus?: AnsweringMachineDetectionStatus;
@@ -5967,7 +6017,11 @@ export interface Contact {
5967
6017
  */
5968
6018
  DisconnectDetails?: DisconnectDetails;
5969
6019
  /**
5970
- * <p>A set of system defined key-value pairs stored on individual contact segments using an attribute map. The attributes are standard Amazon Connect attributes and can be accessed in flows. Attribute keys can include only alphanumeric, -, and _ characters. This field can be used to show channel subtype. For example, <code>connect:Guide</code> or <code>connect:SMS</code>.</p>
6020
+ * <p>A set of system defined key-value pairs stored on individual contact segments using an
6021
+ * attribute map. The attributes are standard Amazon Connect attributes and can be accessed in
6022
+ * flows. Attribute keys can include only alphanumeric, -, and _ characters. This field can be used
6023
+ * to show channel subtype. For example, <code>connect:Guide</code> or
6024
+ * <code>connect:SMS</code>.</p>
5971
6025
  * @public
5972
6026
  */
5973
6027
  SegmentAttributes?: Record<string, SegmentAttributeValue>;
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { ListUsersRequest, ListUsersResponse } from "../models/models_1";
8
+ import { ListUsersRequest } from "../models/models_1";
9
+ import { ListUsersResponse } from "../models/models_2";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface ListUsersCommandInput extends ListUsersRequest {}
@@ -5,8 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { ListViewsRequest } from "../models/models_1";
9
- import { ListViewsResponse } from "../models/models_2";
8
+ import { ListViewsRequest, ListViewsResponse } from "../models/models_2";
10
9
  export { __MetadataBearer };
11
10
  export { $Command };
12
11
  export interface ListViewsCommandInput extends ListViewsRequest {}
@@ -174,6 +174,9 @@ export interface AudioQualityMetricsInfo {
174
174
  export interface AgentQualityMetrics {
175
175
  Audio?: AudioQualityMetricsInfo;
176
176
  }
177
+ export interface AgentsCriteria {
178
+ AgentIds?: string[];
179
+ }
177
180
  export declare const AgentStatusState: {
178
181
  readonly DISABLED: "DISABLED";
179
182
  readonly ENABLED: "ENABLED";
@@ -1733,10 +1736,14 @@ export interface Expiry {
1733
1736
  DurationInSeconds?: number;
1734
1737
  ExpiryTimestamp?: Date;
1735
1738
  }
1739
+ export interface MatchCriteria {
1740
+ AgentsCriteria?: AgentsCriteria;
1741
+ }
1736
1742
  export interface AttributeCondition {
1737
1743
  Name?: string;
1738
1744
  Value?: string;
1739
1745
  ProficiencyLevel?: number;
1746
+ MatchCriteria?: MatchCriteria;
1740
1747
  ComparisonOperator?: string;
1741
1748
  }
1742
1749
  export declare const RoutingCriteriaStepStatus: {
@@ -1813,24 +1820,6 @@ export interface EvaluationMetadata {
1813
1820
  export interface EvaluationNote {
1814
1821
  Value?: string;
1815
1822
  }
1816
- export declare const EvaluationStatus: {
1817
- readonly DRAFT: "DRAFT";
1818
- readonly SUBMITTED: "SUBMITTED";
1819
- };
1820
- export type EvaluationStatus =
1821
- (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
1822
- export interface Evaluation {
1823
- EvaluationId: string | undefined;
1824
- EvaluationArn: string | undefined;
1825
- Metadata: EvaluationMetadata | undefined;
1826
- Answers: Record<string, EvaluationAnswerOutput> | undefined;
1827
- Notes: Record<string, EvaluationNote> | undefined;
1828
- Status: EvaluationStatus | undefined;
1829
- Scores?: Record<string, EvaluationScore>;
1830
- CreatedTime: Date | undefined;
1831
- LastModifiedTime: Date | undefined;
1832
- Tags?: Record<string, string>;
1833
- }
1834
1823
  export declare const CreateInstanceRequestFilterSensitiveLog: (
1835
1824
  obj: CreateInstanceRequest
1836
1825
  ) => any;
@@ -17,8 +17,10 @@ import {
17
17
  CreatedByInfo,
18
18
  DirectoryType,
19
19
  Distribution,
20
+ EvaluationAnswerOutput,
21
+ EvaluationMetadata,
22
+ EvaluationNote,
20
23
  EvaluationScore,
21
- EvaluationStatus,
22
24
  EventSourceName,
23
25
  FileStatusType,
24
26
  FileUseCaseType,
@@ -53,10 +55,27 @@ import {
53
55
  UserPhoneConfig,
54
56
  UserProficiency,
55
57
  View,
56
- ViewType,
57
58
  VocabularyLanguageCode,
58
59
  VocabularyState,
59
60
  } from "./models_0";
61
+ export declare const EvaluationStatus: {
62
+ readonly DRAFT: "DRAFT";
63
+ readonly SUBMITTED: "SUBMITTED";
64
+ };
65
+ export type EvaluationStatus =
66
+ (typeof EvaluationStatus)[keyof typeof EvaluationStatus];
67
+ export interface Evaluation {
68
+ EvaluationId: string | undefined;
69
+ EvaluationArn: string | undefined;
70
+ Metadata: EvaluationMetadata | undefined;
71
+ Answers: Record<string, EvaluationAnswerOutput> | undefined;
72
+ Notes: Record<string, EvaluationNote> | undefined;
73
+ Status: EvaluationStatus | undefined;
74
+ Scores?: Record<string, EvaluationScore>;
75
+ CreatedTime: Date | undefined;
76
+ LastModifiedTime: Date | undefined;
77
+ Tags?: Record<string, string>;
78
+ }
60
79
  export declare class ContactFlowNotPublishedException extends __BaseException {
61
80
  readonly name: "ContactFlowNotPublishedException";
62
81
  readonly $fault: "client";
@@ -2162,16 +2181,6 @@ export interface UserSummary {
2162
2181
  LastModifiedTime?: Date;
2163
2182
  LastModifiedRegion?: string;
2164
2183
  }
2165
- export interface ListUsersResponse {
2166
- UserSummaryList?: UserSummary[];
2167
- NextToken?: string;
2168
- }
2169
- export interface ListViewsRequest {
2170
- InstanceId: string | undefined;
2171
- Type?: ViewType;
2172
- NextToken?: string;
2173
- MaxResults?: number;
2174
- }
2175
2184
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2176
2185
  export declare const DescribeInstanceResponseFilterSensitiveLog: (
2177
2186
  obj: DescribeInstanceResponse
@@ -19,7 +19,6 @@ import {
19
19
  Customer,
20
20
  CustomerVoiceActivity,
21
21
  DisconnectDetails,
22
- Evaluation,
23
22
  EvaluationAnswerData,
24
23
  EvaluationFormQuestion,
25
24
  EvaluationFormScoringStrategy,
@@ -65,6 +64,7 @@ import {
65
64
  ContactFlowModule,
66
65
  ContactFlowModuleState,
67
66
  ContactFlowState,
67
+ Evaluation,
68
68
  EvaluationFormVersionStatus,
69
69
  HoursOfOperation,
70
70
  InstanceAttributeType,
@@ -79,7 +79,18 @@ import {
79
79
  SignInConfig,
80
80
  SortOrder,
81
81
  TelephonyConfig,
82
+ UserSummary,
82
83
  } from "./models_1";
84
+ export interface ListUsersResponse {
85
+ UserSummaryList?: UserSummary[];
86
+ NextToken?: string;
87
+ }
88
+ export interface ListViewsRequest {
89
+ InstanceId: string | undefined;
90
+ Type?: ViewType;
91
+ NextToken?: string;
92
+ MaxResults?: number;
93
+ }
83
94
  export interface ViewSummary {
84
95
  Id?: string;
85
96
  Arn?: string;
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.606.0",
4
+ "version": "3.607.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",