@aws-sdk/client-customer-profiles 3.168.0 → 3.170.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 (62) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +7 -0
  3. package/dist-es/protocols/Aws_restJson1.js +7 -0
  4. package/dist-types/CustomerProfiles.d.ts +10 -4
  5. package/dist-types/commands/AddProfileKeyCommand.d.ts +1 -1
  6. package/dist-types/commands/PutIntegrationCommand.d.ts +3 -0
  7. package/dist-types/commands/PutProfileObjectCommand.d.ts +3 -3
  8. package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -0
  9. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
  10. package/dist-types/models/models_0.d.ts +15 -0
  11. package/dist-types/ts3.4/CustomerProfiles.d.ts +688 -195
  12. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +358 -111
  13. package/dist-types/ts3.4/commands/AddProfileKeyCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +34 -17
  15. package/dist-types/ts3.4/commands/CreateIntegrationWorkflowCommand.d.ts +41 -17
  16. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +38 -17
  19. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +37 -17
  20. package/dist-types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +37 -17
  21. package/dist-types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +38 -17
  22. package/dist-types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +37 -17
  24. package/dist-types/ts3.4/commands/GetAutoMergingPreviewCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/GetIdentityResolutionJobCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +37 -17
  28. package/dist-types/ts3.4/commands/GetMatchesCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/GetProfileObjectTypeCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +41 -17
  31. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/GetWorkflowStepsCommand.d.ts +37 -17
  33. package/dist-types/ts3.4/commands/ListAccountIntegrationsCommand.d.ts +41 -17
  34. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/ListIdentityResolutionJobsCommand.d.ts +41 -17
  36. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +37 -17
  37. package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +41 -17
  38. package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +41 -17
  39. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +38 -17
  40. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  41. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +37 -17
  42. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +37 -17
  43. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +37 -17
  44. package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +37 -17
  45. package/dist-types/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +41 -17
  46. package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +37 -17
  47. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  48. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  49. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +34 -17
  50. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +37 -17
  51. package/dist-types/ts3.4/commands/index.d.ts +38 -38
  52. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  53. package/dist-types/ts3.4/index.d.ts +5 -5
  54. package/dist-types/ts3.4/models/CustomerProfilesServiceException.d.ts +8 -6
  55. package/dist-types/ts3.4/models/index.d.ts +1 -1
  56. package/dist-types/ts3.4/models/models_0.d.ts +1946 -1824
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +461 -116
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
  62. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-customer-profiles:** Added isUnstructured in response for Customer Profiles Integration APIs ([a6fb5eb](https://github.com/aws/aws-sdk-js-v3/commit/a6fb5eba8e6f216c5ca9d4af310eb12f0db50864))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-customer-profiles
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)
7
26
 
8
27
  **Note:** Version bump only for package @aws-sdk/client-customer-profiles
@@ -1694,6 +1694,9 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
1694
1694
  if (data.DomainName != null) {
1695
1695
  contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
1696
1696
  }
1697
+ if (data.IsUnstructured != null) {
1698
+ contents.IsUnstructured = (0, smithy_client_1.expectBoolean)(data.IsUnstructured);
1699
+ }
1697
1700
  if (data.LastUpdatedAt != null) {
1698
1701
  contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
1699
1702
  }
@@ -2556,6 +2559,9 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
2556
2559
  if (data.DomainName != null) {
2557
2560
  contents.DomainName = (0, smithy_client_1.expectString)(data.DomainName);
2558
2561
  }
2562
+ if (data.IsUnstructured != null) {
2563
+ contents.IsUnstructured = (0, smithy_client_1.expectBoolean)(data.IsUnstructured);
2564
+ }
2559
2565
  if (data.LastUpdatedAt != null) {
2560
2566
  contents.LastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastUpdatedAt)));
2561
2567
  }
