Skip to content

Commit

Permalink
feat(client-connect): This release adds search APIs for Prompts, Quic…
Browse files Browse the repository at this point in the history
…k Connects and Hours of Operations, which can be used to search for those resources within a Connect Instance.
  • Loading branch information
awstools committed Jun 9, 2023
1 parent 72364d2 commit 37fc985
Show file tree
Hide file tree
Showing 22 changed files with 2,303 additions and 196 deletions.
24 changes: 24 additions & 0 deletions clients/client-connect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,22 @@ SearchAvailablePhoneNumbers

[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)

</details>
<details>
<summary>
SearchHoursOfOperations
</summary>

[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)

</details>
<details>
<summary>
SearchPrompts
</summary>

[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)

</details>
<details>
<summary>
Expand All @@ -1276,6 +1292,14 @@ SearchQueues

[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)

</details>
<details>
<summary>
SearchQuickConnects
</summary>

[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)

</details>
<details>
<summary>
Expand Down
63 changes: 63 additions & 0 deletions clients/client-connect/src/Connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,11 +618,26 @@ import {
SearchAvailablePhoneNumbersCommandInput,
SearchAvailablePhoneNumbersCommandOutput,
} from "./commands/SearchAvailablePhoneNumbersCommand";
import {
SearchHoursOfOperationsCommand,
SearchHoursOfOperationsCommandInput,
SearchHoursOfOperationsCommandOutput,
} from "./commands/SearchHoursOfOperationsCommand";
import {
SearchPromptsCommand,
SearchPromptsCommandInput,
SearchPromptsCommandOutput,
} from "./commands/SearchPromptsCommand";
import {
SearchQueuesCommand,
SearchQueuesCommandInput,
SearchQueuesCommandOutput,
} from "./commands/SearchQueuesCommand";
import {
SearchQuickConnectsCommand,
SearchQuickConnectsCommandInput,
SearchQuickConnectsCommandOutput,
} from "./commands/SearchQuickConnectsCommand";
import {
SearchRoutingProfilesCommand,
SearchRoutingProfilesCommandInput,
Expand Down Expand Up @@ -1027,7 +1042,10 @@ const commands = {
ReplicateInstanceCommand,
ResumeContactRecordingCommand,
SearchAvailablePhoneNumbersCommand,
SearchHoursOfOperationsCommand,
SearchPromptsCommand,
SearchQueuesCommand,
SearchQuickConnectsCommand,
SearchRoutingProfilesCommand,
SearchSecurityProfilesCommand,
SearchUsersCommand,
Expand Down Expand Up @@ -3161,6 +3179,34 @@ export interface Connect {
cb: (err: any, data?: SearchAvailablePhoneNumbersCommandOutput) => void
): void;

/**
* @see {@link SearchHoursOfOperationsCommand}
*/
searchHoursOfOperations(
args: SearchHoursOfOperationsCommandInput,
options?: __HttpHandlerOptions
): Promise<SearchHoursOfOperationsCommandOutput>;
searchHoursOfOperations(
args: SearchHoursOfOperationsCommandInput,
cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void
): void;
searchHoursOfOperations(
args: SearchHoursOfOperationsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: SearchHoursOfOperationsCommandOutput) => void
): void;

/**
* @see {@link SearchPromptsCommand}
*/
searchPrompts(args: SearchPromptsCommandInput, options?: __HttpHandlerOptions): Promise<SearchPromptsCommandOutput>;
searchPrompts(args: SearchPromptsCommandInput, cb: (err: any, data?: SearchPromptsCommandOutput) => void): void;
searchPrompts(
args: SearchPromptsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: SearchPromptsCommandOutput) => void
): void;

/**
* @see {@link SearchQueuesCommand}
*/
Expand All @@ -3172,6 +3218,23 @@ export interface Connect {
cb: (err: any, data?: SearchQueuesCommandOutput) => void
): void;

/**
* @see {@link SearchQuickConnectsCommand}
*/
searchQuickConnects(
args: SearchQuickConnectsCommandInput,
options?: __HttpHandlerOptions
): Promise<SearchQuickConnectsCommandOutput>;
searchQuickConnects(
args: SearchQuickConnectsCommandInput,
cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void
): void;
searchQuickConnects(
args: SearchQuickConnectsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: SearchQuickConnectsCommandOutput) => void
): void;

/**
* @see {@link SearchRoutingProfilesCommand}
*/
Expand Down
15 changes: 15 additions & 0 deletions clients/client-connect/src/ConnectClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,16 @@ import {
SearchAvailablePhoneNumbersCommandInput,
SearchAvailablePhoneNumbersCommandOutput,
} from "./commands/SearchAvailablePhoneNumbersCommand";
import {
SearchHoursOfOperationsCommandInput,
SearchHoursOfOperationsCommandOutput,
} from "./commands/SearchHoursOfOperationsCommand";
import { SearchPromptsCommandInput, SearchPromptsCommandOutput } from "./commands/SearchPromptsCommand";
import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "./commands/SearchQueuesCommand";
import {
SearchQuickConnectsCommandInput,
SearchQuickConnectsCommandOutput,
} from "./commands/SearchQuickConnectsCommand";
import {
SearchRoutingProfilesCommandInput,
SearchRoutingProfilesCommandOutput,
Expand Down Expand Up @@ -729,7 +738,10 @@ export type ServiceInputTypes =
| ReplicateInstanceCommandInput
| ResumeContactRecordingCommandInput
| SearchAvailablePhoneNumbersCommandInput
| SearchHoursOfOperationsCommandInput
| SearchPromptsCommandInput
| SearchQueuesCommandInput
| SearchQuickConnectsCommandInput
| SearchRoutingProfilesCommandInput
| SearchSecurityProfilesCommandInput
| SearchUsersCommandInput
Expand Down Expand Up @@ -924,7 +936,10 @@ export type ServiceOutputTypes =
| ReplicateInstanceCommandOutput
| ResumeContactRecordingCommandOutput
| SearchAvailablePhoneNumbersCommandOutput
| SearchHoursOfOperationsCommandOutput
| SearchPromptsCommandOutput
| SearchQueuesCommandOutput
| SearchQuickConnectsCommandOutput
| SearchRoutingProfilesCommandOutput
| SearchSecurityProfilesCommandOutput
| SearchUsersCommandOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { SerdeContext as __SerdeContext } from "@smithy/types";

import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
import { DescribeEvaluationFormRequest } from "../models/models_0";
import { DescribeEvaluationFormResponse } from "../models/models_1";
import { DescribeEvaluationFormResponse } from "../models/models_2";
import { de_DescribeEvaluationFormCommand, se_DescribeEvaluationFormCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Loading

0 comments on commit 37fc985

Please sign in to comment.