Skip to content

Commit b6b2e25

Browse files
authored
feat(clients): update clients as of 2022/02/23 (#3356)
* chore(models): update models as of 2022/02/23 * chore(endpoints): update endpoints as of 2022/02/23 * feat(clients): update clients as of 2022/02/23
1 parent 110bb19 commit b6b2e25

File tree

53 files changed

+5105
-1094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5105
-1094
lines changed

Diff for: clients/client-acm/src/endpoints.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const partitionHash: PartitionHash = {
172172
tags: [],
173173
},
174174
{
175-
hostname: "acm-fips.{region}.amazonaws.com",
175+
hostname: "acm.{region}.amazonaws.com",
176176
tags: ["fips"],
177177
},
178178
{

Diff for: clients/client-apprunner/src/models/models_0.ts

+3
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,10 @@ export namespace AuthenticationConfiguration {
696696
}
697697

698698
export enum Runtime {
699+
CORRETTO_11 = "CORRETTO_11",
700+
CORRETTO_8 = "CORRETTO_8",
699701
NODEJS_12 = "NODEJS_12",
702+
NODEJS_14 = "NODEJS_14",
700703
PYTHON_3 = "PYTHON_3",
701704
}
702705

Diff for: clients/client-customer-profiles/src/CustomerProfiles.ts

+177-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import {
1010
CreateDomainCommandInput,
1111
CreateDomainCommandOutput,
1212
} from "./commands/CreateDomainCommand";
13+
import {
14+
CreateIntegrationWorkflowCommand,
15+
CreateIntegrationWorkflowCommandInput,
16+
CreateIntegrationWorkflowCommandOutput,
17+
} from "./commands/CreateIntegrationWorkflowCommand";
1318
import {
1419
CreateProfileCommand,
1520
CreateProfileCommandInput,
@@ -45,6 +50,11 @@ import {
4550
DeleteProfileObjectTypeCommandInput,
4651
DeleteProfileObjectTypeCommandOutput,
4752
} from "./commands/DeleteProfileObjectTypeCommand";
53+
import {
54+
DeleteWorkflowCommand,
55+
DeleteWorkflowCommandInput,
56+
DeleteWorkflowCommandOutput,
57+
} from "./commands/DeleteWorkflowCommand";
4858
import {
4959
GetAutoMergingPreviewCommand,
5060
GetAutoMergingPreviewCommandInput,
@@ -72,6 +82,12 @@ import {
7282
GetProfileObjectTypeTemplateCommandInput,
7383
GetProfileObjectTypeTemplateCommandOutput,
7484
} from "./commands/GetProfileObjectTypeTemplateCommand";
85+
import { GetWorkflowCommand, GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
86+
import {
87+
GetWorkflowStepsCommand,
88+
GetWorkflowStepsCommandInput,
89+
GetWorkflowStepsCommandOutput,
90+
} from "./commands/GetWorkflowStepsCommand";
7591
import {
7692
ListAccountIntegrationsCommand,
7793
ListAccountIntegrationsCommandInput,
@@ -108,6 +124,11 @@ import {
108124
ListTagsForResourceCommandInput,
109125
ListTagsForResourceCommandOutput,
110126
} from "./commands/ListTagsForResourceCommand";
127+
import {
128+
ListWorkflowsCommand,
129+
ListWorkflowsCommandInput,
130+
ListWorkflowsCommandOutput,
131+
} from "./commands/ListWorkflowsCommand";
111132
import {
112133
MergeProfilesCommand,
113134
MergeProfilesCommandInput,
@@ -237,6 +258,40 @@ export class CustomerProfiles extends CustomerProfilesClient {
237258
}
238259
}
239260

261+
/**
262+
* <p>
263+
* 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.
264+
* </p>
265+
*/
266+
public createIntegrationWorkflow(
267+
args: CreateIntegrationWorkflowCommandInput,
268+
options?: __HttpHandlerOptions
269+
): Promise<CreateIntegrationWorkflowCommandOutput>;
270+
public createIntegrationWorkflow(
271+
args: CreateIntegrationWorkflowCommandInput,
272+
cb: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
273+
): void;
274+
public createIntegrationWorkflow(
275+
args: CreateIntegrationWorkflowCommandInput,
276+
options: __HttpHandlerOptions,
277+
cb: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
278+
): void;
279+
public createIntegrationWorkflow(
280+
args: CreateIntegrationWorkflowCommandInput,
281+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIntegrationWorkflowCommandOutput) => void),
282+
cb?: (err: any, data?: CreateIntegrationWorkflowCommandOutput) => void
283+
): Promise<CreateIntegrationWorkflowCommandOutput> | void {
284+
const command = new CreateIntegrationWorkflowCommand(args);
285+
if (typeof optionsOrCb === "function") {
286+
this.send(command, optionsOrCb);
287+
} else if (typeof cb === "function") {
288+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
289+
this.send(command, optionsOrCb || {}, cb);
290+
} else {
291+
return this.send(command, optionsOrCb);
292+
}
293+
}
294+
240295
/**
241296
* <p>Creates a standard profile.</p>
242297
* <p>A standard profile represents the following attributes for a customer profile in a
@@ -464,6 +519,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
464519
}
465520
}
466521

522+
/**
523+
* <p>Deletes the specified workflow and all its corresponding resources. This is an async process.</p>
524+
*/
525+
public deleteWorkflow(
526+
args: DeleteWorkflowCommandInput,
527+
options?: __HttpHandlerOptions
528+
): Promise<DeleteWorkflowCommandOutput>;
529+
public deleteWorkflow(
530+
args: DeleteWorkflowCommandInput,
531+
cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
532+
): void;
533+
public deleteWorkflow(
534+
args: DeleteWorkflowCommandInput,
535+
options: __HttpHandlerOptions,
536+
cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
537+
): void;
538+
public deleteWorkflow(
539+
args: DeleteWorkflowCommandInput,
540+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkflowCommandOutput) => void),
541+
cb?: (err: any, data?: DeleteWorkflowCommandOutput) => void
542+
): Promise<DeleteWorkflowCommandOutput> | void {
543+
const command = new DeleteWorkflowCommand(args);
544+
if (typeof optionsOrCb === "function") {
545+
this.send(command, optionsOrCb);
546+
} else if (typeof cb === "function") {
547+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
548+
this.send(command, optionsOrCb || {}, cb);
549+
} else {
550+
return this.send(command, optionsOrCb);
551+
}
552+
}
553+
467554
/**
468555
* <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
469556
* selects a sample of matching groups from the existing matching results, and applies the
@@ -643,9 +730,6 @@ export class CustomerProfiles extends CustomerProfilesClient {
643730
* <li>
644731
* <p>FullName</p>
645732
* </li>
646-
* <li>
647-
* <p>BusinessName</p>
648-
* </li>
649733
* </ul>
650734
* <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
651735
* email addresses such as <b>[email protected]</b> and
@@ -743,6 +827,64 @@ export class CustomerProfiles extends CustomerProfilesClient {
743827
}
744828
}
745829

830+
/**
831+
* <p>Get details of specified workflow.</p>
832+
*/
833+
public getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
834+
public getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
835+
public getWorkflow(
836+
args: GetWorkflowCommandInput,
837+
options: __HttpHandlerOptions,
838+
cb: (err: any, data?: GetWorkflowCommandOutput) => void
839+
): void;
840+
public getWorkflow(
841+
args: GetWorkflowCommandInput,
842+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWorkflowCommandOutput) => void),
843+
cb?: (err: any, data?: GetWorkflowCommandOutput) => void
844+
): Promise<GetWorkflowCommandOutput> | void {
845+
const command = new GetWorkflowCommand(args);
846+
if (typeof optionsOrCb === "function") {
847+
this.send(command, optionsOrCb);
848+
} else if (typeof cb === "function") {
849+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
850+
this.send(command, optionsOrCb || {}, cb);
851+
} else {
852+
return this.send(command, optionsOrCb);
853+
}
854+
}
855+
856+
/**
857+
* <p>Get granular list of steps in workflow.</p>
858+
*/
859+
public getWorkflowSteps(
860+
args: GetWorkflowStepsCommandInput,
861+
options?: __HttpHandlerOptions
862+
): Promise<GetWorkflowStepsCommandOutput>;
863+
public getWorkflowSteps(
864+
args: GetWorkflowStepsCommandInput,
865+
cb: (err: any, data?: GetWorkflowStepsCommandOutput) => void
866+
): void;
867+
public getWorkflowSteps(
868+
args: GetWorkflowStepsCommandInput,
869+
options: __HttpHandlerOptions,
870+
cb: (err: any, data?: GetWorkflowStepsCommandOutput) => void
871+
): void;
872+
public getWorkflowSteps(
873+
args: GetWorkflowStepsCommandInput,
874+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetWorkflowStepsCommandOutput) => void),
875+
cb?: (err: any, data?: GetWorkflowStepsCommandOutput) => void
876+
): Promise<GetWorkflowStepsCommandOutput> | void {
877+
const command = new GetWorkflowStepsCommand(args);
878+
if (typeof optionsOrCb === "function") {
879+
this.send(command, optionsOrCb);
880+
} else if (typeof cb === "function") {
881+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
882+
this.send(command, optionsOrCb || {}, cb);
883+
} else {
884+
return this.send(command, optionsOrCb);
885+
}
886+
}
887+
746888
/**
747889
* <p>Lists all of the integrations associated to a specific URI in the AWS account.</p>
748890
*/
@@ -995,6 +1137,38 @@ export class CustomerProfiles extends CustomerProfilesClient {
9951137
}
9961138
}
9971139

