Skip to content

Commit 37fc985

Browse files
author
awstools
committed
feat(client-connect): This release adds search APIs for Prompts, Quick Connects and Hours of Operations, which can be used to search for those resources within a Connect Instance.
1 parent 72364d2 commit 37fc985

22 files changed

+2303
-196
lines changed

clients/client-connect/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,22 @@ SearchAvailablePhoneNumbers
12681268

12691269
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchavailablephonenumberscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchavailablephonenumberscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchavailablephonenumberscommandoutput.html)
12701270

1271+
</details>
1272+
<details>
1273+
<summary>
1274+
SearchHoursOfOperations
1275+
</summary>
1276+
1277+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchhoursofoperationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchhoursofoperationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchhoursofoperationscommandoutput.html)
1278+
1279+
</details>
1280+
<details>
1281+
<summary>
1282+
SearchPrompts
1283+
</summary>
1284+
1285+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchpromptscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchpromptscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchpromptscommandoutput.html)
1286+
12711287
</details>
12721288
<details>
12731289
<summary>
@@ -1276,6 +1292,14 @@ SearchQueues
12761292

12771293
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchqueuescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchqueuescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchqueuescommandoutput.html)
12781294

1295+
</details>
1296+
<details>
1297+
<summary>
1298+
SearchQuickConnects
1299+
</summary>
1300+
1301+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/classes/searchquickconnectscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-connect/interfaces/searchquickconnectscommandoutput.html)
1302+
12791303
</details>
12801304
<details>
12811305
<summary>

clients/client-connect/src/Connect.ts

