@aws-sdk/client-customer-profiles 3.658.0 → 3.660.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/README.md CHANGED
@@ -8,6 +8,18 @@ AWS SDK for JavaScript CustomerProfiles Client for Node.js, Browser and React Na
8
8
 
9
9
  <fullname>Amazon Connect Customer Profiles</fullname>
10
10
 
11
+ <ul>
12
+ <li>
13
+ <p>
14
+ <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
15
+ </p>
16
+ </li>
17
+ <li>
18
+ <p>
19
+ <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
20
+ </p>
21
+ </li>
22
+ </ul>
11
23
  <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
12
24
  center that has pre-built connectors powered by AppFlow that make it easy to combine
13
25
  customer information from third party applications, such as Salesforce (CRM), ServiceNow
package/dist-cjs/index.js CHANGED
@@ -1515,6 +1515,7 @@ var se_PutIntegrationCommand = /* @__PURE__ */ __name(async (input, context) =>
1515
1515
  FlowDefinition: (_) => se_FlowDefinition(_, context),
1516
1516
  ObjectTypeName: [],
1517
1517
  ObjectTypeNames: (_) => (0, import_smithy_client._json)(_),
1518
+ RoleArn: [],
1518
1519
  Tags: (_) => (0, import_smithy_client._json)(_),
1519
1520
  Uri: []
1520
1521
  })
@@ -1610,10 +1611,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1610
1611
  b.bp("/tags/{resourceArn}");
1611
1612
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1612
1613
  const query = (0, import_smithy_client.map)({
1613
- [_tK]: [
1614
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
1615
- () => (input[_tK] || []).map((_entry) => _entry)
1616
- ]
1614
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
1617
1615
  });
1618
1616
  let body;
