Skip to content

Commit 861251b

Browse files
author
awstools
committed
feat(client-customer-profiles): This release introduces calculated attribute related APIs.
1 parent d40bcd6 commit 861251b

16 files changed

+4520
-346
lines changed

clients/client-customer-profiles/README.md

+56
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ AddProfileKey
216216

217217
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/addprofilekeycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/addprofilekeycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/addprofilekeycommandoutput.html)
218218

219+
</details>
220+
<details>
221+
<summary>
222+
CreateCalculatedAttributeDefinition
223+
</summary>
224+
225+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createcalculatedattributedefinitioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createcalculatedattributedefinitioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createcalculatedattributedefinitioncommandoutput.html)
226+
219227
</details>
220228
<details>
221229
<summary>
@@ -240,6 +248,14 @@ CreateProfile
240248

241249
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createprofilecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createprofilecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createprofilecommandoutput.html)
242250

251+
</details>
252+
<details>
253+
<summary>
254+
DeleteCalculatedAttributeDefinition
255+
</summary>
256+
257+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/deletecalculatedattributedefinitioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletecalculatedattributedefinitioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletecalculatedattributedefinitioncommandoutput.html)
258+
243259
</details>
244260
<details>
245261
<summary>
@@ -304,6 +320,22 @@ GetAutoMergingPreview
304320

305321
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getautomergingpreviewcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getautomergingpreviewcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getautomergingpreviewcommandoutput.html)
306322

323+
</details>
324+
<details>
325+
<summary>
326+
GetCalculatedAttributeDefinition
327+
</summary>
328+
329+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getcalculatedattributedefinitioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getcalculatedattributedefinitioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getcalculatedattributedefinitioncommandoutput.html)
330+
331+
</details>
332+
<details>
333+
<summary>
334+
GetCalculatedAttributeForProfile
335+
</summary>
336+
337+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getcalculatedattributeforprofilecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getcalculatedattributeforprofilecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getcalculatedattributeforprofilecommandoutput.html)
338+
307339
</details>
308340
<details>
309341
<summary>
@@ -376,6 +408,22 @@ ListAccountIntegrations
376408

377409
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listaccountintegrationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listaccountintegrationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listaccountintegrationscommandoutput.html)
378410

411+
</details>
412+
<details>
413+
<summary>
414+
ListCalculatedAttributeDefinitions
415+
</summary>
416+
417+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listcalculatedattributedefinitionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listcalculatedattributedefinitionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listcalculatedattributedefinitionscommandoutput.html)
418+
419+
</details>
420+
<details>
421+
<summary>
422+
ListCalculatedAttributesForProfile
423+
</summary>
424+
425+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listcalculatedattributesforprofilecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listcalculatedattributesforprofilecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listcalculatedattributesforprofilecommandoutput.html)
426+
379427
</details>
380428
<details>
381429
<summary>
@@ -496,6 +544,14 @@ UntagResource
496544

497545
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/untagresourcecommandoutput.html)
498546

547+
</details>
548+
<details>
549+
<summary>
550+
UpdateCalculatedAttributeDefinition
551+
</summary>
552+
553+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/updatecalculatedattributedefinitioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/updatecalculatedattributedefinitioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/updatecalculatedattributedefinitioncommandoutput.html)
554+
499555
</details>
500556
<details>
501557
<summary>

clients/client-customer-profiles/src/CustomerProfiles.ts

