@aws-sdk/client-connect 3.347.1 → 3.350.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/Connect.js +6 -0
- package/dist-cjs/commands/SearchHoursOfOperationsCommand.js +46 -0
- package/dist-cjs/commands/SearchPromptsCommand.js +46 -0
- package/dist-cjs/commands/SearchQuickConnectsCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_1.js +4 -4
- package/dist-cjs/models/models_2.js +2 -0
- package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchPromptsPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +267 -6
- package/dist-es/Connect.js +6 -0
- package/dist-es/commands/SearchHoursOfOperationsCommand.js +42 -0
- package/dist-es/commands/SearchPromptsCommand.js +42 -0
- package/dist-es/commands/SearchQuickConnectsCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_1.js +3 -3
- package/dist-es/models/models_2.js +1 -0
- package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +25 -0
- package/dist-es/pagination/SearchPromptsPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickConnectsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +255 -0
- package/dist-types/Connect.d.ts +21 -0
- package/dist-types/ConnectClient.d.ts +5 -2
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +161 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +147 -0
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +161 -0
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +2 -1
- package/dist-types/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +202 -163
- package/dist-types/models/models_2.d.ts +216 -0
- package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPromptsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Connect.d.ts +51 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +47 -36
- package/dist-types/ts3.4/models/models_2.d.ts +69 -0
- package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +4 -4
|
@@ -38,7 +38,10 @@ export * from "./ListUseCasesPaginator";
|
|
|
38
38
|
export * from "./ListUserHierarchyGroupsPaginator";
|
|
39
39
|
export * from "./ListUsersPaginator";
|
|
40
40
|
export * from "./SearchAvailablePhoneNumbersPaginator";
|
|
41
|
+
export * from "./SearchHoursOfOperationsPaginator";
|
|
42
|
+
export * from "./SearchPromptsPaginator";
|
|
41
43
|
export * from "./SearchQueuesPaginator";
|
|
44
|
+
export * from "./SearchQuickConnectsPaginator";
|
|
42
45
|
export * from "./SearchRoutingProfilesPaginator";
|
|
43
46
|
export * from "./SearchSecurityProfilesPaginator";
|
|
44
47
|
export * from "./SearchUsersPaginator";
|
|
@@ -2818,6 +2818,54 @@ export const se_SearchAvailablePhoneNumbersCommand = async (input, context) => {
|
|
|
2818
2818
|
body,
|
|
2819
2819
|
});
|
|
2820
2820
|
};
|
|
2821
|
+
export const se_SearchHoursOfOperationsCommand = async (input, context) => {
|
|
2822
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2823
|
+
const headers = {
|
|
2824
|
+
"content-type": "application/json",
|
|
2825
|
+
};
|
|
2826
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-hours-of-operations";
|
|
2827
|
+
let body;
|
|
2828
|
+
body = JSON.stringify(take(input, {
|
|
2829
|
+
InstanceId: [],
|
|
2830
|
+
MaxResults: [],
|
|
2831
|
+
NextToken: [],
|
|
2832
|
+
SearchCriteria: (_) => se_HoursOfOperationSearchCriteria(_, context),
|
|
2833
|
+
SearchFilter: (_) => _json(_),
|
|
2834
|
+
}));
|
|
2835
|
+
return new __HttpRequest({
|
|
2836
|
+
protocol,
|
|
2837
|
+
hostname,
|
|
2838
|
+
port,
|
|
2839
|
+
method: "POST",
|
|
2840
|
+
headers,
|
|
2841
|
+
path: resolvedPath,
|
|
2842
|
+
body,
|
|
2843
|
+
});
|
|
2844
|
+
};
|
|
2845
|
+
export const se_SearchPromptsCommand = async (input, context) => {
|
|
2846
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2847
|
+
const headers = {
|
|
2848
|
+
"content-type": "application/json",
|
|
2849
|
+
};
|
|
2850
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-prompts";
|
|
2851
|
+
let body;
|
|
2852
|
+
body = JSON.stringify(take(input, {
|
|
2853
|
+
InstanceId: [],
|
|
2854
|
+
MaxResults: [],
|
|
2855
|
+
NextToken: [],
|
|
2856
|
+
SearchCriteria: (_) => se_PromptSearchCriteria(_, context),
|
|
2857
|
+
SearchFilter: (_) => _json(_),
|
|
2858
|
+
}));
|
|
2859
|
+
return new __HttpRequest({
|
|
2860
|
+
protocol,
|
|
2861
|
+
hostname,
|
|
2862
|
+
port,
|
|
2863
|
+
method: "POST",
|
|
2864
|
+
headers,
|
|
2865
|
+
path: resolvedPath,
|
|
2866
|
+
body,
|
|
2867
|
+
});
|
|
2868
|
+
};
|
|
2821
2869
|
export const se_SearchQueuesCommand = async (input, context) => {
|
|
2822
2870
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2823
2871
|
const headers = {
|
|
@@ -2842,6 +2890,30 @@ export const se_SearchQueuesCommand = async (input, context) => {
|
|
|
2842
2890
|
body,
|
|
2843
2891
|
});
|
|
2844
2892
|
};
|
|
2893
|
+
export const se_SearchQuickConnectsCommand = async (input, context) => {
|
|
2894
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2895
|
+
const headers = {
|
|
2896
|
+
"content-type": "application/json",
|
|
2897
|
+
};
|
|
2898
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-quick-connects";
|
|
2899
|
+
let body;
|
|
2900
|
+
body = JSON.stringify(take(input, {
|
|
2901
|
+
InstanceId: [],
|
|
2902
|
+
MaxResults: [],
|
|
2903
|
+
NextToken: [],
|
|
2904
|
+
SearchCriteria: (_) => se_QuickConnectSearchCriteria(_, context),
|
|
2905
|
+
SearchFilter: (_) => _json(_),
|
|
2906
|
+
}));
|
|
2907
|
+
return new __HttpRequest({
|
|
2908
|
+
protocol,
|
|
2909
|
+
hostname,
|
|
2910
|
+
port,
|
|
2911
|
+
method: "POST",
|
|
2912
|
+
headers,
|
|
2913
|
+
path: resolvedPath,
|
|
2914
|
+
body,
|
|
2915
|
+
});
|
|
2916
|
+
};
|
|
2845
2917
|
export const se_SearchRoutingProfilesCommand = async (input, context) => {
|
|
2846
2918
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2847
2919
|
const headers = {
|
|
@@ -10207,6 +10279,100 @@ const de_SearchAvailablePhoneNumbersCommandError = async (output, context) => {
|
|
|
10207
10279
|
});
|
|
10208
10280
|
}
|
|
10209
10281
|
};
|
|
10282
|
+
export const de_SearchHoursOfOperationsCommand = async (output, context) => {
|
|
10283
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10284
|
+
return de_SearchHoursOfOperationsCommandError(output, context);
|
|
10285
|
+
}
|
|
10286
|
+
const contents = map({
|
|
10287
|
+
$metadata: deserializeMetadata(output),
|
|
10288
|
+
});
|
|
10289
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10290
|
+
const doc = take(data, {
|
|
10291
|
+
ApproximateTotalCount: __expectLong,
|
|
10292
|
+
HoursOfOperations: _json,
|
|
10293
|
+
NextToken: __expectString,
|
|
10294
|
+
});
|
|
10295
|
+
Object.assign(contents, doc);
|
|
10296
|
+
return contents;
|
|
10297
|
+
};
|
|
10298
|
+
const de_SearchHoursOfOperationsCommandError = async (output, context) => {
|
|
10299
|
+
const parsedOutput = {
|
|
10300
|
+
...output,
|
|
10301
|
+
body: await parseErrorBody(output.body, context),
|
|
10302
|
+
};
|
|
10303
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10304
|
+
switch (errorCode) {
|
|
10305
|
+
case "InternalServiceException":
|
|
10306
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10307
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10308
|
+
case "InvalidParameterException":
|
|
10309
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10310
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10311
|
+
case "InvalidRequestException":
|
|
10312
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10313
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10314
|
+
case "ResourceNotFoundException":
|
|
10315
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10316
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10317
|
+
case "ThrottlingException":
|
|
10318
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10319
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10320
|
+
default:
|
|
10321
|
+
const parsedBody = parsedOutput.body;
|
|
10322
|
+
return throwDefaultError({
|
|
10323
|
+
output,
|
|
10324
|
+
parsedBody,
|
|
10325
|
+
errorCode,
|
|
10326
|
+
});
|
|
10327
|
+
}
|
|
10328
|
+
};
|
|
10329
|
+
export const de_SearchPromptsCommand = async (output, context) => {
|
|
10330
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10331
|
+
return de_SearchPromptsCommandError(output, context);
|
|
10332
|
+
}
|
|
10333
|
+
const contents = map({
|
|
10334
|
+
$metadata: deserializeMetadata(output),
|
|
10335
|
+
});
|
|
10336
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10337
|
+
const doc = take(data, {
|
|
10338
|
+
ApproximateTotalCount: __expectLong,
|
|
10339
|
+
NextToken: __expectString,
|
|
10340
|
+
Prompts: _json,
|
|
10341
|
+
});
|
|
10342
|
+
Object.assign(contents, doc);
|
|
10343
|
+
return contents;
|
|
10344
|
+
};
|
|
10345
|
+
const de_SearchPromptsCommandError = async (output, context) => {
|
|
10346
|
+
const parsedOutput = {
|
|
10347
|
+
...output,
|
|
10348
|
+
body: await parseErrorBody(output.body, context),
|
|
10349
|
+
};
|
|
10350
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10351
|
+
switch (errorCode) {
|
|
10352
|
+
case "InternalServiceException":
|
|
10353
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10354
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10355
|
+
case "InvalidParameterException":
|
|
10356
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10357
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10358
|
+
case "InvalidRequestException":
|
|
10359
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10360
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10361
|
+
case "ResourceNotFoundException":
|
|
10362
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10364
|
+
case "ThrottlingException":
|
|
10365
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10366
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10367
|
+
default:
|
|
10368
|
+
const parsedBody = parsedOutput.body;
|
|
10369
|
+
return throwDefaultError({
|
|
10370
|
+
output,
|
|
10371
|
+
parsedBody,
|
|
10372
|
+
errorCode,
|
|
10373
|
+
});
|
|
10374
|
+
}
|
|
10375
|
+
};
|
|
10210
10376
|
export const de_SearchQueuesCommand = async (output, context) => {
|
|
10211
10377
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10212
10378
|
return de_SearchQueuesCommandError(output, context);
|
|
@@ -10254,6 +10420,53 @@ const de_SearchQueuesCommandError = async (output, context) => {
|
|
|
10254
10420
|
});
|
|
10255
10421
|
}
|
|
10256
10422
|
};
|
|
10423
|
+
export const de_SearchQuickConnectsCommand = async (output, context) => {
|
|
10424
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10425
|
+
return de_SearchQuickConnectsCommandError(output, context);
|
|
10426
|
+
}
|
|
10427
|
+
const contents = map({
|
|
10428
|
+
$metadata: deserializeMetadata(output),
|
|
10429
|
+
});
|
|
10430
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10431
|
+
const doc = take(data, {
|
|
10432
|
+
ApproximateTotalCount: __expectLong,
|
|
10433
|
+
NextToken: __expectString,
|
|
10434
|
+
QuickConnects: _json,
|
|
10435
|
+
});
|
|
10436
|
+
Object.assign(contents, doc);
|
|
10437
|
+
return contents;
|
|
10438
|
+
};
|
|
10439
|
+
const de_SearchQuickConnectsCommandError = async (output, context) => {
|
|
10440
|
+
const parsedOutput = {
|
|
10441
|
+
...output,
|
|
10442
|
+
body: await parseErrorBody(output.body, context),
|
|
10443
|
+
};
|
|
10444
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10445
|
+
switch (errorCode) {
|
|
10446
|
+
case "InternalServiceException":
|
|
10447
|
+
case "com.amazonaws.connect#InternalServiceException":
|
|
10448
|
+
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
10449
|
+
case "InvalidParameterException":
|
|
10450
|
+
case "com.amazonaws.connect#InvalidParameterException":
|
|
10451
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
10452
|
+
case "InvalidRequestException":
|
|
10453
|
+
case "com.amazonaws.connect#InvalidRequestException":
|
|
10454
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
10455
|
+
case "ResourceNotFoundException":
|
|
10456
|
+
case "com.amazonaws.connect#ResourceNotFoundException":
|
|
10457
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
10458
|
+
case "ThrottlingException":
|
|
10459
|
+
case "com.amazonaws.connect#ThrottlingException":
|
|
10460
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
10461
|
+
default:
|
|
10462
|
+
const parsedBody = parsedOutput.body;
|
|
10463
|
+
return throwDefaultError({
|
|
10464
|
+
output,
|
|
10465
|
+
parsedBody,
|
|
10466
|
+
errorCode,
|
|
10467
|
+
});
|
|
10468
|
+
}
|
|
10469
|
+
};
|
|
10257
10470
|
export const de_SearchRoutingProfilesCommand = async (output, context) => {
|
|
10258
10471
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
10259
10472
|
return de_SearchRoutingProfilesCommandError(output, context);
|
|
@@ -13089,6 +13302,20 @@ const se_HistoricalMetrics = (input, context) => {
|
|
|
13089
13302
|
return se_HistoricalMetric(entry, context);
|
|
13090
13303
|
});
|
|
13091
13304
|
};
|
|
13305
|
+
const se_HoursOfOperationSearchConditionList = (input, context) => {
|
|
13306
|
+
return input
|
|
13307
|
+
.filter((e) => e != null)
|
|
13308
|
+
.map((entry) => {
|
|
13309
|
+
return se_HoursOfOperationSearchCriteria(entry, context);
|
|
13310
|
+
});
|
|
13311
|
+
};
|
|
13312
|
+
const se_HoursOfOperationSearchCriteria = (input, context) => {
|
|
13313
|
+
return take(input, {
|
|
13314
|
+
AndConditions: (_) => se_HoursOfOperationSearchConditionList(_, context),
|
|
13315
|
+
OrConditions: (_) => se_HoursOfOperationSearchConditionList(_, context),
|
|
13316
|
+
StringCondition: _json,
|
|
13317
|
+
});
|
|
13318
|
+
};
|
|
13092
13319
|
const se_MetricsV2 = (input, context) => {
|
|
13093
13320
|
return input
|
|
13094
13321
|
.filter((e) => e != null)
|
|
@@ -13103,6 +13330,20 @@ const se_MetricV2 = (input, context) => {
|
|
|
13103
13330
|
Threshold: (_) => se_ThresholdCollections(_, context),
|
|
13104
13331
|
});
|
|
13105
13332
|
};
|
|
13333
|
+
const se_PromptSearchConditionList = (input, context) => {
|
|
13334
|
+
return input
|
|
13335
|
+
.filter((e) => e != null)
|
|
13336
|
+
.map((entry) => {
|
|
13337
|
+
return se_PromptSearchCriteria(entry, context);
|
|
13338
|
+
});
|
|
13339
|
+
};
|
|
13340
|
+
const se_PromptSearchCriteria = (input, context) => {
|
|
13341
|
+
return take(input, {
|
|
13342
|
+
AndConditions: (_) => se_PromptSearchConditionList(_, context),
|
|
13343
|
+
OrConditions: (_) => se_PromptSearchConditionList(_, context),
|
|
13344
|
+
StringCondition: _json,
|
|
13345
|
+
});
|
|
13346
|
+
};
|
|
13106
13347
|
const se_QueueSearchConditionList = (input, context) => {
|
|
13107
13348
|
return input
|
|
13108
13349
|
.filter((e) => e != null)
|
|
@@ -13118,6 +13359,20 @@ const se_QueueSearchCriteria = (input, context) => {
|
|
|
13118
13359
|
StringCondition: _json,
|
|
13119
13360
|
});
|
|
13120
13361
|
};
|
|
13362
|
+
const se_QuickConnectSearchConditionList = (input, context) => {
|
|
13363
|
+
return input
|
|
13364
|
+
.filter((e) => e != null)
|
|
13365
|
+
.map((entry) => {
|
|
13366
|
+
return se_QuickConnectSearchCriteria(entry, context);
|
|
13367
|
+
});
|
|
13368
|
+
};
|
|
13369
|
+
const se_QuickConnectSearchCriteria = (input, context) => {
|
|
13370
|
+
return take(input, {
|
|
13371
|
+
AndConditions: (_) => se_QuickConnectSearchConditionList(_, context),
|
|
13372
|
+
OrConditions: (_) => se_QuickConnectSearchConditionList(_, context),
|
|
13373
|
+
StringCondition: _json,
|
|
13374
|
+
});
|
|
13375
|
+
};
|
|
13121
13376
|
const se_RoutingProfileSearchConditionList = (input, context) => {
|
|
13122
13377
|
return input
|
|
13123
13378
|
.filter((e) => e != null)
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -131,7 +131,10 @@ import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from
|
|
|
131
131
|
import { ReplicateInstanceCommandInput, ReplicateInstanceCommandOutput } from "./commands/ReplicateInstanceCommand";
|
|
132
132
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
133
133
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
134
|
+
import { SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutput } from "./commands/SearchHoursOfOperationsCommand";
|
|
135
|
+
import { SearchPromptsCommandInput, SearchPromptsCommandOutput } from "./commands/SearchPromptsCommand";
|
|
134
136
|
import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
|
|
137
|
+
import { SearchQuickConnectsCommandInput, SearchQuickConnectsCommandOutput } from "./commands/SearchQuickConnectsCommand";
|
|
135
138
|
import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "./commands/SearchRoutingProfilesCommand";
|
|
136
139
|
import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
|
|
137
140
|
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
@@ -983,12 +986,30 @@ export interface Connect {
|
|
|
983
986
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options?: __HttpHandlerOptions): Promise<SearchAvailablePhoneNumbersCommandOutput>;
|
|
984
987
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
985
988
|
searchAvailablePhoneNumbers(args: SearchAvailablePhoneNumbersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void): void;
|
|
989
|
+
/**
|
|
990
|
+
* @see {@link SearchHoursOfOperationsCommand}
|
|
991
|
+
*/
|
|
992
|
+
searchHoursOfOperations(args: SearchHoursOfOperationsCommandInput, options?: __HttpHandlerOptions): Promise<SearchHoursOfOperationsCommandOutput>;
|
|
993
|
+
searchHoursOfOperations(args: SearchHoursOfOperationsCommandInput, cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void): void;
|
|
994
|
+
searchHoursOfOperations(args: SearchHoursOfOperationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void): void;
|
|
995
|
+
/**
|
|
996
|
+
* @see {@link SearchPromptsCommand}
|
|
997
|
+
*/
|
|
998
|
+
searchPrompts(args: SearchPromptsCommandInput, options?: __HttpHandlerOptions): Promise<SearchPromptsCommandOutput>;
|
|
999
|
+
searchPrompts(args: SearchPromptsCommandInput, cb: (err: any, data?: SearchPromptsCommandOutput) => void): void;
|
|
1000
|
+
searchPrompts(args: SearchPromptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPromptsCommandOutput) => void): void;
|
|
986
1001
|
/**
|
|
987
1002
|
* @see {@link SearchQueuesCommand}
|
|
988
1003
|
*/
|
|
989
1004
|
searchQueues(args: SearchQueuesCommandInput, options?: __HttpHandlerOptions): Promise<SearchQueuesCommandOutput>;
|
|
990
1005
|
searchQueues(args: SearchQueuesCommandInput, cb: (err: any, data?: SearchQueuesCommandOutput) => void): void;
|
|
991
1006
|
searchQueues(args: SearchQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQueuesCommandOutput) => void): void;
|
|
1007
|
+
/**
|
|
1008
|
+
* @see {@link SearchQuickConnectsCommand}
|
|
1009
|
+
*/
|
|
1010
|
+
searchQuickConnects(args: SearchQuickConnectsCommandInput, options?: __HttpHandlerOptions): Promise<SearchQuickConnectsCommandOutput>;
|
|
1011
|
+
searchQuickConnects(args: SearchQuickConnectsCommandInput, cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void): void;
|
|
1012
|
+
searchQuickConnects(args: SearchQuickConnectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void): void;
|
|
992
1013
|
/**
|
|
993
1014
|
* @see {@link SearchRoutingProfilesCommand}
|
|
994
1015
|
*/
|
|
@@ -140,7 +140,10 @@ import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from
|
|
|
140
140
|
import { ReplicateInstanceCommandInput, ReplicateInstanceCommandOutput } from "./commands/ReplicateInstanceCommand";
|
|
141
141
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "./commands/ResumeContactRecordingCommand";
|
|
142
142
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
143
|
+
import { SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutput } from "./commands/SearchHoursOfOperationsCommand";
|
|
144
|
+
import { SearchPromptsCommandInput, SearchPromptsCommandOutput } from "./commands/SearchPromptsCommand";
|
|
143
145
|
import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
|
|
146
|
+
import { SearchQuickConnectsCommandInput, SearchQuickConnectsCommandOutput } from "./commands/SearchQuickConnectsCommand";
|
|
144
147
|
import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "./commands/SearchRoutingProfilesCommand";
|
|
145
148
|
import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "./commands/SearchSecurityProfilesCommand";
|
|
146
149
|
import { SearchUsersCommandInput, SearchUsersCommandOutput } from "./commands/SearchUsersCommand";
|
|
@@ -203,11 +206,11 @@ export { __Client };
|
|
|
203
206
|
/**
|
|
204
207
|
* @public
|
|
205
208
|
*/
|
|
206
|
-
export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreatePromptCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeletePromptCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribePromptCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetPromptFileCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchQueuesCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdatePromptCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
209
|
+
export type ServiceInputTypes = ActivateEvaluationFormCommandInput | AssociateApprovedOriginCommandInput | AssociateBotCommandInput | AssociateDefaultVocabularyCommandInput | AssociateInstanceStorageConfigCommandInput | AssociateLambdaFunctionCommandInput | AssociateLexBotCommandInput | AssociatePhoneNumberContactFlowCommandInput | AssociateQueueQuickConnectsCommandInput | AssociateRoutingProfileQueuesCommandInput | AssociateSecurityKeyCommandInput | ClaimPhoneNumberCommandInput | CreateAgentStatusCommandInput | CreateContactFlowCommandInput | CreateContactFlowModuleCommandInput | CreateEvaluationFormCommandInput | CreateHoursOfOperationCommandInput | CreateInstanceCommandInput | CreateIntegrationAssociationCommandInput | CreateParticipantCommandInput | CreatePromptCommandInput | CreateQueueCommandInput | CreateQuickConnectCommandInput | CreateRoutingProfileCommandInput | CreateRuleCommandInput | CreateSecurityProfileCommandInput | CreateTaskTemplateCommandInput | CreateTrafficDistributionGroupCommandInput | CreateUseCaseCommandInput | CreateUserCommandInput | CreateUserHierarchyGroupCommandInput | CreateVocabularyCommandInput | DeactivateEvaluationFormCommandInput | DeleteContactEvaluationCommandInput | DeleteContactFlowCommandInput | DeleteContactFlowModuleCommandInput | DeleteEvaluationFormCommandInput | DeleteHoursOfOperationCommandInput | DeleteInstanceCommandInput | DeleteIntegrationAssociationCommandInput | DeletePromptCommandInput | DeleteQuickConnectCommandInput | DeleteRuleCommandInput | DeleteSecurityProfileCommandInput | DeleteTaskTemplateCommandInput | DeleteTrafficDistributionGroupCommandInput | DeleteUseCaseCommandInput | DeleteUserCommandInput | DeleteUserHierarchyGroupCommandInput | DeleteVocabularyCommandInput | DescribeAgentStatusCommandInput | DescribeContactCommandInput | DescribeContactEvaluationCommandInput | DescribeContactFlowCommandInput | DescribeContactFlowModuleCommandInput | DescribeEvaluationFormCommandInput | DescribeHoursOfOperationCommandInput | DescribeInstanceAttributeCommandInput | DescribeInstanceCommandInput | DescribeInstanceStorageConfigCommandInput | DescribePhoneNumberCommandInput | DescribePromptCommandInput | DescribeQueueCommandInput | DescribeQuickConnectCommandInput | DescribeRoutingProfileCommandInput | DescribeRuleCommandInput | DescribeSecurityProfileCommandInput | DescribeTrafficDistributionGroupCommandInput | DescribeUserCommandInput | DescribeUserHierarchyGroupCommandInput | DescribeUserHierarchyStructureCommandInput | DescribeVocabularyCommandInput | DisassociateApprovedOriginCommandInput | DisassociateBotCommandInput | DisassociateInstanceStorageConfigCommandInput | DisassociateLambdaFunctionCommandInput | DisassociateLexBotCommandInput | DisassociatePhoneNumberContactFlowCommandInput | DisassociateQueueQuickConnectsCommandInput | DisassociateRoutingProfileQueuesCommandInput | DisassociateSecurityKeyCommandInput | DismissUserContactCommandInput | GetContactAttributesCommandInput | GetCurrentMetricDataCommandInput | GetCurrentUserDataCommandInput | GetFederationTokenCommandInput | GetMetricDataCommandInput | GetMetricDataV2CommandInput | GetPromptFileCommandInput | GetTaskTemplateCommandInput | GetTrafficDistributionCommandInput | ListAgentStatusesCommandInput | ListApprovedOriginsCommandInput | ListBotsCommandInput | ListContactEvaluationsCommandInput | ListContactFlowModulesCommandInput | ListContactFlowsCommandInput | ListContactReferencesCommandInput | ListDefaultVocabulariesCommandInput | ListEvaluationFormVersionsCommandInput | ListEvaluationFormsCommandInput | ListHoursOfOperationsCommandInput | ListInstanceAttributesCommandInput | ListInstanceStorageConfigsCommandInput | ListInstancesCommandInput | ListIntegrationAssociationsCommandInput | ListLambdaFunctionsCommandInput | ListLexBotsCommandInput | ListPhoneNumbersCommandInput | ListPhoneNumbersV2CommandInput | ListPromptsCommandInput | ListQueueQuickConnectsCommandInput | ListQueuesCommandInput | ListQuickConnectsCommandInput | ListRoutingProfileQueuesCommandInput | ListRoutingProfilesCommandInput | ListRulesCommandInput | ListSecurityKeysCommandInput | ListSecurityProfilePermissionsCommandInput | ListSecurityProfilesCommandInput | ListTagsForResourceCommandInput | ListTaskTemplatesCommandInput | ListTrafficDistributionGroupsCommandInput | ListUseCasesCommandInput | ListUserHierarchyGroupsCommandInput | ListUsersCommandInput | MonitorContactCommandInput | PutUserStatusCommandInput | ReleasePhoneNumberCommandInput | ReplicateInstanceCommandInput | ResumeContactRecordingCommandInput | SearchAvailablePhoneNumbersCommandInput | SearchHoursOfOperationsCommandInput | SearchPromptsCommandInput | SearchQueuesCommandInput | SearchQuickConnectsCommandInput | SearchRoutingProfilesCommandInput | SearchSecurityProfilesCommandInput | SearchUsersCommandInput | SearchVocabulariesCommandInput | StartChatContactCommandInput | StartContactEvaluationCommandInput | StartContactRecordingCommandInput | StartContactStreamingCommandInput | StartOutboundVoiceContactCommandInput | StartTaskContactCommandInput | StopContactCommandInput | StopContactRecordingCommandInput | StopContactStreamingCommandInput | SubmitContactEvaluationCommandInput | SuspendContactRecordingCommandInput | TagResourceCommandInput | TransferContactCommandInput | UntagResourceCommandInput | UpdateAgentStatusCommandInput | UpdateContactAttributesCommandInput | UpdateContactCommandInput | UpdateContactEvaluationCommandInput | UpdateContactFlowContentCommandInput | UpdateContactFlowMetadataCommandInput | UpdateContactFlowModuleContentCommandInput | UpdateContactFlowModuleMetadataCommandInput | UpdateContactFlowNameCommandInput | UpdateContactScheduleCommandInput | UpdateEvaluationFormCommandInput | UpdateHoursOfOperationCommandInput | UpdateInstanceAttributeCommandInput | UpdateInstanceStorageConfigCommandInput | UpdateParticipantRoleConfigCommandInput | UpdatePhoneNumberCommandInput | UpdatePromptCommandInput | UpdateQueueHoursOfOperationCommandInput | UpdateQueueMaxContactsCommandInput | UpdateQueueNameCommandInput | UpdateQueueOutboundCallerConfigCommandInput | UpdateQueueStatusCommandInput | UpdateQuickConnectConfigCommandInput | UpdateQuickConnectNameCommandInput | UpdateRoutingProfileConcurrencyCommandInput | UpdateRoutingProfileDefaultOutboundQueueCommandInput | UpdateRoutingProfileNameCommandInput | UpdateRoutingProfileQueuesCommandInput | UpdateRuleCommandInput | UpdateSecurityProfileCommandInput | UpdateTaskTemplateCommandInput | UpdateTrafficDistributionCommandInput | UpdateUserHierarchyCommandInput | UpdateUserHierarchyGroupNameCommandInput | UpdateUserHierarchyStructureCommandInput | UpdateUserIdentityInfoCommandInput | UpdateUserPhoneConfigCommandInput | UpdateUserRoutingProfileCommandInput | UpdateUserSecurityProfilesCommandInput;
|
|
207
210
|
/**
|
|
208
211
|
* @public
|
|
209
212
|
*/
|
|
210
|
-
export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreatePromptCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeletePromptCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribePromptCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetPromptFileCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchQueuesCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePromptCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
213
|
+
export type ServiceOutputTypes = ActivateEvaluationFormCommandOutput | AssociateApprovedOriginCommandOutput | AssociateBotCommandOutput | AssociateDefaultVocabularyCommandOutput | AssociateInstanceStorageConfigCommandOutput | AssociateLambdaFunctionCommandOutput | AssociateLexBotCommandOutput | AssociatePhoneNumberContactFlowCommandOutput | AssociateQueueQuickConnectsCommandOutput | AssociateRoutingProfileQueuesCommandOutput | AssociateSecurityKeyCommandOutput | ClaimPhoneNumberCommandOutput | CreateAgentStatusCommandOutput | CreateContactFlowCommandOutput | CreateContactFlowModuleCommandOutput | CreateEvaluationFormCommandOutput | CreateHoursOfOperationCommandOutput | CreateInstanceCommandOutput | CreateIntegrationAssociationCommandOutput | CreateParticipantCommandOutput | CreatePromptCommandOutput | CreateQueueCommandOutput | CreateQuickConnectCommandOutput | CreateRoutingProfileCommandOutput | CreateRuleCommandOutput | CreateSecurityProfileCommandOutput | CreateTaskTemplateCommandOutput | CreateTrafficDistributionGroupCommandOutput | CreateUseCaseCommandOutput | CreateUserCommandOutput | CreateUserHierarchyGroupCommandOutput | CreateVocabularyCommandOutput | DeactivateEvaluationFormCommandOutput | DeleteContactEvaluationCommandOutput | DeleteContactFlowCommandOutput | DeleteContactFlowModuleCommandOutput | DeleteEvaluationFormCommandOutput | DeleteHoursOfOperationCommandOutput | DeleteInstanceCommandOutput | DeleteIntegrationAssociationCommandOutput | DeletePromptCommandOutput | DeleteQuickConnectCommandOutput | DeleteRuleCommandOutput | DeleteSecurityProfileCommandOutput | DeleteTaskTemplateCommandOutput | DeleteTrafficDistributionGroupCommandOutput | DeleteUseCaseCommandOutput | DeleteUserCommandOutput | DeleteUserHierarchyGroupCommandOutput | DeleteVocabularyCommandOutput | DescribeAgentStatusCommandOutput | DescribeContactCommandOutput | DescribeContactEvaluationCommandOutput | DescribeContactFlowCommandOutput | DescribeContactFlowModuleCommandOutput | DescribeEvaluationFormCommandOutput | DescribeHoursOfOperationCommandOutput | DescribeInstanceAttributeCommandOutput | DescribeInstanceCommandOutput | DescribeInstanceStorageConfigCommandOutput | DescribePhoneNumberCommandOutput | DescribePromptCommandOutput | DescribeQueueCommandOutput | DescribeQuickConnectCommandOutput | DescribeRoutingProfileCommandOutput | DescribeRuleCommandOutput | DescribeSecurityProfileCommandOutput | DescribeTrafficDistributionGroupCommandOutput | DescribeUserCommandOutput | DescribeUserHierarchyGroupCommandOutput | DescribeUserHierarchyStructureCommandOutput | DescribeVocabularyCommandOutput | DisassociateApprovedOriginCommandOutput | DisassociateBotCommandOutput | DisassociateInstanceStorageConfigCommandOutput | DisassociateLambdaFunctionCommandOutput | DisassociateLexBotCommandOutput | DisassociatePhoneNumberContactFlowCommandOutput | DisassociateQueueQuickConnectsCommandOutput | DisassociateRoutingProfileQueuesCommandOutput | DisassociateSecurityKeyCommandOutput | DismissUserContactCommandOutput | GetContactAttributesCommandOutput | GetCurrentMetricDataCommandOutput | GetCurrentUserDataCommandOutput | GetFederationTokenCommandOutput | GetMetricDataCommandOutput | GetMetricDataV2CommandOutput | GetPromptFileCommandOutput | GetTaskTemplateCommandOutput | GetTrafficDistributionCommandOutput | ListAgentStatusesCommandOutput | ListApprovedOriginsCommandOutput | ListBotsCommandOutput | ListContactEvaluationsCommandOutput | ListContactFlowModulesCommandOutput | ListContactFlowsCommandOutput | ListContactReferencesCommandOutput | ListDefaultVocabulariesCommandOutput | ListEvaluationFormVersionsCommandOutput | ListEvaluationFormsCommandOutput | ListHoursOfOperationsCommandOutput | ListInstanceAttributesCommandOutput | ListInstanceStorageConfigsCommandOutput | ListInstancesCommandOutput | ListIntegrationAssociationsCommandOutput | ListLambdaFunctionsCommandOutput | ListLexBotsCommandOutput | ListPhoneNumbersCommandOutput | ListPhoneNumbersV2CommandOutput | ListPromptsCommandOutput | ListQueueQuickConnectsCommandOutput | ListQueuesCommandOutput | ListQuickConnectsCommandOutput | ListRoutingProfileQueuesCommandOutput | ListRoutingProfilesCommandOutput | ListRulesCommandOutput | ListSecurityKeysCommandOutput | ListSecurityProfilePermissionsCommandOutput | ListSecurityProfilesCommandOutput | ListTagsForResourceCommandOutput | ListTaskTemplatesCommandOutput | ListTrafficDistributionGroupsCommandOutput | ListUseCasesCommandOutput | ListUserHierarchyGroupsCommandOutput | ListUsersCommandOutput | MonitorContactCommandOutput | PutUserStatusCommandOutput | ReleasePhoneNumberCommandOutput | ReplicateInstanceCommandOutput | ResumeContactRecordingCommandOutput | SearchAvailablePhoneNumbersCommandOutput | SearchHoursOfOperationsCommandOutput | SearchPromptsCommandOutput | SearchQueuesCommandOutput | SearchQuickConnectsCommandOutput | SearchRoutingProfilesCommandOutput | SearchSecurityProfilesCommandOutput | SearchUsersCommandOutput | SearchVocabulariesCommandOutput | StartChatContactCommandOutput | StartContactEvaluationCommandOutput | StartContactRecordingCommandOutput | StartContactStreamingCommandOutput | StartOutboundVoiceContactCommandOutput | StartTaskContactCommandOutput | StopContactCommandOutput | StopContactRecordingCommandOutput | StopContactStreamingCommandOutput | SubmitContactEvaluationCommandOutput | SuspendContactRecordingCommandOutput | TagResourceCommandOutput | TransferContactCommandOutput | UntagResourceCommandOutput | UpdateAgentStatusCommandOutput | UpdateContactAttributesCommandOutput | UpdateContactCommandOutput | UpdateContactEvaluationCommandOutput | UpdateContactFlowContentCommandOutput | UpdateContactFlowMetadataCommandOutput | UpdateContactFlowModuleContentCommandOutput | UpdateContactFlowModuleMetadataCommandOutput | UpdateContactFlowNameCommandOutput | UpdateContactScheduleCommandOutput | UpdateEvaluationFormCommandOutput | UpdateHoursOfOperationCommandOutput | UpdateInstanceAttributeCommandOutput | UpdateInstanceStorageConfigCommandOutput | UpdateParticipantRoleConfigCommandOutput | UpdatePhoneNumberCommandOutput | UpdatePromptCommandOutput | UpdateQueueHoursOfOperationCommandOutput | UpdateQueueMaxContactsCommandOutput | UpdateQueueNameCommandOutput | UpdateQueueOutboundCallerConfigCommandOutput | UpdateQueueStatusCommandOutput | UpdateQuickConnectConfigCommandOutput | UpdateQuickConnectNameCommandOutput | UpdateRoutingProfileConcurrencyCommandOutput | UpdateRoutingProfileDefaultOutboundQueueCommandOutput | UpdateRoutingProfileNameCommandOutput | UpdateRoutingProfileQueuesCommandOutput | UpdateRuleCommandOutput | UpdateSecurityProfileCommandOutput | UpdateTaskTemplateCommandOutput | UpdateTrafficDistributionCommandOutput | UpdateUserHierarchyCommandOutput | UpdateUserHierarchyGroupNameCommandOutput | UpdateUserHierarchyStructureCommandOutput | UpdateUserIdentityInfoCommandOutput | UpdateUserPhoneConfigCommandOutput | UpdateUserRoutingProfileCommandOutput | UpdateUserSecurityProfilesCommandOutput;
|
|
211
214
|
/**
|
|
212
215
|
* @public
|
|
213
216
|
*/
|
|
@@ -3,7 +3,7 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
5
|
import { DescribeEvaluationFormRequest } from "../models/models_0";
|
|
6
|
-
import { DescribeEvaluationFormResponse } from "../models/
|
|
6
|
+
import { DescribeEvaluationFormResponse } from "../models/models_2";
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
+
import { SearchHoursOfOperationsResponse } from "../models/models_1";
|
|
6
|
+
import { SearchHoursOfOperationsRequest } from "../models/models_2";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { __MetadataBearer, $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link SearchHoursOfOperationsCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchHoursOfOperationsCommandInput extends SearchHoursOfOperationsRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* The output of {@link SearchHoursOfOperationsCommand}.
|
|
22
|
+
*/
|
|
23
|
+
export interface SearchHoursOfOperationsCommandOutput extends SearchHoursOfOperationsResponse, __MetadataBearer {
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* <p>Searches the hours of operation in an Amazon Connect instance, with optional filtering.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ConnectClient, SearchHoursOfOperationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
32
|
+
* // const { ConnectClient, SearchHoursOfOperationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
33
|
+
* const client = new ConnectClient(config);
|
|
34
|
+
* const input = { // SearchHoursOfOperationsRequest
|
|
35
|
+
* InstanceId: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* SearchFilter: { // HoursOfOperationSearchFilter
|
|
39
|
+
* TagFilter: { // ControlPlaneTagFilter
|
|
40
|
+
* OrConditions: [ // TagOrConditionList
|
|
41
|
+
* [ // TagAndConditionList
|
|
42
|
+
* { // TagCondition
|
|
43
|
+
* TagKey: "STRING_VALUE",
|
|
44
|
+
* TagValue: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* ],
|
|
48
|
+
* AndConditions: [
|
|
49
|
+
* {
|
|
50
|
+
* TagKey: "STRING_VALUE",
|
|
51
|
+
* TagValue: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* TagCondition: "<TagCondition>",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* SearchCriteria: { // HoursOfOperationSearchCriteria
|
|
58
|
+
* OrConditions: [ // HoursOfOperationSearchConditionList
|
|
59
|
+
* {
|
|
60
|
+
* OrConditions: [
|
|
61
|
+
* "<HoursOfOperationSearchCriteria>",
|
|
62
|
+
* ],
|
|
63
|
+
* AndConditions: [
|
|
64
|
+
* "<HoursOfOperationSearchCriteria>",
|
|
65
|
+
* ],
|
|
66
|
+
* StringCondition: { // StringCondition
|
|
67
|
+
* FieldName: "STRING_VALUE",
|
|
68
|
+
* Value: "STRING_VALUE",
|
|
69
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* AndConditions: [
|
|
74
|
+
* "<HoursOfOperationSearchCriteria>",
|
|
75
|
+
* ],
|
|
76
|
+
* StringCondition: {
|
|
77
|
+
* FieldName: "STRING_VALUE",
|
|
78
|
+
* Value: "STRING_VALUE",
|
|
79
|
+
* ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* };
|
|
83
|
+
* const command = new SearchHoursOfOperationsCommand(input);
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* // { // SearchHoursOfOperationsResponse
|
|
86
|
+
* // HoursOfOperations: [ // HoursOfOperationList
|
|
87
|
+
* // { // HoursOfOperation
|
|
88
|
+
* // HoursOfOperationId: "STRING_VALUE",
|
|
89
|
+
* // HoursOfOperationArn: "STRING_VALUE",
|
|
90
|
+
* // Name: "STRING_VALUE",
|
|
91
|
+
* // Description: "STRING_VALUE",
|
|
92
|
+
* // TimeZone: "STRING_VALUE",
|
|
93
|
+
* // Config: [ // HoursOfOperationConfigList
|
|
94
|
+
* // { // HoursOfOperationConfig
|
|
95
|
+
* // Day: "SUNDAY" || "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY", // required
|
|
96
|
+
* // StartTime: { // HoursOfOperationTimeSlice
|
|
97
|
+
* // Hours: Number("int"), // required
|
|
98
|
+
* // Minutes: Number("int"), // required
|
|
99
|
+
* // },
|
|
100
|
+
* // EndTime: {
|
|
101
|
+
* // Hours: Number("int"), // required
|
|
102
|
+
* // Minutes: Number("int"), // required
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // Tags: { // TagMap
|
|
107
|
+
* // "<keys>": "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // NextToken: "STRING_VALUE",
|
|
112
|
+
* // ApproximateTotalCount: Number("long"),
|
|
113
|
+
* // };
|
|
114
|
+
*
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* @param SearchHoursOfOperationsCommandInput - {@link SearchHoursOfOperationsCommandInput}
|
|
118
|
+
* @returns {@link SearchHoursOfOperationsCommandOutput}
|
|
119
|
+
* @see {@link SearchHoursOfOperationsCommandInput} for command's `input` shape.
|
|
120
|
+
* @see {@link SearchHoursOfOperationsCommandOutput} for command's `response` shape.
|
|
121
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
124
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
127
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
130
|
+
* <p>The request is not valid.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
133
|
+
* <p>The specified resource was not found.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
136
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ConnectServiceException}
|
|
139
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
export declare class SearchHoursOfOperationsCommand extends $Command<SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutput, ConnectClientResolvedConfig> {
|
|
143
|
+
readonly input: SearchHoursOfOperationsCommandInput;
|
|
144
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
constructor(input: SearchHoursOfOperationsCommandInput);
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutput>;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
private serialize;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
private deserialize;
|
|
161
|
+
}
|