@aws-sdk/client-customer-profiles 3.342.0 → 3.345.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/CustomerProfiles.js +14 -0
  3. package/dist-cjs/commands/CreateCalculatedAttributeDefinitionCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteCalculatedAttributeDefinitionCommand.js +46 -0
  5. package/dist-cjs/commands/GetCalculatedAttributeDefinitionCommand.js +46 -0
  6. package/dist-cjs/commands/GetCalculatedAttributeForProfileCommand.js +46 -0
  7. package/dist-cjs/commands/ListCalculatedAttributeDefinitionsCommand.js +46 -0
  8. package/dist-cjs/commands/ListCalculatedAttributesForProfileCommand.js +46 -0
  9. package/dist-cjs/commands/UpdateCalculatedAttributeDefinitionCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/endpoint/ruleset.js +3 -3
  12. package/dist-cjs/models/models_0.js +20 -1
  13. package/dist-cjs/protocols/Aws_restJson1.js +527 -2
  14. package/dist-es/CustomerProfiles.js +14 -0
  15. package/dist-es/commands/CreateCalculatedAttributeDefinitionCommand.js +42 -0
  16. package/dist-es/commands/DeleteCalculatedAttributeDefinitionCommand.js +42 -0
  17. package/dist-es/commands/GetCalculatedAttributeDefinitionCommand.js +42 -0
  18. package/dist-es/commands/GetCalculatedAttributeForProfileCommand.js +42 -0
  19. package/dist-es/commands/ListCalculatedAttributeDefinitionsCommand.js +42 -0
  20. package/dist-es/commands/ListCalculatedAttributesForProfileCommand.js +42 -0
  21. package/dist-es/commands/UpdateCalculatedAttributeDefinitionCommand.js +42 -0
  22. package/dist-es/commands/index.js +7 -0
  23. package/dist-es/endpoint/ruleset.js +3 -3
  24. package/dist-es/models/models_0.js +19 -0
  25. package/dist-es/protocols/Aws_restJson1.js +511 -0
  26. package/dist-types/CustomerProfiles.d.ts +49 -0
  27. package/dist-types/CustomerProfilesClient.d.ts +9 -2
  28. package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +146 -0
  29. package/dist-types/commands/DeleteCalculatedAttributeDefinitionCommand.d.ts +89 -0
  30. package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +116 -0
  31. package/dist-types/commands/GetCalculatedAttributeForProfileCommand.d.ts +93 -0
  32. package/dist-types/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +102 -0
  33. package/dist-types/commands/ListCalculatedAttributesForProfileCommand.d.ts +99 -0
  34. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +131 -0
  35. package/dist-types/commands/index.d.ts +7 -0
  36. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  37. package/dist-types/models/models_0.d.ts +491 -8
  38. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  39. package/dist-types/ts3.4/CustomerProfiles.d.ts +149 -0
  40. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +42 -0
  42. package/dist-types/ts3.4/commands/DeleteCalculatedAttributeDefinitionCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/GetCalculatedAttributeDefinitionCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/GetCalculatedAttributeForProfileCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/ListCalculatedAttributesForProfileCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  49. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  50. package/dist-types/ts3.4/models/models_0.d.ts +145 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  52. package/package.json +9 -9
@@ -1,8 +1,10 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
3
+ import { CreateCalculatedAttributeDefinitionCommandInput, CreateCalculatedAttributeDefinitionCommandOutput } from "./commands/CreateCalculatedAttributeDefinitionCommand";
3
4
  import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
4
5
  import { CreateIntegrationWorkflowCommandInput, CreateIntegrationWorkflowCommandOutput } from "./commands/CreateIntegrationWorkflowCommand";
5
6
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
7
+ import { DeleteCalculatedAttributeDefinitionCommandInput, DeleteCalculatedAttributeDefinitionCommandOutput } from "./commands/DeleteCalculatedAttributeDefinitionCommand";
6
8
  import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
7
9
  import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
8
10
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
@@ -11,6 +13,8 @@ import { DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput } fro
11
13
  import { DeleteProfileObjectTypeCommandInput, DeleteProfileObjectTypeCommandOutput } from "./commands/DeleteProfileObjectTypeCommand";
