@aws-sdk/client-connect 3.328.0 → 3.332.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/README.md CHANGED
@@ -2,9 +2,6 @@
2
2
 
3
3
  # @aws-sdk/client-connect
4
4
 
5
- [![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-connect/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-connect)
6
- [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-connect.svg)](https://www.npmjs.com/package/@aws-sdk/client-connect)
7
-
8
5
  ## Description
9
6
 
10
7
  AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native.
@@ -20,9 +20,10 @@ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormR
20
20
  }
21
21
  /**
22
22
  * @public
23
- * <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define
24
- * questions related to agent performance, and create sections to organize such questions. Question and section identifiers
25
- * cannot be duplicated within the same evaluation form.</p>
23
+ * <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be
24
+ * used to define questions related to agent performance, and create sections to organize such
25
+ * questions. Question and section identifiers cannot be duplicated within the same evaluation
26
+ * form.</p>
26
27
  * @example
27
28
  * Use a bare-bones client and the command you need to make an API call.
28
29
  * ```javascript
@@ -20,7 +20,7 @@ export interface CreateParticipantCommandOutput extends CreateParticipantRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Adds a new participant into an on-going chat contact. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
23
- * flow experiences by integrating custom participants</a>.</p>
23
+ * flow experiences by integrating custom participants</a>.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
@@ -22,8 +22,8 @@ export interface DeleteEvaluationFormCommandOutput extends __MetadataBearer {
22
22
  * <p>Deletes an evaluation form in the specified Amazon Connect instance. </p>
23
23
  * <ul>
24
24
  * <li>
25
- * <p>If the version
26
- * property is provided, only the specified version of the evaluation form is deleted.</p>
25
+ * <p>If the version property is provided, only the specified version of the evaluation form is
26
+ * deleted.</p>
27
27
  * </li>
28
28
  * <li>
29
29
  * <p>If no version is provided, then the full form (all versions) is deleted.</p>
@@ -24,7 +24,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
24
24
  * <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
25
25
  * version of this API. It has new metrics, offers filtering at a metric level, and offers the
26
26
  * ability to filter and group data by channels, queues, routing profiles, agents, and agent
27
- * hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
27
+ * hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour
28
28
  * intervals.</p>
29
29
  * <p>For a description of the historical metrics that are supported by
30
30
  * <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
@@ -20,9 +20,10 @@ export interface UpdateEvaluationFormCommandOutput extends UpdateEvaluationFormR
20
20
  /**
21
21
  * @public
22
22
  * <p>Updates details about a specific evaluation form version in the specified Amazon Connect
23
- * instance. Question and section
24
- * identifiers cannot be duplicated within the same evaluation form.</p>
25
- * <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>
23
+ * instance. Question and section identifiers cannot be duplicated within the same evaluation
24
+ * form.</p>
25
+ * <p>This operation does not support partial updates. Instead it does a full update of evaluation
26
+ * form content.</p>
26
27
  * @example
27
28
  * Use a bare-bones client and the command you need to make an API call.
28
29
  * ```javascript
@@ -22,6 +22,10 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
22
22
  * <p>Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to
23
23
  * another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.</p>
24
24
  * <important>
25
+ * <p>After using this API, you must verify that the phone number is attached to the correct flow
26
+ * in the target instance or traffic distribution group. You need to do this because the API switches
27
+ * only the phone number to a new instance or traffic distribution group. It doesn't migrate the
28
+ * flow configuration of the phone number, too.</p>
25
29
  * <p>You can call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API
26
30
  * to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html">UpdatePhoneNumber</a>
27
31
  * operation.</p>
@@ -50,8 +50,8 @@ export interface ActivateEvaluationFormRequest {
50
50
  */
51
51
  EvaluationFormId: string | undefined;
52
52
  /**
53
- * <p>The version of the evaluation form to activate. If the version property is not provided, the latest version of the
54
- * evaluation form is activated.</p>
53
+ * <p>The version of the evaluation form to activate. If the version property is not provided, the
54
+ * latest version of the evaluation form is activated.</p>
55
55
  */
56
56
  EvaluationFormVersion: number | undefined;
57
57
  }