@@ -3669,6 +3675,7 @@ const deserializeAws_restJson1ListIntegrationItem = (output, context) => {
3669
3675
  return {
3670
3676
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
3671
3677
  DomainName: (0, smithy_client_1.expectString)(output.DomainName),
3678
+ IsUnstructured: (0, smithy_client_1.expectBoolean)(output.IsUnstructured),
3672
3679
  LastUpdatedAt: output.LastUpdatedAt != null
3673
3680
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
3674
3681
  : undefined,
@@ -2127,6 +2127,9 @@ export var deserializeAws_restJson1GetIntegrationCommand = function (output, con
2127
2127
  if (data.DomainName != null) {
2128
2128
  contents.DomainName = __expectString(data.DomainName);
2129
2129
  }
2130
+ if (data.IsUnstructured != null) {
2131
+ contents.IsUnstructured = __expectBoolean(data.IsUnstructured);
2132
+ }
2130
2133
  if (data.LastUpdatedAt != null) {
2131
2134
  contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
2132
2135
  }
@@ -3402,6 +3405,9 @@ export var deserializeAws_restJson1PutIntegrationCommand = function (output, con
3402
3405
  if (data.DomainName != null) {
3403
3406
  contents.DomainName = __expectString(data.DomainName);
3404
3407
  }
3408
+ if (data.IsUnstructured != null) {
3409
+ contents.IsUnstructured = __expectBoolean(data.IsUnstructured);
3410
+ }
3405
3411
  if (data.LastUpdatedAt != null) {
3406
3412
  contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
3407
3413
  }
@@ -4553,6 +4559,7 @@ var deserializeAws_restJson1ListIntegrationItem = function (output, context) {
4553
4559
  return {
4554
4560
  CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
4555
4561
  DomainName: __expectString(output.DomainName),
4562
+ IsUnstructured: __expectBoolean(output.IsUnstructured),
4556
4563
  LastUpdatedAt: output.LastUpdatedAt != null
4557
4564
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
4558
4565
  : undefined,
@@ -52,7 +52,7 @@ import { CustomerProfilesClient } from "./CustomerProfilesClient";
52
52
  */
53
53
  export declare class CustomerProfiles extends CustomerProfilesClient {
54
54
  /**
55
- * <p>Associates a new key value with a specific profile, such as a Contact Trace Record (CTR)
55
+ * <p>Associates a new key value with a specific profile, such as a Contact Record
56
56
  * ContactId.</p>
57
57
  * <p>A profile object can have a single unique key and any number of additional keys that can
58
58
  * be used to identify the profile that it belongs to.</p>
@@ -364,15 +364,18 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
364
364
  * <p>Adds an integration between the service and a third-party service, which includes
365
365
  * Amazon AppFlow and Amazon Connect.</p>
366
366
  * <p>An integration can belong to only one domain.</p>
367
+ * <p>To add or remove tags on an existing Integration, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html"> TagResource
368
+ * </a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">
369
+ * UntagResource</a>.</p>
367
370
  */
368
371
  putIntegration(args: PutIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<PutIntegrationCommandOutput>;
369
372
  putIntegration(args: PutIntegrationCommandInput, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
370
373
  putIntegration(args: PutIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
371
374
  /**
372
375
  * <p>Adds additional objects to customer profiles of a given ObjectType.</p>
373
- * <p>When adding a specific profile object, like a Contact Trace Record (CTR), an inferred
374
- * profile can get created if it is not mapped to an existing profile. The resulting profile
375
- * will only have a phone number populated in the standard ProfileObject. Any additional CTRs
376
+ * <p>When adding a specific profile object, like a Contact Record, an inferred profile can
377
+ * get created if it is not mapped to an existing profile. The resulting profile will only
378
+ * have a phone number populated in the standard ProfileObject. Any additional Contact Records
376
379
  * with the same phone number will be mapped to the same inferred profile.</p>
377
380
  * <p>When a ProfileObject is created and if a ProfileObjectType already exists for the
378
381
  * ProfileObject, it will provide data to a standard profile depending on the
@@ -385,6 +388,8 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
385
388
  putProfileObject(args: PutProfileObjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProfileObjectCommandOutput) => void): void;
386
389
  /**
387
390
  * <p>Defines a ProfileObjectType.</p>
391
+ * <p>To add or remove tags on an existing ObjectType, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html">
392
+ * TagResource</a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
388
393
  */
389
394
  putProfileObjectType(args: PutProfileObjectTypeCommandInput, options?: __HttpHandlerOptions): Promise<PutProfileObjectTypeCommandOutput>;
390
395
  putProfileObjectType(args: PutProfileObjectTypeCommandInput, cb: (err: any, data?: PutProfileObjectTypeCommandOutput) => void): void;
@@ -429,6 +434,7 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
429
434
  * resolution</a>: set <code>Matching</code> to true. </p>
430
435
  * <p>To prevent cross-service impersonation when you call this API, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html">Cross-service confused deputy prevention</a> for sample policies that you should
431
436
  * apply. </p>
437
+ * <p>To add or remove tags on an existing Domain, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html">TagResource</a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
432
438
  */
433
439
  updateDomain(args: UpdateDomainCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainCommandOutput>;
434
440
  updateDomain(args: UpdateDomainCommandInput, cb: (err: any, data?: UpdateDomainCommandOutput) => void): void;
@@ -7,7 +7,7 @@ export interface AddProfileKeyCommandInput extends AddProfileKeyRequest {
7
7
  export interface AddProfileKeyCommandOutput extends AddProfileKeyResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Associates a new key value with a specific profile, such as a Contact Trace Record (CTR)
10
+ * <p>Associates a new key value with a specific profile, such as a Contact Record
11
11
  * ContactId.</p>
12
12
  * <p>A profile object can have a single unique key and any number of additional keys that can
13
13
  * be used to identify the profile that it belongs to.</p>
@@ -10,6 +10,9 @@ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __M
10
10
  * <p>Adds an integration between the service and a third-party service, which includes
11
11
  * Amazon AppFlow and Amazon Connect.</p>
12
12
  * <p>An integration can belong to only one domain.</p>
13
+ * <p>To add or remove tags on an existing Integration, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html"> TagResource
14
+ * </a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">
15
+ * UntagResource</a>.</p>
13
16
  * @example
14
17
  * Use a bare-bones client and the command you need to make an API call.
15
18
  * ```javascript
@@ -8,9 +8,9 @@ export interface PutProfileObjectCommandOutput extends PutProfileObjectResponse,
8
8
  }
9
9
  /**
10
10
  * <p>Adds additional objects to customer profiles of a given ObjectType.</p>
11
- * <p>When adding a specific profile object, like a Contact Trace Record (CTR), an inferred
12
- * profile can get created if it is not mapped to an existing profile. The resulting profile
13
- * will only have a phone number populated in the standard ProfileObject. Any additional CTRs
11
+ * <p>When adding a specific profile object, like a Contact Record, an inferred profile can
12
+ * get created if it is not mapped to an existing profile. The resulting profile will only
13
+ * have a phone number populated in the standard ProfileObject. Any additional Contact Records
14
14
  * with the same phone number will be mapped to the same inferred profile.</p>
15
15
  * <p>When a ProfileObject is created and if a ProfileObjectType already exists for the
16
16
  * ProfileObject, it will provide data to a standard profile depending on the
@@ -8,6 +8,8 @@ export interface PutProfileObjectTypeCommandOutput extends PutProfileObjectTypeR
8
8
  }
9
9
  /**
10
10
  * <p>Defines a ProfileObjectType.</p>
11
+ * <p>To add or remove tags on an existing ObjectType, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html">
12
+ * TagResource</a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
11
13
  * @example
12
14
  * Use a bare-bones client and the command you need to make an API call.
13
15
  * ```javascript
@@ -15,6 +15,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
15
15
  * resolution</a>: set <code>Matching</code> to true. </p>
16
16
  * <p>To prevent cross-service impersonation when you call this API, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html">Cross-service confused deputy prevention</a> for sample policies that you should
17
17
  * apply. </p>
18
+ * <p>To add or remove tags on an existing Domain, see <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html">TagResource</a>/<a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
18
19
  * @example
19
20
  * Use a bare-bones client and the command you need to make an API call.
20
21
  * ```javascript
@@ -1476,6 +1476,11 @@ export interface GetIntegrationResponse {
1476
1476
  * <p>Unique identifier for the workflow.</p>
1477
1477
  */
1478
1478
  WorkflowId?: string;
1479
+ /**
1480
+ * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
1481
+ * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
1482
+ */
1483
+ IsUnstructured?: boolean;
1479
1484
  }
1480
1485
  export interface GetMatchesRequest {
1481
1486
  /**
@@ -1861,6 +1866,11 @@ export interface ListIntegrationItem {
1861
1866
  * <p>Unique identifier for the workflow.</p>
1862
1867
  */
1863
1868
  WorkflowId?: string;
1869
+ /**
1870
+ * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
1871
+ * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
1872
+ */
1873
+ IsUnstructured?: boolean;
1864
1874
  }
1865
1875
  export interface ListAccountIntegrationsResponse {
1866
1876
  /**
@@ -2458,6 +2468,11 @@ export interface PutIntegrationResponse {
2458
2468
  * <p>Unique identifier for the workflow.</p>
2459
2469
  */
2460
2470
  WorkflowId?: string;
2471
+ /**
2472
+ * <p>Boolean to indicate if the Flow associated with the Integration is created via Appflow
2473
+ * console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition</p>
2474
+ */
2475
+ IsUnstructured?: boolean;
2461
2476
  }
2462
2477
  export interface PutProfileObjectRequest {
2463
2478
  /**