+63
Original file line numberDiff line numberDiff line change
@@ -618,11 +618,26 @@ import {
618618
SearchAvailablePhoneNumbersCommandInput,
619619
SearchAvailablePhoneNumbersCommandOutput,
620620
} from "./commands/SearchAvailablePhoneNumbersCommand";
621+
import {
622+
SearchHoursOfOperationsCommand,
623+
SearchHoursOfOperationsCommandInput,
624+
SearchHoursOfOperationsCommandOutput,
625+
} from "./commands/SearchHoursOfOperationsCommand";
626+
import {
627+
SearchPromptsCommand,
628+
SearchPromptsCommandInput,
629+
SearchPromptsCommandOutput,
630+
} from "./commands/SearchPromptsCommand";
621631
import {
622632
SearchQueuesCommand,
623633
SearchQueuesCommandInput,
624634
SearchQueuesCommandOutput,
625635
} from "./commands/SearchQueuesCommand";
636+
import {
637+
SearchQuickConnectsCommand,
638+
SearchQuickConnectsCommandInput,
639+
SearchQuickConnectsCommandOutput,
640+
} from "./commands/SearchQuickConnectsCommand";
626641
import {
627642
SearchRoutingProfilesCommand,
628643
SearchRoutingProfilesCommandInput,
@@ -1027,7 +1042,10 @@ const commands = {
10271042
ReplicateInstanceCommand,
10281043
ResumeContactRecordingCommand,
10291044
SearchAvailablePhoneNumbersCommand,
1045+
SearchHoursOfOperationsCommand,
1046+
SearchPromptsCommand,
10301047
SearchQueuesCommand,
1048+
SearchQuickConnectsCommand,
10311049
SearchRoutingProfilesCommand,
10321050
SearchSecurityProfilesCommand,
10331051
SearchUsersCommand,
@@ -3161,6 +3179,34 @@ export interface Connect {
31613179
cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void
31623180
): void;
31633181

3182+
/**
3183+
* @see {@link SearchHoursOfOperationsCommand}
3184+
*/
3185+
searchHoursOfOperations(
3186+
args: SearchHoursOfOperationsCommandInput,
3187+
options?: __HttpHandlerOptions
3188+
): Promise<SearchHoursOfOperationsCommandOutput>;
3189+
searchHoursOfOperations(
3190+
args: SearchHoursOfOperationsCommandInput,
3191+
cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void
3192+
): void;
3193+
searchHoursOfOperations(
3194+
args: SearchHoursOfOperationsCommandInput,
3195+
options: __HttpHandlerOptions,
3196+
cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void
3197+
): void;
3198+
3199+
/**
3200+
* @see {@link SearchPromptsCommand}
3201+
*/
3202+
searchPrompts(args: SearchPromptsCommandInput, options?: __HttpHandlerOptions): Promise<SearchPromptsCommandOutput>;
3203+
searchPrompts(args: SearchPromptsCommandInput, cb: (err: any, data?: SearchPromptsCommandOutput) => void): void;
3204+
searchPrompts(
3205+
args: SearchPromptsCommandInput,
3206+
options: __HttpHandlerOptions,
3207+
cb: (err: any, data?: SearchPromptsCommandOutput) => void
3208+
): void;
3209+
31643210
/**
31653211
* @see {@link SearchQueuesCommand}
31663212
*/
@@ -3172,6 +3218,23 @@ export interface Connect {
31723218
cb: (err: any, data?: SearchQueuesCommandOutput) => void
31733219
): void;
31743220

3221+
/**
3222+
* @see {@link SearchQuickConnectsCommand}
3223+
*/
3224+
searchQuickConnects(
3225+
args: SearchQuickConnectsCommandInput,
3226+
options?: __HttpHandlerOptions
3227+
): Promise<SearchQuickConnectsCommandOutput>;
3228+
searchQuickConnects(
3229+
args: SearchQuickConnectsCommandInput,
3230+
cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void
3231+
): void;
3232+
searchQuickConnects(
3233+
args: SearchQuickConnectsCommandInput,
3234+
options: __HttpHandlerOptions,
3235+
cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void
3236+
): void;
3237+
31753238
/**
31763239
* @see {@link SearchRoutingProfilesCommand}
31773240
*/

clients/client-connect/src/ConnectClient.ts

+15
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,16 @@ import {
402402
SearchAvailablePhoneNumbersCommandInput,
403403
SearchAvailablePhoneNumbersCommandOutput,
404404
} from "./commands/SearchAvailablePhoneNumbersCommand";
405+
import {
406+
SearchHoursOfOperationsCommandInput,
407+
SearchHoursOfOperationsCommandOutput,
408+
} from "./commands/SearchHoursOfOperationsCommand";
409+
import { SearchPromptsCommandInput, SearchPromptsCommandOutput } from "./commands/SearchPromptsCommand";
405410
import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
411+
import {
412+
SearchQuickConnectsCommandInput,
413+
SearchQuickConnectsCommandOutput,
414+
} from "./commands/SearchQuickConnectsCommand";
406415
import {
407416
SearchRoutingProfilesCommandInput,
408417
SearchRoutingProfilesCommandOutput,
@@ -729,7 +738,10 @@ export type ServiceInputTypes =
729738
| ReplicateInstanceCommandInput
730739
| ResumeContactRecordingCommandInput
731740
| SearchAvailablePhoneNumbersCommandInput
741+
| SearchHoursOfOperationsCommandInput
742+
| SearchPromptsCommandInput
732743
| SearchQueuesCommandInput
744+
| SearchQuickConnectsCommandInput
733745
| SearchRoutingProfilesCommandInput
734746
| SearchSecurityProfilesCommandInput
735747
| SearchUsersCommandInput
@@ -924,7 +936,10 @@ export type ServiceOutputTypes =
924936
| ReplicateInstanceCommandOutput
925937
| ResumeContactRecordingCommandOutput
926938
| SearchAvailablePhoneNumbersCommandOutput
939+
| SearchHoursOfOperationsCommandOutput
940+
| SearchPromptsCommandOutput
927941
| SearchQueuesCommandOutput
942+
| SearchQuickConnectsCommandOutput
928943
| SearchRoutingProfilesCommandOutput
929944
| SearchSecurityProfilesCommandOutput
930945
| SearchUsersCommandOutput

clients/client-connect/src/commands/DescribeEvaluationFormCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";
1515

1616
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
1717
import { DescribeEvaluationFormRequest } from "../models/models_0";
18-
import { DescribeEvaluationFormResponse } from "../models/models_1";
18+
import { DescribeEvaluationFormResponse } from "../models/models_2";
1919
import { de_DescribeEvaluationFormCommand, se_DescribeEvaluationFormCommand } from "../protocols/Aws_restJson1";
2020

2121
/**

0 commit comments

Comments
 (0)