@aws-sdk/client-connect 3.76.0 → 3.79.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 +30 -0
- package/dist-cjs/Connect.js +15 -0
- package/dist-cjs/commands/SearchUsersCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +73 -2
- package/dist-cjs/pagination/GetCurrentMetricDataPaginator.js +2 -1
- package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -1
- package/dist-cjs/pagination/ListAgentStatusesPaginator.js +2 -1
- package/dist-cjs/pagination/ListApprovedOriginsPaginator.js +2 -1
- package/dist-cjs/pagination/ListBotsPaginator.js +2 -1
- package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +2 -1
- package/dist-cjs/pagination/ListContactFlowsPaginator.js +2 -1
- package/dist-cjs/pagination/ListContactReferencesPaginator.js +2 -1
- package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +2 -1
- package/dist-cjs/pagination/ListHoursOfOperationsPaginator.js +2 -1
- package/dist-cjs/pagination/ListInstanceAttributesPaginator.js +2 -1
- package/dist-cjs/pagination/ListInstanceStorageConfigsPaginator.js +2 -1
- package/dist-cjs/pagination/ListInstancesPaginator.js +2 -1
- package/dist-cjs/pagination/ListIntegrationAssociationsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLambdaFunctionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListLexBotsPaginator.js +2 -1
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +2 -1
- package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +2 -1
- package/dist-cjs/pagination/ListPromptsPaginator.js +2 -1
- package/dist-cjs/pagination/ListQueueQuickConnectsPaginator.js +2 -1
- package/dist-cjs/pagination/ListQueuesPaginator.js +2 -1
- package/dist-cjs/pagination/ListQuickConnectsPaginator.js +2 -1
- package/dist-cjs/pagination/ListRoutingProfileQueuesPaginator.js +2 -1
- package/dist-cjs/pagination/ListRoutingProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListSecurityKeysPaginator.js +2 -1
- package/dist-cjs/pagination/ListSecurityProfilePermissionsPaginator.js +2 -1
- package/dist-cjs/pagination/ListSecurityProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListUseCasesPaginator.js +2 -1
- package/dist-cjs/pagination/ListUserHierarchyGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -1
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -1
- package/dist-cjs/pagination/SearchUsersPaginator.js +36 -0
- package/dist-cjs/pagination/SearchVocabulariesPaginator.js +2 -1
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +223 -5
- package/dist-es/Connect.js +15 -0
- package/dist-es/commands/SearchUsersCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +51 -0
- package/dist-es/pagination/GetCurrentMetricDataPaginator.js +3 -2
- package/dist-es/pagination/GetMetricDataPaginator.js +3 -2
- package/dist-es/pagination/ListAgentStatusesPaginator.js +3 -2
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +3 -2
- package/dist-es/pagination/ListBotsPaginator.js +3 -2
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +3 -2
- package/dist-es/pagination/ListContactFlowsPaginator.js +3 -2
- package/dist-es/pagination/ListContactReferencesPaginator.js +3 -2
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +3 -2
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +3 -2
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +3 -2
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +3 -2
- package/dist-es/pagination/ListInstancesPaginator.js +3 -2
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +3 -2
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +3 -2
- package/dist-es/pagination/ListLexBotsPaginator.js +3 -2
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +3 -2
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +3 -2
- package/dist-es/pagination/ListPromptsPaginator.js +3 -2
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +3 -2
- package/dist-es/pagination/ListQueuesPaginator.js +3 -2
- package/dist-es/pagination/ListQuickConnectsPaginator.js +3 -2
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +3 -2
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListSecurityKeysPaginator.js +3 -2
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +3 -2
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListUseCasesPaginator.js +3 -2
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListUsersPaginator.js +3 -2
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +3 -2
- package/dist-es/pagination/SearchUsersPaginator.js +75 -0
- package/dist-es/pagination/SearchVocabulariesPaginator.js +3 -2
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +220 -1
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +7 -8
- package/dist-types/models/models_1.d.ts +282 -2
- package/dist-types/pagination/SearchUsersPaginator.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/SearchUsersCommand.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 +149 -0
- package/dist-types/ts3.4/pagination/SearchUsersPaginator.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 +25 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
|
|
6
6
|
import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, UserNotFoundException, } from "../models/models_0";
|
|
@@ -3677,6 +3677,36 @@ export var serializeAws_restJson1SearchAvailablePhoneNumbersCommand = function (
|
|
|
3677
3677
|
}
|
|
3678
3678
|
});
|
|
3679
3679
|
}); };
|
|
3680
|
+
export var serializeAws_restJson1SearchUsersCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3681
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
3682
|
+
return __generator(this, function (_c) {
|
|
3683
|
+
switch (_c.label) {
|
|
3684
|
+
case 0: return [4, context.endpoint()];
|
|
3685
|
+
case 1:
|
|
3686
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
3687
|
+
headers = {
|
|
3688
|
+
"content-type": "application/json",
|
|
3689
|
+
};
|
|
3690
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/search-users";
|
|
3691
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SearchCriteria !== undefined &&
|
|
3692
|
+
input.SearchCriteria !== null && {
|
|
3693
|
+
SearchCriteria: serializeAws_restJson1UserSearchCriteria(input.SearchCriteria, context),
|
|
3694
|
+
})), (input.SearchFilter !== undefined &&
|
|
3695
|
+
input.SearchFilter !== null && {
|
|
3696
|
+
SearchFilter: serializeAws_restJson1UserSearchFilter(input.SearchFilter, context),
|
|
3697
|
+
})));
|
|
3698
|
+
return [2, new __HttpRequest({
|
|
3699
|
+
protocol: protocol,
|
|
3700
|
+
hostname: hostname,
|
|
3701
|
+
port: port,
|
|
3702
|
+
method: "POST",
|
|
3703
|
+
headers: headers,
|
|
3704
|
+
path: resolvedPath,
|
|
3705
|
+
body: body,
|
|
3706
|
+
})];
|
|
3707
|
+
}
|
|
3708
|
+
});
|
|
3709
|
+
}); };
|
|
3680
3710
|
export var serializeAws_restJson1SearchVocabulariesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3681
3711
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
3682
3712
|
return __generator(this, function (_c) {
|
|
@@ -12650,6 +12680,86 @@ var deserializeAws_restJson1SearchAvailablePhoneNumbersCommandError = function (
|
|
|
12650
12680
|
}
|
|
12651
12681
|
});
|
|
12652
12682
|
}); };
|
|
12683
|
+
export var deserializeAws_restJson1SearchUsersCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12684
|
+
var contents, data, _a, _b;
|
|
12685
|
+
return __generator(this, function (_c) {
|
|
12686
|
+
switch (_c.label) {
|
|
12687
|
+
case 0:
|
|
12688
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
12689
|
+
return [2, deserializeAws_restJson1SearchUsersCommandError(output, context)];
|
|
12690
|
+
}
|
|
12691
|
+
contents = {
|
|
12692
|
+
$metadata: deserializeMetadata(output),
|
|
12693
|
+
ApproximateTotalCount: undefined,
|
|
12694
|
+
NextToken: undefined,
|
|
12695
|
+
Users: undefined,
|
|
12696
|
+
};
|
|
12697
|
+
_a = __expectNonNull;
|
|
12698
|
+
_b = __expectObject;
|
|
12699
|
+
return [4, parseBody(output.body, context)];
|
|
12700
|
+
case 1:
|
|
12701
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
12702
|
+
if (data.ApproximateTotalCount !== undefined && data.ApproximateTotalCount !== null) {
|
|
12703
|
+
contents.ApproximateTotalCount = __expectLong(data.ApproximateTotalCount);
|
|
12704
|
+
}
|
|
12705
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
12706
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
12707
|
+
}
|
|
12708
|
+
if (data.Users !== undefined && data.Users !== null) {
|
|
12709
|
+
contents.Users = deserializeAws_restJson1UserSearchSummaryList(data.Users, context);
|
|
12710
|
+
}
|
|
12711
|
+
return [2, Promise.resolve(contents)];
|
|
12712
|
+
}
|
|
12713
|
+
});
|
|
12714
|
+
}); };
|
|
12715
|
+
var deserializeAws_restJson1SearchUsersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12716
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
12717
|
+
var _c;
|
|
12718
|
+
return __generator(this, function (_d) {
|
|
12719
|
+
switch (_d.label) {
|
|
12720
|
+
case 0:
|
|
12721
|
+
_a = [__assign({}, output)];
|
|
12722
|
+
_c = {};
|
|
12723
|
+
return [4, parseBody(output.body, context)];
|
|
12724
|
+
case 1:
|
|
12725
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
12726
|
+
errorCode = "UnknownError";
|
|
12727
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12728
|
+
_b = errorCode;
|
|
12729
|
+
switch (_b) {
|
|
12730
|
+
case "InternalServiceException": return [3, 2];
|
|
12731
|
+
case "com.amazonaws.connect#InternalServiceException": return [3, 2];
|
|
12732
|
+
case "InvalidParameterException": return [3, 4];
|
|
12733
|
+
case "com.amazonaws.connect#InvalidParameterException": return [3, 4];
|
|
12734
|
+
case "InvalidRequestException": return [3, 6];
|
|
12735
|
+
case "com.amazonaws.connect#InvalidRequestException": return [3, 6];
|
|
12736
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
12737
|
+
case "com.amazonaws.connect#ResourceNotFoundException": return [3, 8];
|
|
12738
|
+
case "ThrottlingException": return [3, 10];
|
|
12739
|
+
case "com.amazonaws.connect#ThrottlingException": return [3, 10];
|
|
12740
|
+
}
|
|
12741
|
+
return [3, 12];
|
|
12742
|
+
case 2: return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
|
|
12743
|
+
case 3: throw _d.sent();
|
|
12744
|
+
case 4: return [4, deserializeAws_restJson1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
12745
|
+
case 5: throw _d.sent();
|
|
12746
|
+
case 6: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
12747
|
+
case 7: throw _d.sent();
|
|
12748
|
+
case 8: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
12749
|
+
case 9: throw _d.sent();
|
|
12750
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
12751
|
+
case 11: throw _d.sent();
|
|
12752
|
+
case 12:
|
|
12753
|
+
parsedBody = parsedOutput.body;
|
|
12754
|
+
response = new __BaseException({
|
|
12755
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
12756
|
+
$fault: "client",
|
|
12757
|
+
$metadata: deserializeMetadata(output),
|
|
12758
|
+
});
|
|
12759
|
+
throw __decorateServiceException(response, parsedBody);
|
|
12760
|
+
}
|
|
12761
|
+
});
|
|
12762
|
+
}); };
|
|
12653
12763
|
export var deserializeAws_restJson1SearchVocabulariesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12654
12764
|
var contents, data, _a, _b;
|
|
12655
12765
|
return __generator(this, function (_c) {
|
|
@@ -15928,6 +16038,16 @@ var serializeAws_restJson1ContactReferences = function (input, context) {
|
|
|
15928
16038
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_restJson1Reference(value, context), _b));
|
|
15929
16039
|
}, {});
|
|
15930
16040
|
};
|
|
16041
|
+
var serializeAws_restJson1ControlPlaneTagFilter = function (input, context) {
|
|
16042
|
+
return __assign(__assign(__assign({}, (input.AndConditions !== undefined &&
|
|
16043
|
+
input.AndConditions !== null && {
|
|
16044
|
+
AndConditions: serializeAws_restJson1TagAndConditionList(input.AndConditions, context),
|
|
16045
|
+
})), (input.OrConditions !== undefined &&
|
|
16046
|
+
input.OrConditions !== null && {
|
|
16047
|
+
OrConditions: serializeAws_restJson1TagOrConditionList(input.OrConditions, context),
|
|
16048
|
+
})), (input.TagCondition !== undefined &&
|
|
16049
|
+
input.TagCondition !== null && { TagCondition: serializeAws_restJson1TagCondition(input.TagCondition, context) }));
|
|
16050
|
+
};
|
|
15931
16051
|
var serializeAws_restJson1CurrentMetric = function (input, context) {
|
|
15932
16052
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }));
|
|
15933
16053
|
};
|
|
@@ -15960,6 +16080,10 @@ var serializeAws_restJson1Groupings = function (input, context) {
|
|
|
15960
16080
|
return entry;
|
|
15961
16081
|
});
|
|
15962
16082
|
};
|
|
16083
|
+
var serializeAws_restJson1HierarchyGroupCondition = function (input, context) {
|
|
16084
|
+
return __assign(__assign({}, (input.HierarchyGroupMatchType !== undefined &&
|
|
16085
|
+
input.HierarchyGroupMatchType !== null && { HierarchyGroupMatchType: input.HierarchyGroupMatchType })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
16086
|
+
};
|
|
15963
16087
|
var serializeAws_restJson1HierarchyLevelUpdate = function (input, context) {
|
|
15964
16088
|
return __assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
15965
16089
|
};
|
|
@@ -16178,6 +16302,10 @@ var serializeAws_restJson1SecurityProfileIds = function (input, context) {
|
|
|
16178
16302
|
return entry;
|
|
16179
16303
|
});
|
|
16180
16304
|
};
|
|
16305
|
+
var serializeAws_restJson1StringCondition = function (input, context) {
|
|
16306
|
+
return __assign(__assign(__assign({}, (input.ComparisonType !== undefined &&
|
|
16307
|
+
input.ComparisonType !== null && { ComparisonType: input.ComparisonType })), (input.FieldName !== undefined && input.FieldName !== null && { FieldName: input.FieldName })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
16308
|
+
};
|
|
16181
16309
|
var serializeAws_restJson1SupportedMessagingContentTypes = function (input, context) {
|
|
16182
16310
|
return input
|
|
16183
16311
|
.filter(function (e) { return e != null; })
|
|
@@ -16188,6 +16316,19 @@ var serializeAws_restJson1SupportedMessagingContentTypes = function (input, cont
|
|
|
16188
16316
|
return entry;
|
|
16189
16317
|
});
|
|
16190
16318
|
};
|
|
16319
|
+
var serializeAws_restJson1TagAndConditionList = function (input, context) {
|
|
16320
|
+
return input
|
|
16321
|
+
.filter(function (e) { return e != null; })
|
|
16322
|
+
.map(function (entry) {
|
|
16323
|
+
if (entry === null) {
|
|
16324
|
+
return null;
|
|
16325
|
+
}
|
|
16326
|
+
return serializeAws_restJson1TagCondition(entry, context);
|
|
16327
|
+
});
|
|
16328
|
+
};
|
|
16329
|
+
var serializeAws_restJson1TagCondition = function (input, context) {
|
|
16330
|
+
return __assign(__assign({}, (input.TagKey !== undefined && input.TagKey !== null && { TagKey: input.TagKey })), (input.TagValue !== undefined && input.TagValue !== null && { TagValue: input.TagValue }));
|
|
16331
|
+
};
|
|
16191
16332
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
16192
16333
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
16193
16334
|
var _b;
|
|
@@ -16198,6 +16339,16 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
16198
16339
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
16199
16340
|
}, {});
|
|
16200
16341
|
};
|
|
16342
|
+
var serializeAws_restJson1TagOrConditionList = function (input, context) {
|
|
16343
|
+
return input
|
|
16344
|
+
.filter(function (e) { return e != null; })
|
|
16345
|
+
.map(function (entry) {
|
|
16346
|
+
if (entry === null) {
|
|
16347
|
+
return null;
|
|
16348
|
+
}
|
|
16349
|
+
return serializeAws_restJson1TagAndConditionList(entry, context);
|
|
16350
|
+
});
|
|
16351
|
+
};
|
|
16201
16352
|
var serializeAws_restJson1Threshold = function (input, context) {
|
|
16202
16353
|
return __assign(__assign({}, (input.Comparison !== undefined && input.Comparison !== null && { Comparison: input.Comparison })), (input.ThresholdValue !== undefined &&
|
|
16203
16354
|
input.ThresholdValue !== null && { ThresholdValue: __serializeFloat(input.ThresholdValue) }));
|
|
@@ -16213,6 +16364,35 @@ var serializeAws_restJson1UserPhoneConfig = function (input, context) {
|
|
|
16213
16364
|
var serializeAws_restJson1UserQuickConnectConfig = function (input, context) {
|
|
16214
16365
|
return __assign(__assign({}, (input.ContactFlowId !== undefined && input.ContactFlowId !== null && { ContactFlowId: input.ContactFlowId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
16215
16366
|
};
|
|
16367
|
+
var serializeAws_restJson1UserSearchConditionList = function (input, context) {
|
|
16368
|
+
return input
|
|
16369
|
+
.filter(function (e) { return e != null; })
|
|
16370
|
+
.map(function (entry) {
|
|
16371
|
+
if (entry === null) {
|
|
16372
|
+
return null;
|
|
16373
|
+
}
|
|
16374
|
+
return serializeAws_restJson1UserSearchCriteria(entry, context);
|
|
16375
|
+
});
|
|
16376
|
+
};
|
|
16377
|
+
var serializeAws_restJson1UserSearchCriteria = function (input, context) {
|
|
16378
|
+
return __assign(__assign(__assign(__assign({}, (input.AndConditions !== undefined &&
|
|
16379
|
+
input.AndConditions !== null && {
|
|
16380
|
+
AndConditions: serializeAws_restJson1UserSearchConditionList(input.AndConditions, context),
|
|
16381
|
+
})), (input.HierarchyGroupCondition !== undefined &&
|
|
16382
|
+
input.HierarchyGroupCondition !== null && {
|
|
16383
|
+
HierarchyGroupCondition: serializeAws_restJson1HierarchyGroupCondition(input.HierarchyGroupCondition, context),
|
|
16384
|
+
})), (input.OrConditions !== undefined &&
|
|
16385
|
+
input.OrConditions !== null && {
|
|
16386
|
+
OrConditions: serializeAws_restJson1UserSearchConditionList(input.OrConditions, context),
|
|
16387
|
+
})), (input.StringCondition !== undefined &&
|
|
16388
|
+
input.StringCondition !== null && {
|
|
16389
|
+
StringCondition: serializeAws_restJson1StringCondition(input.StringCondition, context),
|
|
16390
|
+
}));
|
|
16391
|
+
};
|
|
16392
|
+
var serializeAws_restJson1UserSearchFilter = function (input, context) {
|
|
16393
|
+
return __assign({}, (input.TagFilter !== undefined &&
|
|
16394
|
+
input.TagFilter !== null && { TagFilter: serializeAws_restJson1ControlPlaneTagFilter(input.TagFilter, context) }));
|
|
16395
|
+
};
|
|
16216
16396
|
var serializeAws_restJson1VoiceRecordingConfiguration = function (input, context) {
|
|
16217
16397
|
return __assign({}, (input.VoiceRecordingTrack !== undefined &&
|
|
16218
16398
|
input.VoiceRecordingTrack !== null && { VoiceRecordingTrack: input.VoiceRecordingTrack }));
|
|
@@ -17330,6 +17510,12 @@ var deserializeAws_restJson1UserIdentityInfo = function (output, context) {
|
|
|
17330
17510
|
LastName: __expectString(output.LastName),
|
|
17331
17511
|
};
|
|
17332
17512
|
};
|
|
17513
|
+
var deserializeAws_restJson1UserIdentityInfoLite = function (output, context) {
|
|
17514
|
+
return {
|
|
17515
|
+
FirstName: __expectString(output.FirstName),
|
|
17516
|
+
LastName: __expectString(output.LastName),
|
|
17517
|
+
};
|
|
17518
|
+
};
|
|
17333
17519
|
var deserializeAws_restJson1UserPhoneConfig = function (output, context) {
|
|
17334
17520
|
return {
|
|
17335
17521
|
AfterContactWorkTimeLimit: __expectInt32(output.AfterContactWorkTimeLimit),
|
|
@@ -17344,6 +17530,39 @@ var deserializeAws_restJson1UserQuickConnectConfig = function (output, context)
|
|
|
17344
17530
|
UserId: __expectString(output.UserId),
|
|
17345
17531
|
};
|
|
17346
17532
|
};
|
|
17533
|
+
var deserializeAws_restJson1UserSearchSummary = function (output, context) {
|
|
17534
|
+
return {
|
|
17535
|
+
Arn: __expectString(output.Arn),
|
|
17536
|
+
DirectoryUserId: __expectString(output.DirectoryUserId),
|
|
17537
|
+
HierarchyGroupId: __expectString(output.HierarchyGroupId),
|
|
17538
|
+
Id: __expectString(output.Id),
|
|
17539
|
+
IdentityInfo: output.IdentityInfo !== undefined && output.IdentityInfo !== null
|
|
17540
|
+
? deserializeAws_restJson1UserIdentityInfoLite(output.IdentityInfo, context)
|
|
17541
|
+
: undefined,
|
|
17542
|
+
PhoneConfig: output.PhoneConfig !== undefined && output.PhoneConfig !== null
|
|
17543
|
+
? deserializeAws_restJson1UserPhoneConfig(output.PhoneConfig, context)
|
|
17544
|
+
: undefined,
|
|
17545
|
+
RoutingProfileId: __expectString(output.RoutingProfileId),
|
|
17546
|
+
SecurityProfileIds: output.SecurityProfileIds !== undefined && output.SecurityProfileIds !== null
|
|
17547
|
+
? deserializeAws_restJson1SecurityProfileIds(output.SecurityProfileIds, context)
|
|
17548
|
+
: undefined,
|
|
17549
|
+
Tags: output.Tags !== undefined && output.Tags !== null
|
|
17550
|
+
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
17551
|
+
: undefined,
|
|
17552
|
+
Username: __expectString(output.Username),
|
|
17553
|
+
};
|
|
17554
|
+
};
|
|
17555
|
+
var deserializeAws_restJson1UserSearchSummaryList = function (output, context) {
|
|
17556
|
+
var retVal = (output || [])
|
|
17557
|
+
.filter(function (e) { return e != null; })
|
|
17558
|
+
.map(function (entry) {
|
|
17559
|
+
if (entry === null) {
|
|
17560
|
+
return null;
|
|
17561
|
+
}
|
|
17562
|
+
return deserializeAws_restJson1UserSearchSummary(entry, context);
|
|
17563
|
+
});
|
|
17564
|
+
return retVal;
|
|
17565
|
+
};
|
|
17347
17566
|
var deserializeAws_restJson1UserSummary = function (output, context) {
|
|
17348
17567
|
return {
|
|
17349
17568
|
Arn: __expectString(output.Arn),
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUs
|
|
|
97
97
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
98
98
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
99
99
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
100
|
+
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
100
101
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "./commands/SearchVocabulariesCommand";
|
|
101
102
|
import { StartChatContactCommandInput, StartChatContactCommandOutput } from "./commands/StartChatContactCommand";
|
|
102
103
|
import { StartContactRecordingCommandInput, StartContactRecordingCommandOutput } from "./commands/StartContactRecordingCommand";
|
|
@@ -880,6 +881,12 @@ export declare class Connect extends ConnectClient {
|
|
|
880
881
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
881
882
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
882
883
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
884
|
+
/**
|
|
885
|
+
* <p>Searches users in an Amazon Connect instance, with optional filtering.</p>
|
|
886
|
+
*/
|
|
887
|
+
searchUsers(args: SearchUsersCommandInput, options?: __HttpHandlerOptions): Promise<SearchUsersCommandOutput>;
|
|
888
|
+
searchUsers(args: SearchUsersCommandInput, cb: (err: any, data?: SearchUsersCommandOutput) => void): void;
|
|
889
|
+
searchUsers(args: SearchUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchUsersCommandOutput) => void): void;
|
|
883
890
|
/**
|
|
884
891
|
* <p>Searches for vocabularies within a specific Amazon Connect instance using <code>State</code>, <code>NameStartsWith</code>, and <code>LanguageCode</code>.</p>
|
|
885
892
|
*/
|
|
@@ -104,6 +104,7 @@ import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUs
|
|
|
104
104
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "./commands/ReleasePhoneNumberCommand";
|
|
105
105
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
106
106
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
107
|
+
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
107
108
|
import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "./commands/SearchVocabulariesCommand";
|
|
108
109
|
import { StartChatContactCommandInput, StartChatContactCommandOutput } from "./commands/StartChatContactCommand";
|
|
109
110
|
import { StartContactRecordingCommandInput, StartContactRecordingCommandOutput } from "./commands/StartContactRecordingCommand";
|
|
@@ -148,8 +149,8 @@ import { UpdateUserIdentityInfoCommandInput, UpdateUserIdentityInfoCommandOutput
|
|
|
148
149
|
import { UpdateUserPhoneConfigCommandInput, UpdateUserPhoneConfigCommandOutput } from "./commands/UpdateUserPhoneConfigCommand";
|
|
149
150
|
import { UpdateUserRoutingProfileCommandInput, UpdateUserRoutingProfileCommandOutput } from "./commands/UpdateUserRoutingProfileCommand";
|
|
150
151
|
import { UpdateUserSecurityProfilesCommandInput, UpdateUserSecurityProfilesCommandOutput } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
151
|
-
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
152
|
-
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
152
|
+
export declare type ServiceInputTypes = AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateSecurityProfileCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeleteQuickConnectCommandInput | DeleteSecurityProfileCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeSecurityProfileCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | ReleasePhoneNumberCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdatePhoneNumberCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateSecurityProfileCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
153
|
+
export declare type ServiceOutputTypes = AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateSecurityProfileCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeleteQuickConnectCommandOutput | DeleteSecurityProfileCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeSecurityProfileCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | ReleasePhoneNumberCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateSecurityProfileCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
153
154
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
154
155
|
/**
|
|
155
156
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import { SearchUsersRequest, SearchUsersResponse } from "../models/models_1";
|
|
5
|
+
export interface SearchUsersCommandInput extends SearchUsersRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SearchUsersCommandOutput extends SearchUsersResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Searches users in an Amazon Connect instance, with optional filtering.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ConnectClient, SearchUsersCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
15
|
+
* // const { ConnectClient, SearchUsersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
16
|
+
* const client = new ConnectClient(config);
|
|
17
|
+
* const command = new SearchUsersCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link SearchUsersCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link SearchUsersCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class SearchUsersCommand extends $Command<SearchUsersCommandInput, SearchUsersCommandOutput, ConnectClientResolvedConfig> {
|
|
27
|
+
readonly input: SearchUsersCommandInput;
|
|
28
|
+
constructor(input: SearchUsersCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchUsersCommandInput, SearchUsersCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -96,6 +96,7 @@ export * from "./ListUsersCommand";
|
|
|
96
96
|
export * from "./ReleasePhoneNumberCommand";
|
|
97
97
|
export * from "./ResumeContactRecordingCommand";
|
|
98
98
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
99
|
+
export * from "./SearchUsersCommand";
|
|
99
100
|
export * from "./SearchVocabulariesCommand";
|
|
100
101
|
export * from "./StartChatContactCommand";
|
|
101
102
|
export * from "./StartContactRecordingCommand";
|
|
@@ -739,7 +739,7 @@ export declare namespace ClaimPhoneNumberRequest {
|
|
|
739
739
|
}
|
|
740
740
|
export interface ClaimPhoneNumberResponse {
|
|
741
741
|
/**
|
|
742
|
-
* <p>
|
|
742
|
+
* <p>A unique identifier for the phone number.</p>
|
|
743
743
|
*/
|
|
744
744
|
PhoneNumberId?: string;
|
|
745
745
|
/**
|
|
@@ -2649,7 +2649,7 @@ export declare namespace DescribeInstanceStorageConfigResponse {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
export interface DescribePhoneNumberRequest {
|
|
2651
2651
|
/**
|
|
2652
|
-
* <p>
|
|
2652
|
+
* <p>A unique identifier for the phone number.</p>
|
|
2653
2653
|
*/
|
|
2654
2654
|
PhoneNumberId: string | undefined;
|
|
2655
2655
|
}
|
|
@@ -2931,7 +2931,7 @@ export declare enum PhoneNumberType {
|
|
|
2931
2931
|
*/
|
|
2932
2932
|
export interface ClaimedPhoneNumberSummary {
|
|
2933
2933
|
/**
|
|
2934
|
-
* <p>
|
|
2934
|
+
* <p>A unique identifier for the phone number.</p>
|
|
2935
2935
|
*/
|
|
2936
2936
|
PhoneNumberId?: string;
|
|
2937
2937
|
/**
|
|
@@ -2977,8 +2977,7 @@ export declare namespace ClaimedPhoneNumberSummary {
|
|
|
2977
2977
|
}
|
|
2978
2978
|
export interface DescribePhoneNumberResponse {
|
|
2979
2979
|
/**
|
|
2980
|
-
* <p>Information about a phone number that's been claimed to your Amazon Connect instance
|
|
2981
|
-
* </p>
|
|
2980
|
+
* <p>Information about a phone number that's been claimed to your Amazon Connect instance.</p>
|
|
2982
2981
|
*/
|
|
2983
2982
|
ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
|
|
2984
2983
|
}
|
|
@@ -3731,7 +3730,7 @@ export declare namespace DisassociateLexBotRequest {
|
|
|
3731
3730
|
}
|
|
3732
3731
|
export interface DisassociatePhoneNumberContactFlowRequest {
|
|
3733
3732
|
/**
|
|
3734
|
-
* <p>
|
|
3733
|
+
* <p>A unique identifier for the phone number.</p>
|
|
3735
3734
|
*/
|
|
3736
3735
|
PhoneNumberId: string | undefined;
|
|
3737
3736
|
/**
|
|
@@ -5516,7 +5515,7 @@ export declare namespace ListPhoneNumbersV2Request {
|
|
|
5516
5515
|
*/
|
|
5517
5516
|
export interface ListPhoneNumbersSummary {
|
|
5518
5517
|
/**
|
|
5519
|
-
* <p>
|
|
5518
|
+
* <p>A unique identifier for the phone number.</p>
|
|
5520
5519
|
*/
|
|
5521
5520
|
PhoneNumberId?: string;
|
|
5522
5521
|
/**
|
|
@@ -6302,7 +6301,7 @@ export declare namespace ListUsersResponse {
|
|
|
6302
6301
|
}
|
|
6303
6302
|
export interface ReleasePhoneNumberRequest {
|
|
6304
6303
|
/**
|
|
6305
|
-
* <p>
|
|
6304
|
+
* <p>A unique identifier for the phone number.</p>
|
|
6306
6305
|
*/
|
|
6307
6306
|
PhoneNumberId: string | undefined;
|
|
6308
6307
|
/**
|