Skip to content

Commit

Permalink
feat(client-appintegrations): Updated CreateDataIntegration and Creat…
Browse files Browse the repository at this point in the history
…eDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket.
  • Loading branch information
awstools committed Aug 7, 2024
1 parent d6bd32e commit 4ce5597
Show file tree
Hide file tree
Showing 17 changed files with 1,150 additions and 69 deletions.
51 changes: 47 additions & 4 deletions clients/client-appintegrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,40 @@

AWS SDK for JavaScript AppIntegrations Client for Node.js, Browser and React Native.

<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
actions</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
data types</a>
</p>
</li>
</ul>
<p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
applications.</p>
<p>For information about how you can use external applications with Amazon Connect, see
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/crm.html">Set up pre-built
integrations</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-wisdom.html">Deliver information to agents
using Amazon Connect Wisdom</a> in the <i>Amazon Connect Administrator
Guide</i>.</p>
the following topics in the <i>Amazon Connect Administrator
Guide</i>:</p>
<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/3p-apps.html">Third-party
applications (3p apps) in the agent workspace</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use
Amazon Q in Connect for generative AI–powered agent assistance in
real-time</a>
</p>
</li>
</ul>

## Installing

Expand Down Expand Up @@ -224,6 +251,14 @@ CreateDataIntegration

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/CreateDataIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationCommandOutput/)

</details>
<details>
<summary>
CreateDataIntegrationAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/CreateDataIntegrationAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationAssociationCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -368,6 +403,14 @@ UpdateDataIntegration

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/UpdateDataIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationCommandOutput/)

</details>
<details>
<summary>
UpdateDataIntegrationAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/UpdateDataIntegrationAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationAssociationCommandOutput/)

