Skip to content

Commit

Permalink
feat(client-customer-profiles): Introduces optional RoleArn parameter…
Browse files Browse the repository at this point in the history
… for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations
  • Loading branch information
awstools committed Sep 27, 2024
1 parent 0a41cb5 commit 607ec0a
Show file tree
Hide file tree
Showing 11 changed files with 110 additions and 1 deletion.
12 changes: 12 additions & 0 deletions clients/client-customer-profiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ AWS SDK for JavaScript CustomerProfiles Client for Node.js, Browser and React Na

<fullname>Amazon Connect Customer Profiles</fullname>

<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
</p>
</li>
</ul>
<p>Amazon Connect Customer Profiles is a unified customer profile for your contact
center that has pre-built connectors powered by AppFlow that make it easy to combine
customer information from third party applications, such as Salesforce (CRM), ServiceNow
Expand Down
12 changes: 12 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,18 @@ export interface CustomerProfiles {

/**
* <fullname>Amazon Connect Customer Profiles</fullname>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
* center that has pre-built connectors powered by AppFlow that make it easy to combine
* customer information from third party applications, such as Salesforce (CRM), ServiceNow
Expand Down
12 changes: 12 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfilesClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,18 @@ export interface CustomerProfilesClientResolvedConfig extends CustomerProfilesCl

/**
* <fullname>Amazon Connect Customer Profiles</fullname>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
* center that has pre-built connectors powered by AppFlow that make it easy to combine
* customer information from third party applications, such as Salesforce (CRM), ServiceNow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface GetIntegrationCommandOutput extends GetIntegrationResponse, __M
* // },
* // WorkflowId: "STRING_VALUE",
* // IsUnstructured: true || false,
* // RoleArn: "STRING_VALUE",
* // };
*
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface ListAccountIntegrationsCommandOutput extends ListAccountIntegra
* // },
* // WorkflowId: "STRING_VALUE",
* // IsUnstructured: true || false,
* // RoleArn: "STRING_VALUE",
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export interface ListIntegrationsCommandOutput extends ListIntegrationsResponse,
* // },
* // WorkflowId: "STRING_VALUE",
* // IsUnstructured: true || false,
* // RoleArn: "STRING_VALUE",
* // },
* // ],
* // NextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __M
* ObjectTypeNames: { // ObjectTypeNames
* "<keys>": "STRING_VALUE",
* },
* RoleArn: "STRING_VALUE",
* };
* const command = new PutIntegrationCommand(input);
* const response = await client.send(command);
Expand All @@ -136,6 +137,7 @@ export interface PutIntegrationCommandOutput extends PutIntegrationResponse, __M
* // },
* // WorkflowId: "STRING_VALUE",
* // IsUnstructured: true || false,
* // RoleArn: "STRING_VALUE",
* // };
*
* ```
Expand Down
12 changes: 12 additions & 0 deletions clients/client-customer-profiles/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
/* eslint-disable */
/**
* <fullname>Amazon Connect Customer Profiles</fullname>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_Connect_Customer_Profiles.html">Customer Profiles actions</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_Connect_Customer_Profiles.html">Customer Profiles data types</a>
* </p>
* </li>
* </ul>
* <p>Amazon Connect Customer Profiles is a unified customer profile for your contact
* center that has pre-built connectors powered by AppFlow that make it easy to combine
* customer information from third party applications, such as Salesforce (CRM), ServiceNow
Expand Down
28 changes: 28 additions & 0 deletions clients/client-customer-profiles/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3515,6 +3515,13 @@ export interface GetIntegrationResponse {
* @public
*/
IsUnstructured?: boolean;

/**
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
* Customer Profiles requests on your behalf.</p>
* @public
*/
RoleArn?: string;
}

/**
Expand Down Expand Up @@ -4134,6 +4141,13 @@ export interface ListIntegrationItem {
* @public
*/
IsUnstructured?: boolean;

/**
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
* Customer Profiles requests on your behalf.</p>
* @public
*/
RoleArn?: string;
}

/**
Expand Down Expand Up @@ -5236,6 +5250,13 @@ export interface PutIntegrationRequest {
* @public
*/
ObjectTypeNames?: Record<string, string>;

/**
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
* Customer Profiles requests on your behalf.</p>
* @public
*/
RoleArn?: string;
}

/**
Expand Down Expand Up @@ -5299,6 +5320,13 @@ export interface PutIntegrationResponse {
* @public
*/
IsUnstructured?: boolean;

/**
* <p>The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make
* Customer Profiles requests on your behalf.</p>
* @public
*/
RoleArn?: string;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1170,6 +1170,7 @@ export const se_PutIntegrationCommand = async (
FlowDefinition: (_) => se_FlowDefinition(_, context),
ObjectTypeName: [],
ObjectTypeNames: (_) => _json(_),
RoleArn: [],
Tags: (_) => _json(_),
Uri: [],
})
Expand Down Expand Up @@ -1936,6 +1937,7 @@ export const de_GetIntegrationCommand = async (
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
ObjectTypeName: __expectString,
ObjectTypeNames: _json,
RoleArn: __expectString,
Tags: _json,
Uri: __expectString,
WorkflowId: __expectString,
Expand Down Expand Up @@ -2434,6 +2436,7 @@ export const de_PutIntegrationCommand = async (
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
ObjectTypeName: __expectString,
ObjectTypeNames: _json,
RoleArn: __expectString,
Tags: _json,
Uri: __expectString,
WorkflowId: __expectString,
Expand Down Expand Up @@ -3223,6 +3226,7 @@ const de_ListIntegrationItem = (output: any, context: __SerdeContext): ListInteg
LastUpdatedAt: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
ObjectTypeName: __expectString,
ObjectTypeNames: _json,
RoleArn: __expectString,
Tags: _json,
Uri: __expectString,
WorkflowId: __expectString,
Expand Down
26 changes: 25 additions & 1 deletion codegen/sdk-codegen/aws-models/customer-profiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@
"name": "profile"
},
"aws.protocols#restJson1": {},
"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>",
"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>",
"smithy.api#title": "Amazon Connect Customer Profiles",
"smithy.rules#endpointRuleSet": {
"version": "1.0",
Expand Down Expand Up @@ -4524,6 +4524,12 @@
"traits": {
"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>"
}
},
"RoleArn": {
"target": "com.amazonaws.customerprofiles#RoleArn",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down Expand Up @@ -6200,6 +6206,12 @@
"traits": {
"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>"
}
},
"RoleArn": {
"target": "com.amazonaws.customerprofiles#RoleArn",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7922,6 +7934,12 @@
"traits": {
"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>"
}
},
"RoleArn": {
"target": "com.amazonaws.customerprofiles#RoleArn",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7988,6 +8006,12 @@
"traits": {
"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>"
}
},
"RoleArn": {
"target": "com.amazonaws.customerprofiles#RoleArn",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down

0 comments on commit 607ec0a

Please sign in to comment.