12
14
  import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
13
15
  import { GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput } from "./commands/GetAutoMergingPreviewCommand";
16
+ import { GetCalculatedAttributeDefinitionCommandInput, GetCalculatedAttributeDefinitionCommandOutput } from "./commands/GetCalculatedAttributeDefinitionCommand";
17
+ import { GetCalculatedAttributeForProfileCommandInput, GetCalculatedAttributeForProfileCommandOutput } from "./commands/GetCalculatedAttributeForProfileCommand";
14
18
  import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
15
19
  import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
16
20
  import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
@@ -20,6 +24,8 @@ import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateC
20
24
  import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
21
25
  import { GetWorkflowStepsCommandInput, GetWorkflowStepsCommandOutput } from "./commands/GetWorkflowStepsCommand";
22
26
  import { ListAccountIntegrationsCommandInput, ListAccountIntegrationsCommandOutput } from "./commands/ListAccountIntegrationsCommand";
27
+ import { ListCalculatedAttributeDefinitionsCommandInput, ListCalculatedAttributeDefinitionsCommandOutput } from "./commands/ListCalculatedAttributeDefinitionsCommand";
28
+ import { ListCalculatedAttributesForProfileCommandInput, ListCalculatedAttributesForProfileCommandOutput } from "./commands/ListCalculatedAttributesForProfileCommand";
23
29
  import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
24
30
  import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
25
31
  import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
@@ -35,6 +41,7 @@ import { PutProfileObjectTypeCommandInput, PutProfileObjectTypeCommandOutput } f
35
41
  import { SearchProfilesCommandInput, SearchProfilesCommandOutput } from "./commands/SearchProfilesCommand";
36
42
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
37
43
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
44
+ import { UpdateCalculatedAttributeDefinitionCommandInput, UpdateCalculatedAttributeDefinitionCommandOutput } from "./commands/UpdateCalculatedAttributeDefinitionCommand";
38
45
  import { UpdateDomainCommandInput, UpdateDomainCommandOutput } from "./commands/UpdateDomainCommand";
39
46
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
40
47
  import { CustomerProfilesClient } from "./CustomerProfilesClient";
@@ -45,6 +52,12 @@ export interface CustomerProfiles {
45
52
  addProfileKey(args: AddProfileKeyCommandInput, options?: __HttpHandlerOptions): Promise<AddProfileKeyCommandOutput>;
46
53
  addProfileKey(args: AddProfileKeyCommandInput, cb: (err: any, data?: AddProfileKeyCommandOutput) => void): void;
47
54
  addProfileKey(args: AddProfileKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddProfileKeyCommandOutput) => void): void;
55
+ /**
56
+ * @see {@link CreateCalculatedAttributeDefinitionCommand}
57
+ */
58
+ createCalculatedAttributeDefinition(args: CreateCalculatedAttributeDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCalculatedAttributeDefinitionCommandOutput>;
59
+ createCalculatedAttributeDefinition(args: CreateCalculatedAttributeDefinitionCommandInput, cb: (err: any, data?: CreateCalculatedAttributeDefinitionCommandOutput) => void): void;
60
+ createCalculatedAttributeDefinition(args: CreateCalculatedAttributeDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCalculatedAttributeDefinitionCommandOutput) => void): void;
48
61
  /**
49
62
  * @see {@link CreateDomainCommand}
50
63
  */
