@aws-sdk/client-customer-profiles 3.43.0 → 3.45.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 CHANGED
@@ -3,6 +3,17 @@
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.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
 
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -461,6 +461,7 @@ var StandardIdentifier;
461
461
  StandardIdentifier["CASE"] = "CASE";
462
462
  StandardIdentifier["LOOKUP_ONLY"] = "LOOKUP_ONLY";
463
463
  StandardIdentifier["NEW_ONLY"] = "NEW_ONLY";
464
+ StandardIdentifier["ORDER"] = "ORDER";
464
465
  StandardIdentifier["PROFILE"] = "PROFILE";
465
466
  StandardIdentifier["SECONDARY"] = "SECONDARY";
466
467
  StandardIdentifier["UNIQUE"] = "UNIQUE";
@@ -860,6 +860,10 @@ const serializeAws_restJson1PutIntegrationCommand = async (input, context) => {
860
860
  }),
861
861
  ...(input.ObjectTypeName !== undefined &&
862
862
  input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName }),
863
+ ...(input.ObjectTypeNames !== undefined &&
864
+ input.ObjectTypeNames !== null && {
865
+ ObjectTypeNames: serializeAws_restJson1ObjectTypeNames(input.ObjectTypeNames, context),
866
+ }),
863
867
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
864
868
  ...(input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri }),
865
869
  });
@@ -2256,6 +2260,7 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2256
2260
  DomainName: undefined,
2257
2261
  LastUpdatedAt: undefined,
2258
2262
  ObjectTypeName: undefined,
2263
+ ObjectTypeNames: undefined,
2259
2264
  Tags: undefined,
2260
2265
  Uri: undefined,
2261
2266
  };
@@ -2272,6 +2277,9 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2272
2277
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2273
2278
  contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
2274
2279
  }
2280
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
2281
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
2282
+ }
2275
2283
  if (data.Tags !== undefined && data.Tags !== null) {
2276
2284
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2277
2285
  }
@@ -3400,6 +3408,7 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3400
3408
  DomainName: undefined,
3401
3409
  LastUpdatedAt: undefined,
3402
3410
  ObjectTypeName: undefined,
3411
+ ObjectTypeNames: undefined,
3403
3412
  Tags: undefined,
3404
3413
  Uri: undefined,
3405
3414
  };
@@ -3416,6 +3425,9 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3416
3425
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3417
3426
  contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
3418
3427
  }
3428
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
3429
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
3430
+ }
3419
3431
  if (data.Tags !== undefined && data.Tags !== null) {
3420
3432
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3421
3433
  }
@@ -4402,6 +4414,17 @@ const serializeAws_restJson1ObjectTypeKeyList = (input, context) => {
4402
4414
  return serializeAws_restJson1ObjectTypeKey(entry, context);
4403
4415
  });
4404
4416
  };
4417
+ const serializeAws_restJson1ObjectTypeNames = (input, context) => {
4418
+ return Object.entries(input).reduce((acc, [key, value]) => {
4419
+ if (value === null) {
4420
+ return acc;
4421
+ }
4422
+ return {
4423
+ ...acc,
4424
+ [key]: value,
4425
+ };
4426
+ }, {});
4427
+ };
4405
4428
  const serializeAws_restJson1ProfileIdToBeMergedList = (input, context) => {
4406
4429
  return input
4407
4430
  .filter((e) => e != null)
@@ -4805,6 +4828,9 @@ const deserializeAws_restJson1ListIntegrationItem = (output, context) => {
4805
4828
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4806
4829
  : undefined,
4807
4830
  ObjectTypeName: smithy_client_1.expectString(output.ObjectTypeName),
4831
+ ObjectTypeNames: output.ObjectTypeNames !== undefined && output.ObjectTypeNames !== null
4832
+ ? deserializeAws_restJson1ObjectTypeNames(output.ObjectTypeNames, context)
4833
+ : undefined,
4808
4834
  Tags: output.Tags !== undefined && output.Tags !== null
4809
4835
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4810
4836
  : undefined,
@@ -4920,6 +4946,17 @@ const deserializeAws_restJson1ObjectTypeKeyList = (output, context) => {
4920
4946
  return deserializeAws_restJson1ObjectTypeKey(entry, context);
4921
4947
  });
4922
4948
  };
