@aws-sdk/client-connect 3.421.0 → 3.424.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/models/models_1.js +9 -9
- package/dist-cjs/models/models_2.js +9 -1
- package/dist-cjs/protocols/Aws_restJson1.js +9 -0
- package/dist-es/models/models_1.js +8 -8
- package/dist-es/models/models_2.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +9 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/CreateViewCommand.d.ts +7 -5
- package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteViewCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/DescribeViewCommand.d.ts +4 -4
- package/dist-types/commands/GetMetricDataV2Command.d.ts +12 -2
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/ListViewVersionsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/UpdateViewContentCommand.d.ts +6 -4
- package/dist-types/models/models_0.d.ts +40 -24
- package/dist-types/models/models_1.d.ts +223 -83
- package/dist-types/models/models_2.d.ts +65 -6
- package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +22 -27
- package/dist-types/ts3.4/models/models_2.d.ts +28 -0
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.
|
|
3
|
+
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
6
|
exports.CurrentMetricName = {
|
|
@@ -81,6 +81,14 @@ exports.Statistic = {
|
|
|
81
81
|
exports.Comparison = {
|
|
82
82
|
LT: "LT",
|
|
83
83
|
};
|
|
84
|
+
exports.IntervalPeriod = {
|
|
85
|
+
DAY: "DAY",
|
|
86
|
+
FIFTEEN_MIN: "FIFTEEN_MIN",
|
|
87
|
+
HOUR: "HOUR",
|
|
88
|
+
THIRTY_MIN: "THIRTY_MIN",
|
|
89
|
+
TOTAL: "TOTAL",
|
|
90
|
+
WEEK: "WEEK",
|
|
91
|
+
};
|
|
84
92
|
exports.LexVersion = {
|
|
85
93
|
V1: "V1",
|
|
86
94
|
V2: "V2",
|
|
@@ -213,14 +221,6 @@ var ParticipantTimerValue;
|
|
|
213
221
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
222
|
};
|
|
215
223
|
})(ParticipantTimerValue = exports.ParticipantTimerValue || (exports.ParticipantTimerValue = {}));
|
|
216
|
-
var UpdateParticipantRoleConfigChannelInfo;
|
|
217
|
-
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
218
|
-
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|
|
219
|
-
if (value.Chat !== undefined)
|
|
220
|
-
return visitor.Chat(value.Chat);
|
|
221
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
222
|
-
};
|
|
223
|
-
})(UpdateParticipantRoleConfigChannelInfo = exports.UpdateParticipantRoleConfigChannelInfo || (exports.UpdateParticipantRoleConfigChannelInfo = {}));
|
|
224
224
|
const CredentialsFilterSensitiveLog = (obj) => ({
|
|
225
225
|
...obj,
|
|
226
226
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = void 0;
|
|
3
|
+
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
|
+
var UpdateParticipantRoleConfigChannelInfo;
|
|
7
|
+
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
8
|
+
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|
|
9
|
+
if (value.Chat !== undefined)
|
|
10
|
+
return visitor.Chat(value.Chat);
|
|
11
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
12
|
+
};
|
|
13
|
+
})(UpdateParticipantRoleConfigChannelInfo = exports.UpdateParticipantRoleConfigChannelInfo || (exports.UpdateParticipantRoleConfigChannelInfo = {}));
|
|
6
14
|
var EvaluationFormItem;
|
|
7
15
|
(function (EvaluationFormItem) {
|
|
8
16
|
EvaluationFormItem.visit = (value, visitor) => {
|
|
@@ -2121,6 +2121,7 @@ const se_GetMetricDataV2Command = async (input, context) => {
|
|
|
2121
2121
|
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2122
2122
|
Filters: (_) => (0, smithy_client_1._json)(_),
|
|
2123
2123
|
Groupings: (_) => (0, smithy_client_1._json)(_),
|
|
2124
|
+
Interval: (_) => (0, smithy_client_1._json)(_),
|
|
2124
2125
|
MaxResults: [],
|
|
2125
2126
|
Metrics: (_) => se_MetricsV2(_, context),
|
|
2126
2127
|
NextToken: [],
|
|
@@ -15449,6 +15450,13 @@ const de_MetricDataV2 = (output, context) => {
|
|
|
15449
15450
|
Value: smithy_client_1.limitedParseDouble,
|
|
15450
15451
|
});
|
|
15451
15452
|
};
|
|
15453
|
+
const de_MetricInterval = (output, context) => {
|
|
15454
|
+
return (0, smithy_client_1.take)(output, {
|
|
15455
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
15456
|
+
Interval: smithy_client_1.expectString,
|
|
15457
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
15458
|
+
});
|
|
15459
|
+
};
|
|
15452
15460
|
const de_MetricResultsV2 = (output, context) => {
|
|
15453
15461
|
const retVal = (output || [])
|
|
15454
15462
|
.filter((e) => e != null)
|
|
@@ -15461,6 +15469,7 @@ const de_MetricResultV2 = (output, context) => {
|
|
|
15461
15469
|
return (0, smithy_client_1.take)(output, {
|
|
15462
15470
|
Collections: (_) => de_MetricDataCollectionsV2(_, context),
|
|
15463
15471
|
Dimensions: smithy_client_1._json,
|
|
15472
|
+
MetricInterval: (_) => de_MetricInterval(_, context),
|
|
15464
15473
|
});
|
|
15465
15474
|
};
|
|
15466
15475
|
const de_MetricV2 = (output, context) => {
|
|
@@ -77,6 +77,14 @@ export const Statistic = {
|
|
|
77
77
|
export const Comparison = {
|
|
78
78
|
LT: "LT",
|
|
79
79
|
};
|
|
80
|
+
export const IntervalPeriod = {
|
|
81
|
+
DAY: "DAY",
|
|
82
|
+
FIFTEEN_MIN: "FIFTEEN_MIN",
|
|
83
|
+
HOUR: "HOUR",
|
|
84
|
+
THIRTY_MIN: "THIRTY_MIN",
|
|
85
|
+
TOTAL: "TOTAL",
|
|
86
|
+
WEEK: "WEEK",
|
|
87
|
+
};
|
|
80
88
|
export const LexVersion = {
|
|
81
89
|
V1: "V1",
|
|
82
90
|
V2: "V2",
|
|
@@ -205,14 +213,6 @@ export var ParticipantTimerValue;
|
|
|
205
213
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
206
214
|
};
|
|
207
215
|
})(ParticipantTimerValue || (ParticipantTimerValue = {}));
|
|
208
|
-
export var UpdateParticipantRoleConfigChannelInfo;
|
|
209
|
-
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
210
|
-
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|
|
211
|
-
if (value.Chat !== undefined)
|
|
212
|
-
return visitor.Chat(value.Chat);
|
|
213
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
|
-
};
|
|
215
|
-
})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
|
|
216
216
|
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
217
217
|
...obj,
|
|
218
218
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export var UpdateParticipantRoleConfigChannelInfo;
|
|
4
|
+
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
5
|
+
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|
|
6
|
+
if (value.Chat !== undefined)
|
|
7
|
+
return visitor.Chat(value.Chat);
|
|
8
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
9
|
+
};
|
|
10
|
+
})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
|
|
3
11
|
export var EvaluationFormItem;
|
|
4
12
|
(function (EvaluationFormItem) {
|
|
5
13
|
EvaluationFormItem.visit = (value, visitor) => {
|
|
@@ -2014,6 +2014,7 @@ export const se_GetMetricDataV2Command = async (input, context) => {
|
|
|
2014
2014
|
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2015
2015
|
Filters: (_) => _json(_),
|
|
2016
2016
|
Groupings: (_) => _json(_),
|
|
2017
|
+
Interval: (_) => _json(_),
|
|
2017
2018
|
MaxResults: [],
|
|
2018
2019
|
Metrics: (_) => se_MetricsV2(_, context),
|
|
2019
2020
|
NextToken: [],
|
|
@@ -15018,6 +15019,13 @@ const de_MetricDataV2 = (output, context) => {
|
|
|
15018
15019
|
Value: __limitedParseDouble,
|
|
15019
15020
|
});
|
|
15020
15021
|
};
|
|
15022
|
+
const de_MetricInterval = (output, context) => {
|
|
15023
|
+
return take(output, {
|
|
15024
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15025
|
+
Interval: __expectString,
|
|
15026
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15027
|
+
});
|
|
15028
|
+
};
|
|
15021
15029
|
const de_MetricResultsV2 = (output, context) => {
|
|
15022
15030
|
const retVal = (output || [])
|
|
15023
15031
|
.filter((e) => e != null)
|
|
@@ -15030,6 +15038,7 @@ const de_MetricResultV2 = (output, context) => {
|
|
|
15030
15038
|
return take(output, {
|
|
15031
15039
|
Collections: (_) => de_MetricDataCollectionsV2(_, context),
|
|
15032
15040
|
Dimensions: _json,
|
|
15041
|
+
MetricInterval: (_) => de_MetricInterval(_, context),
|
|
15033
15042
|
});
|
|
15034
15043
|
};
|
|
15035
15044
|
const de_MetricV2 = (output, context) => {
|
|
@@ -23,8 +23,7 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>Creates a security profile.</p>
|
|
26
|
+
* <p>Creates a security profile.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,12 +23,14 @@ export interface CreateViewCommandOutput extends CreateViewResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a new view with the possible status of <code>SAVED</code> or
|
|
26
|
+
* <p>Creates a new view with the possible status of <code>SAVED</code> or
|
|
27
|
+
* <code>PUBLISHED</code>.</p>
|
|
27
28
|
* <p>The views will have a unique name for each connect instance.</p>
|
|
28
|
-
* <p>It performs basic content validation if the status is <code>SAVED</code> or full content
|
|
29
|
-
* is set to <code>PUBLISHED</code>. An error is returned if validation
|
|
30
|
-
* the <code>$SAVED</code> qualifier or both of the <code>$SAVED</code>
|
|
31
|
-
* provided view content based on the status. The view
|
|
29
|
+
* <p>It performs basic content validation if the status is <code>SAVED</code> or full content
|
|
30
|
+
* validation if the status is set to <code>PUBLISHED</code>. An error is returned if validation
|
|
31
|
+
* fails. It associates either the <code>$SAVED</code> qualifier or both of the <code>$SAVED</code>
|
|
32
|
+
* and <code>$LATEST</code> qualifiers with the provided view content based on the status. The view
|
|
33
|
+
* is idempotent if ClientToken is provided.</p>
|
|
32
34
|
* @example
|
|
33
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
36
|
* ```javascript
|
|
@@ -25,9 +25,9 @@ export interface CreateViewVersionCommandOutput extends CreateViewVersionRespons
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Publishes a new version of the view identifier.</p>
|
|
27
27
|
* <p>Versions are immutable and monotonically increasing.</p>
|
|
28
|
-
* <p>It returns the highest version if there is no change in content compared to that version. An
|
|
29
|
-
* is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of
|
|
30
|
-
* <code>$LATEST</code> alias.</p>
|
|
28
|
+
* <p>It returns the highest version if there is no change in content compared to that version. An
|
|
29
|
+
* error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of
|
|
30
|
+
* the <code>$LATEST</code> alias.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -23,8 +23,7 @@ export interface DeleteSecurityProfileCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>Deletes a security profile.</p>
|
|
26
|
+
* <p>Deletes a security profile.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface DeleteViewCommandOutput extends DeleteViewResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes the view entirely. It deletes the view and all associated qualifiers (versions and
|
|
26
|
+
* <p>Deletes the view entirely. It deletes the view and all associated qualifiers (versions and
|
|
27
|
+
* aliases).</p>
|
|
27
28
|
* @example
|
|
28
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
30
|
* ```javascript
|
|
@@ -23,8 +23,7 @@ export interface DescribeSecurityProfileCommandOutput extends DescribeSecurityPr
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>Gets basic information about the security profle.</p>
|
|
26
|
+
* <p>Gets basic information about the security profle.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -27,10 +27,10 @@ export interface DescribeViewCommandOutput extends DescribeViewResponse, __Metad
|
|
|
27
27
|
* <p>The view identifier can be supplied as a ViewId or ARN.</p>
|
|
28
28
|
* <p>
|
|
29
29
|
* <code>$SAVED</code> needs to be supplied if a view is unpublished.</p>
|
|
30
|
-
* <p>The view identifier can contain an optional qualifier, for example,
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>The view identifier can contain an optional qualifier, for example,
|
|
31
|
+
* <code><view-id>:$SAVED</code>, which is either an actual version number or an Amazon Connect managed qualifier <code>$SAVED | $LATEST</code>. If it is not supplied, then
|
|
32
|
+
* <code>$LATEST</code> is assumed for customer managed views and an error is returned if there is
|
|
33
|
+
* no published content available. Version 1 is assumed for Amazon Web Services managed views.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -28,8 +28,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
28
28
|
* <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
|
|
29
29
|
* version of this API. It has new metrics, offers filtering at a metric level, and offers the
|
|
30
30
|
* ability to filter and group data by channels, queues, routing profiles, agents, and agent
|
|
31
|
-
* hierarchy levels. It can retrieve historical data for the last
|
|
32
|
-
* intervals.</p>
|
|
31
|
+
* hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. </p>
|
|
33
32
|
* <p>For a description of the historical metrics that are supported by
|
|
34
33
|
* <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
|
|
35
34
|
* definitions</a> in the <i>Amazon Connect Administrator's Guide</i>.</p>
|
|
@@ -43,6 +42,10 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
43
42
|
* ResourceArn: "STRING_VALUE", // required
|
|
44
43
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
45
44
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* Interval: { // IntervalDetails
|
|
46
|
+
* TimeZone: "STRING_VALUE",
|
|
47
|
+
* IntervalPeriod: "FIFTEEN_MIN" || "THIRTY_MIN" || "HOUR" || "DAY" || "WEEK" || "TOTAL",
|
|
48
|
+
* },
|
|
46
49
|
* Filters: [ // FiltersV2List // required
|
|
47
50
|
* { // FilterV2
|
|
48
51
|
* FilterKey: "STRING_VALUE",
|
|
@@ -69,6 +72,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
69
72
|
* MetricFilterValues: [ // MetricFilterValueList
|
|
70
73
|
* "STRING_VALUE",
|
|
71
74
|
* ],
|
|
75
|
+
* Negate: true || false,
|
|
72
76
|
* },
|
|
73
77
|
* ],
|
|
74
78
|
* },
|
|
@@ -85,6 +89,11 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
85
89
|
* // Dimensions: { // DimensionsV2Map
|
|
86
90
|
* // "<keys>": "STRING_VALUE",
|
|
87
91
|
* // },
|
|
92
|
+
* // MetricInterval: { // MetricInterval
|
|
93
|
+
* // Interval: "FIFTEEN_MIN" || "THIRTY_MIN" || "HOUR" || "DAY" || "WEEK" || "TOTAL",
|
|
94
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
95
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
96
|
+
* // },
|
|
88
97
|
* // Collections: [ // MetricDataCollectionsV2
|
|
89
98
|
* // { // MetricDataV2
|
|
90
99
|
* // Metric: { // MetricV2
|
|
@@ -101,6 +110,7 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
|
|
|
101
110
|
* // MetricFilterValues: [ // MetricFilterValueList
|
|
102
111
|
* // "STRING_VALUE",
|
|
103
112
|
* // ],
|
|
113
|
+
* // Negate: true || false,
|
|
104
114
|
* // },
|
|
105
115
|
* // ],
|
|
106
116
|
* // },
|
|
@@ -23,8 +23,7 @@ export interface ListSecurityProfilePermissionsCommandOutput extends ListSecurit
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>Lists the permissions granted to a security profile.</p>
|
|
26
|
+
* <p>Lists the permissions granted to a security profile.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,7 +23,8 @@ export interface ListViewVersionsCommandOutput extends ListViewVersionsResponse,
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Returns all the available versions for the specified Amazon Connect instance and view
|
|
26
|
+
* <p>Returns all the available versions for the specified Amazon Connect instance and view
|
|
27
|
+
* identifier.</p>
|
|
27
28
|
* <p>Results will be sorted from highest to lowest.</p>
|
|
28
29
|
* @example
|
|
29
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { UpdateParticipantRoleConfigRequest, UpdateParticipantRoleConfigResponse } from "../models/
|
|
5
|
+
import { UpdateParticipantRoleConfigRequest, UpdateParticipantRoleConfigResponse } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -23,8 +23,7 @@ export interface UpdateSecurityProfileCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>Updates a security profile.</p>
|
|
26
|
+
* <p>Updates a security profile.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -23,10 +23,12 @@ export interface UpdateViewContentCommandOutput extends UpdateViewContentRespons
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates the view content of the given view identifier in the specified Amazon Connect
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
26
|
+
* <p>Updates the view content of the given view identifier in the specified Amazon Connect
|
|
27
|
+
* instance.</p>
|
|
28
|
+
* <p>It performs content validation if <code>Status</code> is set to <code>SAVED</code> and
|
|
29
|
+
* performs full content validation if <code>Status</code> is <code>PUBLISHED</code>. Note that the
|
|
30
|
+
* <code>$SAVED</code> alias' content will always be updated, but the <code>$LATEST</code> alias'
|
|
31
|
+
* content will only be updated if <code>Status</code> is <code>PUBLISHED</code>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -1179,7 +1179,9 @@ export interface CreateContactFlowRequest {
|
|
|
1179
1179
|
Description?: string;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* @public
|
|
1182
|
-
* <p>The content of the flow.
|
|
1182
|
+
* <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
1183
|
+
* contact flow in Amazon Connect Flow language</a>. </p>
|
|
1184
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256000.</p>
|
|
1183
1185
|
*/
|
|
1184
1186
|
Content: string | undefined;
|
|
1185
1187
|
/**
|
|
@@ -2664,7 +2666,7 @@ export interface RuleAction {
|
|
|
2664
2666
|
* <p>Supported only for <code>TriggerEventSource</code> values:
|
|
2665
2667
|
* <code>OnPostCallAnalysisAvailable</code> | <code>OnRealTimeCallAnalysisAvailable</code> |
|
|
2666
2668
|
* <code>OnPostChatAnalysisAvailable</code> | <code>OnContactEvaluationSubmit</code> |
|
|
2667
|
-
*
|
|
2669
|
+
* <code>OnMetricDataUpdate</code>
|
|
2668
2670
|
* </p>
|
|
2669
2671
|
*/
|
|
2670
2672
|
SendNotificationAction?: SendNotificationActionDefinition;
|
|
@@ -3448,9 +3450,8 @@ export interface CreateUserHierarchyGroupResponse {
|
|
|
3448
3450
|
}
|
|
3449
3451
|
/**
|
|
3450
3452
|
* @public
|
|
3451
|
-
* <p>View content containing all content necessary to render a view except
|
|
3452
|
-
*
|
|
3453
|
-
* by this operation.</p>
|
|
3453
|
+
* <p>View content containing all content necessary to render a view except for runtime input data
|
|
3454
|
+
* and the runtime input schema, which is auto-generated by this operation.</p>
|
|
3454
3455
|
*/
|
|
3455
3456
|
export interface ViewInputContent {
|
|
3456
3457
|
/**
|
|
@@ -3488,19 +3489,20 @@ export interface CreateViewRequest {
|
|
|
3488
3489
|
InstanceId: string | undefined;
|
|
3489
3490
|
/**
|
|
3490
3491
|
* @public
|
|
3491
|
-
* <p>A unique Id for each create view request to avoid duplicate view creation. For example, the
|
|
3492
|
-
* is idempotent ClientToken is provided.</p>
|
|
3492
|
+
* <p>A unique Id for each create view request to avoid duplicate view creation. For example, the
|
|
3493
|
+
* view is idempotent ClientToken is provided.</p>
|
|
3493
3494
|
*/
|
|
3494
3495
|
ClientToken?: string;
|
|
3495
3496
|
/**
|
|
3496
3497
|
* @public
|
|
3497
3498
|
* <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
|
|
3498
|
-
*
|
|
3499
|
+
* <code>PUBLISHED</code> status will initiate validation on the content.</p>
|
|
3499
3500
|
*/
|
|
3500
3501
|
Status: ViewStatus | string | undefined;
|
|
3501
3502
|
/**
|
|
3502
3503
|
* @public
|
|
3503
|
-
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3504
|
+
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3505
|
+
* data.</p>
|
|
3504
3506
|
* <p>The total uncompressed content has a maximum file size of 400kB.</p>
|
|
3505
3507
|
*/
|
|
3506
3508
|
Content: ViewInputContent | undefined;
|
|
@@ -3516,14 +3518,16 @@ export interface CreateViewRequest {
|
|
|
3516
3518
|
Name: string | undefined;
|
|
3517
3519
|
/**
|
|
3518
3520
|
* @public
|
|
3519
|
-
* <p>The tags associated with the view resource (not specific to view version).These tags can be
|
|
3520
|
-
* to organize, track, or control access for this resource. For example, \{ "tags":
|
|
3521
|
+
* <p>The tags associated with the view resource (not specific to view version).These tags can be
|
|
3522
|
+
* used to organize, track, or control access for this resource. For example, \{ "tags":
|
|
3523
|
+
* \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
3521
3524
|
*/
|
|
3522
3525
|
Tags?: Record<string, string>;
|
|
3523
3526
|
}
|
|
3524
3527
|
/**
|
|
3525
3528
|
* @public
|
|
3526
|
-
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3529
|
+
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3530
|
+
* data.</p>
|
|
3527
3531
|
*/
|
|
3528
3532
|
export interface ViewContent {
|
|
3529
3533
|
/**
|
|
@@ -3577,7 +3581,7 @@ export interface View {
|
|
|
3577
3581
|
/**
|
|
3578
3582
|
* @public
|
|
3579
3583
|
* <p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The
|
|
3580
|
-
*
|
|
3584
|
+
* <code>PUBLISHED</code> status will initiate validation on the content.</p>
|
|
3581
3585
|
*/
|
|
3582
3586
|
Status?: ViewStatus | string;
|
|
3583
3587
|
/**
|
|
@@ -3602,7 +3606,8 @@ export interface View {
|
|
|
3602
3606
|
VersionDescription?: string;
|
|
3603
3607
|
/**
|
|
3604
3608
|
* @public
|
|
3605
|
-
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3609
|
+
* <p>View content containing all content necessary to render a view except for runtime input
|
|
3610
|
+
* data.</p>
|
|
3606
3611
|
*/
|
|
3607
3612
|
Content?: ViewContent;
|
|
3608
3613
|
/**
|
|
@@ -3617,7 +3622,8 @@ export interface View {
|
|
|
3617
3622
|
CreatedTime?: Date;
|
|
3618
3623
|
/**
|
|
3619
3624
|
* @public
|
|
3620
|
-
* <p>Latest timestamp of the <code>UpdateViewContent</code> or <code>CreateViewVersion</code>
|
|
3625
|
+
* <p>Latest timestamp of the <code>UpdateViewContent</code> or <code>CreateViewVersion</code>
|
|
3626
|
+
* operations.</p>
|
|
3621
3627
|
*/
|
|
3622
3628
|
LastModifiedTime?: Date;
|
|
3623
3629
|
/**
|
|
@@ -3695,12 +3701,14 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
3695
3701
|
export interface CreateViewVersionRequest {
|
|
3696
3702
|
/**
|
|
3697
3703
|
* @public
|
|
3698
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
3704
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
3705
|
+
* the instance.</p>
|
|
3699
3706
|
*/
|
|
3700
3707
|
InstanceId: string | undefined;
|
|
3701
3708
|
/**
|
|
3702
3709
|
* @public
|
|
3703
|
-
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
3710
|
+
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
3711
|
+
* used.</p>
|
|
3704
3712
|
*/
|
|
3705
3713
|
ViewId: string | undefined;
|
|
3706
3714
|
/**
|
|
@@ -4142,12 +4150,14 @@ export interface DeleteUserHierarchyGroupRequest {
|
|
|
4142
4150
|
export interface DeleteViewRequest {
|
|
4143
4151
|
/**
|
|
4144
4152
|
* @public
|
|
4145
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
4153
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
4154
|
+
* the instance.</p>
|
|
4146
4155
|
*/
|
|
4147
4156
|
InstanceId: string | undefined;
|
|
4148
4157
|
/**
|
|
4149
4158
|
* @public
|
|
4150
|
-
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
4159
|
+
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
4160
|
+
* used.</p>
|
|
4151
4161
|
*/
|
|
4152
4162
|
ViewId: string | undefined;
|
|
4153
4163
|
}
|
|
@@ -4162,12 +4172,14 @@ export interface DeleteViewResponse {
|
|
|
4162
4172
|
export interface DeleteViewVersionRequest {
|
|
4163
4173
|
/**
|
|
4164
4174
|
* @public
|
|
4165
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
4175
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
4176
|
+
* the instance.</p>
|
|
4166
4177
|
*/
|
|
4167
4178
|
InstanceId: string | undefined;
|
|
4168
4179
|
/**
|
|
4169
4180
|
* @public
|
|
4170
|
-
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
4181
|
+
* <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
|
|
4182
|
+
* used.</p>
|
|
4171
4183
|
*/
|
|
4172
4184
|
ViewId: string | undefined;
|
|
4173
4185
|
/**
|
|
@@ -4680,7 +4692,8 @@ export interface ContactFlow {
|
|
|
4680
4692
|
Description?: string;
|
|
4681
4693
|
/**
|
|
4682
4694
|
* @public
|
|
4683
|
-
* <p>The content of the flow
|
|
4695
|
+
* <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
4696
|
+
* contact flow in Amazon Connect Flow language</a>. </p>
|
|
4684
4697
|
*/
|
|
4685
4698
|
Content?: string;
|
|
4686
4699
|
/**
|
|
@@ -4760,7 +4773,9 @@ export interface ContactFlowModule {
|
|
|
4760
4773
|
Name?: string;
|
|
4761
4774
|
/**
|
|
4762
4775
|
* @public
|
|
4763
|
-
* <p>The content of the flow
|
|
4776
|
+
* <p>The JSON string that represents the content of the flow. For an example, see <a href="https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html">Example
|
|
4777
|
+
* contact flow in Amazon Connect Flow language</a>. </p>
|
|
4778
|
+
* <p>Length Constraints: Minimum length of 1. Maximum length of 256000.</p>
|
|
4764
4779
|
*/
|
|
4765
4780
|
Content?: string;
|
|
4766
4781
|
/**
|
|
@@ -6359,7 +6374,8 @@ export interface DescribeUserHierarchyStructureResponse {
|
|
|
6359
6374
|
export interface DescribeViewRequest {
|
|
6360
6375
|
/**
|
|
6361
6376
|
* @public
|
|
6362
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
6377
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
|
|
6378
|
+
* the instance.</p>
|
|
6363
6379
|
*/
|
|
6364
6380
|
InstanceId: string | undefined;
|
|
6365
6381
|
/**
|