@aws-sdk/client-connect 3.473.0 → 3.475.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 +32 -0
- package/dist-cjs/Connect.js +8 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/TagContactCommand.js +51 -0
- package/dist-cjs/commands/UntagContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +414 -10
- package/dist-es/Connect.js +8 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/TagContactCommand.js +47 -0
- package/dist-es/commands/UntagContactCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +400 -4
- package/dist-types/Connect.d.ts +28 -0
- package/dist-types/ConnectClient.d.ts +6 -2
- package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +2 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +8 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/TagContactCommand.d.ts +92 -0
- package/dist-types/commands/UntagContactCommand.d.ts +91 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +164 -175
- package/dist-types/models/models_1.d.ts +237 -319
- package/dist-types/models/models_2.d.ts +398 -9
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Connect.d.ts +68 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +84 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1444,6 +1444,14 @@ MonitorContact
|
|
|
1444
1444
|
|
|
1445
1445
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/MonitorContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/MonitorContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/MonitorContactCommandOutput/)
|
|
1446
1446
|
|
|
1447
|
+
</details>
|
|
1448
|
+
<details>
|
|
1449
|
+
<summary>
|
|
1450
|
+
PauseContact
|
|
1451
|
+
</summary>
|
|
1452
|
+
|
|
1453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/PauseContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/PauseContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/PauseContactCommandOutput/)
|
|
1454
|
+
|
|
1447
1455
|
</details>
|
|
1448
1456
|
<details>
|
|
1449
1457
|
<summary>
|
|
@@ -1468,6 +1476,14 @@ ReplicateInstance
|
|
|
1468
1476
|
|
|
1469
1477
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ReplicateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ReplicateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ReplicateInstanceCommandOutput/)
|
|
1470
1478
|
|
|
1479
|
+
</details>
|
|
1480
|
+
<details>
|
|
1481
|
+
<summary>
|
|
1482
|
+
ResumeContact
|
|
1483
|
+
</summary>
|
|
1484
|
+
|
|
1485
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ResumeContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ResumeContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ResumeContactCommandOutput/)
|
|
1486
|
+
|
|
1471
1487
|
</details>
|
|
1472
1488
|
<details>
|
|
1473
1489
|
<summary>
|
|
@@ -1660,6 +1676,14 @@ SuspendContactRecording
|
|
|
1660
1676
|
|
|
1661
1677
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/SuspendContactRecordingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SuspendContactRecordingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SuspendContactRecordingCommandOutput/)
|
|
1662
1678
|
|
|
1679
|
+
</details>
|
|
1680
|
+
<details>
|
|
1681
|
+
<summary>
|
|
1682
|
+
TagContact
|
|
1683
|
+
</summary>
|
|
1684
|
+
|
|
1685
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/TagContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/TagContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/TagContactCommandOutput/)
|
|
1686
|
+
|
|
1663
1687
|
</details>
|
|
1664
1688
|
<details>
|
|
1665
1689
|
<summary>
|
|
@@ -1676,6 +1700,14 @@ TransferContact
|
|
|
1676
1700
|
|
|
1677
1701
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/TransferContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/TransferContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/TransferContactCommandOutput/)
|
|
1678
1702
|
|
|
1703
|
+
</details>
|
|
1704
|
+
<details>
|
|
1705
|
+
<summary>
|
|
1706
|
+
UntagContact
|
|
1707
|
+
</summary>
|
|
1708
|
+
|
|
1709
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/UntagContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UntagContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UntagContactCommandOutput/)
|
|
1710
|
+
|
|
1679
1711
|
</details>
|
|
1680
1712
|
<details>
|
|
1681
1713
|
<summary>
|
package/dist-cjs/Connect.js
CHANGED
|
@@ -156,9 +156,11 @@ const ListUsersCommand_1 = require("./commands/ListUsersCommand");
|
|
|
156
156
|
const ListViewsCommand_1 = require("./commands/ListViewsCommand");
|
|
157
157
|
const ListViewVersionsCommand_1 = require("./commands/ListViewVersionsCommand");
|
|
158
158
|
const MonitorContactCommand_1 = require("./commands/MonitorContactCommand");
|
|
159
|
+
const PauseContactCommand_1 = require("./commands/PauseContactCommand");
|
|
159
160
|
const PutUserStatusCommand_1 = require("./commands/PutUserStatusCommand");
|
|
160
161
|
const ReleasePhoneNumberCommand_1 = require("./commands/ReleasePhoneNumberCommand");
|
|
161
162
|
const ReplicateInstanceCommand_1 = require("./commands/ReplicateInstanceCommand");
|
|
163
|
+
const ResumeContactCommand_1 = require("./commands/ResumeContactCommand");
|
|
162
164
|
const ResumeContactRecordingCommand_1 = require("./commands/ResumeContactRecordingCommand");
|
|
163
165
|
const SearchAvailablePhoneNumbersCommand_1 = require("./commands/SearchAvailablePhoneNumbersCommand");
|
|
164
166
|
const SearchHoursOfOperationsCommand_1 = require("./commands/SearchHoursOfOperationsCommand");
|
|
@@ -183,8 +185,10 @@ const StopContactRecordingCommand_1 = require("./commands/StopContactRecordingCo
|
|
|
183
185
|
const StopContactStreamingCommand_1 = require("./commands/StopContactStreamingCommand");
|
|
184
186
|
const SubmitContactEvaluationCommand_1 = require("./commands/SubmitContactEvaluationCommand");
|
|
185
187
|
const SuspendContactRecordingCommand_1 = require("./commands/SuspendContactRecordingCommand");
|
|
188
|
+
const TagContactCommand_1 = require("./commands/TagContactCommand");
|
|
186
189
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
187
190
|
const TransferContactCommand_1 = require("./commands/TransferContactCommand");
|
|
191
|
+
const UntagContactCommand_1 = require("./commands/UntagContactCommand");
|
|
188
192
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
189
193
|
const UpdateAgentStatusCommand_1 = require("./commands/UpdateAgentStatusCommand");
|
|
190
194
|
const UpdateContactAttributesCommand_1 = require("./commands/UpdateContactAttributesCommand");
|
|
@@ -385,9 +389,11 @@ const commands = {
|
|
|
385
389
|
ListViewsCommand: ListViewsCommand_1.ListViewsCommand,
|
|
386
390
|
ListViewVersionsCommand: ListViewVersionsCommand_1.ListViewVersionsCommand,
|
|
387
391
|
MonitorContactCommand: MonitorContactCommand_1.MonitorContactCommand,
|
|
392
|
+
PauseContactCommand: PauseContactCommand_1.PauseContactCommand,
|
|
388
393
|
PutUserStatusCommand: PutUserStatusCommand_1.PutUserStatusCommand,
|
|
389
394
|
ReleasePhoneNumberCommand: ReleasePhoneNumberCommand_1.ReleasePhoneNumberCommand,
|
|
390
395
|
ReplicateInstanceCommand: ReplicateInstanceCommand_1.ReplicateInstanceCommand,
|
|
396
|
+
ResumeContactCommand: ResumeContactCommand_1.ResumeContactCommand,
|
|
391
397
|
ResumeContactRecordingCommand: ResumeContactRecordingCommand_1.ResumeContactRecordingCommand,
|
|
392
398
|
SearchAvailablePhoneNumbersCommand: SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand,
|
|
393
399
|
SearchHoursOfOperationsCommand: SearchHoursOfOperationsCommand_1.SearchHoursOfOperationsCommand,
|
|
@@ -412,8 +418,10 @@ const commands = {
|
|
|
412
418
|
StopContactStreamingCommand: StopContactStreamingCommand_1.StopContactStreamingCommand,
|
|
413
419
|
SubmitContactEvaluationCommand: SubmitContactEvaluationCommand_1.SubmitContactEvaluationCommand,
|
|
414
420
|
SuspendContactRecordingCommand: SuspendContactRecordingCommand_1.SuspendContactRecordingCommand,
|
|
421
|
+
TagContactCommand: TagContactCommand_1.TagContactCommand,
|
|
415
422
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
416
423
|
TransferContactCommand: TransferContactCommand_1.TransferContactCommand,
|
|
424
|
+
UntagContactCommand: UntagContactCommand_1.UntagContactCommand,
|
|
417
425
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
418
426
|
UpdateAgentStatusCommand: UpdateAgentStatusCommand_1.UpdateAgentStatusCommand,
|
|
419
427
|
UpdateContactCommand: UpdateContactCommand_1.UpdateContactCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PauseContactCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class PauseContactCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PauseContactCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ConnectClient";
|
|
29
|
+
const commandName = "PauseContactCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonConnectService",
|
|
38
|
+
operation: "PauseContact",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_PauseContactCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_PauseContactCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.PauseContactCommand = PauseContactCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResumeContactCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ResumeContactCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResumeContactCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ConnectClient";
|
|
29
|
+
const commandName = "ResumeContactCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonConnectService",
|
|
38
|
+
operation: "ResumeContact",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ResumeContactCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ResumeContactCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ResumeContactCommand = ResumeContactCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagContactCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class TagContactCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagContactCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ConnectClient";
|
|
29
|
+
const commandName = "TagContactCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonConnectService",
|
|
38
|
+
operation: "TagContact",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_TagContactCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_TagContactCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.TagContactCommand = TagContactCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagContactCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UntagContactCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagContactCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "ConnectClient";
|
|
29
|
+
const commandName = "UntagContactCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonConnectService",
|
|
38
|
+
operation: "UntagContact",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UntagContactCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UntagContactCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UntagContactCommand = UntagContactCommand;
|
|
@@ -155,9 +155,11 @@ tslib_1.__exportStar(require("./ListUsersCommand"), exports);
|
|
|
155
155
|
tslib_1.__exportStar(require("./ListViewVersionsCommand"), exports);
|
|
156
156
|
tslib_1.__exportStar(require("./ListViewsCommand"), exports);
|
|
157
157
|
tslib_1.__exportStar(require("./MonitorContactCommand"), exports);
|
|
158
|
+
tslib_1.__exportStar(require("./PauseContactCommand"), exports);
|
|
158
159
|
tslib_1.__exportStar(require("./PutUserStatusCommand"), exports);
|
|
159
160
|
tslib_1.__exportStar(require("./ReleasePhoneNumberCommand"), exports);
|
|
160
161
|
tslib_1.__exportStar(require("./ReplicateInstanceCommand"), exports);
|
|
162
|
+
tslib_1.__exportStar(require("./ResumeContactCommand"), exports);
|
|
161
163
|
tslib_1.__exportStar(require("./ResumeContactRecordingCommand"), exports);
|
|
162
164
|
tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersCommand"), exports);
|
|
163
165
|
tslib_1.__exportStar(require("./SearchHoursOfOperationsCommand"), exports);
|
|
@@ -182,8 +184,10 @@ tslib_1.__exportStar(require("./StopContactRecordingCommand"), exports);
|
|
|
182
184
|
tslib_1.__exportStar(require("./StopContactStreamingCommand"), exports);
|
|
183
185
|
tslib_1.__exportStar(require("./SubmitContactEvaluationCommand"), exports);
|
|
184
186
|
tslib_1.__exportStar(require("./SuspendContactRecordingCommand"), exports);
|
|
187
|
+
tslib_1.__exportStar(require("./TagContactCommand"), exports);
|
|
185
188
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
186
189
|
tslib_1.__exportStar(require("./TransferContactCommand"), exports);
|
|
190
|
+
tslib_1.__exportStar(require("./UntagContactCommand"), exports);
|
|
187
191
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
188
192
|
tslib_1.__exportStar(require("./UpdateAgentStatusCommand"), exports);
|
|
189
193
|
tslib_1.__exportStar(require("./UpdateContactAttributesCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.FailureReasonCode = exports.EndpointType = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.FlowAssociationResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.VideoCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.
|
|
4
|
+
exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
7
7
|
class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
|
|
@@ -20,9 +20,12 @@ class AccessDeniedException extends ConnectServiceException_1.ConnectServiceExce
|
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
21
|
exports.ActionType = {
|
|
22
22
|
ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",
|
|
23
|
+
CREATE_CASE: "CREATE_CASE",
|
|
23
24
|
CREATE_TASK: "CREATE_TASK",
|
|
25
|
+
END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",
|
|
24
26
|
GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT",
|
|
25
27
|
SEND_NOTIFICATION: "SEND_NOTIFICATION",
|
|
28
|
+
UPDATE_CASE: "UPDATE_CASE",
|
|
26
29
|
};
|
|
27
30
|
class InternalServiceException extends ConnectServiceException_1.ConnectServiceException {
|
|
28
31
|
constructor(opts) {
|
|
@@ -402,6 +405,7 @@ exports.IntegrationType = {
|
|
|
402
405
|
WISDOM_QUICK_RESPONSES: "WISDOM_QUICK_RESPONSES",
|
|
403
406
|
};
|
|
404
407
|
exports.SourceType = {
|
|
408
|
+
CASES: "CASES",
|
|
405
409
|
SALESFORCE: "SALESFORCE",
|
|
406
410
|
ZENDESK: "ZENDESK",
|
|
407
411
|
};
|
|
@@ -443,6 +447,8 @@ exports.RulePublishStatus = {
|
|
|
443
447
|
PUBLISHED: "PUBLISHED",
|
|
444
448
|
};
|
|
445
449
|
exports.EventSourceName = {
|
|
450
|
+
OnCaseCreate: "OnCaseCreate",
|
|
451
|
+
OnCaseUpdate: "OnCaseUpdate",
|
|
446
452
|
OnContactEvaluationSubmit: "OnContactEvaluationSubmit",
|
|
447
453
|
OnMetricDataUpdate: "OnMetricDataUpdate",
|
|
448
454
|
OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
|
|
@@ -886,10 +892,6 @@ exports.PhoneNumberType = {
|
|
|
886
892
|
TOLL_FREE: "TOLL_FREE",
|
|
887
893
|
UIFN: "UIFN",
|
|
888
894
|
};
|
|
889
|
-
exports.QueueStatus = {
|
|
890
|
-
DISABLED: "DISABLED",
|
|
891
|
-
ENABLED: "ENABLED",
|
|
892
|
-
};
|
|
893
895
|
const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
894
896
|
...obj,
|
|
895
897
|
...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,9 +1,13 @@
|
|
|
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.DescribeViewResponseFilterSensitiveLog = exports.
|
|
3
|
+
exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.ConflictException = exports.OutputTypeNotFoundException = exports.RealTimeContactAnalysisStatus = exports.RealtimeContactAnalysisSegment = exports.RealTimeContactAnalysisSentimentLabel = exports.RealTimeContactAnalysisTimeData = exports.ArtifactStatus = exports.RealTimeContactAnalysisSupportedChannel = exports.RealTimeContactAnalysisSegmentType = exports.RealTimeContactAnalysisOutputType = 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 = exports.TrafficDistributionGroupStatus = exports.QueueStatus = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
7
|
+
exports.QueueStatus = {
|
|
8
|
+
DISABLED: "DISABLED",
|
|
9
|
+
ENABLED: "ENABLED",
|
|
10
|
+
};
|
|
7
11
|
exports.TrafficDistributionGroupStatus = {
|
|
8
12
|
ACTIVE: "ACTIVE",
|
|
9
13
|
CREATION_FAILED: "CREATION_FAILED",
|
|
@@ -196,6 +200,20 @@ class OutputTypeNotFoundException extends ConnectServiceException_1.ConnectServi
|
|
|
196
200
|
}
|
|
197
201
|
}
|
|
198
202
|
exports.OutputTypeNotFoundException = OutputTypeNotFoundException;
|
|
203
|
+
class ConflictException extends ConnectServiceException_1.ConnectServiceException {
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "ConflictException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
this.name = "ConflictException";
|
|
211
|
+
this.$fault = "client";
|
|
212
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
213
|
+
this.Message = opts.Message;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
exports.ConflictException = ConflictException;
|
|
199
217
|
exports.StringComparisonType = {
|
|
200
218
|
CONTAINS: "CONTAINS",
|
|
201
219
|
EXACT: "EXACT",
|
|
@@ -222,11 +240,6 @@ exports.HierarchyGroupMatchType = {
|
|
|
222
240
|
EXACT: "EXACT",
|
|
223
241
|
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
|
|
224
242
|
};
|
|
225
|
-
exports.ChatEventType = {
|
|
226
|
-
DISCONNECT: "DISCONNECT",
|
|
227
|
-
EVENT: "EVENT",
|
|
228
|
-
MESSAGE: "MESSAGE",
|
|
229
|
-
};
|
|
230
243
|
const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
231
244
|
...obj,
|
|
232
245
|
...(obj.View && { View: (0, models_0_1.ViewFilterSensitiveLog)(obj.View) }),
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.StartWebRTCContactResponseFilterSensitiveLog = exports.ConnectionDataFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.MeetingFeatureStatus = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = void 0;
|
|
3
|
+
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.StartWebRTCContactResponseFilterSensitiveLog = exports.ConnectionDataFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.MeetingFeatureStatus = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.ChatEventType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
7
|
+
exports.ChatEventType = {
|
|
8
|
+
DISCONNECT: "DISCONNECT",
|
|
9
|
+
EVENT: "EVENT",
|
|
10
|
+
MESSAGE: "MESSAGE",
|
|
11
|
+
};
|
|
7
12
|
exports.VoiceRecordingTrack = {
|
|
8
13
|
ALL: "ALL",
|
|
9
14
|
FROM_AGENT: "FROM_AGENT",
|