Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clients): update clients as of 2022/02/23 #3356

Merged
merged 3 commits into from Feb 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/client-acm/src/endpoints.ts
Expand Up @@ -172,7 +172,7 @@ const partitionHash: PartitionHash = {
tags: [],
},
{
hostname: "acm-fips.{region}.amazonaws.com",
hostname: "acm.{region}.amazonaws.com",
tags: ["fips"],
},
{
Expand Down
3 changes: 3 additions & 0 deletions clients/client-apprunner/src/models/models_0.ts
Expand Up @@ -696,7 +696,10 @@ export namespace AuthenticationConfiguration {
}

export enum Runtime {
CORRETTO_11 = "CORRETTO_11",
CORRETTO_8 = "CORRETTO_8",
NODEJS_12 = "NODEJS_12",
NODEJS_14 = "NODEJS_14",
PYTHON_3 = "PYTHON_3",
}

Expand Down
180 changes: 177 additions & 3 deletions clients/client-customer-profiles/src/CustomerProfiles.ts
Expand Up @@ -10,6 +10,11 @@ import {
CreateDomainCommandInput,
CreateDomainCommandOutput,
} from "./commands/CreateDomainCommand";
import {
CreateIntegrationWorkflowCommand,
CreateIntegrationWorkflowCommandInput,
CreateIntegrationWorkflowCommandOutput,
} from "./commands/CreateIntegrationWorkflowCommand";
import {
CreateProfileCommand,
CreateProfileCommandInput,
Expand Down Expand Up @@ -45,6 +50,11 @@ import {
DeleteProfileObjectTypeCommandInput,
DeleteProfileObjectTypeCommandOutput,
} from "./commands/DeleteProfileObjectTypeCommand";
import {
DeleteWorkflowCommand,
DeleteWorkflowCommandInput,
DeleteWorkflowCommandOutput,
} from "./commands/DeleteWorkflowCommand";
import {
GetAutoMergingPreviewCommand,
GetAutoMergingPreviewCommandInput,
Expand Down Expand Up @@ -72,6 +82,12 @@ import {
GetProfileObjectTypeTemplateCommandInput,
GetProfileObjectTypeTemplateCommandOutput,
} from "./commands/GetProfileObjectTypeTemplateCommand";
import { GetWorkflowCommand, GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
import {
GetWorkflowStepsCommand,
GetWorkflowStepsCommandInput,
GetWorkflowStepsCommandOutput,
} from "./commands/GetWorkflowStepsCommand";
import {
ListAccountIntegrationsCommand,
ListAccountIntegrationsCommandInput,
Expand Down Expand Up @@ -108,6 +124,11 @@ import {
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import {
ListWorkflowsCommand,
ListWorkflowsCommandInput,
ListWorkflowsCommandOutput,
} from "./commands/ListWorkflowsCommand";
import {
MergeProfilesCommand,
MergeProfilesCommandInput,
Expand Down Expand Up @@ -237,6 +258,40 @@ export class CustomerProfiles extends CustomerProfilesClient {
}
}

/**
* <p>
* Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.
* </p>
*/
public createIntegrationWorkflow(
args: CreateIntegrationWorkflowCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateIntegrationWorkflowCommandOutput>;
public createIntegrationWorkflow(
args: CreateIntegrationWorkflowCommandInput,
cb: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
): void;
public createIntegrationWorkflow(
args: CreateIntegrationWorkflowCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
): void;
public createIntegrationWorkflow(
args: CreateIntegrationWorkflowCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIntegrationWorkflowCommandOutput) => void),
cb?: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
): Promise<CreateIntegrationWorkflowCommandOutput> | void {
const command = new CreateIntegrationWorkflowCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Creates a standard profile.</p>
* <p>A standard profile represents the following attributes for a customer profile in a
Expand Down Expand Up @@ -464,6 +519,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
}
}

/**
* <p>Deletes the specified workflow and all its corresponding resources. This is an async process.</p>
*/
public deleteWorkflow(
args: DeleteWorkflowCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteWorkflowCommandOutput>;
public deleteWorkflow(
args: DeleteWorkflowCommandInput,
cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
): void;
public deleteWorkflow(
args: DeleteWorkflowCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
): void;
public deleteWorkflow(
args: DeleteWorkflowCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkflowCommandOutput) => void),
cb?: (err: any, data?: DeleteWorkflowCommandOutput) => void
): Promise<DeleteWorkflowCommandOutput> | void {
const command = new DeleteWorkflowCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
* selects a sample of matching groups from the existing matching results, and applies the
Expand Down Expand Up @@ -643,9 +730,6 @@ export class CustomerProfiles extends CustomerProfilesClient {
* <li>
* <p>FullName</p>
* </li>
* <li>
* <p>BusinessName</p>
* </li>
* </ul>
* <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
* email addresses such as <b>JOHN_DOE@ANYCOMPANY.COM</b> and
Expand Down Expand Up @@ -743,6 +827,64 @@ export class CustomerProfiles extends CustomerProfilesClient {
}
}

/**
* <p>Get details of specified workflow.</p>
*/
public getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
public getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
public getWorkflow(
args: GetWorkflowCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetWorkflowCommandOutput) => void
): void;
public getWorkflow(
args: GetWorkflowCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWorkflowCommandOutput) => void),
cb?: (err: any, data?: GetWorkflowCommandOutput) => void
): Promise<GetWorkflowCommandOutput> | void {
const command = new GetWorkflowCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Get granular list of steps in workflow.</p>
*/
public getWorkflowSteps(
args: GetWorkflowStepsCommandInput,
options?: __HttpHandlerOptions
): Promise<GetWorkflowStepsCommandOutput>;
public getWorkflowSteps(
args: GetWorkflowStepsCommandInput,
cb: (err: any, data?: GetWorkflowStepsCommandOutput) => void
): void;
public getWorkflowSteps(
args: GetWorkflowStepsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetWorkflowStepsCommandOutput) => void
): void;
public getWorkflowSteps(
args: GetWorkflowStepsCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWorkflowStepsCommandOutput) => void),
cb?: (err: any, data?: GetWorkflowStepsCommandOutput) => void
): Promise<GetWorkflowStepsCommandOutput> | void {
const command = new GetWorkflowStepsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Lists all of the integrations associated to a specific URI in the AWS account.</p>
*/
Expand Down Expand Up @@ -995,6 +1137,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
}
}