4949
+ const deserializeAws_restJson1ObjectTypeNames = (output, context) => {
4950
+ return Object.entries(output).reduce((acc, [key, value]) => {
4951
+ if (value === null) {
4952
+ return acc;
4953
+ }
4954
+ return {
4955
+ ...acc,
4956
+ [key]: smithy_client_1.expectString(value),
4957
+ };
4958
+ }, {});
4959
+ };
4923
4960
  const deserializeAws_restJson1Profile = (output, context) => {
4924
4961
  return {
4925
4962
  AccountNumber: smithy_client_1.expectString(output.AccountNumber),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -357,6 +357,7 @@ export var StandardIdentifier;
357
357
  StandardIdentifier["CASE"] = "CASE";
358
358
  StandardIdentifier["LOOKUP_ONLY"] = "LOOKUP_ONLY";
359
359
  StandardIdentifier["NEW_ONLY"] = "NEW_ONLY";
360
+ StandardIdentifier["ORDER"] = "ORDER";
360
361
  StandardIdentifier["PROFILE"] = "PROFILE";
361
362
  StandardIdentifier["SECONDARY"] = "SECONDARY";
362
363
  StandardIdentifier["UNIQUE"] = "UNIQUE";
@@ -896,11 +896,14 @@ export var serializeAws_restJson1PutIntegrationCommand = function (input, contex
896
896
  else {
897
897
  throw new Error("No value provided for input HTTP label: DomainName.");
898
898
  }
899
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.FlowDefinition !== undefined &&
899
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FlowDefinition !== undefined &&
900
900
  input.FlowDefinition !== null && {
901
901
  FlowDefinition: serializeAws_restJson1FlowDefinition(input.FlowDefinition, context),
902
902
  })), (input.ObjectTypeName !== undefined &&
903
- input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri })));
903
+ input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName })), (input.ObjectTypeNames !== undefined &&
904
+ input.ObjectTypeNames !== null && {
905
+ ObjectTypeNames: serializeAws_restJson1ObjectTypeNames(input.ObjectTypeNames, context),
906
+ })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri })));
904
907
  return [2, new __HttpRequest({
905
908
  protocol: protocol,
906
909
  hostname: hostname,
@@ -2450,6 +2453,7 @@ export var deserializeAws_restJson1GetIntegrationCommand = function (output, con
2450
2453
  DomainName: undefined,
2451
2454
  LastUpdatedAt: undefined,
2452
2455
  ObjectTypeName: undefined,
2456
+ ObjectTypeNames: undefined,
2453
2457
  Tags: undefined,
2454
2458
  Uri: undefined,
2455
2459
  };
@@ -2470,6 +2474,9 @@ export var deserializeAws_restJson1GetIntegrationCommand = function (output, con
2470
2474
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2471
2475
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
2472
2476
  }
2477
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
2478
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
2479
+ }
2473
2480
  if (data.Tags !== undefined && data.Tags !== null) {
2474
2481
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2475
2482
  }
@@ -3776,6 +3783,7 @@ export var deserializeAws_restJson1PutIntegrationCommand = function (output, con
3776
3783
  DomainName: undefined,
3777
3784
  LastUpdatedAt: undefined,
3778
3785
  ObjectTypeName: undefined,
3786
+ ObjectTypeNames: undefined,
3779
3787
  Tags: undefined,
3780
3788
  Uri: undefined,
3781
3789
  };
@@ -3796,6 +3804,9 @@ export var deserializeAws_restJson1PutIntegrationCommand = function (output, con
3796
3804
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3797
3805
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
3798
3806
  }
3807
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
3808
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
3809
+ }
3799
3810
  if (data.Tags !== undefined && data.Tags !== null) {
3800
3811
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3801
3812
  }
@@ -4814,6 +4825,16 @@ var serializeAws_restJson1ObjectTypeKeyList = function (input, context) {
4814
4825
  return serializeAws_restJson1ObjectTypeKey(entry, context);
4815
4826
  });
4816
4827
  };
4828
+ var serializeAws_restJson1ObjectTypeNames = function (input, context) {
4829
+ return Object.entries(input).reduce(function (acc, _a) {
4830
+ var _b;
4831
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
4832
+ if (value === null) {
4833
+ return acc;
4834
+ }
4835
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
4836
+ }, {});
4837
+ };
4817
4838
  var serializeAws_restJson1ProfileIdToBeMergedList = function (input, context) {
4818
4839
  return input
4819
4840
  .filter(function (e) { return e != null; })
@@ -5156,6 +5177,9 @@ var deserializeAws_restJson1ListIntegrationItem = function (output, context) {
5156
5177
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
5157
5178
  : undefined,
5158
5179
  ObjectTypeName: __expectString(output.ObjectTypeName),
5180
+ ObjectTypeNames: output.ObjectTypeNames !== undefined && output.ObjectTypeNames !== null
5181
+ ? deserializeAws_restJson1ObjectTypeNames(output.ObjectTypeNames, context)
5182
+ : undefined,
5159
5183
  Tags: output.Tags !== undefined && output.Tags !== null
5160
5184
  ? deserializeAws_restJson1TagMap(output.Tags, context)
5161
5185
  : undefined,
@@ -5271,6 +5295,16 @@ var deserializeAws_restJson1ObjectTypeKeyList = function (output, context) {
5271
5295
  return deserializeAws_restJson1ObjectTypeKey(entry, context);
5272
5296
  });
5273
5297
  };