1619
1617
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2067,6 +2065,7 @@ var de_GetIntegrationCommand = /* @__PURE__ */ __name(async (output, context) =>
2067
2065
  LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2068
2066
  ObjectTypeName: import_smithy_client.expectString,
2069
2067
  ObjectTypeNames: import_smithy_client._json,
2068
+ RoleArn: import_smithy_client.expectString,
2070
2069
  Tags: import_smithy_client._json,
2071
2070
  Uri: import_smithy_client.expectString,
2072
2071
  WorkflowId: import_smithy_client.expectString
@@ -2418,6 +2417,7 @@ var de_PutIntegrationCommand = /* @__PURE__ */ __name(async (output, context) =>
2418
2417
  LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2419
2418
  ObjectTypeName: import_smithy_client.expectString,
2420
2419
  ObjectTypeNames: import_smithy_client._json,
2420
+ RoleArn: import_smithy_client.expectString,
2421
2421
  Tags: import_smithy_client._json,
2422
2422
  Uri: import_smithy_client.expectString,
2423
2423
  WorkflowId: import_smithy_client.expectString
@@ -2840,6 +2840,7 @@ var de_ListIntegrationItem = /* @__PURE__ */ __name((output, context) => {
2840
2840
  LastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2841
2841
  ObjectTypeName: import_smithy_client.expectString,
2842
2842
  ObjectTypeNames: import_smithy_client._json,
2843
+ RoleArn: import_smithy_client.expectString,
2843
2844
  Tags: import_smithy_client._json,
2844
2845
  Uri: import_smithy_client.expectString,
2845
2846
  WorkflowId: import_smithy_client.expectString
@@ -620,6 +620,7 @@ export const se_PutIntegrationCommand = async (input, context) => {
620
620
  FlowDefinition: (_) => se_FlowDefinition(_, context),
621
621
  ObjectTypeName: [],
622
622
  ObjectTypeNames: (_) => _json(_),
623
+ RoleArn: [],
623
624
  Tags: (_) => _json(_),
624
625
  Uri: [],
625
626
  }));
@@ -706,10 +707,7 @@ export const se_UntagResourceCommand = async (input, context) => {
706
707
  b.bp("/tags/{resourceArn}");
707
708
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
708
709
  const query = map({
709
- [_tK]: [
710
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
711
- () => (input[_tK] || []).map((_entry) => _entry),
712
- ],
710
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
713
711
  });
714
712
  let body;
715
713
  b.m("DELETE").h(headers).q(query).b(body);
@@ -1157,6 +1155,7 @@ export const de_GetIntegrationCommand = async (output, context) => {
1157
1155
  LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1158
1156
  ObjectTypeName: __expectString,
1159
1157
  ObjectTypeNames: _json,
1158
+ RoleArn: __expectString,
1160
1159
  Tags: _json,
1161
1160
  Uri: __expectString,
1162
1161
  WorkflowId: __expectString,
@@ -1508,6 +1507,7 @@ export const de_PutIntegrationCommand = async (output, context) => {
1508
1507
  LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1509
1508
  ObjectTypeName: __expectString,
1510
1509
  ObjectTypeNames: _json,
1510
+ RoleArn: __expectString,
1511
1511
  Tags: _json,
1512
1512
  Uri: __expectString,
1513
1513
  WorkflowId: __expectString,
@@ -1942,6 +1942,7 @@ const de_ListIntegrationItem = (output, context) => {
1942
1942
  LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1943
1943
  ObjectTypeName: __expectString,
1944
1944
  ObjectTypeNames: _json,
1945
+ RoleArn: __expectString,
1945
1946
  Tags: _json,
1946
1947
  Uri: __expectString,
1947
1948
  WorkflowId: __expectString,
@@ -2027,11 +2028,6 @@ const deserializeMetadata = (output) => ({
2027
2028
  cfId: output.headers["x-amz-cf-id"],
2028
2029
  });
2029
2030
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2030
- const isSerializableHeaderValue = (value) => value !== undefined &&
2031
- value !== null &&
2032
- value !== "" &&
2033
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
2034
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
2035
2031
  const _IH = "IncludeHidden";
2036
2032
  const _MR = "MaxResults";
2037
2033
  const _NT = "NextToken";
@@ -370,6 +370,18 @@ export interface CustomerProfiles {
370
370
  }
371
371
  /**
372
372
  * <fullname>Amazon Connect Customer Profiles</fullname>
373
+ * <ul>
374
+ * <li>
375
+ * <p>
376
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
377
+ * </p>
378
+ * </li>
379
+ * <li>
380
+ * <p>
381
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
382
+ * </p>
383
+ * </li>
384
+ * </ul>
373
385
  * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
374
386
  * center that has pre-built connectors powered by AppFlow that make it easy to combine
375
387
  * customer information from third party applications, such as Salesforce (CRM), ServiceNow
@@ -204,6 +204,18 @@ export interface CustomerProfilesClientResolvedConfig extends CustomerProfilesCl
204
204
  }
205
205
  /**
206
206
  * <fullname>Amazon Connect Customer Profiles</fullname>
207
+ * <ul>
208
+ * <li>
209
+ * <p>
210
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
211
+ * </p>
212
+ * </li>
213
+ * <li>
214
+ * <p>
215
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
216
+ * </p>
217
+ * </li>
218
+ * </ul>
207
219
  * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
208
220
  * center that has pre-built connectors powered by AppFlow that make it easy to combine
209
221
  * customer information from third party applications, such as Salesforce (CRM), ServiceNow
@@ -54,6 +54,7 @@ declare const GetIntegrationCommand_base: {
54
54
  * // },
55
55
  * // WorkflowId: "STRING_VALUE",
56
56
  * // IsUnstructured: true || false,
57
+ * // RoleArn: "STRING_VALUE",
57
58
  * // };
58
59
  *
59
60
  * ```
@@ -58,6 +58,7 @@ declare const ListAccountIntegrationsCommand_base: {
58
58
  * // },
59
59
  * // WorkflowId: "STRING_VALUE",
60
60
  * // IsUnstructured: true || false,
61
+ * // RoleArn: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // NextToken: "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const ListIntegrationsCommand_base: {
58
58
  * // },
59
59
  * // WorkflowId: "STRING_VALUE",
60
60
  * // IsUnstructured: true || false,
61
+ * // RoleArn: "STRING_VALUE",
61
62
  * // },
62
63
  * // ],
63
64
  * // NextToken: "STRING_VALUE",
@@ -114,6 +114,7 @@ declare const PutIntegrationCommand_base: {
114
114
  * ObjectTypeNames: { // ObjectTypeNames
115
115
  * "<keys>": "STRING_VALUE",
116
116
  * },
117
+ * RoleArn: "STRING_VALUE",
117
118
  * };
118
119
  * const command = new PutIntegrationCommand(input);
119
120
  * const response = await client.send(command);
@@ -131,6 +132,7 @@ declare const PutIntegrationCommand_base: {
131
132
  * // },
132
133
  * // WorkflowId: "STRING_VALUE",
133
134
  * // IsUnstructured: true || false,
135
+ * // RoleArn: "STRING_VALUE",
134
136
  * // };
135
137
  *
136
138
  * ```
@@ -1,5 +1,17 @@
1
1
  /**
2
2
  * <fullname>Amazon Connect Customer Profiles</fullname>
3
+ * <ul>
4
+ * <li>
5
+ * <p>
6
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
7
+ * </p>
8
+ * </li>
9
+ * <li>
10
+ * <p>
11
+ * <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
12
+ * </p>
13
+ * </li>
14
+ * </ul>
3
15
  * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
4
16
  * center that has pre-built connectors powered by AppFlow that make it easy to combine
5
17
  * customer information from third party applications, such as Salesforce (CRM), ServiceNow
@@ -3077,6 +3077,12 @@ export interface GetIntegrationResponse {
3077
3077
  * @public
3078
3078
  */
3079
3079
  IsUnstructured?: boolean;
3080
+ /**
3081
+ * <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
3082
+ * Customer Profiles requests on your behalf.</p>
3083
+ * @public
3084
+ */
3085
+ RoleArn?: string;
3080
3086
  }
3081
3087
  /**
3082
3088
  * @public
@@ -3614,6 +3620,12 @@ export interface ListIntegrationItem {
3614
3620
  * @public
3615
3621
  */
3616
3622
  IsUnstructured?: boolean;
3623
+ /**
3624
+ * <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
3625
+ * Customer Profiles requests on your behalf.</p>
3626
+ * @public
3627
+ */
3628
+ RoleArn?: string;
3617
3629
  }
3618
3630
  /**
3619
3631
  * @public
@@ -4575,6 +4587,12 @@ export interface PutIntegrationRequest {
4575
4587
  * @public
4576
4588
  */
4577
4589
  ObjectTypeNames?: Record<string, string>;
4590
+ /**
4591
+ * <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
4592
+ * Customer Profiles requests on your behalf.</p>
4593
+ * @public
4594
+ */
4595
+ RoleArn?: string;
4578
4596
  }
4579
4597
  /**
4580
4598
  * @public
@@ -4629,6 +4647,12 @@ export interface PutIntegrationResponse {
4629
4647
  * @public
4630
4648
  */
4631
4649
  IsUnstructured?: boolean;
4650
+ /**
4651
+ * <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
4652
+ * Customer Profiles requests on your behalf.</p>
4653
+ * @public
4654
+ */
4655
+ RoleArn?: string;
4632
4656
  }
4633
4657
  /**
4634
4658
  * @public
@@ -843,6 +843,7 @@ export interface GetIntegrationResponse {
843
843
  ObjectTypeNames?: Record<string, string>;
844
844
  WorkflowId?: string;
845
845
  IsUnstructured?: boolean;
846
+ RoleArn?: string;
846
847
  }
847
848
  export interface GetMatchesRequest {
848
849
  NextToken?: string;
@@ -964,6 +965,7 @@ export interface ListIntegrationItem {
964
965
  ObjectTypeNames?: Record<string, string>;
965
966
  WorkflowId?: string;
966
967
  IsUnstructured?: boolean;
968
+ RoleArn?: string;
967
969
  }
968
970
  export interface ListAccountIntegrationsResponse {
969
971
  Items?: ListIntegrationItem[];
@@ -1181,6 +1183,7 @@ export interface PutIntegrationRequest {
1181
1183
  Tags?: Record<string, string>;
1182
1184
  FlowDefinition?: FlowDefinition;
1183
1185
  ObjectTypeNames?: Record<string, string>;
1186
+ RoleArn?: string;
1184
1187
  }
1185
1188
  export interface PutIntegrationResponse {
1186
1189
  DomainName: string | undefined;
@@ -1192,6 +1195,7 @@ export interface PutIntegrationResponse {
1192
1195
  ObjectTypeNames?: Record<string, string>;
1193
1196
  WorkflowId?: string;
1194
1197
  IsUnstructured?: boolean;
1198
+ RoleArn?: string;
1195
1199
  }
1196
1200
  export interface PutProfileObjectRequest {
1197
1201
  ObjectTypeName: string | undefined;
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.658.0",
4
+ "version": "3.660.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-customer-profiles",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",