

# UpdateEngagementContextPayload
<a name="API_UpdateEngagementContextPayload"></a>

Represents the updated payload of an engagement context. The structure of this payload varies based on the context type being updated.

## Contents
<a name="API_UpdateEngagementContextPayload_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** CustomerProject **   <a name="AWSPartnerCentral-Type-UpdateEngagementContextPayload-CustomerProject"></a>
The CustomerProjects structure in Engagements offers a flexible framework for managing customer-project relationships. It supports multiple customers per Engagement and multiple projects per customer, while also allowing for customers without projects and projects without specific customers.   
All Engagement members have full visibility of customers and their associated projects, enabling the capture of relevant context even when project details are not fully defined. This structure also facilitates targeted invitations, allowing partners to focus on specific customers and their business problems when sending Engagement invitations.   
Type: [CustomerProjectsContext](API_CustomerProjectsContext.md) object  
Required: No

 ** Lead **   <a name="AWSPartnerCentral-Type-UpdateEngagementContextPayload-Lead"></a>
Contains updated information about a lead when the context type is "Lead". This field is present only when updating a lead context within the engagement.  
Type: [UpdateLeadContext](API_UpdateLeadContext.md) object  
Required: No

## See Also
<a name="API_UpdateEngagementContextPayload_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/partnercentral-selling-2022-07-26/UpdateEngagementContextPayload) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/partnercentral-selling-2022-07-26/UpdateEngagementContextPayload) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/partnercentral-selling-2022-07-26/UpdateEngagementContextPayload) 