/**
* <p>Query to list all workflows.</p>
*/
public listWorkflows(
args: ListWorkflowsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListWorkflowsCommandOutput>;
public listWorkflows(
args: ListWorkflowsCommandInput,
cb: (err: any, data?: ListWorkflowsCommandOutput) => void
): void;
public listWorkflows(
args: ListWorkflowsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListWorkflowsCommandOutput) => void
): void;
public listWorkflows(
args: ListWorkflowsCommandInput,
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWorkflowsCommandOutput) => void),
cb?: (err: any, data?: ListWorkflowsCommandOutput) => void
): Promise<ListWorkflowsCommandOutput> | void {
const command = new ListWorkflowsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
} else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
} else {
return this.send(command, optionsOrCb);
}
}

/**
* <p>Runs an AWS Lambda job that does the following:</p>
* <ol>
Expand Down
18 changes: 18 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfilesClient.ts
Expand Up @@ -52,6 +52,10 @@ import {

import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
import {
CreateIntegrationWorkflowCommandInput,
CreateIntegrationWorkflowCommandOutput,
} from "./commands/CreateIntegrationWorkflowCommand";
import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
Expand All @@ -65,6 +69,7 @@ import {
DeleteProfileObjectTypeCommandInput,
DeleteProfileObjectTypeCommandOutput,
} from "./commands/DeleteProfileObjectTypeCommand";
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
import {
GetAutoMergingPreviewCommandInput,
GetAutoMergingPreviewCommandOutput,
Expand All @@ -84,6 +89,8 @@ import {
GetProfileObjectTypeTemplateCommandInput,
GetProfileObjectTypeTemplateCommandOutput,
} from "./commands/GetProfileObjectTypeTemplateCommand";
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
import { GetWorkflowStepsCommandInput, GetWorkflowStepsCommandOutput } from "./commands/GetWorkflowStepsCommand";
import {
ListAccountIntegrationsCommandInput,
ListAccountIntegrationsCommandOutput,
Expand All @@ -107,6 +114,7 @@ import {
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
import { MergeProfilesCommandInput, MergeProfilesCommandOutput } from "./commands/MergeProfilesCommand";
import { PutIntegrationCommandInput, PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
import { PutProfileObjectCommandInput, PutProfileObjectCommandOutput } from "./commands/PutProfileObjectCommand";
Expand All @@ -124,20 +132,24 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
export type ServiceInputTypes =
| AddProfileKeyCommandInput
| CreateDomainCommandInput
| CreateIntegrationWorkflowCommandInput
| CreateProfileCommandInput
| DeleteDomainCommandInput
| DeleteIntegrationCommandInput
| DeleteProfileCommandInput
| DeleteProfileKeyCommandInput
| DeleteProfileObjectCommandInput
| DeleteProfileObjectTypeCommandInput
| DeleteWorkflowCommandInput
| GetAutoMergingPreviewCommandInput
| GetDomainCommandInput
| GetIdentityResolutionJobCommandInput
| GetIntegrationCommandInput
| GetMatchesCommandInput
| GetProfileObjectTypeCommandInput
| GetProfileObjectTypeTemplateCommandInput
| GetWorkflowCommandInput
| GetWorkflowStepsCommandInput
| ListAccountIntegrationsCommandInput
| ListDomainsCommandInput
| ListIdentityResolutionJobsCommandInput
Expand All @@ -146,6 +158,7 @@ export type ServiceInputTypes =
| ListProfileObjectTypesCommandInput
| ListProfileObjectsCommandInput
| ListTagsForResourceCommandInput
| ListWorkflowsCommandInput
| MergeProfilesCommandInput
| PutIntegrationCommandInput
| PutProfileObjectCommandInput
Expand All @@ -159,20 +172,24 @@ export type ServiceInputTypes =
export type ServiceOutputTypes =
| AddProfileKeyCommandOutput
| CreateDomainCommandOutput
| CreateIntegrationWorkflowCommandOutput
| CreateProfileCommandOutput
| DeleteDomainCommandOutput
| DeleteIntegrationCommandOutput
| DeleteProfileCommandOutput
| DeleteProfileKeyCommandOutput
| DeleteProfileObjectCommandOutput
| DeleteProfileObjectTypeCommandOutput
| DeleteWorkflowCommandOutput
| GetAutoMergingPreviewCommandOutput
| GetDomainCommandOutput
| GetIdentityResolutionJobCommandOutput
| GetIntegrationCommandOutput
| GetMatchesCommandOutput
| GetProfileObjectTypeCommandOutput
| GetProfileObjectTypeTemplateCommandOutput
| GetWorkflowCommandOutput
| GetWorkflowStepsCommandOutput
| ListAccountIntegrationsCommandOutput
| ListDomainsCommandOutput
| ListIdentityResolutionJobsCommandOutput
Expand All @@ -181,6 +198,7 @@ export type ServiceOutputTypes =
| ListProfileObjectTypesCommandOutput
| ListProfileObjectsCommandOutput
| ListTagsForResourceCommandOutput
| ListWorkflowsCommandOutput
| MergeProfilesCommandOutput
| PutIntegrationCommandOutput
| PutProfileObjectCommandOutput
Expand Down