@aws-sdk/client-customer-profiles 3.169.0 → 3.171.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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/CustomerProfiles.d.ts +10 -4
- package/dist-types/commands/AddProfileKeyCommand.d.ts +1 -1
- package/dist-types/commands/PutIntegrationCommand.d.ts +3 -0
- package/dist-types/commands/PutProfileObjectCommand.d.ts +3 -3
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +650 -195
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +333 -111
- package/dist-types/ts3.4/commands/AddProfileKeyCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/CreateIntegrationWorkflowCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/GetAutoMergingPreviewCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/GetIdentityResolutionJobCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/GetMatchesCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/GetProfileObjectTypeCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/GetWorkflowStepsCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/ListAccountIntegrationsCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/ListIdentityResolutionJobsCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +39 -17
- package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/index.d.ts +38 -38
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/CustomerProfilesServiceException.d.ts +7 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1368 -1824
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +461 -116
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
- 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.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-customer-profiles
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-customer-profiles:** Added isUnstructured in response for Customer Profiles Integration APIs ([a6fb5eb](https://github.com/aws/aws-sdk-js-v3/commit/a6fb5eba8e6f216c5ca9d4af310eb12f0db50864))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
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
|
|
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
|
|
374
|
-
*
|
|
375
|
-
*
|
|
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
|
|
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
|
|
12
|
-
*
|
|
13
|
-
*
|
|
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
|
/**
|