Skip to content

Commit 607ec0a

Browse files
author
awstools
committed
feat(client-customer-profiles): Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations
1 parent 0a41cb5 commit 607ec0a

File tree

11 files changed

+110
-1
lines changed

11 files changed

+110
-1
lines changed

clients/client-customer-profiles/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ AWS SDK for JavaScript CustomerProfiles Client for Node.js, Browser and React Na
88

99
<fullname>Amazon Connect Customer Profiles</fullname>
1010

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>
1123
<p>Amazon Connect Customer Profiles is a unified customer profile for your contact
1224
center that has pre-built connectors powered by AppFlow that make it easy to combine
1325
customer information from third party applications, such as Salesforce (CRM), ServiceNow

clients/client-customer-profiles/src/CustomerProfiles.ts

+12
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,18 @@ export interface CustomerProfiles {
10841084

10851085
/**
10861086
* <fullname>Amazon Connect Customer Profiles</fullname>
1087+
* <ul>
1088+
* <li>
1089+
* <p>
1090+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
1091+
* </p>
1092+
* </li>
1093+
* <li>
1094+
* <p>
1095+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
1096+
* </p>
1097+
* </li>
1098+
* </ul>
10871099
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
10881100
* center that has pre-built connectors powered by AppFlow that make it easy to combine
10891101
* customer information from third party applications, such as Salesforce (CRM), ServiceNow

clients/client-customer-profiles/src/CustomerProfilesClient.ts

+12
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,18 @@ export interface CustomerProfilesClientResolvedConfig extends CustomerProfilesCl
469469

470470
/**
471471
* <fullname>Amazon Connect Customer Profiles</fullname>
472+
* <ul>
473+
* <li>
474+
* <p>
475+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
476+
* </p>
477+
* </li>
478+
* <li>
479+
* <p>
480+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
481+
* </p>
482+
* </li>
483+
* </ul>
472484
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
473485
* center that has pre-built connectors powered by AppFlow that make it easy to combine
474486
* customer information from third party applications, such as Salesforce (CRM), ServiceNow

clients/client-customer-profiles/src/commands/GetIntegrationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface GetIntegrationCommandOutput extends GetIntegrationResponse, __M
5555
* // },
5656
* // WorkflowId: "STRING_VALUE",
5757
* // IsUnstructured: true || false,
58+
* // RoleArn: "STRING_VALUE",
5859
* // };
5960
*
6061
* ```

clients/client-customer-profiles/src/commands/ListAccountIntegrationsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface ListAccountIntegrationsCommandOutput extends ListAccountIntegra
5959
* // },
6060
* // WorkflowId: "STRING_VALUE",
6161
* // IsUnstructured: true || false,
62+
* // RoleArn: "STRING_VALUE",
6263
* // },
6364
* // ],
6465
* // NextToken: "STRING_VALUE",

clients/client-customer-profiles/src/commands/ListIntegrationsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface ListIntegrationsCommandOutput extends ListIntegrationsResponse,
5959
* // },
6060
* // WorkflowId: "STRING_VALUE",
6161
* // IsUnstructured: true || false,
62+
* // RoleArn: "STRING_VALUE",
6263
* // },
6364
* // ],
6465
* // NextToken: "STRING_VALUE",

clients/client-customer-profiles/src/commands/PutIntegrationCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __M
119119
* ObjectTypeNames: { // ObjectTypeNames
120120
* "<keys>": "STRING_VALUE",
121121
* },
122+
* RoleArn: "STRING_VALUE",
122123
* };
123124
* const command = new PutIntegrationCommand(input);
124125
* const response = await client.send(command);
@@ -136,6 +137,7 @@ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __M
136137
* // },
137138
* // WorkflowId: "STRING_VALUE",
138139
* // IsUnstructured: true || false,
140+
* // RoleArn: "STRING_VALUE",
139141
* // };
140142
*
141143
* ```

clients/client-customer-profiles/src/index.ts

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
/* eslint-disable */
33
/**
44
* <fullname>Amazon Connect Customer Profiles</fullname>
5+
* <ul>
6+
* <li>
7+
* <p>
8+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
9+
* </p>
10+
* </li>
11+
* <li>
12+
* <p>
13+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
14+
* </p>
15+
* </li>
16+
* </ul>
517
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
618
* center that has pre-built connectors powered by AppFlow that make it easy to combine
719
* customer information from third party applications, such as Salesforce (CRM), ServiceNow

clients/client-customer-profiles/src/models/models_0.ts

+28
Original file line numberDiff line numberDiff line change
@@ -3515,6 +3515,13 @@ export interface GetIntegrationResponse {
35153515
* @public
35163516
*/
35173517
IsUnstructured?: boolean;
3518+
3519+
/**
3520+
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
3521+
* Customer Profiles requests on your behalf.</p>
3522+
* @public
3523+
*/
3524+
RoleArn?: string;
35183525
}
35193526

35203527
/**
@@ -4134,6 +4141,13 @@ export interface ListIntegrationItem {
41344141
* @public
41354142
*/
41364143
IsUnstructured?: boolean;
4144+
4145+
/**
4146+
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
4147+
* Customer Profiles requests on your behalf.</p>
4148+
* @public
4149+
*/
4150+
RoleArn?: string;
41374151
}
41384152

