@aws-sdk/client-connect 3.145.0 → 3.159.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/README.md +1 -1
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/SearchSecurityProfilesCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +32 -12
- package/dist-cjs/pagination/SearchSecurityProfilesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +134 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/SearchSecurityProfilesCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +11 -6
- package/dist-es/pagination/SearchSecurityProfilesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +148 -0
- package/dist-types/Connect.d.ts +46 -46
- package/dist-types/ConnectClient.d.ts +4 -3
- package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/CreateContactFlowCommand.d.ts +2 -2
- package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +2 -2
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -2
- package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/commands/ListContactFlowsCommand.d.ts +3 -3
- package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +36 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -5
- package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TransferContactCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -9
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +91 -88
- package/dist-types/models/models_1.d.ts +185 -61
- package/dist-types/pagination/SearchSecurityProfilesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/Connect.d.ts +5 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +72 -13
- package/dist-types/ts3.4/pagination/SearchSecurityProfilesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +27 -27
|
@@ -5,17 +5,17 @@ export var QueueType;
|
|
|
5
5
|
QueueType["AGENT"] = "AGENT";
|
|
6
6
|
QueueType["STANDARD"] = "STANDARD";
|
|
7
7
|
})(QueueType || (QueueType = {}));
|
|
8
|
-
export var HierarchyGroupMatchType;
|
|
9
|
-
(function (HierarchyGroupMatchType) {
|
|
10
|
-
HierarchyGroupMatchType["EXACT"] = "EXACT";
|
|
11
|
-
HierarchyGroupMatchType["WITH_CHILD_GROUPS"] = "WITH_CHILD_GROUPS";
|
|
12
|
-
})(HierarchyGroupMatchType || (HierarchyGroupMatchType = {}));
|
|
13
8
|
export var StringComparisonType;
|
|
14
9
|
(function (StringComparisonType) {
|
|
15
10
|
StringComparisonType["CONTAINS"] = "CONTAINS";
|
|
16
11
|
StringComparisonType["EXACT"] = "EXACT";
|
|
17
12
|
StringComparisonType["STARTS_WITH"] = "STARTS_WITH";
|
|
18
13
|
})(StringComparisonType || (StringComparisonType = {}));
|
|
14
|
+
export var HierarchyGroupMatchType;
|
|
15
|
+
(function (HierarchyGroupMatchType) {
|
|
16
|
+
HierarchyGroupMatchType["EXACT"] = "EXACT";
|
|
17
|
+
HierarchyGroupMatchType["WITH_CHILD_GROUPS"] = "WITH_CHILD_GROUPS";
|
|
18
|
+
})(HierarchyGroupMatchType || (HierarchyGroupMatchType = {}));
|
|
19
19
|
export var VoiceRecordingTrack;
|
|
20
20
|
(function (VoiceRecordingTrack) {
|
|
21
21
|
VoiceRecordingTrack["ALL"] = "ALL";
|
|
@@ -106,10 +106,13 @@ export var ResumeContactRecordingResponseFilterSensitiveLog = function (obj) { r
|
|
|
106
106
|
export var SearchAvailablePhoneNumbersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
107
|
export var AvailableNumberSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
108
|
export var SearchAvailablePhoneNumbersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
-
export var HierarchyGroupConditionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
109
|
export var StringConditionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
110
|
export var TagConditionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
111
|
export var ControlPlaneTagFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
|
+
export var SecurityProfilesSearchFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
export var SecurityProfileSearchSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
+
export var SearchSecurityProfilesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
export var HierarchyGroupConditionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
116
|
export var UserSearchFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
117
|
export var UserIdentityInfoLiteFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
118
|
export var UserSearchSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -187,5 +190,7 @@ export var UpdateUserIdentityInfoRequestFilterSensitiveLog = function (obj) { re
|
|
|
187
190
|
export var UpdateUserPhoneConfigRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
191
|
export var UpdateUserRoutingProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
189
192
|
export var UpdateUserSecurityProfilesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
193
|
+
export var SecurityProfileSearchCriteriaFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
194
|
export var UserSearchCriteriaFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
export var SearchSecurityProfilesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
196
|
export var SearchUsersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { SearchSecurityProfilesCommand, } from "../commands/SearchSecurityProfilesCommand";
|
|
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 SearchSecurityProfilesCommand(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.searchSecurityProfiles.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateSearchSecurityProfiles(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 paginateSearchSecurityProfiles_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,5 +32,6 @@ export * from "./ListUseCasesPaginator";
|
|
|
32
32
|
export * from "./ListUserHierarchyGroupsPaginator";
|
|
33
33
|
export * from "./ListUsersPaginator";
|
|
34
34
|
export * from "./SearchAvailablePhoneNumbersPaginator";
|
|
35
|
+
export * from "./SearchSecurityProfilesPaginator";
|
|
35
36
|
export * from "./SearchUsersPaginator";
|
|
36
37
|
export * from "./SearchVocabulariesPaginator";
|
|
@@ -2721,6 +2721,34 @@ export var serializeAws_restJson1SearchAvailablePhoneNumbersCommand = function (
|
|
|
2721
2721
|
}
|
|
2722
2722
|
});
|
|
2723
2723
|
}); };
|
|
2724
|
+
export var serializeAws_restJson1SearchSecurityProfilesCommand = 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-security-profiles";
|
|
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_restJson1SecurityProfileSearchCriteria(input.SearchCriteria, context),
|
|
2737
|
+
})), (input.SearchFilter != null && {
|
|
2738
|
+
SearchFilter: serializeAws_restJson1SecurityProfilesSearchFilter(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
|
+
}); };
|
|
2724
2752
|
export var serializeAws_restJson1SearchUsersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2725
2753
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
2726
2754
|
return __generator(this, function (_c) {
|
|
@@ -11649,6 +11677,84 @@ var deserializeAws_restJson1SearchAvailablePhoneNumbersCommandError = function (
|
|
|
11649
11677
|
}
|
|
11650
11678
|
});
|
|
11651
11679
|
}); };
|
|
11680
|
+
export var deserializeAws_restJson1SearchSecurityProfilesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11681
|
+
var contents, data, _a, _b;
|
|
11682
|
+
return __generator(this, function (_c) {
|
|
11683
|
+
switch (_c.label) {
|
|
11684
|
+
case 0:
|
|
11685
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
11686
|
+
return [2, deserializeAws_restJson1SearchSecurityProfilesCommandError(output, context)];
|
|
11687
|
+
}
|
|
11688
|
+
contents = map({
|
|
11689
|
+
$metadata: deserializeMetadata(output),
|
|
11690
|
+
});
|
|
11691
|
+
_a = __expectNonNull;
|
|
11692
|
+
_b = __expectObject;
|
|
11693
|
+
return [4, parseBody(output.body, context)];
|
|
11694
|
+
case 1:
|
|
11695
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
11696
|
+
if (data.ApproximateTotalCount != null) {
|
|
11697
|
+
contents.ApproximateTotalCount = __expectLong(data.ApproximateTotalCount);
|
|
11698
|
+
}
|
|
11699
|
+
if (data.NextToken != null) {
|
|
11700
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
11701
|
+
}
|
|
11702
|
+
if (data.SecurityProfiles != null) {
|
|
11703
|
+
contents.SecurityProfiles = deserializeAws_restJson1SecurityProfilesSearchSummaryList(data.SecurityProfiles, context);
|
|
11704
|
+
}
|
|
11705
|
+
return [2, contents];
|
|
11706
|
+
}
|
|
11707
|
+
});
|
|
11708
|
+
}); };
|
|
11709
|
+
var deserializeAws_restJson1SearchSecurityProfilesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11710
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
11711
|
+
var _c;
|
|
11712
|
+
return __generator(this, function (_d) {
|
|
11713
|
+
switch (_d.label) {
|
|
11714
|
+
case 0:
|
|
11715
|
+
_a = [__assign({}, output)];
|
|
11716
|
+
_c = {};
|
|
11717
|
+
return [4, parseBody(output.body, context)];
|
|
11718
|
+
case 1:
|
|
11719
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
11720
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11721
|
+
_b = errorCode;
|
|
11722
|
+
switch (_b) {
|
|
11723
|
+
case "InternalServiceException": return [3, 2];
|
|
11724
|
+
case "com.amazonaws.connect#InternalServiceException": return [3, 2];
|
|
11725
|
+
case "InvalidParameterException": return [3, 4];
|
|
11726
|
+
case "com.amazonaws.connect#InvalidParameterException": return [3, 4];
|
|
11727
|
+
case "InvalidRequestException": return [3, 6];
|
|
11728
|
+
case "com.amazonaws.connect#InvalidRequestException": return [3, 6];
|
|
11729
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
11730
|
+
case "com.amazonaws.connect#ResourceNotFoundException": return [3, 8];
|
|
11731
|
+
case "ThrottlingException": return [3, 10];
|
|
11732
|
+
case "com.amazonaws.connect#ThrottlingException": return [3, 10];
|
|
11733
|
+
}
|
|
11734
|
+
return [3, 12];
|
|
11735
|
+
case 2: return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
11736
|
+
case 3: throw _d.sent();
|
|
11737
|
+
case 4: return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
11738
|
+
case 5: throw _d.sent();
|
|
11739
|
+
case 6: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
11740
|
+
case 7: throw _d.sent();
|
|
11741
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
11742
|
+
case 9: throw _d.sent();
|
|
11743
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
11744
|
+
case 11: throw _d.sent();
|
|
11745
|
+
case 12:
|
|
11746
|
+
parsedBody = parsedOutput.body;
|
|
11747
|
+
throwDefaultError({
|
|
11748
|
+
output: output,
|
|
11749
|
+
parsedBody: parsedBody,
|
|
11750
|
+
exceptionCtor: __BaseException,
|
|
11751
|
+
errorCode: errorCode,
|
|
11752
|
+
});
|
|
11753
|
+
_d.label = 13;
|
|
11754
|
+
case 13: return [2];
|
|
11755
|
+
}
|
|
11756
|
+
});
|
|
11757
|
+
}); };
|
|
11652
11758
|
export var deserializeAws_restJson1SearchUsersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11653
11759
|
var contents, data, _a, _b;
|
|
11654
11760
|
return __generator(this, function (_c) {
|
|
@@ -15480,6 +15586,27 @@ var serializeAws_restJson1SecurityProfileIds = function (input, context) {
|
|
|
15480
15586
|
return entry;
|
|
15481
15587
|
});
|
|
15482
15588
|
};
|
|
15589
|
+
var serializeAws_restJson1SecurityProfileSearchConditionList = function (input, context) {
|
|
15590
|
+
return input
|
|
15591
|
+
.filter(function (e) { return e != null; })
|
|
15592
|
+
.map(function (entry) {
|
|
15593
|
+
return serializeAws_restJson1SecurityProfileSearchCriteria(entry, context);
|
|
15594
|
+
});
|
|
15595
|
+
};
|
|
15596
|
+
var serializeAws_restJson1SecurityProfileSearchCriteria = function (input, context) {
|
|
15597
|
+
return __assign(__assign(__assign({}, (input.AndConditions != null && {
|
|
15598
|
+
AndConditions: serializeAws_restJson1SecurityProfileSearchConditionList(input.AndConditions, context),
|
|
15599
|
+
})), (input.OrConditions != null && {
|
|
15600
|
+
OrConditions: serializeAws_restJson1SecurityProfileSearchConditionList(input.OrConditions, context),
|
|
15601
|
+
})), (input.StringCondition != null && {
|
|
15602
|
+
StringCondition: serializeAws_restJson1StringCondition(input.StringCondition, context),
|
|
15603
|
+
}));
|
|
15604
|
+
};
|
|
15605
|
+
var serializeAws_restJson1SecurityProfilesSearchFilter = function (input, context) {
|
|
15606
|
+
return __assign({}, (input.TagFilter != null && {
|
|
15607
|
+
TagFilter: serializeAws_restJson1ControlPlaneTagFilter(input.TagFilter, context),
|
|
15608
|
+
}));
|
|
15609
|
+
};
|
|
15483
15610
|
var serializeAws_restJson1SingleSelectOptions = function (input, context) {
|
|
15484
15611
|
return input
|
|
15485
15612
|
.filter(function (e) { return e != null; })
|
|
@@ -16743,6 +16870,27 @@ var deserializeAws_restJson1SecurityProfileIds = function (output, context) {
|
|
|
16743
16870
|
});
|
|
16744
16871
|
return retVal;
|
|
16745
16872
|
};
|
|
16873
|
+
var deserializeAws_restJson1SecurityProfileSearchSummary = function (output, context) {
|
|
16874
|
+
return {
|
|
16875
|
+
Arn: __expectString(output.Arn),
|
|
16876
|
+
Description: __expectString(output.Description),
|
|
16877
|
+
Id: __expectString(output.Id),
|
|
16878
|
+
OrganizationResourceId: __expectString(output.OrganizationResourceId),
|
|
16879
|
+
SecurityProfileName: __expectString(output.SecurityProfileName),
|
|
16880
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
16881
|
+
};
|
|
16882
|
+
};
|
|
16883
|
+
var deserializeAws_restJson1SecurityProfilesSearchSummaryList = function (output, context) {
|
|
16884
|
+
var retVal = (output || [])
|
|
16885
|
+
.filter(function (e) { return e != null; })
|
|
16886
|
+
.map(function (entry) {
|
|
16887
|
+
if (entry === null) {
|
|
16888
|
+
return null;
|
|
16889
|
+
}
|
|
16890
|
+
return deserializeAws_restJson1SecurityProfileSearchSummary(entry, context);
|
|
16891
|
+
});
|
|
16892
|
+
return retVal;
|
|
16893
|
+
};
|
|
16746
16894
|
var deserializeAws_restJson1SecurityProfileSummary = function (output, context) {
|
|
16747
16895
|
return {
|
|
16748
16896
|
Arn: __expectString(output.Arn),
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ 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 { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
|
|
106
107
|
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
107
108
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "./commands/SearchVocabulariesCommand";
|
|
108
109
|
import { StartChatContactCommandInput, StartChatContactCommandOutput } from "./commands/StartChatContactCommand";
|
|
@@ -163,7 +164,7 @@ import { ConnectClient } from "./ConnectClient";
|
|
|
163
164
|
* <p>You can connect programmatically to an Amazon Web Services service by using an endpoint. For
|
|
164
165
|
* a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
|
|
165
166
|
* <note>
|
|
166
|
-
* <p>Working with
|
|
167
|
+
* <p>Working with flows? Check out the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html">Amazon Connect Flow language</a>.</p>
|
|
167
168
|
* </note>
|
|
168
169
|
*/
|
|
169
170
|
export declare class Connect extends ConnectClient {
|
|
@@ -215,7 +216,7 @@ export declare class Connect extends ConnectClient {
|
|
|
215
216
|
associateLexBot(args: AssociateLexBotCommandInput, cb: (err: any, data?: AssociateLexBotCommandOutput) => void): void;
|
|
216
217
|
associateLexBot(args: AssociateLexBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateLexBotCommandOutput) => void): void;
|
|
217
218
|
/**
|
|
218
|
-
* <p>Associates a
|
|
219
|
+
* <p>Associates a flow with a phone number claimed to your Amazon Connect instance.</p>
|
|
219
220
|
*/
|
|
220
221
|
associatePhoneNumberContactFlow(args: AssociatePhoneNumberContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePhoneNumberContactFlowCommandOutput>;
|
|
221
222
|
associatePhoneNumberContactFlow(args: AssociatePhoneNumberContactFlowCommandInput, cb: (err: any, data?: AssociatePhoneNumberContactFlowCommandOutput) => void): void;
|
|
@@ -254,15 +255,15 @@ export declare class Connect extends ConnectClient {
|
|
|
254
255
|
createAgentStatus(args: CreateAgentStatusCommandInput, cb: (err: any, data?: CreateAgentStatusCommandOutput) => void): void;
|
|
255
256
|
createAgentStatus(args: CreateAgentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAgentStatusCommandOutput) => void): void;
|
|
256
257
|
/**
|
|
257
|
-
* <p>Creates a
|
|
258
|
-
* <p>You can also create and update
|
|
258
|
+
* <p>Creates a flow for the specified Amazon Connect instance.</p>
|
|
259
|
+
* <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
|
|
259
260
|
* Flow language</a>.</p>
|
|
260
261
|
*/
|
|
261
262
|
createContactFlow(args: CreateContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<CreateContactFlowCommandOutput>;
|
|
262
263
|
createContactFlow(args: CreateContactFlowCommandInput, cb: (err: any, data?: CreateContactFlowCommandOutput) => void): void;
|
|
263
264
|
createContactFlow(args: CreateContactFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContactFlowCommandOutput) => void): void;
|
|
264
265
|
/**
|
|
265
|
-
* <p>Creates a
|
|
266
|
+
* <p>Creates a flow module for the specified Amazon Connect instance. </p>
|
|
266
267
|
*/
|
|
267
268
|
createContactFlowModule(args: CreateContactFlowModuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateContactFlowModuleCommandOutput>;
|
|
268
269
|
createContactFlowModule(args: CreateContactFlowModuleCommandInput, cb: (err: any, data?: CreateContactFlowModuleCommandOutput) => void): void;
|
|
@@ -353,13 +354,13 @@ export declare class Connect extends ConnectClient {
|
|
|
353
354
|
createVocabulary(args: CreateVocabularyCommandInput, cb: (err: any, data?: CreateVocabularyCommandOutput) => void): void;
|
|
354
355
|
createVocabulary(args: CreateVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVocabularyCommandOutput) => void): void;
|
|
355
356
|
/**
|
|
356
|
-
* <p>Deletes a
|
|
357
|
+
* <p>Deletes a flow for the specified Amazon Connect instance.</p>
|
|
357
358
|
*/
|
|
358
359
|
deleteContactFlow(args: DeleteContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContactFlowCommandOutput>;
|
|
359
360
|
deleteContactFlow(args: DeleteContactFlowCommandInput, cb: (err: any, data?: DeleteContactFlowCommandOutput) => void): void;
|
|
360
361
|
deleteContactFlow(args: DeleteContactFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContactFlowCommandOutput) => void): void;
|
|
361
362
|
/**
|
|
362
|
-
* <p>Deletes the specified
|
|
363
|
+
* <p>Deletes the specified flow module.</p>
|
|
363
364
|
*/
|
|
364
365
|
deleteContactFlowModule(args: DeleteContactFlowModuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContactFlowModuleCommandOutput>;
|
|
365
366
|
deleteContactFlowModule(args: DeleteContactFlowModuleCommandInput, cb: (err: any, data?: DeleteContactFlowModuleCommandOutput) => void): void;
|
|
@@ -454,15 +455,15 @@ export declare class Connect extends ConnectClient {
|
|
|
454
455
|
describeContact(args: DescribeContactCommandInput, cb: (err: any, data?: DescribeContactCommandOutput) => void): void;
|
|
455
456
|
describeContact(args: DescribeContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContactCommandOutput) => void): void;
|
|
456
457
|
/**
|
|
457
|
-
* <p>Describes the specified
|
|
458
|
-
* <p>You can also create and update
|
|
458
|
+
* <p>Describes the specified flow.</p>
|
|
459
|
+
* <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
|
|
459
460
|
* Flow language</a>.</p>
|
|
460
461
|
*/
|
|
461
462
|
describeContactFlow(args: DescribeContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContactFlowCommandOutput>;
|
|
462
463
|
describeContactFlow(args: DescribeContactFlowCommandInput, cb: (err: any, data?: DescribeContactFlowCommandOutput) => void): void;
|
|
463
464
|
describeContactFlow(args: DescribeContactFlowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContactFlowCommandOutput) => void): void;
|
|
464
465
|
/**
|
|
465
|
-
* <p>Describes the specified
|
|
466
|
+
* <p>Describes the specified flow module.</p>
|
|
466
467
|
*/
|
|
467
468
|
describeContactFlowModule(args: DescribeContactFlowModuleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContactFlowModuleCommandOutput>;
|
|
468
469
|
describeContactFlowModule(args: DescribeContactFlowModuleCommandInput, cb: (err: any, data?: DescribeContactFlowModuleCommandOutput) => void): void;
|
|
@@ -583,7 +584,7 @@ export declare class Connect extends ConnectClient {
|
|
|
583
584
|
disassociateInstanceStorageConfig(args: DisassociateInstanceStorageConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateInstanceStorageConfigCommandOutput) => void): void;
|
|
584
585
|
/**
|
|
585
586
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
586
|
-
* <p>Remove the Lambda function from the dropdown options available in the relevant
|
|
587
|
+
* <p>Remove the Lambda function from the dropdown options available in the relevant flow
|
|
587
588
|
* blocks.</p>
|
|
588
589
|
*/
|
|
589
590
|
disassociateLambdaFunction(args: DisassociateLambdaFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateLambdaFunctionCommandOutput>;
|
|
@@ -597,8 +598,8 @@ export declare class Connect extends ConnectClient {
|
|
|
597
598
|
disassociateLexBot(args: DisassociateLexBotCommandInput, cb: (err: any, data?: DisassociateLexBotCommandOutput) => void): void;
|
|
598
599
|
disassociateLexBot(args: DisassociateLexBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateLexBotCommandOutput) => void): void;
|
|
599
600
|
/**
|
|
600
|
-
* <p>Removes the
|
|
601
|
-
* a
|
|
601
|
+
* <p>Removes the flow association from a phone number claimed to your Amazon Connect instance, if
|
|
602
|
+
* a flow association exists.</p>
|
|
602
603
|
*/
|
|
603
604
|
disassociatePhoneNumberContactFlow(args: DisassociatePhoneNumberContactFlowCommandInput, options?: __HttpHandlerOptions): Promise<DisassociatePhoneNumberContactFlowCommandOutput>;
|
|
604
605
|
disassociatePhoneNumberContactFlow(args: DisassociatePhoneNumberContactFlowCommandInput, cb: (err: any, data?: DisassociatePhoneNumberContactFlowCommandOutput) => void): void;
|
|
@@ -695,16 +696,16 @@ export declare class Connect extends ConnectClient {
|
|
|
695
696
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
696
697
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
697
698
|
/**
|
|
698
|
-
* <p>Provides information about the
|
|
699
|
+
* <p>Provides information about the flow modules for the specified Amazon Connect instance.</p>
|
|
699
700
|
*/
|
|
700
701
|
listContactFlowModules(args: ListContactFlowModulesCommandInput, options?: __HttpHandlerOptions): Promise<ListContactFlowModulesCommandOutput>;
|
|
701
702
|
listContactFlowModules(args: ListContactFlowModulesCommandInput, cb: (err: any, data?: ListContactFlowModulesCommandOutput) => void): void;
|
|
702
703
|
listContactFlowModules(args: ListContactFlowModulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContactFlowModulesCommandOutput) => void): void;
|
|
703
704
|
/**
|
|
704
|
-
* <p>Provides information about the
|
|
705
|
-
* <p>You can also create and update
|
|
705
|
+
* <p>Provides information about the flows for the specified Amazon Connect instance.</p>
|
|
706
|
+
* <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
|
|
706
707
|
* Flow language</a>.</p>
|
|
707
|
-
* <p>For more information about
|
|
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
|
|
708
709
|
* <i>Amazon Connect Administrator Guide</i>.</p>
|
|
709
710
|
*/
|
|
710
711
|
listContactFlows(args: ListContactFlowsCommandInput, options?: __HttpHandlerOptions): Promise<ListContactFlowsCommandOutput>;
|
|
@@ -767,7 +768,7 @@ export declare class Connect extends ConnectClient {
|
|
|
767
768
|
/**
|
|
768
769
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
769
770
|
* <p>Returns a paginated list of all Lambda functions that display in the dropdown options in the
|
|
770
|
-
* relevant
|
|
771
|
+
* relevant flow blocks.</p>
|
|
771
772
|
*/
|
|
772
773
|
listLambdaFunctions(args: ListLambdaFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLambdaFunctionsCommandOutput>;
|
|
773
774
|
listLambdaFunctions(args: ListLambdaFunctionsCommandInput, cb: (err: any, data?: ListLambdaFunctionsCommandOutput) => void): void;
|
|
@@ -930,6 +931,13 @@ export declare class Connect extends ConnectClient {
|
|
|
930
931
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
931
932
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
932
933
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
934
|
+
/**
|
|
935
|
+
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
936
|
+
* <p>Searches security profiles in an Amazon Connect instance, with optional filtering.</p>
|
|
937
|
+
*/
|
|
938
|
+
searchSecurityProfiles(args: SearchSecurityProfilesCommandInput, options?: __HttpHandlerOptions): Promise<SearchSecurityProfilesCommandOutput>;
|
|
939
|
+
searchSecurityProfiles(args: SearchSecurityProfilesCommandInput, cb: (err: any, data?: SearchSecurityProfilesCommandOutput) => void): void;
|
|
940
|
+
searchSecurityProfiles(args: SearchSecurityProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSecurityProfilesCommandOutput) => void): void;
|
|
933
941
|
/**
|
|
934
942
|
* <p>Searches users in an Amazon Connect instance, with optional filtering.</p>
|
|
935
943
|
*/
|
|
@@ -944,7 +952,7 @@ export declare class Connect extends ConnectClient {
|
|
|
944
952
|
searchVocabularies(args: SearchVocabulariesCommandInput, cb: (err: any, data?: SearchVocabulariesCommandOutput) => void): void;
|
|
945
953
|
searchVocabularies(args: SearchVocabulariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchVocabulariesCommandOutput) => void): void;
|
|
946
954
|
/**
|
|
947
|
-
* <p>Initiates a
|
|
955
|
+
* <p>Initiates a flow to start a new chat for the customer. Response of this API provides
|
|
948
956
|
* a token 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>
|
|
949
957
|
*
|
|
950
958
|
* <p>When a new chat contact is successfully created, clients must subscribe to the participant’s
|
|
@@ -1006,11 +1014,11 @@ export declare class Connect extends ConnectClient {
|
|
|
1006
1014
|
startContactStreaming(args: StartContactStreamingCommandInput, cb: (err: any, data?: StartContactStreamingCommandOutput) => void): void;
|
|
1007
1015
|
startContactStreaming(args: StartContactStreamingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartContactStreamingCommandOutput) => void): void;
|
|
1008
1016
|
/**
|
|
1009
|
-
* <p>Places an outbound call to a contact, and then initiates the
|
|
1010
|
-
* actions in the
|
|
1017
|
+
* <p>Places an outbound call to a contact, and then initiates the flow. It performs the
|
|
1018
|
+
* actions in the flow that's specified (in <code>ContactFlowId</code>).</p>
|
|
1011
1019
|
*
|
|
1012
1020
|
* <p>Agents do not initiate the outbound API, which means that they do not dial the contact. If
|
|
1013
|
-
* the
|
|
1021
|
+
* the flow places an outbound call to a contact, and then puts the contact in queue, the
|
|
1014
1022
|
* call is then routed to the agent, like any other inbound case.</p>
|
|
1015
1023
|
*
|
|
1016
1024
|
* <p>There is a 60-second dialing timeout for this operation. If the call is not connected after
|
|
@@ -1023,15 +1031,15 @@ export declare class Connect extends ConnectClient {
|
|
|
1023
1031
|
* <note>
|
|
1024
1032
|
* <p>Campaign calls are not allowed by default. Before you can make a call with
|
|
1025
1033
|
* <code>TrafficType</code> = <code>CAMPAIGN</code>, you must submit a service quota increase
|
|
1026
|
-
* request
|
|
1027
|
-
*
|
|
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>
|
|
1028
1036
|
* </note>
|
|
1029
1037
|
*/
|
|
1030
1038
|
startOutboundVoiceContact(args: StartOutboundVoiceContactCommandInput, options?: __HttpHandlerOptions): Promise<StartOutboundVoiceContactCommandOutput>;
|
|
1031
1039
|
startOutboundVoiceContact(args: StartOutboundVoiceContactCommandInput, cb: (err: any, data?: StartOutboundVoiceContactCommandOutput) => void): void;
|
|
1032
1040
|
startOutboundVoiceContact(args: StartOutboundVoiceContactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartOutboundVoiceContactCommandOutput) => void): void;
|
|
1033
1041
|
/**
|
|
1034
|
-
* <p>Initiates a
|
|
1042
|
+
* <p>Initiates a flow to start a new task.</p>
|
|
1035
1043
|
*/
|
|
1036
1044
|
startTaskContact(args: StartTaskContactCommandInput, options?: __HttpHandlerOptions): Promise<StartTaskContactCommandOutput>;
|
|
1037
1045
|
startTaskContact(args: StartTaskContactCommandInput, cb: (err: any, data?: StartTaskContactCommandOutput) => void): void;
|
|
@@ -1088,9 +1096,9 @@ export declare class Connect extends ConnectClient {
|
|
|
1088
1096
|
suspendContactRecording(args: SuspendContactRecordingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SuspendContactRecordingCommandOutput) => void): void;
|
|
1089
1097
|
/**
|
|
1090
1098
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
1091
|
-
* <p>
|
|
1092
|
-
* flows, agent
|
|
1093
|
-
* templates
|
|
1099
|
+
* <p>Some of the supported resource types are agents, routing profiles, queues, quick connects, contact
|
|
1100
|
+
* flows, agent statuses, hours of operation, phone numbers, security profiles, and task
|
|
1101
|
+
* 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>
|
|
1094
1102
|
* <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
|
|
1095
1103
|
* Policy Examples</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
|
|
1096
1104
|
*/
|
|
@@ -1099,7 +1107,7 @@ export declare class Connect extends ConnectClient {
|
|
|
1099
1107
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1100
1108
|
/**
|
|
1101
1109
|
* <p>Transfers contacts from one agent or queue to another agent or queue at any point after a
|
|
1102
|
-
* contact is created. You can transfer a contact to another queue by providing the
|
|
1110
|
+
* contact is created. You can transfer a contact to another queue by providing the flow
|
|
1103
1111
|
* which orchestrates the contact to the destination queue. This gives you more control over contact
|
|
1104
1112
|
* handling and helps you adhere to the service level agreement (SLA) guaranteed to your
|
|
1105
1113
|
* customers.</p>
|
|
@@ -1112,7 +1120,7 @@ export declare class Connect extends ConnectClient {
|
|
|
1112
1120
|
* <p>Do not use both <code>QueueId</code> and <code>UserId</code> in the same call.</p>
|
|
1113
1121
|
* </li>
|
|
1114
1122
|
* <li>
|
|
1115
|
-
* <p>The following
|
|
1123
|
+
* <p>The following flow types are supported: Inbound flow, Transfer to agent
|
|
1116
1124
|
* flow, and Transfer to queue flow.</p>
|
|
1117
1125
|
* </li>
|
|
1118
1126
|
* <li>
|
|
@@ -1162,49 +1170,41 @@ export declare class Connect extends ConnectClient {
|
|
|
1162
1170
|
* from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls
|
|
1163
1171
|
* for additional analysis, such as legal review or to identify abusive callers.</p>
|
|
1164
1172
|
* <p>Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For
|
|
1165
|
-
* information about
|
|
1173
|
+
* information about contact record retention and the maximum size of the contact record attributes section, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits">Feature
|
|
1166
1174
|
* specifications</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
1167
|
-
*
|
|
1168
|
-
* <p>
|
|
1169
|
-
* <b>Important:</b> You cannot use the operation to update
|
|
1170
|
-
* attributes for contacts that occurred prior to the release of the API, which was September 12,
|
|
1171
|
-
* 2018. You can update attributes only for contacts that started after the release of the API. If
|
|
1172
|
-
* you attempt to update attributes for a contact that occurred prior to the release of the API, a
|
|
1173
|
-
* 400 error is returned. This applies also to queued callbacks that were initiated prior to the
|
|
1174
|
-
* release of the API but are still active in your instance.</p>
|
|
1175
1175
|
*/
|
|
1176
1176
|
updateContactAttributes(args: UpdateContactAttributesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactAttributesCommandOutput>;
|
|
1177
1177
|
updateContactAttributes(args: UpdateContactAttributesCommandInput, cb: (err: any, data?: UpdateContactAttributesCommandOutput) => void): void;
|
|
1178
1178
|
updateContactAttributes(args: UpdateContactAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContactAttributesCommandOutput) => void): void;
|
|
1179
1179
|
/**
|
|
1180
|
-
* <p>Updates the specified
|
|
1181
|
-
* <p>You can also create and update
|
|
1180
|
+
* <p>Updates the specified flow.</p>
|
|
1181
|
+
* <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
|
|
1182
1182
|
* Flow language</a>.</p>
|
|
1183
1183
|
*/
|
|
1184
1184
|
updateContactFlowContent(args: UpdateContactFlowContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactFlowContentCommandOutput>;
|
|
1185
1185
|
updateContactFlowContent(args: UpdateContactFlowContentCommandInput, cb: (err: any, data?: UpdateContactFlowContentCommandOutput) => void): void;
|
|
1186
1186
|
updateContactFlowContent(args: UpdateContactFlowContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContactFlowContentCommandOutput) => void): void;
|
|
1187
1187
|
/**
|
|
1188
|
-
* <p>Updates metadata about specified
|
|
1188
|
+
* <p>Updates metadata about specified flow.</p>
|
|
1189
1189
|
*/
|
|
1190
1190
|
updateContactFlowMetadata(args: UpdateContactFlowMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactFlowMetadataCommandOutput>;
|
|
1191
1191
|
updateContactFlowMetadata(args: UpdateContactFlowMetadataCommandInput, cb: (err: any, data?: UpdateContactFlowMetadataCommandOutput) => void): void;
|
|
1192
1192
|
updateContactFlowMetadata(args: UpdateContactFlowMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContactFlowMetadataCommandOutput) => void): void;
|
|
1193
1193
|
/**
|
|
1194
|
-
* <p>Updates specified
|
|
1194
|
+
* <p>Updates specified flow module for the specified Amazon Connect instance. </p>
|
|
1195
1195
|
*/
|
|
1196
1196
|
updateContactFlowModuleContent(args: UpdateContactFlowModuleContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactFlowModuleContentCommandOutput>;
|
|
1197
1197
|
updateContactFlowModuleContent(args: UpdateContactFlowModuleContentCommandInput, cb: (err: any, data?: UpdateContactFlowModuleContentCommandOutput) => void): void;
|
|
1198
1198
|
updateContactFlowModuleContent(args: UpdateContactFlowModuleContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContactFlowModuleContentCommandOutput) => void): void;
|
|
1199
1199
|
/**
|
|
1200
|
-
* <p>Updates metadata about specified
|
|
1200
|
+
* <p>Updates metadata about specified flow module.</p>
|
|
1201
1201
|
*/
|
|
1202
1202
|
updateContactFlowModuleMetadata(args: UpdateContactFlowModuleMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactFlowModuleMetadataCommandOutput>;
|
|
1203
1203
|
updateContactFlowModuleMetadata(args: UpdateContactFlowModuleMetadataCommandInput, cb: (err: any, data?: UpdateContactFlowModuleMetadataCommandOutput) => void): void;
|
|
1204
1204
|
updateContactFlowModuleMetadata(args: UpdateContactFlowModuleMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContactFlowModuleMetadataCommandOutput) => void): void;
|
|
1205
1205
|
/**
|
|
1206
|
-
* <p>The name of the
|
|
1207
|
-
* <p>You can also create and update
|
|
1206
|
+
* <p>The name of the flow.</p>
|
|
1207
|
+
* <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
|
|
1208
1208
|
* Flow language</a>.</p>
|
|
1209
1209
|
*/
|
|
1210
1210
|
updateContactFlowName(args: UpdateContactFlowNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContactFlowNameCommandOutput>;
|