+161
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ import {
77
AddProfileKeyCommandInput,
88
AddProfileKeyCommandOutput,
99
} from "./commands/AddProfileKeyCommand";
10+
import {
11+
CreateCalculatedAttributeDefinitionCommand,
12+
CreateCalculatedAttributeDefinitionCommandInput,
13+
CreateCalculatedAttributeDefinitionCommandOutput,
14+
} from "./commands/CreateCalculatedAttributeDefinitionCommand";
1015
import {
1116
CreateDomainCommand,
1217
CreateDomainCommandInput,
@@ -22,6 +27,11 @@ import {
2227
CreateProfileCommandInput,
2328
CreateProfileCommandOutput,
2429
} from "./commands/CreateProfileCommand";
30+
import {
31+
DeleteCalculatedAttributeDefinitionCommand,
32+
DeleteCalculatedAttributeDefinitionCommandInput,
33+
DeleteCalculatedAttributeDefinitionCommandOutput,
34+
} from "./commands/DeleteCalculatedAttributeDefinitionCommand";
2535
import {
2636
DeleteDomainCommand,
2737
DeleteDomainCommandInput,
@@ -62,6 +72,16 @@ import {
6272
GetAutoMergingPreviewCommandInput,
6373
GetAutoMergingPreviewCommandOutput,
6474
} from "./commands/GetAutoMergingPreviewCommand";
75+
import {
76+
GetCalculatedAttributeDefinitionCommand,
77+
GetCalculatedAttributeDefinitionCommandInput,
78+
GetCalculatedAttributeDefinitionCommandOutput,
79+
} from "./commands/GetCalculatedAttributeDefinitionCommand";
80+
import {
81+
GetCalculatedAttributeForProfileCommand,
82+
GetCalculatedAttributeForProfileCommandInput,
83+
GetCalculatedAttributeForProfileCommandOutput,
84+
} from "./commands/GetCalculatedAttributeForProfileCommand";
6585
import { GetDomainCommand, GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
6686
import {
6787
GetIdentityResolutionJobCommand,
@@ -95,6 +115,16 @@ import {
95115
ListAccountIntegrationsCommandInput,
96116
ListAccountIntegrationsCommandOutput,
97117
} from "./commands/ListAccountIntegrationsCommand";
118+
import {
119+
ListCalculatedAttributeDefinitionsCommand,
120+
ListCalculatedAttributeDefinitionsCommandInput,
121+
ListCalculatedAttributeDefinitionsCommandOutput,
122+
} from "./commands/ListCalculatedAttributeDefinitionsCommand";
123+
import {
124+
ListCalculatedAttributesForProfileCommand,
125+
ListCalculatedAttributesForProfileCommandInput,
126+
ListCalculatedAttributesForProfileCommandOutput,
127+
} from "./commands/ListCalculatedAttributesForProfileCommand";
98128
import { ListDomainsCommand, ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
99129
import {
100130
ListIdentityResolutionJobsCommand,
@@ -162,6 +192,11 @@ import {
162192
UntagResourceCommandInput,
163193
UntagResourceCommandOutput,
164194
} from "./commands/UntagResourceCommand";
195+
import {
196+
UpdateCalculatedAttributeDefinitionCommand,
197+
UpdateCalculatedAttributeDefinitionCommandInput,
198+
UpdateCalculatedAttributeDefinitionCommandOutput,
199+
} from "./commands/UpdateCalculatedAttributeDefinitionCommand";
165200
import {
166201
UpdateDomainCommand,
167202
UpdateDomainCommandInput,
@@ -176,9 +211,11 @@ import { CustomerProfilesClient, CustomerProfilesClientConfig } from "./Customer
176211

177212
const commands = {
178213
AddProfileKeyCommand,
214+
CreateCalculatedAttributeDefinitionCommand,
179215
CreateDomainCommand,
180216
CreateIntegrationWorkflowCommand,
181217
CreateProfileCommand,
218+
DeleteCalculatedAttributeDefinitionCommand,
182219
DeleteDomainCommand,
183220
DeleteIntegrationCommand,
184221
DeleteProfileCommand,
@@ -187,6 +224,8 @@ const commands = {
187224
DeleteProfileObjectTypeCommand,
188225
DeleteWorkflowCommand,
189226
GetAutoMergingPreviewCommand,
227+
GetCalculatedAttributeDefinitionCommand,
228+
GetCalculatedAttributeForProfileCommand,
190229
GetDomainCommand,
191230
GetIdentityResolutionJobCommand,
192231
GetIntegrationCommand,
@@ -196,6 +235,8 @@ const commands = {
196235
GetWorkflowCommand,
197236
GetWorkflowStepsCommand,
198237
ListAccountIntegrationsCommand,
238+
ListCalculatedAttributeDefinitionsCommand,
239+
ListCalculatedAttributesForProfileCommand,
199240
ListDomainsCommand,
200241
ListIdentityResolutionJobsCommand,
201242
ListIntegrationsCommand,
@@ -211,6 +252,7 @@ const commands = {
211252
SearchProfilesCommand,
212253
TagResourceCommand,
213254
UntagResourceCommand,
255+
UpdateCalculatedAttributeDefinitionCommand,
214256
UpdateDomainCommand,
215257
UpdateProfileCommand,
216258
};
@@ -227,6 +269,23 @@ export interface CustomerProfiles {
227269
cb: (err: any, data?: AddProfileKeyCommandOutput) => void
228270
): void;
229271

272+
/**
273+
* @see {@link CreateCalculatedAttributeDefinitionCommand}
274+
*/
275+
createCalculatedAttributeDefinition(
276+
args: CreateCalculatedAttributeDefinitionCommandInput,
277+
options?: __HttpHandlerOptions
278+
): Promise<CreateCalculatedAttributeDefinitionCommandOutput>;
279+
createCalculatedAttributeDefinition(
280+
args: CreateCalculatedAttributeDefinitionCommandInput,
281+
cb: (err: any, data?: CreateCalculatedAttributeDefinitionCommandOutput) => void
282+
): void;
283+
createCalculatedAttributeDefinition(
284+
args: CreateCalculatedAttributeDefinitionCommandInput,
285+
options: __HttpHandlerOptions,
286+
cb: (err: any, data?: CreateCalculatedAttributeDefinitionCommandOutput) => void
287+
): void;
288+
230289
/**
231290
* @see {@link CreateDomainCommand}
232291
*/
@@ -266,6 +325,23 @@ export interface CustomerProfiles {
266325
cb: (err: any, data?: CreateProfileCommandOutput) => void
267326
): void;
268327

328+
/**
329+
* @see {@link DeleteCalculatedAttributeDefinitionCommand}
330+
*/
331+
deleteCalculatedAttributeDefinition(
332+
args: DeleteCalculatedAttributeDefinitionCommandInput,
333+
options?: __HttpHandlerOptions
334+
): Promise<DeleteCalculatedAttributeDefinitionCommandOutput>;
335+
deleteCalculatedAttributeDefinition(
336+
args: DeleteCalculatedAttributeDefinitionCommandInput,
337+
cb: (err: any, data?: DeleteCalculatedAttributeDefinitionCommandOutput) => void
338+
): void;
339+
deleteCalculatedAttributeDefinition(
340+
args: DeleteCalculatedAttributeDefinitionCommandInput,
341+
options: __HttpHandlerOptions,
342+
cb: (err: any, data?: DeleteCalculatedAttributeDefinitionCommandOutput) => void
343+
): void;
344+
269345
/**
270346
* @see {@link DeleteDomainCommand}
271347
*/
@@ -387,6 +463,40 @@ export interface CustomerProfiles {
387463
cb: (err: any, data?: GetAutoMergingPreviewCommandOutput) => void
388464
): void;
389465

466+
/**
467+
* @see {@link GetCalculatedAttributeDefinitionCommand}
468+
*/
469+
getCalculatedAttributeDefinition(
470+
args: GetCalculatedAttributeDefinitionCommandInput,
471+
options?: __HttpHandlerOptions
472+
): Promise<GetCalculatedAttributeDefinitionCommandOutput>;
473+
getCalculatedAttributeDefinition(
474+
args: GetCalculatedAttributeDefinitionCommandInput,
475+
cb: (err: any, data?: GetCalculatedAttributeDefinitionCommandOutput) => void
476+
): void;
477+
getCalculatedAttributeDefinition(
478+
args: GetCalculatedAttributeDefinitionCommandInput,
479+
options: __HttpHandlerOptions,
480+
cb: (err: any, data?: GetCalculatedAttributeDefinitionCommandOutput) => void
481+
): void;
482+
483+
/**
484+
* @see {@link GetCalculatedAttributeForProfileCommand}
485+
*/
486+
getCalculatedAttributeForProfile(
487+
args: GetCalculatedAttributeForProfileCommandInput,
488+
options?: __HttpHandlerOptions
489+
): Promise<GetCalculatedAttributeForProfileCommandOutput>;
490+
getCalculatedAttributeForProfile(
491+
args: GetCalculatedAttributeForProfileCommandInput,
492+
cb: (err: any, data?: GetCalculatedAttributeForProfileCommandOutput) => void
493+
): void;
494+
getCalculatedAttributeForProfile(
495+
args: GetCalculatedAttributeForProfileCommandInput,
496+
options: __HttpHandlerOptions,
497+
cb: (err: any, data?: GetCalculatedAttributeForProfileCommandOutput) => void
498+
): void;
499+
390500
/**
391501
* @see {@link GetDomainCommand}
392502
*/
@@ -519,6 +629,40 @@ export interface CustomerProfiles {
519629
cb: (err: any, data?: ListAccountIntegrationsCommandOutput) => void
520630
): void;
521631

632+
/**
633+
* @see {@link ListCalculatedAttributeDefinitionsCommand}
634+
*/
635+
listCalculatedAttributeDefinitions(
636+
args: ListCalculatedAttributeDefinitionsCommandInput,
637+
options?: __HttpHandlerOptions
638+
): Promise<ListCalculatedAttributeDefinitionsCommandOutput>;
639+
listCalculatedAttributeDefinitions(
640+
args: ListCalculatedAttributeDefinitionsCommandInput,
641+
cb: (err: any, data?: ListCalculatedAttributeDefinitionsCommandOutput) => void
642+
): void;
643+
listCalculatedAttributeDefinitions(
644+
args: ListCalculatedAttributeDefinitionsCommandInput,
645+
options: __HttpHandlerOptions,
646+
cb: (err: any, data?: ListCalculatedAttributeDefinitionsCommandOutput) => void
647+
): void;
648+
649+
/**
650+
* @see {@link ListCalculatedAttributesForProfileCommand}
651+
*/
652+
listCalculatedAttributesForProfile(
653+
args: ListCalculatedAttributesForProfileCommandInput,
654+
options?: __HttpHandlerOptions
655+
): Promise<ListCalculatedAttributesForProfileCommandOutput>;
656+
listCalculatedAttributesForProfile(
657+
args: ListCalculatedAttributesForProfileCommandInput,
658+
cb: (err: any, data?: ListCalculatedAttributesForProfileCommandOutput) => void
659+
): void;
660+
listCalculatedAttributesForProfile(
661+
args: ListCalculatedAttributesForProfileCommandInput,
662+
options: __HttpHandlerOptions,
663+
cb: (err: any, data?: ListCalculatedAttributesForProfileCommandOutput) => void
664+
): void;
665+
522666
/**
523667
* @see {@link ListDomainsCommand}
524668
*/
@@ -738,6 +882,23 @@ export interface CustomerProfiles {
738882
cb: (err: any, data?: UntagResourceCommandOutput) => void
739883
): void;
740884

885+
/**
886+
* @see {@link UpdateCalculatedAttributeDefinitionCommand}
887+
*/
888+
updateCalculatedAttributeDefinition(
889+
args: UpdateCalculatedAttributeDefinitionCommandInput,
890+
options?: __HttpHandlerOptions
891+
): Promise<UpdateCalculatedAttributeDefinitionCommandOutput>;
892+
updateCalculatedAttributeDefinition(
893+
args: UpdateCalculatedAttributeDefinitionCommandInput,
894+
cb: (err: any, data?: UpdateCalculatedAttributeDefinitionCommandOutput) => void
895+
): void;
896+
updateCalculatedAttributeDefinition(
897+
args: UpdateCalculatedAttributeDefinitionCommandInput,
898+
options: __HttpHandlerOptions,
899+
cb: (err: any, data?: UpdateCalculatedAttributeDefinitionCommandOutput) => void
900+
): void;
901+
741902
/**
742903
* @see {@link UpdateDomainCommand}
743904
*/

0 commit comments

Comments
 (0)