@@ -63,6 +76,12 @@ export interface CustomerProfiles {
63
76
  createProfile(args: CreateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileCommandOutput>;
64
77
  createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
65
78
  createProfile(args: CreateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
79
+ /**
80
+ * @see {@link DeleteCalculatedAttributeDefinitionCommand}
81
+ */
82
+ deleteCalculatedAttributeDefinition(args: DeleteCalculatedAttributeDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCalculatedAttributeDefinitionCommandOutput>;
83
+ deleteCalculatedAttributeDefinition(args: DeleteCalculatedAttributeDefinitionCommandInput, cb: (err: any, data?: DeleteCalculatedAttributeDefinitionCommandOutput) => void): void;
84
+ deleteCalculatedAttributeDefinition(args: DeleteCalculatedAttributeDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCalculatedAttributeDefinitionCommandOutput) => void): void;
66
85
  /**
67
86
  * @see {@link DeleteDomainCommand}
68
87
  */
@@ -111,6 +130,18 @@ export interface CustomerProfiles {
111
130
  getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetAutoMergingPreviewCommandOutput>;
112
131
  getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, cb: (err: any, data?: GetAutoMergingPreviewCommandOutput) => void): void;
113
132
  getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutoMergingPreviewCommandOutput) => void): void;
133
+ /**
134
+ * @see {@link GetCalculatedAttributeDefinitionCommand}
135
+ */
136
+ getCalculatedAttributeDefinition(args: GetCalculatedAttributeDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculatedAttributeDefinitionCommandOutput>;
137
+ getCalculatedAttributeDefinition(args: GetCalculatedAttributeDefinitionCommandInput, cb: (err: any, data?: GetCalculatedAttributeDefinitionCommandOutput) => void): void;
138
+ getCalculatedAttributeDefinition(args: GetCalculatedAttributeDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculatedAttributeDefinitionCommandOutput) => void): void;
139
+ /**
140
+ * @see {@link GetCalculatedAttributeForProfileCommand}
141
+ */
142
+ getCalculatedAttributeForProfile(args: GetCalculatedAttributeForProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculatedAttributeForProfileCommandOutput>;
143
+ getCalculatedAttributeForProfile(args: GetCalculatedAttributeForProfileCommandInput, cb: (err: any, data?: GetCalculatedAttributeForProfileCommandOutput) => void): void;
144
+ getCalculatedAttributeForProfile(args: GetCalculatedAttributeForProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculatedAttributeForProfileCommandOutput) => void): void;
114
145
  /**
115
146
  * @see {@link GetDomainCommand}
116
147
  */
@@ -165,6 +196,18 @@ export interface CustomerProfiles {
165
196
  listAccountIntegrations(args: ListAccountIntegrationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountIntegrationsCommandOutput>;
166
197
  listAccountIntegrations(args: ListAccountIntegrationsCommandInput, cb: (err: any, data?: ListAccountIntegrationsCommandOutput) => void): void;
167
198
  listAccountIntegrations(args: ListAccountIntegrationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountIntegrationsCommandOutput) => void): void;
199
+ /**
200
+ * @see {@link ListCalculatedAttributeDefinitionsCommand}
201
+ */
202
+ listCalculatedAttributeDefinitions(args: ListCalculatedAttributeDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCalculatedAttributeDefinitionsCommandOutput>;
203
+ listCalculatedAttributeDefinitions(args: ListCalculatedAttributeDefinitionsCommandInput, cb: (err: any, data?: ListCalculatedAttributeDefinitionsCommandOutput) => void): void;
204
+ listCalculatedAttributeDefinitions(args: ListCalculatedAttributeDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCalculatedAttributeDefinitionsCommandOutput) => void): void;
205
+ /**
206
+ * @see {@link ListCalculatedAttributesForProfileCommand}
207
+ */
208
+ listCalculatedAttributesForProfile(args: ListCalculatedAttributesForProfileCommandInput, options?: __HttpHandlerOptions): Promise<ListCalculatedAttributesForProfileCommandOutput>;
209
+ listCalculatedAttributesForProfile(args: ListCalculatedAttributesForProfileCommandInput, cb: (err: any, data?: ListCalculatedAttributesForProfileCommandOutput) => void): void;
210
+ listCalculatedAttributesForProfile(args: ListCalculatedAttributesForProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCalculatedAttributesForProfileCommandOutput) => void): void;
168
211
  /**
169
212
  * @see {@link ListDomainsCommand}
170
213
  */
@@ -255,6 +298,12 @@ export interface CustomerProfiles {
255
298
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
256
299
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
257
300
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
301
+ /**
302
+ * @see {@link UpdateCalculatedAttributeDefinitionCommand}
303
+ */
304
+ updateCalculatedAttributeDefinition(args: UpdateCalculatedAttributeDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCalculatedAttributeDefinitionCommandOutput>;
305
+ updateCalculatedAttributeDefinition(args: UpdateCalculatedAttributeDefinitionCommandInput, cb: (err: any, data?: UpdateCalculatedAttributeDefinitionCommandOutput) => void): void;
306
+ updateCalculatedAttributeDefinition(args: UpdateCalculatedAttributeDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCalculatedAttributeDefinitionCommandOutput) => void): void;
258
307
  /**
259
308
  * @see {@link UpdateDomainCommand}
260
309
  */
@@ -9,9 +9,11 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
9
9
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
10
  import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
11
11
  import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
12
+ import { CreateCalculatedAttributeDefinitionCommandInput, CreateCalculatedAttributeDefinitionCommandOutput } from "./commands/CreateCalculatedAttributeDefinitionCommand";
12
13
  import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
13
14
  import { CreateIntegrationWorkflowCommandInput, CreateIntegrationWorkflowCommandOutput } from "./commands/CreateIntegrationWorkflowCommand";
14
15
  import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
16
+ import { DeleteCalculatedAttributeDefinitionCommandInput, DeleteCalculatedAttributeDefinitionCommandOutput } from "./commands/DeleteCalculatedAttributeDefinitionCommand";
15
17
  import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
16
18
  import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
17
19
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
@@ -20,6 +22,8 @@ import { DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput } fro
20
22
  import { DeleteProfileObjectTypeCommandInput, DeleteProfileObjectTypeCommandOutput } from "./commands/DeleteProfileObjectTypeCommand";
21
23
  import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
22
24
  import { GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput } from "./commands/GetAutoMergingPreviewCommand";
25
+ import { GetCalculatedAttributeDefinitionCommandInput, GetCalculatedAttributeDefinitionCommandOutput } from "./commands/GetCalculatedAttributeDefinitionCommand";
26
+ import { GetCalculatedAttributeForProfileCommandInput, GetCalculatedAttributeForProfileCommandOutput } from "./commands/GetCalculatedAttributeForProfileCommand";
23
27
  import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
24
28
  import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
25
29
  import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
@@ -29,6 +33,8 @@ import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateC
29
33
  import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
30
34
  import { GetWorkflowStepsCommandInput, GetWorkflowStepsCommandOutput } from "./commands/GetWorkflowStepsCommand";
31
35
  import { ListAccountIntegrationsCommandInput, ListAccountIntegrationsCommandOutput } from "./commands/ListAccountIntegrationsCommand";
36
+ import { ListCalculatedAttributeDefinitionsCommandInput, ListCalculatedAttributeDefinitionsCommandOutput } from "./commands/ListCalculatedAttributeDefinitionsCommand";
37
+ import { ListCalculatedAttributesForProfileCommandInput, ListCalculatedAttributesForProfileCommandOutput } from "./commands/ListCalculatedAttributesForProfileCommand";
32
38
  import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
33
39
  import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
34
40
  import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
@@ -44,6 +50,7 @@ import { PutProfileObjectTypeCommandInput, PutProfileObjectTypeCommandOutput } f
44
50
  import { SearchProfilesCommandInput, SearchProfilesCommandOutput } from "./commands/SearchProfilesCommand";
45
51
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
52
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
53
+ import { UpdateCalculatedAttributeDefinitionCommandInput, UpdateCalculatedAttributeDefinitionCommandOutput } from "./commands/UpdateCalculatedAttributeDefinitionCommand";
47
54
  import { UpdateDomainCommandInput, UpdateDomainCommandOutput } from "./commands/UpdateDomainCommand";
48
55
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
49
56
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
@@ -51,11 +58,11 @@ export { __Client };
51
58
  /**
52
59
  * @public
53
60
  */
54
- 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 | ListIntegrationsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListTagsForResourceCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDomainCommandInput | UpdateProfileCommandInput;
61
+ export type ServiceInputTypes = AddProfileKeyCommandInput | CreateCalculatedAttributeDefinitionCommandInput | CreateDomainCommandInput | CreateIntegrationWorkflowCommandInput | CreateProfileCommandInput | DeleteCalculatedAttributeDefinitionCommandInput | DeleteDomainCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | DeleteWorkflowCommandInput | GetAutoMergingPreviewCommandInput | GetCalculatedAttributeDefinitionCommandInput | GetCalculatedAttributeForProfileCommandInput | GetDomainCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | GetWorkflowCommandInput | GetWorkflowStepsCommandInput | ListAccountIntegrationsCommandInput | ListCalculatedAttributeDefinitionsCommandInput | ListCalculatedAttributesForProfileCommandInput | ListDomainsCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListTagsForResourceCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCalculatedAttributeDefinitionCommandInput | UpdateDomainCommandInput | UpdateProfileCommandInput;
55
62
  /**
56
63
  * @public
57
64
  */
58
- 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 | ListIntegrationsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListTagsForResourceCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDomainCommandOutput | UpdateProfileCommandOutput;
65
+ export type ServiceOutputTypes = AddProfileKeyCommandOutput | CreateCalculatedAttributeDefinitionCommandOutput | CreateDomainCommandOutput | CreateIntegrationWorkflowCommandOutput | CreateProfileCommandOutput | DeleteCalculatedAttributeDefinitionCommandOutput | DeleteDomainCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | DeleteWorkflowCommandOutput | GetAutoMergingPreviewCommandOutput | GetCalculatedAttributeDefinitionCommandOutput | GetCalculatedAttributeForProfileCommandOutput | GetDomainCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepsCommandOutput | ListAccountIntegrationsCommandOutput | ListCalculatedAttributeDefinitionsCommandOutput | ListCalculatedAttributesForProfileCommandOutput | ListDomainsCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListTagsForResourceCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCalculatedAttributeDefinitionCommandOutput | UpdateDomainCommandOutput | UpdateProfileCommandOutput;
59
66
  /**
60
67
  * @public
61
68
  */
@@ -0,0 +1,146 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { CreateCalculatedAttributeDefinitionRequest, CreateCalculatedAttributeDefinitionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCalculatedAttributeDefinitionCommand}.
14
+ */
15
+ export interface CreateCalculatedAttributeDefinitionCommandInput extends CreateCalculatedAttributeDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCalculatedAttributeDefinitionCommand}.
21
+ */
22
+ export interface CreateCalculatedAttributeDefinitionCommandOutput extends CreateCalculatedAttributeDefinitionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a new calculated attribute definition. After creation, new object data ingested
27
+ * into Customer Profiles will be included in the calculated attribute, which can be retrieved
28
+ * for a profile using the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetCalculatedAttributeForProfile.html">GetCalculatedAttributeForProfile</a> API.
29
+ * Defining a calculated attribute makes it available for all profiles within a domain. Each
30
+ * calculated attribute can only reference one <code>ObjectType</code> and at most, two fields
31
+ * from that <code>ObjectType</code>.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CustomerProfilesClient, CreateCalculatedAttributeDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, CreateCalculatedAttributeDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // CreateCalculatedAttributeDefinitionRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * CalculatedAttributeName: "STRING_VALUE", // required
41
+ * DisplayName: "STRING_VALUE",
42
+ * Description: "STRING_VALUE",
43
+ * AttributeDetails: { // AttributeDetails
44
+ * Attributes: [ // AttributeList // required
45
+ * { // AttributeItem
46
+ * Name: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * Expression: "STRING_VALUE", // required
50
+ * },
51
+ * Conditions: { // Conditions
52
+ * Range: { // Range
53
+ * Value: Number("int"), // required
54
+ * Unit: "DAYS", // required
55
+ * },
56
+ * ObjectCount: Number("int"),
57
+ * Threshold: { // Threshold
58
+ * Value: "STRING_VALUE", // required
59
+ * Operator: "EQUAL_TO" || "GREATER_THAN" || "LESS_THAN" || "NOT_EQUAL_TO", // required
60
+ * },
61
+ * },
62
+ * Statistic: "FIRST_OCCURRENCE" || "LAST_OCCURRENCE" || "COUNT" || "SUM" || "MINIMUM" || "MAXIMUM" || "AVERAGE" || "MAX_OCCURRENCE", // required
63
+ * Tags: { // TagMap
64
+ * "<keys>": "STRING_VALUE",
65
+ * },
66
+ * };
67
+ * const command = new CreateCalculatedAttributeDefinitionCommand(input);
68
+ * const response = await client.send(command);
69
+ * // { // CreateCalculatedAttributeDefinitionResponse
70
+ * // CalculatedAttributeName: "STRING_VALUE",
71
+ * // DisplayName: "STRING_VALUE",
72
+ * // Description: "STRING_VALUE",
73
+ * // AttributeDetails: { // AttributeDetails
74
+ * // Attributes: [ // AttributeList // required
75
+ * // { // AttributeItem
76
+ * // Name: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // Expression: "STRING_VALUE", // required
80
+ * // },
81
+ * // Conditions: { // Conditions
82
+ * // Range: { // Range
83
+ * // Value: Number("int"), // required
84
+ * // Unit: "DAYS", // required
85
+ * // },
86
+ * // ObjectCount: Number("int"),
87
+ * // Threshold: { // Threshold
88
+ * // Value: "STRING_VALUE", // required
89
+ * // Operator: "EQUAL_TO" || "GREATER_THAN" || "LESS_THAN" || "NOT_EQUAL_TO", // required
90
+ * // },
91
+ * // },
92
+ * // Statistic: "FIRST_OCCURRENCE" || "LAST_OCCURRENCE" || "COUNT" || "SUM" || "MINIMUM" || "MAXIMUM" || "AVERAGE" || "MAX_OCCURRENCE",
93
+ * // CreatedAt: new Date("TIMESTAMP"),
94
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
95
+ * // Tags: { // TagMap
96
+ * // "<keys>": "STRING_VALUE",
97
+ * // },
98
+ * // };
99
+ *
100
+ * ```
101
+ *
102
+ * @param CreateCalculatedAttributeDefinitionCommandInput - {@link CreateCalculatedAttributeDefinitionCommandInput}
103
+ * @returns {@link CreateCalculatedAttributeDefinitionCommandOutput}
104
+ * @see {@link CreateCalculatedAttributeDefinitionCommandInput} for command's `input` shape.
105
+ * @see {@link CreateCalculatedAttributeDefinitionCommandOutput} for command's `response` shape.
106
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
107
+ *
108
+ * @throws {@link AccessDeniedException} (client fault)
109
+ * <p>You do not have sufficient access to perform this action.</p>
110
+ *
111
+ * @throws {@link BadRequestException} (client fault)
112
+ * <p>The input you provided is invalid.</p>
113
+ *
114
+ * @throws {@link InternalServerException} (server fault)
115
+ * <p>An internal service error occurred.</p>
116
+ *
117
+ * @throws {@link ResourceNotFoundException} (client fault)
118
+ * <p>The requested resource does not exist, or access was denied.</p>
119
+ *
120
+ * @throws {@link ThrottlingException} (client fault)
121
+ * <p>You exceeded the maximum number of requests.</p>
122
+ *
123
+ * @throws {@link CustomerProfilesServiceException}
124
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
125
+ *
126
+ */
127
+ export declare class CreateCalculatedAttributeDefinitionCommand extends $Command<CreateCalculatedAttributeDefinitionCommandInput, CreateCalculatedAttributeDefinitionCommandOutput, CustomerProfilesClientResolvedConfig> {
128
+ readonly input: CreateCalculatedAttributeDefinitionCommandInput;
129
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
130
+ /**
131
+ * @public
132
+ */
133
+ constructor(input: CreateCalculatedAttributeDefinitionCommandInput);
134
+ /**
135
+ * @internal
136
+ */
137
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCalculatedAttributeDefinitionCommandInput, CreateCalculatedAttributeDefinitionCommandOutput>;
138
+ /**
139
+ * @internal
140
+ */
141
+ private serialize;
142
+ /**
143
+ * @internal
144
+ */
145
+ private deserialize;
146
+ }
@@ -0,0 +1,89 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { DeleteCalculatedAttributeDefinitionRequest, DeleteCalculatedAttributeDefinitionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteCalculatedAttributeDefinitionCommand}.
14
+ */
15
+ export interface DeleteCalculatedAttributeDefinitionCommandInput extends DeleteCalculatedAttributeDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteCalculatedAttributeDefinitionCommand}.
21
+ */
22
+ export interface DeleteCalculatedAttributeDefinitionCommandOutput extends DeleteCalculatedAttributeDefinitionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute
27
+ * is possible, however once deleted, you will be unable to undo that action and will need to recreate it on
28
+ * your own using the CreateCalculatedAttributeDefinition API if you want it back.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { CustomerProfilesClient, DeleteCalculatedAttributeDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
33
+ * // const { CustomerProfilesClient, DeleteCalculatedAttributeDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
34
+ * const client = new CustomerProfilesClient(config);
35
+ * const input = { // DeleteCalculatedAttributeDefinitionRequest
36
+ * DomainName: "STRING_VALUE", // required
37
+ * CalculatedAttributeName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteCalculatedAttributeDefinitionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteCalculatedAttributeDefinitionCommandInput - {@link DeleteCalculatedAttributeDefinitionCommandInput}
46
+ * @returns {@link DeleteCalculatedAttributeDefinitionCommandOutput}
47
+ * @see {@link DeleteCalculatedAttributeDefinitionCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteCalculatedAttributeDefinitionCommandOutput} for command's `response` shape.
49
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this action.</p>
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>The input you provided is invalid.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal service error occurred.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The requested resource does not exist, or access was denied.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>You exceeded the maximum number of requests.</p>
65
+ *
66
+ * @throws {@link CustomerProfilesServiceException}
67
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
68
+ *
69
+ */
70
+ export declare class DeleteCalculatedAttributeDefinitionCommand extends $Command<DeleteCalculatedAttributeDefinitionCommandInput, DeleteCalculatedAttributeDefinitionCommandOutput, CustomerProfilesClientResolvedConfig> {
71
+ readonly input: DeleteCalculatedAttributeDefinitionCommandInput;
72
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
76
+ constructor(input: DeleteCalculatedAttributeDefinitionCommandInput);
77
+ /**
78
+ * @internal
79
+ */
80
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCalculatedAttributeDefinitionCommandInput, DeleteCalculatedAttributeDefinitionCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
84
+ private serialize;
85
+ /**
86
+ * @internal
87
+ */
88
+ private deserialize;
89
+ }
@@ -0,0 +1,116 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { GetCalculatedAttributeDefinitionRequest, GetCalculatedAttributeDefinitionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCalculatedAttributeDefinitionCommand}.
14
+ */
15
+ export interface GetCalculatedAttributeDefinitionCommandInput extends GetCalculatedAttributeDefinitionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCalculatedAttributeDefinitionCommand}.
21
+ */
22
+ export interface GetCalculatedAttributeDefinitionCommandOutput extends GetCalculatedAttributeDefinitionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Provides more information on a calculated attribute definition for Customer Profiles.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CustomerProfilesClient, GetCalculatedAttributeDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
31
+ * // const { CustomerProfilesClient, GetCalculatedAttributeDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
32
+ * const client = new CustomerProfilesClient(config);
33
+ * const input = { // GetCalculatedAttributeDefinitionRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * CalculatedAttributeName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetCalculatedAttributeDefinitionCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetCalculatedAttributeDefinitionResponse
40
+ * // CalculatedAttributeName: "STRING_VALUE",
41
+ * // DisplayName: "STRING_VALUE",
42
+ * // Description: "STRING_VALUE",
43
+ * // CreatedAt: new Date("TIMESTAMP"),
44
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
45
+ * // Statistic: "FIRST_OCCURRENCE" || "LAST_OCCURRENCE" || "COUNT" || "SUM" || "MINIMUM" || "MAXIMUM" || "AVERAGE" || "MAX_OCCURRENCE",
46
+ * // Conditions: { // Conditions
47
+ * // Range: { // Range
48
+ * // Value: Number("int"), // required
49
+ * // Unit: "DAYS", // required
50
+ * // },
51
+ * // ObjectCount: Number("int"),
52
+ * // Threshold: { // Threshold
53
+ * // Value: "STRING_VALUE", // required
54
+ * // Operator: "EQUAL_TO" || "GREATER_THAN" || "LESS_THAN" || "NOT_EQUAL_TO", // required
55
+ * // },
56
+ * // },
57
+ * // AttributeDetails: { // AttributeDetails
58
+ * // Attributes: [ // AttributeList // required
59
+ * // { // AttributeItem
60
+ * // Name: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // Expression: "STRING_VALUE", // required
64
+ * // },
65
+ * // Tags: { // TagMap
66
+ * // "<keys>": "STRING_VALUE",
67
+ * // },
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetCalculatedAttributeDefinitionCommandInput - {@link GetCalculatedAttributeDefinitionCommandInput}
73
+ * @returns {@link GetCalculatedAttributeDefinitionCommandOutput}
74
+ * @see {@link GetCalculatedAttributeDefinitionCommandInput} for command's `input` shape.
75
+ * @see {@link GetCalculatedAttributeDefinitionCommandOutput} for command's `response` shape.
76
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>You do not have sufficient access to perform this action.</p>
80
+ *
81
+ * @throws {@link BadRequestException} (client fault)
82
+ * <p>The input you provided is invalid.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An internal service error occurred.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The requested resource does not exist, or access was denied.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>You exceeded the maximum number of requests.</p>
92
+ *
93
+ * @throws {@link CustomerProfilesServiceException}
94
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
95
+ *
96
+ */
97
+ export declare class GetCalculatedAttributeDefinitionCommand extends $Command<GetCalculatedAttributeDefinitionCommandInput, GetCalculatedAttributeDefinitionCommandOutput, CustomerProfilesClientResolvedConfig> {
98
+ readonly input: GetCalculatedAttributeDefinitionCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: GetCalculatedAttributeDefinitionCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCalculatedAttributeDefinitionCommandInput, GetCalculatedAttributeDefinitionCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }
@@ -0,0 +1,93 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
5
+ import { GetCalculatedAttributeForProfileRequest, GetCalculatedAttributeForProfileResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetCalculatedAttributeForProfileCommand}.
14
+ */
15
+ export interface GetCalculatedAttributeForProfileCommandInput extends GetCalculatedAttributeForProfileRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetCalculatedAttributeForProfileCommand}.
21
+ */
22
+ export interface GetCalculatedAttributeForProfileCommandOutput extends GetCalculatedAttributeForProfileResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieve a calculated attribute for a customer profile.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CustomerProfilesClient, GetCalculatedAttributeForProfileCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
31
+ * // const { CustomerProfilesClient, GetCalculatedAttributeForProfileCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
32
+ * const client = new CustomerProfilesClient(config);
33
+ * const input = { // GetCalculatedAttributeForProfileRequest
34
+ * DomainName: "STRING_VALUE", // required
35
+ * ProfileId: "STRING_VALUE", // required
36
+ * CalculatedAttributeName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetCalculatedAttributeForProfileCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetCalculatedAttributeForProfileResponse
41
+ * // CalculatedAttributeName: "STRING_VALUE",
42
+ * // DisplayName: "STRING_VALUE",
43
+ * // IsDataPartial: "STRING_VALUE",
44
+ * // Value: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetCalculatedAttributeForProfileCommandInput - {@link GetCalculatedAttributeForProfileCommandInput}
50
+ * @returns {@link GetCalculatedAttributeForProfileCommandOutput}
51
+ * @see {@link GetCalculatedAttributeForProfileCommandInput} for command's `input` shape.
52
+ * @see {@link GetCalculatedAttributeForProfileCommandOutput} for command's `response` shape.
53
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link BadRequestException} (client fault)
59
+ * <p>The input you provided is invalid.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An internal service error occurred.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The requested resource does not exist, or access was denied.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>You exceeded the maximum number of requests.</p>
69
+ *
70
+ * @throws {@link CustomerProfilesServiceException}
71
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
72
+ *
73
+ */
74
+ export declare class GetCalculatedAttributeForProfileCommand extends $Command<GetCalculatedAttributeForProfileCommandInput, GetCalculatedAttributeForProfileCommandOutput, CustomerProfilesClientResolvedConfig> {
75
+ readonly input: GetCalculatedAttributeForProfileCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: GetCalculatedAttributeForProfileCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCalculatedAttributeForProfileCommandInput, GetCalculatedAttributeForProfileCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }