@aws-sdk/client-connect 3.162.0 → 3.165.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/CHANGELOG.md +27 -0
- package/dist-cjs/Connect.js +30 -0
- package/dist-cjs/commands/SearchQueuesCommand.js +36 -0
- package/dist-cjs/commands/SearchRoutingProfilesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_1.js +39 -3
- package/dist-cjs/pagination/SearchQueuesPaginator.js +36 -0
- package/dist-cjs/pagination/SearchRoutingProfilesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +249 -5
- package/dist-es/Connect.js +30 -0
- package/dist-es/commands/SearchQueuesCommand.js +39 -0
- package/dist-es/commands/SearchRoutingProfilesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/SearchQueuesPaginator.js +75 -0
- package/dist-es/pagination/SearchRoutingProfilesPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +281 -0
- package/dist-types/Connect.d.ts +42 -22
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -2
- package/dist-types/commands/ListBotsCommand.d.ts +2 -1
- package/dist-types/commands/ListContactFlowsCommand.d.ts +2 -2
- package/dist-types/commands/ListLexBotsCommand.d.ts +3 -2
- package/dist-types/commands/SearchQueuesCommand.d.ts +36 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +36 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +2 -2
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -6
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TransferContactCommand.d.ts +4 -4
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +26 -16
- package/dist-types/models/models_1.d.ts +225 -22
- package/dist-types/pagination/SearchQueuesPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchRoutingProfilesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Connect.d.ts +10 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +90 -1
- package/dist-types/ts3.4/pagination/SearchQueuesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/SearchRoutingProfilesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { SearchRoutingProfilesCommand, } from "../commands/SearchRoutingProfilesCommand";
|
|
3
|
+
import { Connect } from "../Connect";
|
|
4
|
+
import { ConnectClient } from "../ConnectClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SearchRoutingProfilesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.searchRoutingProfiles.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateSearchRoutingProfiles(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateSearchRoutingProfiles_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Connect)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ConnectClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|
|
@@ -32,6 +32,8 @@ export * from "./ListUseCasesPaginator";
|
|
|
32
32
|
export * from "./ListUserHierarchyGroupsPaginator";
|
|
33
33
|
export * from "./ListUsersPaginator";
|
|
34
34
|
export * from "./SearchAvailablePhoneNumbersPaginator";
|
|
35
|
+
export * from "./SearchQueuesPaginator";
|
|
36
|
+
export * from "./SearchRoutingProfilesPaginator";
|
|
35
37
|
export * from "./SearchSecurityProfilesPaginator";
|
|
36
38
|
export * from "./SearchUsersPaginator";
|
|
37
39
|
export * from "./SearchVocabulariesPaginator";
|
|
@@ -2721,6 +2721,62 @@ export var serializeAws_restJson1SearchAvailablePhoneNumbersCommand = function (
|
|
|
2721
2721
|
}
|
|
2722
2722
|
});
|
|
2723
2723
|
}); };
|
|
2724
|
+
export var serializeAws_restJson1SearchQueuesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2725
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
2726
|
+
return __generator(this, function (_c) {
|
|
2727
|
+
switch (_c.label) {
|
|
2728
|
+
case 0: return [4, context.endpoint()];
|
|
2729
|
+
case 1:
|
|
2730
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2731
|
+
headers = {
|
|
2732
|
+
"content-type": "application/json",
|
|
2733
|
+
};
|
|
2734
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/search-queues";
|
|
2735
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SearchCriteria != null && {
|
|
2736
|
+
SearchCriteria: serializeAws_restJson1QueueSearchCriteria(input.SearchCriteria, context),
|
|
2737
|
+
})), (input.SearchFilter != null && {
|
|
2738
|
+
SearchFilter: serializeAws_restJson1QueueSearchFilter(input.SearchFilter, context),
|
|
2739
|
+
})));
|
|
2740
|
+
return [2, new __HttpRequest({
|
|
2741
|
+
protocol: protocol,
|
|
2742
|
+
hostname: hostname,
|
|
2743
|
+
port: port,
|
|
2744
|
+
method: "POST",
|
|
2745
|
+
headers: headers,
|
|
2746
|
+
path: resolvedPath,
|
|
2747
|
+
body: body,
|
|
2748
|
+
})];
|
|
2749
|
+
}
|
|
2750
|
+
});
|
|
2751
|
+
}); };
|
|
2752
|
+
export var serializeAws_restJson1SearchRoutingProfilesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2753
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
2754
|
+
return __generator(this, function (_c) {
|
|
2755
|
+
switch (_c.label) {
|
|
2756
|
+
case 0: return [4, context.endpoint()];
|
|
2757
|
+
case 1:
|
|
2758
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2759
|
+
headers = {
|
|
2760
|
+
"content-type": "application/json",
|
|
2761
|
+
};
|
|
2762
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/search-routing-profiles";
|
|
2763
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SearchCriteria != null && {
|
|
2764
|
+
SearchCriteria: serializeAws_restJson1RoutingProfileSearchCriteria(input.SearchCriteria, context),
|
|
2765
|
+
})), (input.SearchFilter != null && {
|
|
2766
|
+
SearchFilter: serializeAws_restJson1RoutingProfileSearchFilter(input.SearchFilter, context),
|
|
2767
|
+
})));
|
|
2768
|
+
return [2, new __HttpRequest({
|
|
2769
|
+
protocol: protocol,
|
|
2770
|
+
hostname: hostname,
|
|
2771
|
+
port: port,
|
|
2772
|
+
method: "POST",
|
|
2773
|
+
headers: headers,
|
|
2774
|
+
path: resolvedPath,
|
|
2775
|
+
body: body,
|
|
2776
|
+
})];
|
|
2777
|
+
}
|
|
2778
|
+
});
|
|
2779
|
+
}); };
|
|
2724
2780
|
export var serializeAws_restJson1SearchSecurityProfilesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2725
2781
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
2726
2782
|
return __generator(this, function (_c) {
|
|
@@ -11677,6 +11733,162 @@ var deserializeAws_restJson1SearchAvailablePhoneNumbersCommandError = function (
|
|
|
11677
11733
|
}
|
|
11678
11734
|
});
|
|
11679
11735
|
}); };
|
|
11736
|
+
export var deserializeAws_restJson1SearchQueuesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11737
|
+
var contents, data, _a, _b;
|
|
11738
|
+
return __generator(this, function (_c) {
|
|
11739
|
+
switch (_c.label) {
|
|
11740
|
+
case 0:
|
|
11741
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11742
|
+
return [2, deserializeAws_restJson1SearchQueuesCommandError(output, context)];
|
|
11743
|
+
}
|
|
11744
|
+
contents = map({
|
|
11745
|
+
$metadata: deserializeMetadata(output),
|
|
11746
|
+
});
|
|
11747
|
+
_a = __expectNonNull;
|
|
11748
|
+
_b = __expectObject;
|
|
11749
|
+
return [4, parseBody(output.body, context)];
|
|
11750
|
+
case 1:
|
|
11751
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11752
|
+
if (data.ApproximateTotalCount != null) {
|
|
11753
|
+
contents.ApproximateTotalCount = __expectLong(data.ApproximateTotalCount);
|
|
11754
|
+
}
|
|
11755
|
+
if (data.NextToken != null) {
|
|
11756
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
11757
|
+
}
|
|
11758
|
+
if (data.Queues != null) {
|
|
11759
|
+
contents.Queues = deserializeAws_restJson1QueueSearchSummaryList(data.Queues, context);
|
|
11760
|
+
}
|
|
11761
|
+
return [2, contents];
|
|
11762
|
+
}
|
|
11763
|
+
});
|
|
11764
|
+
}); };
|
|
11765
|
+
var deserializeAws_restJson1SearchQueuesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11766
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
11767
|
+
var _c;
|
|
11768
|
+
return __generator(this, function (_d) {
|
|
11769
|
+
switch (_d.label) {
|
|
11770
|
+
case 0:
|
|
11771
|
+
_a = [__assign({}, output)];
|
|
11772
|
+
_c = {};
|
|
11773
|
+
return [4, parseBody(output.body, context)];
|
|
11774
|
+
case 1:
|
|
11775
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
11776
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11777
|
+
_b = errorCode;
|
|
11778
|
+
switch (_b) {
|
|
11779
|
+
case "InternalServiceException": return [3, 2];
|
|
11780
|
+
case "com.amazonaws.connect#InternalServiceException": return [3, 2];
|
|
11781
|
+
case "InvalidParameterException": return [3, 4];
|
|
11782
|
+
case "com.amazonaws.connect#InvalidParameterException": return [3, 4];
|
|
11783
|
+
case "InvalidRequestException": return [3, 6];
|
|
11784
|
+
case "com.amazonaws.connect#InvalidRequestException": return [3, 6];
|
|
11785
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
11786
|
+
case "com.amazonaws.connect#ResourceNotFoundException": return [3, 8];
|
|
11787
|
+
case "ThrottlingException": return [3, 10];
|
|
11788
|
+
case "com.amazonaws.connect#ThrottlingException": return [3, 10];
|
|
11789
|
+
}
|
|
11790
|
+
return [3, 12];
|
|
11791
|
+
case 2: return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
11792
|
+
case 3: throw _d.sent();
|
|
11793
|
+
case 4: return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
11794
|
+
case 5: throw _d.sent();
|
|
11795
|
+
case 6: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
11796
|
+
case 7: throw _d.sent();
|
|
11797
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
11798
|
+
case 9: throw _d.sent();
|
|
11799
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
11800
|
+
case 11: throw _d.sent();
|
|
11801
|
+
case 12:
|
|
11802
|
+
parsedBody = parsedOutput.body;
|
|
11803
|
+
throwDefaultError({
|
|
11804
|
+
output: output,
|
|
11805
|
+
parsedBody: parsedBody,
|
|
11806
|
+
exceptionCtor: __BaseException,
|
|
11807
|
+
errorCode: errorCode,
|
|
11808
|
+
});
|
|
11809
|
+
_d.label = 13;
|
|
11810
|
+
case 13: return [2];
|
|
11811
|
+
}
|
|
11812
|
+
});
|
|
11813
|
+
}); };
|
|
11814
|
+
export var deserializeAws_restJson1SearchRoutingProfilesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11815
|
+
var contents, data, _a, _b;
|
|
11816
|
+
return __generator(this, function (_c) {
|
|
11817
|
+
switch (_c.label) {
|
|
11818
|
+
case 0:
|
|
11819
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11820
|
+
return [2, deserializeAws_restJson1SearchRoutingProfilesCommandError(output, context)];
|
|
11821
|
+
}
|
|
11822
|
+
contents = map({
|
|
11823
|
+
$metadata: deserializeMetadata(output),
|
|
11824
|
+
});
|
|
11825
|
+
_a = __expectNonNull;
|
|
11826
|
+
_b = __expectObject;
|
|
11827
|
+
return [4, parseBody(output.body, context)];
|
|
11828
|
+
case 1:
|
|
11829
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11830
|
+
if (data.ApproximateTotalCount != null) {
|
|
11831
|
+
contents.ApproximateTotalCount = __expectLong(data.ApproximateTotalCount);
|
|
11832
|
+
}
|
|
11833
|
+
if (data.NextToken != null) {
|
|
11834
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
11835
|
+
}
|
|
11836
|
+
if (data.RoutingProfiles != null) {
|
|
11837
|
+
contents.RoutingProfiles = deserializeAws_restJson1RoutingProfileList(data.RoutingProfiles, context);
|
|
11838
|
+
}
|
|
11839
|
+
return [2, contents];
|
|
11840
|
+
}
|
|
11841
|
+
});
|
|
11842
|
+
}); };
|
|
11843
|
+
var deserializeAws_restJson1SearchRoutingProfilesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11844
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
11845
|
+
var _c;
|
|
11846
|
+
return __generator(this, function (_d) {
|
|
11847
|
+
switch (_d.label) {
|
|
11848
|
+
case 0:
|
|
11849
|
+
_a = [__assign({}, output)];
|
|
11850
|
+
_c = {};
|
|
11851
|
+
return [4, parseBody(output.body, context)];
|
|
11852
|
+
case 1:
|
|
11853
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
11854
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11855
|
+
_b = errorCode;
|
|
11856
|
+
switch (_b) {
|
|
11857
|
+
case "InternalServiceException": return [3, 2];
|
|
11858
|
+
case "com.amazonaws.connect#InternalServiceException": return [3, 2];
|
|
11859
|
+
case "InvalidParameterException": return [3, 4];
|
|
11860
|
+
case "com.amazonaws.connect#InvalidParameterException": return [3, 4];
|
|
11861
|
+
case "InvalidRequestException": return [3, 6];
|
|
11862
|
+
case "com.amazonaws.connect#InvalidRequestException": return [3, 6];
|
|
11863
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
11864
|
+
case "com.amazonaws.connect#ResourceNotFoundException": return [3, 8];
|
|
11865
|
+
case "ThrottlingException": return [3, 10];
|
|
11866
|
+
case "com.amazonaws.connect#ThrottlingException": return [3, 10];
|
|
11867
|
+
}
|
|
11868
|
+
return [3, 12];
|
|
11869
|
+
case 2: return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
11870
|
+
case 3: throw _d.sent();
|
|
11871
|
+
case 4: return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
11872
|
+
case 5: throw _d.sent();
|
|
11873
|
+
case 6: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
11874
|
+
case 7: throw _d.sent();
|
|
11875
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
11876
|
+
case 9: throw _d.sent();
|
|
11877
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
11878
|
+
case 11: throw _d.sent();
|
|
11879
|
+
case 12:
|
|
11880
|
+
parsedBody = parsedOutput.body;
|
|
11881
|
+
throwDefaultError({
|
|
11882
|
+
output: output,
|
|
11883
|
+
parsedBody: parsedBody,
|
|
11884
|
+
exceptionCtor: __BaseException,
|
|
11885
|
+
errorCode: errorCode,
|
|
11886
|
+
});
|
|
11887
|
+
_d.label = 13;
|
|
11888
|
+
case 13: return [2];
|
|
11889
|
+
}
|
|
11890
|
+
});
|
|
11891
|
+
}); };
|
|
11680
11892
|
export var deserializeAws_restJson1SearchSecurityProfilesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11681
11893
|
var contents, data, _a, _b;
|
|
11682
11894
|
return __generator(this, function (_c) {
|
|
@@ -15513,6 +15725,27 @@ var serializeAws_restJson1Queues = function (input, context) {
|
|
|
15513
15725
|
return entry;
|
|
15514
15726
|
});
|
|
15515
15727
|
};
|
|
15728
|
+
var serializeAws_restJson1QueueSearchConditionList = function (input, context) {
|
|
15729
|
+
return input
|
|
15730
|
+
.filter(function (e) { return e != null; })
|
|
15731
|
+
.map(function (entry) {
|
|
15732
|
+
return serializeAws_restJson1QueueSearchCriteria(entry, context);
|
|
15733
|
+
});
|
|
15734
|
+
};
|
|
15735
|
+
var serializeAws_restJson1QueueSearchCriteria = function (input, context) {
|
|
15736
|
+
return __assign(__assign(__assign(__assign({}, (input.AndConditions != null && {
|
|
15737
|
+
AndConditions: serializeAws_restJson1QueueSearchConditionList(input.AndConditions, context),
|
|
15738
|
+
})), (input.OrConditions != null && {
|
|
15739
|
+
OrConditions: serializeAws_restJson1QueueSearchConditionList(input.OrConditions, context),
|
|
15740
|
+
})), (input.QueueTypeCondition != null && { QueueTypeCondition: input.QueueTypeCondition })), (input.StringCondition != null && {
|
|
15741
|
+
StringCondition: serializeAws_restJson1StringCondition(input.StringCondition, context),
|
|
15742
|
+
}));
|
|
15743
|
+
};
|
|
15744
|
+
var serializeAws_restJson1QueueSearchFilter = function (input, context) {
|
|
15745
|
+
return __assign({}, (input.TagFilter != null && {
|
|
15746
|
+
TagFilter: serializeAws_restJson1ControlPlaneTagFilter(input.TagFilter, context),
|
|
15747
|
+
}));
|
|
15748
|
+
};
|
|
15516
15749
|
var serializeAws_restJson1QuickConnectConfig = function (input, context) {
|
|
15517
15750
|
return __assign(__assign(__assign(__assign({}, (input.PhoneConfig != null && {
|
|
15518
15751
|
PhoneConfig: serializeAws_restJson1PhoneNumberQuickConnectConfig(input.PhoneConfig, context),
|
|
@@ -15574,6 +15807,27 @@ var serializeAws_restJson1RoutingProfileQueueReferenceList = function (input, co
|
|
|
15574
15807
|
return serializeAws_restJson1RoutingProfileQueueReference(entry, context);
|
|
15575
15808
|
});
|
|
15576
15809
|
};
|
|
15810
|
+
var serializeAws_restJson1RoutingProfileSearchConditionList = function (input, context) {
|
|
15811
|
+
return input
|
|
15812
|
+
.filter(function (e) { return e != null; })
|
|
15813
|
+
.map(function (entry) {
|
|
15814
|
+
return serializeAws_restJson1RoutingProfileSearchCriteria(entry, context);
|
|
15815
|
+
});
|
|
15816
|
+
};
|
|
15817
|
+
var serializeAws_restJson1RoutingProfileSearchCriteria = function (input, context) {
|
|
15818
|
+
return __assign(__assign(__assign({}, (input.AndConditions != null && {
|
|
15819
|
+
AndConditions: serializeAws_restJson1RoutingProfileSearchConditionList(input.AndConditions, context),
|
|
15820
|
+
})), (input.OrConditions != null && {
|
|
15821
|
+
OrConditions: serializeAws_restJson1RoutingProfileSearchConditionList(input.OrConditions, context),
|
|
15822
|
+
})), (input.StringCondition != null && {
|
|
15823
|
+
StringCondition: serializeAws_restJson1StringCondition(input.StringCondition, context),
|
|
15824
|
+
}));
|
|
15825
|
+
};
|
|
15826
|
+
var serializeAws_restJson1RoutingProfileSearchFilter = function (input, context) {
|
|
15827
|
+
return __assign({}, (input.TagFilter != null && {
|
|
15828
|
+
TagFilter: serializeAws_restJson1ControlPlaneTagFilter(input.TagFilter, context),
|
|
15829
|
+
}));
|
|
15830
|
+
};
|
|
15577
15831
|
var serializeAws_restJson1S3Config = function (input, context) {
|
|
15578
15832
|
return __assign(__assign(__assign({}, (input.BucketName != null && { BucketName: input.BucketName })), (input.BucketPrefix != null && { BucketPrefix: input.BucketPrefix })), (input.EncryptionConfig != null && {
|
|
15579
15833
|
EncryptionConfig: serializeAws_restJson1EncryptionConfig(input.EncryptionConfig, context),
|
|
@@ -16621,6 +16875,17 @@ var deserializeAws_restJson1QueueReference = function (output, context) {
|
|
|
16621
16875
|
Id: __expectString(output.Id),
|
|
16622
16876
|
};
|
|
16623
16877
|
};
|
|
16878
|
+
var deserializeAws_restJson1QueueSearchSummaryList = function (output, context) {
|
|
16879
|
+
var retVal = (output || [])
|
|
16880
|
+
.filter(function (e) { return e != null; })
|
|
16881
|
+
.map(function (entry) {
|
|
16882
|
+
if (entry === null) {
|
|
16883
|
+
return null;
|
|
16884
|
+
}
|
|
16885
|
+
return deserializeAws_restJson1Queue(entry, context);
|
|
16886
|
+
});
|
|
16887
|
+
return retVal;
|
|
16888
|
+
};
|
|
16624
16889
|
var deserializeAws_restJson1QueueSummary = function (output, context) {
|
|
16625
16890
|
return {
|
|
16626
16891
|
Arn: __expectString(output.Arn),
|
|
@@ -16770,11 +17035,24 @@ var deserializeAws_restJson1RoutingProfile = function (output, context) {
|
|
|
16770
17035
|
? deserializeAws_restJson1MediaConcurrencies(output.MediaConcurrencies, context)
|
|
16771
17036
|
: undefined,
|
|
16772
17037
|
Name: __expectString(output.Name),
|
|
17038
|
+
NumberOfAssociatedQueues: __expectLong(output.NumberOfAssociatedQueues),
|
|
17039
|
+
NumberOfAssociatedUsers: __expectLong(output.NumberOfAssociatedUsers),
|
|
16773
17040
|
RoutingProfileArn: __expectString(output.RoutingProfileArn),
|
|
16774
17041
|
RoutingProfileId: __expectString(output.RoutingProfileId),
|
|
16775
17042
|
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
16776
17043
|
};
|
|
16777
17044
|
};
|
|
17045
|
+
var deserializeAws_restJson1RoutingProfileList = function (output, context) {
|
|
17046
|
+
var retVal = (output || [])
|
|
17047
|
+
.filter(function (e) { return e != null; })
|
|
17048
|
+
.map(function (entry) {
|
|
17049
|
+
if (entry === null) {
|
|
17050
|
+
return null;
|
|
17051
|
+
}
|
|
17052
|
+
return deserializeAws_restJson1RoutingProfile(entry, context);
|
|
17053
|
+
});
|
|
17054
|
+
return retVal;
|
|
17055
|
+
};
|
|
16778
17056
|
var deserializeAws_restJson1RoutingProfileQueueConfigSummary = function (output, context) {
|
|
16779
17057
|
return {
|
|
16780
17058
|
Channel: __expectString(output.Channel),
|
|
@@ -17264,6 +17542,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
17264
17542
|
if (typeof cleanValue === "number") {
|
|
17265
17543
|
cleanValue = cleanValue.toString();
|
|
17266
17544
|
}
|
|
17545
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
17546
|
+
cleanValue = cleanValue.split(",")[0];
|
|
17547
|
+
}
|
|
17267
17548
|
if (cleanValue.indexOf(":") >= 0) {
|
|
17268
17549
|
cleanValue = cleanValue.split(":")[0];
|
|
17269
17550
|
}
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -103,6 +103,8 @@ import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "./command
|
|
|
103
103
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
104
104
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
105
105
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
106
|
+
import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
|
|
107
|
+
import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "./commands/SearchRoutingProfilesCommand";
|
|
106
108
|
import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
|
|
107
109
|
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
108
110
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "./commands/SearchVocabulariesCommand";
|
|
@@ -449,6 +451,8 @@ export declare class Connect extends ConnectClient {
|
|
|
449
451
|
* <important>
|
|
450
452
|
* <p>Contact information remains available in Amazon Connect for 24 months, and then it is
|
|
451
453
|
* deleted.</p>
|
|
454
|
+
* <p>Only data from November 12, 2021, and later is returned by this
|
|
455
|
+
* API.</p>
|
|
452
456
|
* </important>
|
|
453
457
|
*/
|
|
454
458
|
describeContact(args: DescribeContactCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContactCommandOutput>;
|
|
@@ -598,8 +602,8 @@ export declare class Connect extends ConnectClient {
|
|
|
598
602
|
disassociateLexBot(args: DisassociateLexBotCommandInput, cb: (err: any, data?: DisassociateLexBotCommandOutput) => void): void;
|
|
599
603
|
disassociateLexBot(args: DisassociateLexBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateLexBotCommandOutput) => void): void;
|
|
600
604
|
/**
|
|
601
|
-
* <p>Removes the flow association from a phone number claimed to your Amazon Connect instance, if
|
|
602
|
-
*
|
|
605
|
+
* <p>Removes the flow association from a phone number claimed to your Amazon Connect instance, if a flow
|
|
606
|
+
* association exists.</p>
|
|
603
607
|
*/
|
|
604
608
|
disassociatePhoneNumberContactFlow(args: DisassociatePhoneNumberContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<DisassociatePhoneNumberContactFlowCommandOutput>;
|
|
605
609
|
disassociatePhoneNumberContactFlow(args: DisassociatePhoneNumberContactFlowCommandInput, cb: (err: any, data?: DisassociatePhoneNumberContactFlowCommandOutput) => void): void;
|
|
@@ -690,7 +694,8 @@ export declare class Connect extends ConnectClient {
|
|
|
690
694
|
/**
|
|
691
695
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
692
696
|
* <p>For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently
|
|
693
|
-
* associated with the instance.
|
|
697
|
+
* associated with the instance. Use this API to returns both Amazon Lex V1 and V2
|
|
698
|
+
* bots.</p>
|
|
694
699
|
*/
|
|
695
700
|
listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
|
|
696
701
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
@@ -705,8 +710,8 @@ export declare class Connect extends ConnectClient {
|
|
|
705
710
|
* <p>Provides information about the flows for the specified Amazon Connect instance.</p>
|
|
706
711
|
* <p>You can also create and update flows using the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html">Amazon Connect
|
|
707
712
|
* Flow language</a>.</p>
|
|
708
|
-
* <p>For more information about flows, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-contact-flows.html">Flows</a> in the
|
|
709
|
-
*
|
|
713
|
+
* <p>For more information about flows, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-contact-flows.html">Flows</a> in the <i>Amazon Connect
|
|
714
|
+
* Administrator Guide</i>.</p>
|
|
710
715
|
*/
|
|
711
716
|
listContactFlows(args: ListContactFlowsCommandInput, options?: __HttpHandlerOptions): Promise<ListContactFlowsCommandOutput>;
|
|
712
717
|
listContactFlows(args: ListContactFlowsCommandInput, cb: (err: any, data?: ListContactFlowsCommandOutput) => void): void;
|
|
@@ -775,8 +780,9 @@ export declare class Connect extends ConnectClient {
|
|
|
775
780
|
listLambdaFunctions(args: ListLambdaFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLambdaFunctionsCommandOutput) => void): void;
|
|
776
781
|
/**
|
|
777
782
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
778
|
-
* <p>Returns a paginated list of all the Amazon Lex bots currently associated with the
|
|
779
|
-
*
|
|
783
|
+
* <p>Returns a paginated list of all the Amazon Lex V1 bots currently associated with the instance. To
|
|
784
|
+
* return both Amazon Lex V1 and V2 bots, use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ListBots.html">ListBots</a> API.
|
|
785
|
+
* </p>
|
|
780
786
|
*/
|
|
781
787
|
listLexBots(args: ListLexBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListLexBotsCommandOutput>;
|
|
782
788
|
listLexBots(args: ListLexBotsCommandInput, cb: (err: any, data?: ListLexBotsCommandOutput) => void): void;
|
|
@@ -931,6 +937,20 @@ export declare class Connect extends ConnectClient {
|
|
|
931
937
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
932
938
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
933
939
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
940
|
+
/**
|
|
941
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
942
|
+
* <p>Searches queues in an Amazon Connect instance, with optional filtering.</p>
|
|
943
|
+
*/
|
|
944
|
+
searchQueues(args: SearchQueuesCommandInput, options?: __HttpHandlerOptions): Promise<SearchQueuesCommandOutput>;
|
|
945
|
+
searchQueues(args: SearchQueuesCommandInput, cb: (err: any, data?: SearchQueuesCommandOutput) => void): void;
|
|
946
|
+
searchQueues(args: SearchQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQueuesCommandOutput) => void): void;
|
|
947
|
+
/**
|
|
948
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
949
|
+
* <p>Searches routing profiles in an Amazon Connect instance, with optional filtering.</p>
|
|
950
|
+
*/
|
|
951
|
+
searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, options?: __HttpHandlerOptions): Promise<SearchRoutingProfilesCommandOutput>;
|
|
952
|
+
searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, cb: (err: any, data?: SearchRoutingProfilesCommandOutput) => void): void;
|
|
953
|
+
searchRoutingProfiles(args: SearchRoutingProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRoutingProfilesCommandOutput) => void): void;
|
|
934
954
|
/**
|
|
935
955
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
936
956
|
* <p>Searches security profiles in an Amazon Connect instance, with optional filtering.</p>
|
|
@@ -952,8 +972,8 @@ export declare class Connect extends ConnectClient {
|
|
|
952
972
|
searchVocabularies(args: SearchVocabulariesCommandInput, cb: (err: any, data?: SearchVocabulariesCommandOutput) => void): void;
|
|
953
973
|
searchVocabularies(args: SearchVocabulariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchVocabulariesCommandOutput) => void): void;
|
|
954
974
|
/**
|
|
955
|
-
* <p>Initiates a flow to start a new chat for the customer. Response of this API provides
|
|
956
|
-
*
|
|
975
|
+
* <p>Initiates a flow to start a new chat for the customer. Response of this API provides a token
|
|
976
|
+
* required to obtain credentials from the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> API in the Amazon Connect Participant Service.</p>
|
|
957
977
|
*
|
|
958
978
|
* <p>When a new chat contact is successfully created, clients must subscribe to the participant’s
|
|
959
979
|
* connection for the created chat within 5 minutes. This is achieved by invoking <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> with WEBSOCKET and CONNECTION_CREDENTIALS. </p>
|
|
@@ -1014,12 +1034,12 @@ export declare class Connect extends ConnectClient {
|
|
|
1014
1034
|
startContactStreaming(args: StartContactStreamingCommandInput, cb: (err: any, data?: StartContactStreamingCommandOutput) => void): void;
|
|
1015
1035
|
startContactStreaming(args: StartContactStreamingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContactStreamingCommandOutput) => void): void;
|
|
1016
1036
|
/**
|
|
1017
|
-
* <p>Places an outbound call to a contact, and then initiates the flow. It performs the
|
|
1018
|
-
*
|
|
1037
|
+
* <p>Places an outbound call to a contact, and then initiates the flow. It performs the actions
|
|
1038
|
+
* in the flow that's specified (in <code>ContactFlowId</code>).</p>
|
|
1019
1039
|
*
|
|
1020
1040
|
* <p>Agents do not initiate the outbound API, which means that they do not dial the contact. If
|
|
1021
|
-
* the flow places an outbound call to a contact, and then puts the contact in queue, the
|
|
1022
|
-
*
|
|
1041
|
+
* the flow places an outbound call to a contact, and then puts the contact in queue, the call is
|
|
1042
|
+
* then routed to the agent, like any other inbound case.</p>
|
|
1023
1043
|
*
|
|
1024
1044
|
* <p>There is a 60-second dialing timeout for this operation. If the call is not connected after
|
|
1025
1045
|
* 60 seconds, it fails.</p>
|
|
@@ -1031,8 +1051,7 @@ export declare class Connect extends ConnectClient {
|
|
|
1031
1051
|
* <note>
|
|
1032
1052
|
* <p>Campaign calls are not allowed by default. Before you can make a call with
|
|
1033
1053
|
* <code>TrafficType</code> = <code>CAMPAIGN</code>, you must submit a service quota increase
|
|
1034
|
-
* request to the quota <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#outbound-communications-quotas">Amazon Connect campaigns</a>.
|
|
1035
|
-
* </p>
|
|
1054
|
+
* request to the quota <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#outbound-communications-quotas">Amazon Connect campaigns</a>. </p>
|
|
1036
1055
|
* </note>
|
|
1037
1056
|
*/
|
|
1038
1057
|
startOutboundVoiceContact(args: StartOutboundVoiceContactCommandInput, options?: __HttpHandlerOptions): Promise<StartOutboundVoiceContactCommandOutput>;
|
|
@@ -1096,8 +1115,8 @@ export declare class Connect extends ConnectClient {
|
|
|
1096
1115
|
suspendContactRecording(args: SuspendContactRecordingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SuspendContactRecordingCommandOutput) => void): void;
|
|
1097
1116
|
/**
|
|
1098
1117
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
1099
|
-
* <p>Some of the supported resource types are agents, routing profiles, queues, quick connects,
|
|
1100
|
-
* flows, agent statuses, hours of operation, phone numbers, security profiles, and task
|
|
1118
|
+
* <p>Some of the supported resource types are agents, routing profiles, queues, quick connects,
|
|
1119
|
+
* contact flows, agent statuses, hours of operation, phone numbers, security profiles, and task
|
|
1101
1120
|
* templates. For a complete list, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/tagging.html">Tagging resources in Amazon Connect</a>.</p>
|
|
1102
1121
|
* <p>For sample policies that use tags, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html">Amazon Connect Identity-Based
|
|
1103
1122
|
* Policy Examples</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
@@ -1107,8 +1126,8 @@ export declare class Connect extends ConnectClient {
|
|
|
1107
1126
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1108
1127
|
/**
|
|
1109
1128
|
* <p>Transfers contacts from one agent or queue to another agent or queue at any point after a
|
|
1110
|
-
* contact is created. You can transfer a contact to another queue by providing the flow
|
|
1111
|
-
*
|
|
1129
|
+
* contact is created. You can transfer a contact to another queue by providing the flow which
|
|
1130
|
+
* orchestrates the contact to the destination queue. This gives you more control over contact
|
|
1112
1131
|
* handling and helps you adhere to the service level agreement (SLA) guaranteed to your
|
|
1113
1132
|
* customers.</p>
|
|
1114
1133
|
* <p>Note the following requirements:</p>
|
|
@@ -1120,8 +1139,8 @@ export declare class Connect extends ConnectClient {
|
|
|
1120
1139
|
* <p>Do not use both <code>QueueId</code> and <code>UserId</code> in the same call.</p>
|
|
1121
1140
|
* </li>
|
|
1122
1141
|
* <li>
|
|
1123
|
-
* <p>The following flow types are supported: Inbound flow, Transfer to agent
|
|
1124
|
-
*
|
|
1142
|
+
* <p>The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer
|
|
1143
|
+
* to queue flow.</p>
|
|
1125
1144
|
* </li>
|
|
1126
1145
|
* <li>
|
|
1127
1146
|
* <p>The <code>TransferContact</code> API can be called only on active contacts.</p>
|
|
@@ -1170,7 +1189,8 @@ export declare class Connect extends ConnectClient {
|
|
|
1170
1189
|
* from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls
|
|
1171
1190
|
* for additional analysis, such as legal review or to identify abusive callers.</p>
|
|
1172
1191
|
* <p>Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For
|
|
1173
|
-
* information about contact record retention and the maximum size of the contact record attributes
|
|
1192
|
+
* information about contact record retention and the maximum size of the contact record attributes
|
|
1193
|
+
* section, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits">Feature
|
|
1174
1194
|
* specifications</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
1175
1195
|
*/
|
|
1176
1196
|
updateContactAttributes(args: UpdateContactAttributesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactAttributesCommandOutput>;
|