41394153
/**
@@ -5236,6 +5250,13 @@ export interface PutIntegrationRequest {
52365250
* @public
52375251
*/
52385252
ObjectTypeNames?: Record<string, string>;
5253+
5254+
/**
5255+
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
5256+
* Customer Profiles requests on your behalf.</p>
5257+
* @public
5258+
*/
5259+
RoleArn?: string;
52395260
}
52405261

52415262
/**
@@ -5299,6 +5320,13 @@ export interface PutIntegrationResponse {
52995320
* @public
53005321
*/
53015322
IsUnstructured?: boolean;
5323+
5324+
/**
5325+
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
5326+
* Customer Profiles requests on your behalf.</p>
5327+
* @public
5328+
*/
5329+
RoleArn?: string;
53025330
}
53035331

53045332
/**

clients/client-customer-profiles/src/protocols/Aws_restJson1.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,7 @@ export const se_PutIntegrationCommand = async (
11701170
FlowDefinition: (_) => se_FlowDefinition(_, context),
11711171
ObjectTypeName: [],
11721172
ObjectTypeNames: (_) => _json(_),
1173+
RoleArn: [],
11731174
Tags: (_) => _json(_),
11741175
Uri: [],
11751176
})
@@ -1936,6 +1937,7 @@ export const de_GetIntegrationCommand = async (
19361937
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
19371938
ObjectTypeName: __expectString,
19381939
ObjectTypeNames: _json,
1940+
RoleArn: __expectString,
19391941
Tags: _json,
19401942
Uri: __expectString,
19411943
WorkflowId: __expectString,
@@ -2434,6 +2436,7 @@ export const de_PutIntegrationCommand = async (
24342436
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
24352437
ObjectTypeName: __expectString,
24362438
ObjectTypeNames: _json,
2439+
RoleArn: __expectString,
24372440
Tags: _json,
24382441
Uri: __expectString,
24392442
WorkflowId: __expectString,
@@ -3223,6 +3226,7 @@ const de_ListIntegrationItem = (output: any, context: __SerdeContext): ListInteg
32233226
LastUpdatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
32243227
ObjectTypeName: __expectString,
32253228
ObjectTypeNames: _json,
3229+
RoleArn: __expectString,
32263230
Tags: _json,
32273231
Uri: __expectString,
32283232
WorkflowId: __expectString,

codegen/sdk-codegen/aws-models/customer-profiles.json

+25-1
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@
16241624
"name": "profile"
16251625
},
16261626
"aws.protocols#restJson1": {},
1627-
"smithy.api#documentation": "<fullname>Amazon Connect Customer Profiles</fullname>\n <p>Amazon Connect Customer Profiles is a unified customer profile for your contact\n center that has pre-built connectors powered by AppFlow that make it easy to combine\n customer information from third party applications, such as Salesforce (CRM), ServiceNow\n (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center. </p>\n <p>For more information about the Amazon Connect Customer Profiles feature, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/customer-profiles.html\">Use Customer\n Profiles</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>",
1627+
"smithy.api#documentation": "<fullname>Amazon Connect Customer Profiles</fullname>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html\">Customer Profiles actions</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html\">Customer Profiles data types</a>\n </p>\n </li>\n </ul>\n <p>Amazon Connect Customer Profiles is a unified customer profile for your contact\n center that has pre-built connectors powered by AppFlow that make it easy to combine\n customer information from third party applications, such as Salesforce (CRM), ServiceNow\n (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center. </p>\n <p>For more information about the Amazon Connect Customer Profiles feature, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/customer-profiles.html\">Use Customer\n Profiles</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>",
16281628
"smithy.api#title": "Amazon Connect Customer Profiles",
16291629
"smithy.rules#endpointRuleSet": {
16301630
"version": "1.0",
@@ -4524,6 +4524,12 @@
45244524
"traits": {
45254525
"smithy.api#documentation": "<p>Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.</p>"
45264526
}
4527+
},
4528+
"RoleArn": {
4529+
"target": "com.amazonaws.customerprofiles#RoleArn",
4530+
"traits": {
4531+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.</p>"
4532+
}
45274533
}
45284534
},
45294535
"traits": {
@@ -6200,6 +6206,12 @@
62006206
"traits": {
62016207
"smithy.api#documentation": "<p>Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.</p>"
62026208
}
6209+
},
6210+
"RoleArn": {
6211+
"target": "com.amazonaws.customerprofiles#RoleArn",
6212+
"traits": {
6213+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.</p>"
6214+
}
62036215
}
62046216
},
62056217
"traits": {
@@ -7922,6 +7934,12 @@
79227934
"traits": {
79237935
"smithy.api#documentation": "<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.\nIt supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>, \n<code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>"
79247936
}
7937+
},
7938+
"RoleArn": {
7939+
"target": "com.amazonaws.customerprofiles#RoleArn",
7940+
"traits": {
7941+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.</p>"
7942+
}
79257943
}
79267944
},
79277945
"traits": {
@@ -7988,6 +8006,12 @@
79888006
"traits": {
79898007
"smithy.api#documentation": "<p>Boolean that shows if the Flow that's associated with the Integration is created in\n Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in\n flowDefinition.</p>"
79908008
}
8009+
},
8010+
"RoleArn": {
8011+
"target": "com.amazonaws.customerprofiles#RoleArn",
8012+
"traits": {
8013+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make\n Customer Profiles requests on your behalf.</p>"
8014+
}
79918015
}
79928016
},
79938017
"traits": {

0 commit comments

Comments
 (0)