</details>
<details>
<summary>
Expand Down
83 changes: 78 additions & 5 deletions clients/client-appintegrations/src/AppIntegrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import {
CreateApplicationCommandInput,
CreateApplicationCommandOutput,
} from "./commands/CreateApplicationCommand";
import {
CreateDataIntegrationAssociationCommand,
CreateDataIntegrationAssociationCommandInput,
CreateDataIntegrationAssociationCommandOutput,
} from "./commands/CreateDataIntegrationAssociationCommand";
import {
CreateDataIntegrationCommand,
CreateDataIntegrationCommandInput,
Expand Down Expand Up @@ -94,6 +99,11 @@ import {
UpdateApplicationCommandInput,
UpdateApplicationCommandOutput,
} from "./commands/UpdateApplicationCommand";
import {
UpdateDataIntegrationAssociationCommand,
UpdateDataIntegrationAssociationCommandInput,
UpdateDataIntegrationAssociationCommandOutput,
} from "./commands/UpdateDataIntegrationAssociationCommand";
import {
UpdateDataIntegrationCommand,
UpdateDataIntegrationCommandInput,
Expand All @@ -108,6 +118,7 @@ import {
const commands = {
CreateApplicationCommand,
CreateDataIntegrationCommand,
CreateDataIntegrationAssociationCommand,
CreateEventIntegrationCommand,
DeleteApplicationCommand,
DeleteDataIntegrationCommand,
Expand All @@ -126,6 +137,7 @@ const commands = {
UntagResourceCommand,
UpdateApplicationCommand,
UpdateDataIntegrationCommand,
UpdateDataIntegrationAssociationCommand,
UpdateEventIntegrationCommand,
};

Expand Down Expand Up @@ -164,6 +176,23 @@ export interface AppIntegrations {
cb: (err: any, data?: CreateDataIntegrationCommandOutput) => void
): void;

/**
* @see {@link CreateDataIntegrationAssociationCommand}
*/
createDataIntegrationAssociation(
args: CreateDataIntegrationAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateDataIntegrationAssociationCommandOutput>;
createDataIntegrationAssociation(
args: CreateDataIntegrationAssociationCommandInput,
cb: (err: any, data?: CreateDataIntegrationAssociationCommandOutput) => void
): void;
createDataIntegrationAssociation(
args: CreateDataIntegrationAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateDataIntegrationAssociationCommandOutput) => void
): void;

/**
* @see {@link CreateEventIntegrationCommand}
*/
Expand Down Expand Up @@ -458,6 +487,23 @@ export interface AppIntegrations {
cb: (err: any, data?: UpdateDataIntegrationCommandOutput) => void
): void;

/**
* @see {@link UpdateDataIntegrationAssociationCommand}
*/
updateDataIntegrationAssociation(
args: UpdateDataIntegrationAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateDataIntegrationAssociationCommandOutput>;
updateDataIntegrationAssociation(
args: UpdateDataIntegrationAssociationCommandInput,
cb: (err: any, data?: UpdateDataIntegrationAssociationCommandOutput) => void
): void;
updateDataIntegrationAssociation(
args: UpdateDataIntegrationAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateDataIntegrationAssociationCommandOutput) => void
): void;

/**
* @see {@link UpdateEventIntegrationCommand}
*/
Expand All @@ -477,13 +523,40 @@ export interface AppIntegrations {
}

/**
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
* actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
* data types</a>
* </p>
* </li>
* </ul>
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
* applications.</p>
* <p>For information about how you can use external applications with Amazon Connect, see
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/crm.html">Set up pre-built
* integrations</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-wisdom.html">Deliver information to agents
* using Amazon Connect Wisdom</a> in the <i>Amazon Connect Administrator
* Guide</i>.</p>
* the following topics in the <i>Amazon Connect Administrator
* Guide</i>:</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/3p-apps.html">Third-party
* applications (3p apps) in the agent workspace</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use
* Amazon Q in Connect for generative AI–powered agent assistance in
* real-time</a>
* </p>
* </li>
* </ul>
* @public
*/
export class AppIntegrations extends AppIntegrationsClient implements AppIntegrations {}
Expand Down
49 changes: 44 additions & 5 deletions clients/client-appintegrations/src/AppIntegrationsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ import {
resolveHttpAuthSchemeConfig,
} from "./auth/httpAuthSchemeProvider";
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
import {
CreateDataIntegrationAssociationCommandInput,
CreateDataIntegrationAssociationCommandOutput,
} from "./commands/CreateDataIntegrationAssociationCommand";
import {
CreateDataIntegrationCommandInput,
CreateDataIntegrationCommandOutput,
Expand Down Expand Up @@ -105,6 +109,10 @@ import {
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
import {
UpdateDataIntegrationAssociationCommandInput,
UpdateDataIntegrationAssociationCommandOutput,
} from "./commands/UpdateDataIntegrationAssociationCommand";
import {
UpdateDataIntegrationCommandInput,
UpdateDataIntegrationCommandOutput,
Expand All @@ -129,6 +137,7 @@ export { __Client };
*/
export type ServiceInputTypes =
| CreateApplicationCommandInput
| CreateDataIntegrationAssociationCommandInput
| CreateDataIntegrationCommandInput
| CreateEventIntegrationCommandInput
| DeleteApplicationCommandInput
Expand All @@ -147,6 +156,7 @@ export type ServiceInputTypes =
| TagResourceCommandInput
| UntagResourceCommandInput
| UpdateApplicationCommandInput
| UpdateDataIntegrationAssociationCommandInput
| UpdateDataIntegrationCommandInput
| UpdateEventIntegrationCommandInput;

Expand All @@ -155,6 +165,7 @@ export type ServiceInputTypes =
*/
export type ServiceOutputTypes =
| CreateApplicationCommandOutput
| CreateDataIntegrationAssociationCommandOutput
| CreateDataIntegrationCommandOutput
| CreateEventIntegrationCommandOutput
| DeleteApplicationCommandOutput
Expand All @@ -173,6 +184,7 @@ export type ServiceOutputTypes =
| TagResourceCommandOutput
| UntagResourceCommandOutput
| UpdateApplicationCommandOutput
| UpdateDataIntegrationAssociationCommandOutput
| UpdateDataIntegrationCommandOutput
| UpdateEventIntegrationCommandOutput;

Expand Down Expand Up @@ -348,13 +360,40 @@ export type AppIntegrationsClientResolvedConfigType = __SmithyResolvedConfigurat
export interface AppIntegrationsClientResolvedConfig extends AppIntegrationsClientResolvedConfigType {}

/**
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
* actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
* data types</a>
* </p>
* </li>
* </ul>
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
* applications.</p>
* <p>For information about how you can use external applications with Amazon Connect, see
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/crm.html">Set up pre-built
* integrations</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-wisdom.html">Deliver information to agents
* using Amazon Connect Wisdom</a> in the <i>Amazon Connect Administrator
* Guide</i>.</p>
* the following topics in the <i>Amazon Connect Administrator
* Guide</i>:</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/3p-apps.html">Third-party
* applications (3p apps) in the agent workspace</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use
* Amazon Q in Connect for generative AI–powered agent assistance in
* real-time</a>
* </p>
* </li>
* </ul>
* @public
*/
export class AppIntegrationsClient extends __Client<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export interface CreateApplicationCommandInput extends CreateApplicationRequest
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {}

/**
* <p>This API is in preview release and subject to change.</p>
* <p>Creates and persists an Application resource.</p>
* <p>Creates and persists an Application resource.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Loading

0 comments on commit 4ce5597

Please sign in to comment.