@@ -1260,10 +1260,10 @@ export interface SingleSelectQuestionRuleCategoryAutomation {
1260
1260
  */
1261
1261
  Category: string | undefined;
1262
1262
  /**
1263
- * <p>The condition to apply for the automation option. If the condition is <code>PRESENT</code>, then the
1264
- * option is applied when the contact data includes the category. Similarly, if the condition is
1265
- * <code>NOT_PRESENT</code>, then the option is applied when the contact data does not include the
1266
- * category.</p>
1263
+ * <p>The condition to apply for the automation option. If the condition is <code>PRESENT</code>,
1264
+ * then the option is applied when the contact data includes the category. Similarly, if the
1265
+ * condition is <code>NOT_PRESENT</code>, then the option is applied when the contact data does not
1266
+ * include the category.</p>
1267
1267
  */
1268
1268
  Condition: SingleSelectQuestionRuleCategoryAutomationCondition | string | undefined;
1269
1269
  /**
@@ -1795,8 +1795,8 @@ export interface ParticipantTokenCredentials {
1795
1795
  */
1796
1796
  export interface CreateParticipantResponse {
1797
1797
  /**
1798
- * <p>The token used by the chat participant to call <code>CreateParticipantConnection</code>. The participant
1799
- * token is valid for the lifetime of a chat participant.</p>
1798
+ * <p>The token used by the chat participant to call <code>CreateParticipantConnection</code>. The
1799
+ * participant token is valid for the lifetime of a chat participant.</p>
1800
1800
  */
1801
1801
  ParticipantCredentials?: ParticipantTokenCredentials;
1802
1802
  /**
@@ -617,7 +617,8 @@ export interface MetricFilterV2 {
617
617
  * <p>The key to use for filtering data. </p>
618
618
  * <p>Valid metric filter keys: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code>.
619
619
  * These are the same values as the <code>InitiationMethod</code> and <code>DisconnectReason</code>
620
- * in the contact record. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
620
+ * in the contact record. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> in the <i>Amazon Connect Administrator's
621
+ * Guide</i>. </p>
621
622
  */
622
623
  MetricFilterKey?: string;
623
624
  /**
@@ -656,6 +657,9 @@ export interface ThresholdV2 {
656
657
  export interface MetricV2 {
657
658
  /**
658
659
  * <p>The name of the metric.</p>
660
+ * <important>
661
+ * <p>This parameter is required. The following Required = No is incorrect.</p>
662
+ * </important>
659
663
  */
660
664
  Name?: string;
661
665
  /**
@@ -680,7 +684,7 @@ export interface GetMetricDataV2Request {
680
684
  * <p>The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the
681
685
  * retrieval of historical metrics data. The time must be before the end time timestamp. The time
682
686
  * range between the start and end time must be less than 24 hours. The start time cannot be earlier
683
- * than 14 days before the time of the request. Historical metrics are available for 14 days.</p>
687
+ * than 35 days before the time of the request. Historical metrics are available for 35 days.</p>
684
688
  */
685
689
  StartTime: Date | undefined;
686
690
  /**
@@ -3239,8 +3243,8 @@ export interface ListUsersResponse {
3239
3243
  */
3240
3244
  export interface MonitorContactRequest {
3241
3245
  /**
3242
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the
3243
- * instance.</p>
3246
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
3247
+ * the instance.</p>
3244
3248
  */
3245
3249
  InstanceId: string | undefined;
3246
3250
  /**
@@ -4034,8 +4038,8 @@ export interface StartChatContactRequest {
4034
4038
  */
4035
4039
  PersistentChat?: PersistentChat;
4036
4040
  /**
4037
- * <p>The unique identifier for an Amazon Connect contact. This identifier is related to the chat
4038
- * starting.</p>
4041
+ * <p>The unique identifier for an Amazon Connect contact. This identifier is related to the
4042
+ * chat starting.</p>
4039
4043
  * <note>
4040
4044
  * <p>You cannot provide data for both RelatedContactId and PersistentChat. </p>
4041
4045
  * </note>
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.328.0",
4
+ "version": "3.332.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.328.0",
25
- "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.328.0",
27
- "@aws-sdk/fetch-http-handler": "3.310.0",
28
- "@aws-sdk/hash-node": "3.310.0",
29
- "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.325.0",
31
- "@aws-sdk/middleware-endpoint": "3.325.0",
32
- "@aws-sdk/middleware-host-header": "3.325.0",
33
- "@aws-sdk/middleware-logger": "3.325.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
- "@aws-sdk/middleware-retry": "3.327.0",
36
- "@aws-sdk/middleware-serde": "3.325.0",
37
- "@aws-sdk/middleware-signing": "3.325.0",
38
- "@aws-sdk/middleware-stack": "3.325.0",
39
- "@aws-sdk/middleware-user-agent": "3.327.0",
40
- "@aws-sdk/node-config-provider": "3.310.0",
41
- "@aws-sdk/node-http-handler": "3.328.0",
42
- "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.325.0",
44
- "@aws-sdk/types": "3.310.0",
45
- "@aws-sdk/url-parser": "3.310.0",
24
+ "@aws-sdk/client-sts": "3.332.0",
25
+ "@aws-sdk/config-resolver": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.332.0",
27
+ "@aws-sdk/fetch-http-handler": "3.329.0",
28
+ "@aws-sdk/hash-node": "3.329.0",
29
+ "@aws-sdk/invalid-dependency": "3.329.0",
30
+ "@aws-sdk/middleware-content-length": "3.329.0",
31
+ "@aws-sdk/middleware-endpoint": "3.329.0",
32
+ "@aws-sdk/middleware-host-header": "3.329.0",
33
+ "@aws-sdk/middleware-logger": "3.329.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.329.0",
35
+ "@aws-sdk/middleware-retry": "3.329.0",
36
+ "@aws-sdk/middleware-serde": "3.329.0",
37
+ "@aws-sdk/middleware-signing": "3.329.0",
38
+ "@aws-sdk/middleware-stack": "3.329.0",
39
+ "@aws-sdk/middleware-user-agent": "3.332.0",
40
+ "@aws-sdk/node-config-provider": "3.329.0",
41
+ "@aws-sdk/node-http-handler": "3.329.0",
42
+ "@aws-sdk/protocol-http": "3.329.0",
43
+ "@aws-sdk/smithy-client": "3.329.0",
44
+ "@aws-sdk/types": "3.329.0",
45
+ "@aws-sdk/url-parser": "3.329.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
- "@aws-sdk/util-endpoints": "3.327.0",
52
- "@aws-sdk/util-retry": "3.327.0",
53
- "@aws-sdk/util-user-agent-browser": "3.310.0",
54
- "@aws-sdk/util-user-agent-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
+ "@aws-sdk/util-endpoints": "3.332.0",
52
+ "@aws-sdk/util-retry": "3.329.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.329.0",
54
+ "@aws-sdk/util-user-agent-node": "3.329.0",
55
55
  "@aws-sdk/util-utf8": "3.310.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"