@aws-sdk/client-connect 3.439.0 → 3.441.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 +8 -0
- package/dist-cjs/Connect.js +2 -0
- package/dist-cjs/commands/BatchGetFlowAssociationCommand.js +51 -0
- package/dist-cjs/commands/DescribeViewCommand.js +2 -2
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +6 -7
- package/dist-cjs/models/models_1.js +7 -14
- package/dist-cjs/models/models_2.js +14 -1
- package/dist-cjs/protocols/Aws_restJson1.js +464 -34
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/BatchGetFlowAssociationCommand.js +47 -0
- package/dist-es/commands/DescribeViewCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +5 -13
- package/dist-es/models/models_2.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +453 -25
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +101 -0
- package/dist-types/commands/CreateViewCommand.d.ts +5 -7
- package/dist-types/commands/CreateViewVersionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteViewCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAgentStatusCommand.d.ts +2 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQueueCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQuickConnectCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +2 -0
- package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +12 -0
- package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +12 -1
- package/dist-types/commands/DescribeViewCommand.d.ts +5 -5
- package/dist-types/commands/GetPromptFileCommand.d.ts +2 -0
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +2 -0
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +2 -0
- package/dist-types/commands/ListPromptsCommand.d.ts +2 -0
- package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +4 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +2 -0
- package/dist-types/commands/ListQuickConnectsCommand.d.ts +2 -0
- package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +2 -0
- package/dist-types/commands/ListRoutingProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityProfileApplicationsCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +2 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListUsersCommand.d.ts +2 -0
- package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +3 -1
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +2 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +2 -0
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -0
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +2 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateViewContentCommand.d.ts +4 -6
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +212 -102
- package/dist-types/models/models_1.d.ts +201 -111
- package/dist-types/models/models_2.d.ts +106 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -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/BatchGetFlowAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -20
- package/dist-types/ts3.4/models/models_1.d.ts +46 -40
- package/dist-types/ts3.4/models/models_2.d.ts +42 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
package/dist-es/Connect.js
CHANGED
|
@@ -11,6 +11,7 @@ import { AssociateQueueQuickConnectsCommand, } from "./commands/AssociateQueueQu
|
|
|
11
11
|
import { AssociateRoutingProfileQueuesCommand, } from "./commands/AssociateRoutingProfileQueuesCommand";
|
|
12
12
|
import { AssociateSecurityKeyCommand, } from "./commands/AssociateSecurityKeyCommand";
|
|
13
13
|
import { AssociateTrafficDistributionGroupUserCommand, } from "./commands/AssociateTrafficDistributionGroupUserCommand";
|
|
14
|
+
import { BatchGetFlowAssociationCommand, } from "./commands/BatchGetFlowAssociationCommand";
|
|
14
15
|
import { ClaimPhoneNumberCommand, } from "./commands/ClaimPhoneNumberCommand";
|
|
15
16
|
import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
|
|
16
17
|
import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
|
|
@@ -224,6 +225,7 @@ const commands = {
|
|
|
224
225
|
AssociateRoutingProfileQueuesCommand,
|
|
225
226
|
AssociateSecurityKeyCommand,
|
|
226
227
|
AssociateTrafficDistributionGroupUserCommand,
|
|
228
|
+
BatchGetFlowAssociationCommand,
|
|
227
229
|
ClaimPhoneNumberCommand,
|
|
228
230
|
CreateAgentStatusCommand,
|
|
229
231
|
CreateContactFlowCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_BatchGetFlowAssociationCommand, se_BatchGetFlowAssociationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchGetFlowAssociationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetFlowAssociationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "BatchGetFlowAssociationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "BatchGetFlowAssociation",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_BatchGetFlowAssociationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_BatchGetFlowAssociationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
-
import { DescribeViewResponseFilterSensitiveLog } from "../models/
|
|
5
|
+
import { DescribeViewResponseFilterSensitiveLog } from "../models/models_1";
|
|
6
6
|
import { de_DescribeViewCommand, se_DescribeViewCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeViewCommand extends $Command {
|
|
@@ -10,6 +10,7 @@ export * from "./AssociateQueueQuickConnectsCommand";
|
|
|
10
10
|
export * from "./AssociateRoutingProfileQueuesCommand";
|
|
11
11
|
export * from "./AssociateSecurityKeyCommand";
|
|
12
12
|
export * from "./AssociateTrafficDistributionGroupUserCommand";
|
|
13
|
+
export * from "./BatchGetFlowAssociationCommand";
|
|
13
14
|
export * from "./ClaimPhoneNumberCommand";
|
|
14
15
|
export * from "./CreateAgentStatusCommand";
|
|
15
16
|
export * from "./CreateContactFlowCommand";
|
|
@@ -213,6 +213,10 @@ export const StorageType = {
|
|
|
213
213
|
KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",
|
|
214
214
|
S3: "S3",
|
|
215
215
|
};
|
|
216
|
+
export const ListFlowAssociationResourceType = {
|
|
217
|
+
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
|
|
218
|
+
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
219
|
+
};
|
|
216
220
|
export class IdempotencyException extends __BaseException {
|
|
217
221
|
constructor(opts) {
|
|
218
222
|
super({
|
|
@@ -880,7 +884,3 @@ export const DescribeInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
|
880
884
|
...obj,
|
|
881
885
|
...(obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }),
|
|
882
886
|
});
|
|
883
|
-
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
884
|
-
...obj,
|
|
885
|
-
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
886
|
-
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
+
import { ViewFilterSensitiveLog, } from "./models_0";
|
|
3
4
|
export const CurrentMetricName = {
|
|
4
5
|
AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
|
|
5
6
|
AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
|
|
@@ -200,19 +201,10 @@ export const ParticipantTimerType = {
|
|
|
200
201
|
DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
|
|
201
202
|
IDLE: "IDLE",
|
|
202
203
|
};
|
|
203
|
-
export const
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
(function (ParticipantTimerValue) {
|
|
208
|
-
ParticipantTimerValue.visit = (value, visitor) => {
|
|
209
|
-
if (value.ParticipantTimerAction !== undefined)
|
|
210
|
-
return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
|
|
211
|
-
if (value.ParticipantTimerDurationInMinutes !== undefined)
|
|
212
|
-
return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
|
|
213
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
|
-
};
|
|
215
|
-
})(ParticipantTimerValue || (ParticipantTimerValue = {}));
|
|
204
|
+
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
207
|
+
});
|
|
216
208
|
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
217
209
|
...obj,
|
|
218
210
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
3
|
+
export const ParticipantTimerAction = {
|
|
4
|
+
Unset: "Unset",
|
|
5
|
+
};
|
|
6
|
+
export var ParticipantTimerValue;
|
|
7
|
+
(function (ParticipantTimerValue) {
|
|
8
|
+
ParticipantTimerValue.visit = (value, visitor) => {
|
|
9
|
+
if (value.ParticipantTimerAction !== undefined)
|
|
10
|
+
return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
|
|
11
|
+
if (value.ParticipantTimerDurationInMinutes !== undefined)
|
|
12
|
+
return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
|
|
13
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
14
|
+
};
|
|
15
|
+
})(ParticipantTimerValue || (ParticipantTimerValue = {}));
|
|
3
16
|
export var UpdateParticipantRoleConfigChannelInfo;
|
|
4
17
|
(function (UpdateParticipantRoleConfigChannelInfo) {
|
|
5
18
|
UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
|