@aws-sdk/client-connect 3.235.0 → 3.237.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/Connect.js +15 -0
- package/dist-cjs/commands/UpdateParticipantRoleConfigCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_1.js +76 -4
- package/dist-cjs/protocols/Aws_restJson1.js +113 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/UpdateParticipantRoleConfigCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_1.js +65 -0
- package/dist-es/protocols/Aws_restJson1.js +107 -1
- package/dist-types/Connect.d.ts +32 -8
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +2 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -2
- package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +54 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +161 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateParticipantRoleConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +91 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +3 -3
|
@@ -89,6 +89,38 @@ export class ContactNotFoundException extends __BaseException {
|
|
|
89
89
|
this.Message = opts.Message;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
export var TimerEligibleParticipantRoles;
|
|
93
|
+
(function (TimerEligibleParticipantRoles) {
|
|
94
|
+
TimerEligibleParticipantRoles["AGENT"] = "AGENT";
|
|
95
|
+
TimerEligibleParticipantRoles["CUSTOMER"] = "CUSTOMER";
|
|
96
|
+
})(TimerEligibleParticipantRoles || (TimerEligibleParticipantRoles = {}));
|
|
97
|
+
export var ParticipantTimerType;
|
|
98
|
+
(function (ParticipantTimerType) {
|
|
99
|
+
ParticipantTimerType["DISCONNECT_NONCUSTOMER"] = "DISCONNECT_NONCUSTOMER";
|
|
100
|
+
ParticipantTimerType["IDLE"] = "IDLE";
|
|
101
|
+
})(ParticipantTimerType || (ParticipantTimerType = {}));
|
|
102
|
+
export var ParticipantTimerAction;
|
|
103
|
+
(function (ParticipantTimerAction) {
|
|
104
|
+
ParticipantTimerAction["Unset"] = "Unset";
|
|
105
|
+
})(ParticipantTimerAction || (ParticipantTimerAction = {}));
|
|
106
|
+
export var ParticipantTimerValue;
|
|
107
|
+
(function (ParticipantTimerValue) {
|
|
108
|
+
ParticipantTimerValue.visit = (value, visitor) => {
|
|
109
|
+
if (value.ParticipantTimerAction !== undefined)
|
|
110
|
+
return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
|
|
111
|
+
if (value.ParticipantTimerDurationInMinutes !== undefined)
|
|
112
|
+
return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
|
|
113
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
114
|
+
};
|
|
115
|
+
})(ParticipantTimerValue || (ParticipantTimerValue = {}));
|
|
116
|
+
export var UpdateParticipantRoleConfigChannelInfo;
|
|
117
|
+
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
118
|
+
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|
|
119
|
+
if (value.Chat !== undefined)
|
|
120
|
+
return visitor.Chat(value.Chat);
|
|
121
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
122
|
+
};
|
|
123
|
+
})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
|
|
92
124
|
export const StringReferenceFilterSensitiveLog = (obj) => ({
|
|
93
125
|
...obj,
|
|
94
126
|
});
|
|
@@ -554,6 +586,39 @@ export const UpdateInstanceAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
|
554
586
|
export const UpdateInstanceStorageConfigRequestFilterSensitiveLog = (obj) => ({
|
|
555
587
|
...obj,
|
|
556
588
|
});
|
|
589
|
+
export const ParticipantTimerValueFilterSensitiveLog = (obj) => {
|
|
590
|
+
if (obj.ParticipantTimerAction !== undefined)
|
|
591
|
+
return { ParticipantTimerAction: obj.ParticipantTimerAction };
|
|
592
|
+
if (obj.ParticipantTimerDurationInMinutes !== undefined)
|
|
593
|
+
return { ParticipantTimerDurationInMinutes: obj.ParticipantTimerDurationInMinutes };
|
|
594
|
+
if (obj.$unknown !== undefined)
|
|
595
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
596
|
+
};
|
|
597
|
+
export const ParticipantTimerConfigurationFilterSensitiveLog = (obj) => ({
|
|
598
|
+
...obj,
|
|
599
|
+
...(obj.TimerValue && { TimerValue: ParticipantTimerValueFilterSensitiveLog(obj.TimerValue) }),
|
|
600
|
+
});
|
|
601
|
+
export const ChatParticipantRoleConfigFilterSensitiveLog = (obj) => ({
|
|
602
|
+
...obj,
|
|
603
|
+
...(obj.ParticipantTimerConfigList && {
|
|
604
|
+
ParticipantTimerConfigList: obj.ParticipantTimerConfigList.map((item) => ParticipantTimerConfigurationFilterSensitiveLog(item)),
|
|
605
|
+
}),
|
|
606
|
+
});
|
|
607
|
+
export const UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog = (obj) => {
|
|
608
|
+
if (obj.Chat !== undefined)
|
|
609
|
+
return { Chat: ChatParticipantRoleConfigFilterSensitiveLog(obj.Chat) };
|
|
610
|
+
if (obj.$unknown !== undefined)
|
|
611
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
612
|
+
};
|
|
613
|
+
export const UpdateParticipantRoleConfigRequestFilterSensitiveLog = (obj) => ({
|
|
614
|
+
...obj,
|
|
615
|
+
...(obj.ChannelConfiguration && {
|
|
616
|
+
ChannelConfiguration: UpdateParticipantRoleConfigChannelInfoFilterSensitiveLog(obj.ChannelConfiguration),
|
|
617
|
+
}),
|
|
618
|
+
});
|
|
619
|
+
export const UpdateParticipantRoleConfigResponseFilterSensitiveLog = (obj) => ({
|
|
620
|
+
...obj,
|
|
621
|
+
});
|
|
557
622
|
export const UpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
558
623
|
...obj,
|
|
559
624
|
});
|
|
@@ -3,7 +3,7 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
|
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
|
|
5
5
|
import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, UserNotFoundException, } from "../models/models_0";
|
|
6
|
-
import { ContactNotFoundException, DestinationNotAllowedException, OutboundContactNotPermittedException, } from "../models/models_1";
|
|
6
|
+
import { ContactNotFoundException, DestinationNotAllowedException, OutboundContactNotPermittedException, ParticipantTimerValue, UpdateParticipantRoleConfigChannelInfo, } from "../models/models_1";
|
|
7
7
|
export const serializeAws_restJson1AssociateApprovedOriginCommand = async (input, context) => {
|
|
8
8
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
9
9
|
const headers = {
|
|
@@ -3252,6 +3252,31 @@ export const serializeAws_restJson1UpdateInstanceStorageConfigCommand = async (i
|
|
|
3252
3252
|
body,
|
|
3253
3253
|
});
|
|
3254
3254
|
};
|
|
3255
|
+
export const serializeAws_restJson1UpdateParticipantRoleConfigCommand = async (input, context) => {
|
|
3256
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3257
|
+
const headers = {
|
|
3258
|
+
"content-type": "application/json",
|
|
3259
|
+
};
|
|
3260
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
3261
|
+
"/contact/participant-role-config/{InstanceId}/{ContactId}";
|
|
3262
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3263
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ContactId", () => input.ContactId, "{ContactId}", false);
|
|
3264
|
+
let body;
|
|
3265
|
+
body = JSON.stringify({
|
|
3266
|
+
...(input.ChannelConfiguration != null && {
|
|
3267
|
+
ChannelConfiguration: serializeAws_restJson1UpdateParticipantRoleConfigChannelInfo(input.ChannelConfiguration, context),
|
|
3268
|
+
}),
|
|
3269
|
+
});
|
|
3270
|
+
return new __HttpRequest({
|
|
3271
|
+
protocol,
|
|
3272
|
+
hostname,
|
|
3273
|
+
port,
|
|
3274
|
+
method: "PUT",
|
|
3275
|
+
headers,
|
|
3276
|
+
path: resolvedPath,
|
|
3277
|
+
body,
|
|
3278
|
+
});
|
|
3279
|
+
};
|
|
3255
3280
|
export const serializeAws_restJson1UpdatePhoneNumberCommand = async (input, context) => {
|
|
3256
3281
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3257
3282
|
const headers = {
|
|
@@ -10595,6 +10620,51 @@ const deserializeAws_restJson1UpdateInstanceStorageConfigCommandError = async (o
|
|
|
10595
10620
|
});
|
|
10596
10621
|
}
|
|
10597
10622
|
};
|
|
10623
|
+
export const deserializeAws_restJson1UpdateParticipantRoleConfigCommand = async (output, context) => {
|
|
10624
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10625
|
+
return deserializeAws_restJson1UpdateParticipantRoleConfigCommandError(output, context);
|
|
10626
|
+
}
|
|
10627
|
+
const contents = map({
|
|
10628
|
+
$metadata: deserializeMetadata(output),
|
|
10629
|
+
});
|
|
10630
|
+
await collectBody(output.body, context);
|
|
10631
|
+
return contents;
|
|
10632
|
+
};
|
|
10633
|
+
const deserializeAws_restJson1UpdateParticipantRoleConfigCommandError = async (output, context) => {
|
|
10634
|
+
const parsedOutput = {
|
|
10635
|
+
...output,
|
|
10636
|
+
body: await parseErrorBody(output.body, context),
|
|
10637
|
+
};
|
|
10638
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10639
|
+
switch (errorCode) {
|
|
10640
|
+
case "AccessDeniedException":
|
|
10641
|
+
case "com.amazonaws.connect#AccessDeniedException":
|
|
10642
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
10643
|
+
case "InternalServiceException":
|
|
10644
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10645
|
+
throw await deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context);
|
|
10646
|
+
case "InvalidParameterException":
|
|
10647
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10648
|
+
throw await deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
10649
|
+
case "InvalidRequestException":
|
|
10650
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10651
|
+
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
10652
|
+
case "ResourceNotFoundException":
|
|
10653
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10654
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
10655
|
+
case "ThrottlingException":
|
|
10656
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10657
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
10658
|
+
default:
|
|
10659
|
+
const parsedBody = parsedOutput.body;
|
|
10660
|
+
throwDefaultError({
|
|
10661
|
+
output,
|
|
10662
|
+
parsedBody,
|
|
10663
|
+
exceptionCtor: __BaseException,
|
|
10664
|
+
errorCode,
|
|
10665
|
+
});
|
|
10666
|
+
}
|
|
10667
|
+
};
|
|
10598
10668
|
export const deserializeAws_restJson1UpdatePhoneNumberCommand = async (output, context) => {
|
|
10599
10669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10600
10670
|
return deserializeAws_restJson1UpdatePhoneNumberCommandError(output, context);
|
|
@@ -11941,6 +12011,13 @@ const serializeAws_restJson1ChatMessage = (input, context) => {
|
|
|
11941
12011
|
...(input.ContentType != null && { ContentType: input.ContentType }),
|
|
11942
12012
|
};
|
|
11943
12013
|
};
|
|
12014
|
+
const serializeAws_restJson1ChatParticipantRoleConfig = (input, context) => {
|
|
12015
|
+
return {
|
|
12016
|
+
...(input.ParticipantTimerConfigList != null && {
|
|
12017
|
+
ParticipantTimerConfigList: serializeAws_restJson1ParticipantTimerConfigList(input.ParticipantTimerConfigList, context),
|
|
12018
|
+
}),
|
|
12019
|
+
};
|
|
12020
|
+
};
|
|
11944
12021
|
const serializeAws_restJson1ChatStreamingConfiguration = (input, context) => {
|
|
11945
12022
|
return {
|
|
11946
12023
|
...(input.StreamingEndpointArn != null && { StreamingEndpointArn: input.StreamingEndpointArn }),
|
|
@@ -12180,6 +12257,29 @@ const serializeAws_restJson1ParticipantDetails = (input, context) => {
|
|
|
12180
12257
|
...(input.DisplayName != null && { DisplayName: input.DisplayName }),
|
|
12181
12258
|
};
|
|
12182
12259
|
};
|
|
12260
|
+
const serializeAws_restJson1ParticipantTimerConfigList = (input, context) => {
|
|
12261
|
+
return input
|
|
12262
|
+
.filter((e) => e != null)
|
|
12263
|
+
.map((entry) => {
|
|
12264
|
+
return serializeAws_restJson1ParticipantTimerConfiguration(entry, context);
|
|
12265
|
+
});
|
|
12266
|
+
};
|
|
12267
|
+
const serializeAws_restJson1ParticipantTimerConfiguration = (input, context) => {
|
|
12268
|
+
return {
|
|
12269
|
+
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
12270
|
+
...(input.TimerType != null && { TimerType: input.TimerType }),
|
|
12271
|
+
...(input.TimerValue != null && {
|
|
12272
|
+
TimerValue: serializeAws_restJson1ParticipantTimerValue(input.TimerValue, context),
|
|
12273
|
+
}),
|
|
12274
|
+
};
|
|
12275
|
+
};
|
|
12276
|
+
const serializeAws_restJson1ParticipantTimerValue = (input, context) => {
|
|
12277
|
+
return ParticipantTimerValue.visit(input, {
|
|
12278
|
+
ParticipantTimerAction: (value) => ({ ParticipantTimerAction: value }),
|
|
12279
|
+
ParticipantTimerDurationInMinutes: (value) => ({ ParticipantTimerDurationInMinutes: value }),
|
|
12280
|
+
_: (name, value) => ({ name: value }),
|
|
12281
|
+
});
|
|
12282
|
+
};
|
|
12183
12283
|
const serializeAws_restJson1PermissionsList = (input, context) => {
|
|
12184
12284
|
return input
|
|
12185
12285
|
.filter((e) => e != null)
|
|
@@ -12571,6 +12671,12 @@ const serializeAws_restJson1Threshold = (input, context) => {
|
|
|
12571
12671
|
...(input.ThresholdValue != null && { ThresholdValue: __serializeFloat(input.ThresholdValue) }),
|
|
12572
12672
|
};
|
|
12573
12673
|
};
|
|
12674
|
+
const serializeAws_restJson1UpdateParticipantRoleConfigChannelInfo = (input, context) => {
|
|
12675
|
+
return UpdateParticipantRoleConfigChannelInfo.visit(input, {
|
|
12676
|
+
Chat: (value) => ({ Chat: serializeAws_restJson1ChatParticipantRoleConfig(value, context) }),
|
|
12677
|
+
_: (name, value) => ({ name: value }),
|
|
12678
|
+
});
|
|
12679
|
+
};
|
|
12574
12680
|
const serializeAws_restJson1UserDataFilters = (input, context) => {
|
|
12575
12681
|
return {
|
|
12576
12682
|
...(input.ContactFilter != null && {
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ import { UpdateContactScheduleCommandInput, UpdateContactScheduleCommandOutput }
|
|
|
144
144
|
import { UpdateHoursOfOperationCommandInput, UpdateHoursOfOperationCommandOutput } from "./commands/UpdateHoursOfOperationCommand";
|
|
145
145
|
import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutput } from "./commands/UpdateInstanceAttributeCommand";
|
|
146
146
|
import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "./commands/UpdateInstanceStorageConfigCommand";
|
|
147
|
+
import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "./commands/UpdateParticipantRoleConfigCommand";
|
|
147
148
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
|
|
148
149
|
import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "./commands/UpdateQueueHoursOfOperationCommand";
|
|
149
150
|
import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "./commands/UpdateQueueMaxContactsCommand";
|
|
@@ -276,8 +277,8 @@ export declare class Connect extends ConnectClient {
|
|
|
276
277
|
* numbers to traffic distribution groups</a> in the <i>Amazon Connect Administrator
|
|
277
278
|
* Guide</i>. </p>
|
|
278
279
|
* <important>
|
|
279
|
-
* <p>You can call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html">SearchAvailablePhoneNumbers</a> API for available phone numbers that you can claim. Call
|
|
280
|
-
* to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
|
|
280
|
+
* <p>You can call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html">SearchAvailablePhoneNumbers</a> API for available phone numbers that you can claim. Call
|
|
281
|
+
* the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
|
|
281
282
|
* operation.</p>
|
|
282
283
|
* </important>
|
|
283
284
|
*/
|
|
@@ -363,8 +364,8 @@ export declare class Connect extends ConnectClient {
|
|
|
363
364
|
createRoutingProfile(args: CreateRoutingProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRoutingProfileCommandOutput) => void): void;
|
|
364
365
|
/**
|
|
365
366
|
* <p>Creates a rule for the specified Amazon Connect instance.</p>
|
|
366
|
-
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
367
|
-
*
|
|
367
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
368
|
+
* code conditions for the rule. </p>
|
|
368
369
|
*/
|
|
369
370
|
createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
|
|
370
371
|
createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
@@ -743,7 +744,7 @@ export declare class Connect extends ConnectClient {
|
|
|
743
744
|
/**
|
|
744
745
|
* <p>Dismisses contacts from an agent’s CCP and returns the agent to an available state, which
|
|
745
746
|
* allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a
|
|
746
|
-
*
|
|
747
|
+
* <code>MISSED</code>, <code>ERROR</code>, <code>ENDED</code>, or <code>REJECTED</code> state in
|
|
747
748
|
* the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">Agent
|
|
748
749
|
* Event Stream</a>.</p>
|
|
749
750
|
*/
|
|
@@ -1063,7 +1064,7 @@ export declare class Connect extends ConnectClient {
|
|
|
1063
1064
|
/**
|
|
1064
1065
|
* <p>Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user
|
|
1065
1066
|
* specified by <i>userId</i> will be set to silent monitoring mode on the
|
|
1066
|
-
* contact.</p>
|
|
1067
|
+
* contact. Supports voice and chat contacts.</p>
|
|
1067
1068
|
*/
|
|
1068
1069
|
monitorContact(args: MonitorContactCommandInput, options?: __HttpHandlerOptions): Promise<MonitorContactCommandOutput>;
|
|
1069
1070
|
monitorContact(args: MonitorContactCommandInput, cb: (err: any, data?: MonitorContactCommandOutput) => void): void;
|
|
@@ -1436,6 +1437,29 @@ export declare class Connect extends ConnectClient {
|
|
|
1436
1437
|
updateInstanceStorageConfig(args: UpdateInstanceStorageConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateInstanceStorageConfigCommandOutput>;
|
|
1437
1438
|
updateInstanceStorageConfig(args: UpdateInstanceStorageConfigCommandInput, cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void): void;
|
|
1438
1439
|
updateInstanceStorageConfig(args: UpdateInstanceStorageConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void): void;
|
|
1440
|
+
/**
|
|
1441
|
+
* <p>Updates timeouts for when human chat participants are to be considered idle, and when agents
|
|
1442
|
+
* are automatically disconnected from a chat due to idleness. You can set four timers:</p>
|
|
1443
|
+
* <ul>
|
|
1444
|
+
* <li>
|
|
1445
|
+
* <p>Customer idle timeout</p>
|
|
1446
|
+
* </li>
|
|
1447
|
+
* <li>
|
|
1448
|
+
* <p>Customer auto-disconnect timeout</p>
|
|
1449
|
+
* </li>
|
|
1450
|
+
* <li>
|
|
1451
|
+
* <p>Agent idle timeout</p>
|
|
1452
|
+
* </li>
|
|
1453
|
+
* <li>
|
|
1454
|
+
* <p>Agent auto-disconnect timeout</p>
|
|
1455
|
+
* </li>
|
|
1456
|
+
* </ul>
|
|
1457
|
+
* <p>For more information about how chat timeouts work, see
|
|
1458
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
|
|
1459
|
+
*/
|
|
1460
|
+
updateParticipantRoleConfig(args: UpdateParticipantRoleConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateParticipantRoleConfigCommandOutput>;
|
|
1461
|
+
updateParticipantRoleConfig(args: UpdateParticipantRoleConfigCommandInput, cb: (err: any, data?: UpdateParticipantRoleConfigCommandOutput) => void): void;
|
|
1462
|
+
updateParticipantRoleConfig(args: UpdateParticipantRoleConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateParticipantRoleConfigCommandOutput) => void): void;
|
|
1439
1463
|
/**
|
|
1440
1464
|
* <p>Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to
|
|
1441
1465
|
* another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.</p>
|
|
@@ -1536,8 +1560,8 @@ export declare class Connect extends ConnectClient {
|
|
|
1536
1560
|
updateRoutingProfileQueues(args: UpdateRoutingProfileQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingProfileQueuesCommandOutput) => void): void;
|
|
1537
1561
|
/**
|
|
1538
1562
|
* <p>Updates a rule for the specified Amazon Connect instance.</p>
|
|
1539
|
-
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
1540
|
-
*
|
|
1563
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
1564
|
+
* code conditions for the rule. </p>
|
|
1541
1565
|
*/
|
|
1542
1566
|
updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
|
|
1543
1567
|
updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
@@ -152,6 +152,7 @@ import { UpdateContactScheduleCommandInput, UpdateContactScheduleCommandOutput }
|
|
|
152
152
|
import { UpdateHoursOfOperationCommandInput, UpdateHoursOfOperationCommandOutput } from "./commands/UpdateHoursOfOperationCommand";
|
|
153
153
|
import { UpdateInstanceAttributeCommandInput, UpdateInstanceAttributeCommandOutput } from "./commands/UpdateInstanceAttributeCommand";
|
|
154
154
|
import { UpdateInstanceStorageConfigCommandInput, UpdateInstanceStorageConfigCommandOutput } from "./commands/UpdateInstanceStorageConfigCommand";
|
|
155
|
+
import { UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput } from "./commands/UpdateParticipantRoleConfigCommand";
|
|
155
156
|
import { UpdatePhoneNumberCommandInput, UpdatePhoneNumberCommandOutput } from "./commands/UpdatePhoneNumberCommand";
|
|
156
157
|
import { UpdateQueueHoursOfOperationCommandInput, UpdateQueueHoursOfOperationCommandOutput } from "./commands/UpdateQueueHoursOfOperationCommand";
|
|
157
158
|
import { UpdateQueueMaxContactsCommandInput, UpdateQueueMaxContactsCommandOutput } from "./commands/UpdateQueueMaxContactsCommand";
|
|
@@ -176,8 +177,8 @@ import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput }
|
|
|
176
177
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
177
178
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
178
179
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
179
|
-
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
180
|
-
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
180
|
+
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
181
|
+
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
181
182
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
182
183
|
/**
|
|
183
184
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -15,8 +15,8 @@ export interface ClaimPhoneNumberCommandOutput extends ClaimPhoneNumberResponse,
|
|
|
15
15
|
* numbers to traffic distribution groups</a> in the <i>Amazon Connect Administrator
|
|
16
16
|
* Guide</i>. </p>
|
|
17
17
|
* <important>
|
|
18
|
-
* <p>You can call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html">SearchAvailablePhoneNumbers</a> API for available phone numbers that you can claim. Call
|
|
19
|
-
* to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
|
|
18
|
+
* <p>You can call the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchAvailablePhoneNumbers.html">SearchAvailablePhoneNumbers</a> API for available phone numbers that you can claim. Call
|
|
19
|
+
* the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
|
|
20
20
|
* operation.</p>
|
|
21
21
|
* </important>
|
|
22
22
|
* @example
|
|
@@ -9,8 +9,8 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Creates a rule for the specified Amazon Connect instance.</p>
|
|
12
|
-
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
13
|
-
*
|
|
12
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
13
|
+
* code conditions for the rule. </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -10,7 +10,7 @@ export interface DismissUserContactCommandOutput extends DismissUserContactRespo
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Dismisses contacts from an agent’s CCP and returns the agent to an available state, which
|
|
12
12
|
* allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a
|
|
13
|
-
*
|
|
13
|
+
* <code>MISSED</code>, <code>ERROR</code>, <code>ENDED</code>, or <code>REJECTED</code> state in
|
|
14
14
|
* the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">Agent
|
|
15
15
|
* Event Stream</a>.</p>
|
|
16
16
|
* @example
|
|
@@ -10,7 +10,7 @@ export interface MonitorContactCommandOutput extends MonitorContactResponse, __M
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user
|
|
12
12
|
* specified by <i>userId</i> will be set to silent monitoring mode on the
|
|
13
|
-
* contact.</p>
|
|
13
|
+
* contact. Supports voice and chat contacts.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { UpdateParticipantRoleConfigRequest, UpdateParticipantRoleConfigResponse } from "../models/models_1";
|
|
6
|
+
export interface UpdateParticipantRoleConfigCommandInput extends UpdateParticipantRoleConfigRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateParticipantRoleConfigCommandOutput extends UpdateParticipantRoleConfigResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates timeouts for when human chat participants are to be considered idle, and when agents
|
|
12
|
+
* are automatically disconnected from a chat due to idleness. You can set four timers:</p>
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>Customer idle timeout</p>
|
|
16
|
+
* </li>
|
|
17
|
+
* <li>
|
|
18
|
+
* <p>Customer auto-disconnect timeout</p>
|
|
19
|
+
* </li>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Agent idle timeout</p>
|
|
22
|
+
* </li>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>Agent auto-disconnect timeout</p>
|
|
25
|
+
* </li>
|
|
26
|
+
* </ul>
|
|
27
|
+
* <p>For more information about how chat timeouts work, see
|
|
28
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-chat-timeouts.html">Set up chat timeouts for human participants</a>. </p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { ConnectClient, UpdateParticipantRoleConfigCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
33
|
+
* // const { ConnectClient, UpdateParticipantRoleConfigCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
34
|
+
* const client = new ConnectClient(config);
|
|
35
|
+
* const command = new UpdateParticipantRoleConfigCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @see {@link UpdateParticipantRoleConfigCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link UpdateParticipantRoleConfigCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare class UpdateParticipantRoleConfigCommand extends $Command<UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput, ConnectClientResolvedConfig> {
|
|
45
|
+
readonly input: UpdateParticipantRoleConfigCommandInput;
|
|
46
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
47
|
+
constructor(input: UpdateParticipantRoleConfigCommandInput);
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateParticipantRoleConfigCommandInput, UpdateParticipantRoleConfigCommandOutput>;
|
|
52
|
+
private serialize;
|
|
53
|
+
private deserialize;
|
|
54
|
+
}
|
|
@@ -9,8 +9,8 @@ export interface UpdateRuleCommandOutput extends __MetadataBearer {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Updates a rule for the specified Amazon Connect instance.</p>
|
|
12
|
-
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
13
|
-
*
|
|
12
|
+
* <p>Use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/connect-rules-language.html">Rules Function language</a> to
|
|
13
|
+
* code conditions for the rule. </p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -143,6 +143,7 @@ export * from "./UpdateContactScheduleCommand";
|
|
|
143
143
|
export * from "./UpdateHoursOfOperationCommand";
|
|
144
144
|
export * from "./UpdateInstanceAttributeCommand";
|
|
145
145
|
export * from "./UpdateInstanceStorageConfigCommand";
|
|
146
|
+
export * from "./UpdateParticipantRoleConfigCommand";
|
|
146
147
|
export * from "./UpdatePhoneNumberCommand";
|
|
147
148
|
export * from "./UpdateQueueHoursOfOperationCommand";
|
|
148
149
|
export * from "./UpdateQueueMaxContactsCommand";
|
|
@@ -1500,8 +1500,8 @@ export interface CreateSecurityProfileRequest {
|
|
|
1500
1500
|
*/
|
|
1501
1501
|
AllowedAccessControlTags?: Record<string, string>;
|
|
1502
1502
|
/**
|
|
1503
|
-
* <p>The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code> |
|
|
1504
|
-
*
|
|
1503
|
+
* <p>The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code> |
|
|
1504
|
+
* <code>SecurityProfile</code> | <code>Queue</code> | <code>RoutingProfile</code>
|
|
1505
1505
|
* </p>
|
|
1506
1506
|
*/
|
|
1507
1507
|
TagRestrictedResources?: string[];
|