5298
+ var deserializeAws_restJson1ObjectTypeNames = function (output, context) {
5299
+ return Object.entries(output).reduce(function (acc, _a) {
5300
+ var _b;
5301
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
5302
+ if (value === null) {
5303
+ return acc;
5304
+ }
5305
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
5306
+ }, {});
5307
+ };
5274
5308
  var deserializeAws_restJson1Profile = function (output, context) {
5275
5309
  return {
5276
5310
  AccountNumber: __expectString(output.AccountNumber),
@@ -158,8 +158,7 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
158
158
  getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
159
159
  getIntegration(args: GetIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
160
160
  /**
161
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
162
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
161
+ * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
163
162
  * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
164
163
  * enable identity resolution: set <code>Matching</code> to true.</p>
165
164
  * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
@@ -279,8 +278,7 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
279
278
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
280
279
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
281
280
  /**
282
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
283
- * <p>Runs an AWS Lambda job that does the following:</p>
281
+ * <p>Runs an AWS Lambda job that does the following:</p>
284
282
  * <ol>
285
283
  * <li>
286
284
  * <p>All the profileKeys in the <code>ProfileToBeMerged</code> will be moved to the
@@ -7,8 +7,7 @@ export interface GetMatchesCommandInput extends GetMatchesRequest {
7
7
  export interface GetMatchesCommandOutput extends GetMatchesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
11
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
10
+ * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
12
11
  * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
13
12
  * enable identity resolution: set <code>Matching</code> to true.</p>
14
13
  * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
@@ -7,8 +7,7 @@ export interface MergeProfilesCommandInput extends MergeProfilesRequest {
7
7
  export interface MergeProfilesCommandOutput extends MergeProfilesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
11
- * <p>Runs an AWS Lambda job that does the following:</p>
10
+ * <p>Runs an AWS Lambda job that does the following:</p>
12
11
  * <ol>
13
12
  * <li>
14
13
  * <p>All the profileKeys in the <code>ProfileToBeMerged</code> will be moved to the
@@ -397,8 +397,7 @@ export declare namespace S3ExportingConfig {
397
397
  * <note>
398
398
  * <p>You need to give Customer Profiles service principal write permission to your S3 bucket.
399
399
  * Otherwise, you'll get an exception in the API response. For an example policy, see
400
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service">Amazon Connect Customer Profiles cross-service confused deputy prevention</a>.
401
- * </p>
400
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service">Amazon Connect Customer Profiles cross-service confused deputy prevention</a>. </p>
402
401
  * </note>
403
402
  */
404
403
  export interface ExportingConfig {
@@ -1234,7 +1233,7 @@ export interface GetIntegrationResponse {
1234
1233
  /**
1235
1234
  * <p>The name of the profile object type.</p>
1236
1235
  */
1237
- ObjectTypeName: string | undefined;
1236
+ ObjectTypeName?: string;
1238
1237
  /**
1239
1238
  * <p>The timestamp of when the domain was created.</p>
1240
1239
  */
@@ -1249,6 +1248,14 @@ export interface GetIntegrationResponse {
1249
1248
  Tags?: {
1250
1249
  [key: string]: string;
1251
1250
  };
1251
+ /**
1252
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
1253
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
1254
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
1255
+ */
1256
+ ObjectTypeNames?: {
1257
+ [key: string]: string;
1258
+ };
1252
1259
  }
1253
1260
  export declare namespace GetIntegrationResponse {
1254
1261
  /**
@@ -1378,6 +1385,7 @@ export declare enum StandardIdentifier {
1378
1385
  CASE = "CASE",
1379
1386
  LOOKUP_ONLY = "LOOKUP_ONLY",
1380
1387
  NEW_ONLY = "NEW_ONLY",
1388
+ ORDER = "ORDER",
1381
1389
  PROFILE = "PROFILE",
1382
1390
  SECONDARY = "SECONDARY",
1383
1391
  UNIQUE = "UNIQUE"
@@ -1389,8 +1397,8 @@ export declare enum StandardIdentifier {
1389
1397
  export interface ObjectTypeKey {
1390
1398
  /**
1391
1399
  * <p>The types of keys that a ProfileObject can have. Each ProfileObject can have only 1
1392
- * UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be
1393
- * used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be
1400
+ * UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be
1401
+ * used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be
1394
1402
  * used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to
1395
1403
  * search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is
1396
1404
  * only used to match a profile but is not persisted to be used for searching of the profile.
@@ -1569,7 +1577,7 @@ export interface ListIntegrationItem {
1569
1577
  /**
1570
1578
  * <p>The name of the profile object type.</p>
1571
1579
  */
1572
- ObjectTypeName: string | undefined;
1580
+ ObjectTypeName?: string;
1573
1581
  /**
1574
1582
  * <p>The timestamp of when the domain was created.</p>
1575
1583
  */
@@ -1584,6 +1592,14 @@ export interface ListIntegrationItem {
1584
1592
  Tags?: {
1585
1593
  [key: string]: string;
1586
1594
  };
1595
+ /**
1596
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
1597
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
1598
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
1599
+ */
1600
+ ObjectTypeNames?: {
1601
+ [key: string]: string;
1602
+ };
1587
1603
  }
1588
1604
  export declare namespace ListIntegrationItem {
1589
1605
  /**
@@ -1821,14 +1837,15 @@ export declare namespace ListIntegrationsResponse {
1821
1837
  }
1822
1838
  /**
1823
1839
  * <p>The filter applied to ListProfileObjects response to include profile objects with the
1824
- * specified index values. This filter is only supported for ObjectTypeName _asset and
1825
- * _case.</p>
1840
+ * specified index values. This filter is only supported for ObjectTypeName _asset, _case and
1841
+ * _order.</p>
1826
1842
  */
1827
1843
  export interface ObjectFilter {
1828
1844
  /**
1829
1845
  * <p>A searchable identifier of a standard profile object. The predefined keys you can use to
1830
1846
  * search for _asset include: _assetId, _assetName, _serialNumber. The predefined keys you can
1831
- * use to search for _case include: _caseId.</p>
1847
+ * use to search for _case include: _caseId. The predefined keys you can use to search for
1848
+ * _order include: _orderId.</p>
1832
1849
  */
1833
1850
  KeyName: string | undefined;
1834
1851
  /**
@@ -1865,7 +1882,7 @@ export interface ListProfileObjectsRequest {
1865
1882
  ProfileId: string | undefined;
1866
1883
  /**
1867
1884
  * <p>Applies a filter to the response to include profile objects with the specified index
1868
- * values. This filter is only supported for ObjectTypeName _asset and _case.</p>
1885
+ * values. This filter is only supported for ObjectTypeName _asset, _case and _order.</p>
1869
1886
  */
1870
1887
  ObjectFilter?: ObjectFilter;
1871
1888
  }
@@ -2580,7 +2597,7 @@ export interface PutIntegrationRequest {
2580
2597
  /**
2581
2598
  * <p>The name of the profile object type.</p>
2582
2599
  */
2583
- ObjectTypeName: string | undefined;
2600
+ ObjectTypeName?: string;
2584
2601
  /**
2585
2602
  * <p>The tags used to organize, track, or control access for this resource.</p>
2586
2603
  */
@@ -2592,6 +2609,14 @@ export interface PutIntegrationRequest {
2592
2609
  * source.</p>
2593
2610
  */
2594
2611
  FlowDefinition?: FlowDefinition;
2612
+ /**
2613
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
2614
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
2615
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
2616
+ */
2617
+ ObjectTypeNames?: {
2618
+ [key: string]: string;
2619
+ };
2595
2620
  }
2596
2621
  export declare namespace PutIntegrationRequest {
2597
2622
  /**
@@ -2611,7 +2636,7 @@ export interface PutIntegrationResponse {
2611
2636
  /**
2612
2637
  * <p>The name of the profile object type.</p>
2613
2638
  */
2614
- ObjectTypeName: string | undefined;
2639
+ ObjectTypeName?: string;
2615
2640
  /**
2616
2641
  * <p>The timestamp of when the domain was created.</p>
2617
2642
  */
@@ -2626,6 +2651,14 @@ export interface PutIntegrationResponse {
2626
2651
  Tags?: {
2627
2652
  [key: string]: string;
2628
2653
  };
2654
+ /**
2655
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
2656
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
2657
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
2658
+ */
2659
+ ObjectTypeNames?: {
2660
+ [key: string]: string;
2661
+ };
2629
2662
  }
2630
2663
  export declare namespace PutIntegrationResponse {
2631
2664
  /**
@@ -2701,7 +2734,7 @@ export interface PutProfileObjectTypeRequest {
2701
2734
  AllowProfileCreation?: boolean;
2702
2735
  /**
2703
2736
  * <p>The format of your <code>sourceLastUpdatedTimestamp</code> that was previously set up.
2704
- * </p>
2737
+ * </p>
2705
2738
  */
2706
2739
  SourceLastUpdatedTimestampFormat?: string;
2707
2740
  /**
@@ -2812,9 +2845,12 @@ export interface SearchProfilesRequest {
2812
2845
  */
2813
2846
  DomainName: string | undefined;
2814
2847
  /**
2815
- * <p>A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId,
2816
- * _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId,
2817
- * _salesforceContactId, _zendeskUserId, _zendeskExternalId, _serviceNowSystemId.</p>
2848
+ * <p>A searchable identifier of a customer profile. The predefined keys you can use
2849
+ * to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone,
2850
+ * _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId,
2851
+ * _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId,
2852
+ * _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId,
2853
+ * _shopifyOrderId.</p>
2818
2854
  */
2819
2855
  KeyName: string | undefined;
2820
2856
  /**
@@ -725,7 +725,7 @@ export interface GetIntegrationResponse {
725
725
 
726
726
  Uri: string | undefined;
727
727
 
728
- ObjectTypeName: string | undefined;
728
+ ObjectTypeName?: string;
729
729
 
730
730
  CreatedAt: Date | undefined;
731
731
 
@@ -734,6 +734,10 @@ export interface GetIntegrationResponse {
734
734
  Tags?: {
735
735
  [key: string]: string;
736
736
  };
737
+
738
+ ObjectTypeNames?: {
739
+ [key: string]: string;
740
+ };
737
741
  }
738
742
  export declare namespace GetIntegrationResponse {
739
743
 
@@ -813,6 +817,7 @@ export declare enum StandardIdentifier {
813
817
  CASE = "CASE",
814
818
  LOOKUP_ONLY = "LOOKUP_ONLY",
815
819
  NEW_ONLY = "NEW_ONLY",
820
+ ORDER = "ORDER",
816
821
  PROFILE = "PROFILE",
817
822
  SECONDARY = "SECONDARY",
818
823
  UNIQUE = "UNIQUE"
@@ -915,7 +920,7 @@ export interface ListIntegrationItem {
915
920
 
916
921
  Uri: string | undefined;
917
922
 
918
- ObjectTypeName: string | undefined;
923
+ ObjectTypeName?: string;
919
924
 
920
925
  CreatedAt: Date | undefined;
921
926
 
@@ -924,6 +929,10 @@ export interface ListIntegrationItem {
924
929
  Tags?: {
925
930
  [key: string]: string;
926
931
  };
932
+
933
+ ObjectTypeNames?: {
934
+ [key: string]: string;
935
+ };
927
936
  }
928
937
  export declare namespace ListIntegrationItem {
929
938
 
@@ -1478,13 +1487,17 @@ export interface PutIntegrationRequest {
1478
1487
 
1479
1488
  Uri?: string;
1480
1489
 
1481
- ObjectTypeName: string | undefined;
1490
+ ObjectTypeName?: string;
1482
1491
 
1483
1492
  Tags?: {
1484
1493
  [key: string]: string;
1485
1494
  };
1486
1495
 
1487
1496
  FlowDefinition?: FlowDefinition;
1497
+
1498
+ ObjectTypeNames?: {
1499
+ [key: string]: string;
1500
+ };
1488
1501
  }
1489
1502
  export declare namespace PutIntegrationRequest {
1490
1503
 
@@ -1496,7 +1509,7 @@ export interface PutIntegrationResponse {
1496
1509
 
1497
1510
  Uri: string | undefined;
1498
1511
 
1499
- ObjectTypeName: string | undefined;
1512
+ ObjectTypeName?: string;
1500
1513
 
1501
1514
  CreatedAt: Date | undefined;
1502
1515
 
@@ -1505,6 +1518,10 @@ export interface PutIntegrationResponse {
1505
1518
  Tags?: {
1506
1519
  [key: string]: string;
1507
1520
  };
1521
+
1522
+ ObjectTypeNames?: {
1523
+ [key: string]: string;
1524
+ };
1508
1525
  }
1509
1526
  export declare namespace PutIntegrationResponse {
1510
1527
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
3
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
4
- "version": "3.43.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",