1140+
/**
1141+
* <p>Query to list all workflows.</p>
1142+
*/
1143+
public listWorkflows(
1144+
args: ListWorkflowsCommandInput,
1145+
options?: __HttpHandlerOptions
1146+
): Promise<ListWorkflowsCommandOutput>;
1147+
public listWorkflows(
1148+
args: ListWorkflowsCommandInput,
1149+
cb: (err: any, data?: ListWorkflowsCommandOutput) => void
1150+
): void;
1151+
public listWorkflows(
1152+
args: ListWorkflowsCommandInput,
1153+
options: __HttpHandlerOptions,
1154+
cb: (err: any, data?: ListWorkflowsCommandOutput) => void
1155+
): void;
1156+
public listWorkflows(
1157+
args: ListWorkflowsCommandInput,
1158+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWorkflowsCommandOutput) => void),
1159+
cb?: (err: any, data?: ListWorkflowsCommandOutput) => void
1160+
): Promise<ListWorkflowsCommandOutput> | void {
1161+
const command = new ListWorkflowsCommand(args);
1162+
if (typeof optionsOrCb === "function") {
1163+
this.send(command, optionsOrCb);
1164+
} else if (typeof cb === "function") {
1165+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1166+
this.send(command, optionsOrCb || {}, cb);
1167+
} else {
1168+
return this.send(command, optionsOrCb);
1169+
}
1170+
}
1171+
9981172
/**
9991173
* <p>Runs an AWS Lambda job that does the following:</p>
10001174
* <ol>

Diff for: clients/client-customer-profiles/src/CustomerProfilesClient.ts

+18
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ import {
5252

5353
import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
5454
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
55+
import {
56+
CreateIntegrationWorkflowCommandInput,
57+
CreateIntegrationWorkflowCommandOutput,
58+
} from "./commands/CreateIntegrationWorkflowCommand";
5559
import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
5660
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
5761
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
@@ -65,6 +69,7 @@ import {
6569
DeleteProfileObjectTypeCommandInput,
6670
DeleteProfileObjectTypeCommandOutput,
6771
} from "./commands/DeleteProfileObjectTypeCommand";
72+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
6873
import {
6974
GetAutoMergingPreviewCommandInput,
7075
GetAutoMergingPreviewCommandOutput,
@@ -84,6 +89,8 @@ import {
8489
GetProfileObjectTypeTemplateCommandInput,
8590
GetProfileObjectTypeTemplateCommandOutput,
8691
} from "./commands/GetProfileObjectTypeTemplateCommand";
92+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
93+
import { GetWorkflowStepsCommandInput, GetWorkflowStepsCommandOutput } from "./commands/GetWorkflowStepsCommand";
8794
import {
8895
ListAccountIntegrationsCommandInput,
8996
ListAccountIntegrationsCommandOutput,
@@ -107,6 +114,7 @@ import {
107114
ListTagsForResourceCommandInput,
108115
ListTagsForResourceCommandOutput,
109116
} from "./commands/ListTagsForResourceCommand";
117+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
110118
import { MergeProfilesCommandInput, MergeProfilesCommandOutput } from "./commands/MergeProfilesCommand";
111119
import { PutIntegrationCommandInput, PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
112120
import { PutProfileObjectCommandInput, PutProfileObjectCommandOutput } from "./commands/PutProfileObjectCommand";
@@ -124,20 +132,24 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
124132
export type ServiceInputTypes =
125133
| AddProfileKeyCommandInput
126134
| CreateDomainCommandInput
135+
| CreateIntegrationWorkflowCommandInput
127136
| CreateProfileCommandInput
128137
| DeleteDomainCommandInput
129138
| DeleteIntegrationCommandInput
130139
| DeleteProfileCommandInput
131140
| DeleteProfileKeyCommandInput
132141
| DeleteProfileObjectCommandInput
133142
| DeleteProfileObjectTypeCommandInput
143+
| DeleteWorkflowCommandInput
134144
| GetAutoMergingPreviewCommandInput
135145
| GetDomainCommandInput
136146
| GetIdentityResolutionJobCommandInput
137147
| GetIntegrationCommandInput
138148
| GetMatchesCommandInput
139149
| GetProfileObjectTypeCommandInput
140150
| GetProfileObjectTypeTemplateCommandInput
151+
| GetWorkflowCommandInput
152+
| GetWorkflowStepsCommandInput
141153
| ListAccountIntegrationsCommandInput
142154
| ListDomainsCommandInput
143155
| ListIdentityResolutionJobsCommandInput
@@ -146,6 +158,7 @@ export type ServiceInputTypes =
146158
| ListProfileObjectTypesCommandInput
147159
| ListProfileObjectsCommandInput
148160
| ListTagsForResourceCommandInput
161+
| ListWorkflowsCommandInput
149162
| MergeProfilesCommandInput
150163
| PutIntegrationCommandInput
151164
| PutProfileObjectCommandInput
@@ -159,20 +172,24 @@ export type ServiceInputTypes =
159172
export type ServiceOutputTypes =
160173
| AddProfileKeyCommandOutput
161174
| CreateDomainCommandOutput
175+
| CreateIntegrationWorkflowCommandOutput
162176
| CreateProfileCommandOutput
163177
| DeleteDomainCommandOutput
164178
| DeleteIntegrationCommandOutput
165179
| DeleteProfileCommandOutput
166180
| DeleteProfileKeyCommandOutput
167181
| DeleteProfileObjectCommandOutput
168182
| DeleteProfileObjectTypeCommandOutput
183+
| DeleteWorkflowCommandOutput
169184
| GetAutoMergingPreviewCommandOutput
170185
| GetDomainCommandOutput
171186
| GetIdentityResolutionJobCommandOutput
172187
| GetIntegrationCommandOutput
173188
| GetMatchesCommandOutput
174189
| GetProfileObjectTypeCommandOutput
175190
| GetProfileObjectTypeTemplateCommandOutput
191+
| GetWorkflowCommandOutput
192+
| GetWorkflowStepsCommandOutput
176193
| ListAccountIntegrationsCommandOutput
177194
| ListDomainsCommandOutput
178195
| ListIdentityResolutionJobsCommandOutput
@@ -181,6 +198,7 @@ export type ServiceOutputTypes =
181198
| ListProfileObjectTypesCommandOutput
182199
| ListProfileObjectsCommandOutput
183200
| ListTagsForResourceCommandOutput
201+
| ListWorkflowsCommandOutput
184202
| MergeProfilesCommandOutput
185203
| PutIntegrationCommandOutput
186204
| PutProfileObjectCommandOutput

0 commit comments

Comments
 (0)