AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws . partnercentral-selling ]
Updates the context information for an existing engagement with new or modified data.
See also: AWS API Documentation
update-engagement-context
--catalog <value>
--engagement-identifier <value>
--context-identifier <value>
--engagement-last-modified-at <value>
--type <value>
--payload <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--catalog (string)
Specifies the catalog associated with the engagement context update request. This field takes a string value from a predefined list:AWSorSandbox. The catalog determines which environment the engagement context is updated in.
--engagement-identifier (string)
The unique identifier of theEngagementcontaining the context to be updated. This parameter ensures the context update is applied to the correct engagement.
--context-identifier (string)
The unique identifier of the specific engagement context to be updated. This ensures that the correct context within the engagement is modified.
--engagement-last-modified-at (timestamp)
The timestamp when the engagement was last modified, used for optimistic concurrency control. This helps prevent conflicts when multiple users attempt to update the same engagement simultaneously.
--type (string)
Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.
Possible values:
CustomerProjectLead
--payload (tagged union structure)
Contains the updated contextual information for the engagement. The structure of this payload varies based on the context type specified in the Type field.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:Lead,CustomerProject.Lead -> (structure)
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.
QualificationStatus -> (string)
The updated qualification status of the lead.Customer -> (structure)
Updated customer information associated with the lead.
Industry -> (string)
Specifies the industry sector to which the lead customer’s company belongs. This categorization helps in understanding the customer’s business context and tailoring appropriate solutions.CompanyName -> (string)
The name of the lead customer’s company. This field is essential for identifying and tracking the customer organization associated with the lead.WebsiteUrl -> (string)
The website URL of the lead customer’s company. This provides additional context about the customer organization and helps verify company legitimacy and size.Address -> (structure)
An object that contains an
Addressobject’s subset of fields.City -> (string)
Specifies the endCustomer‘s city associated with theOpportunity.PostalCode -> (string)
Specifies the endCustomer‘s postal code associated with theOpportunity.StateOrRegion -> (string)
Specifies the end
Customer‘s state or region associated with theOpportunity.Valid values:
Alabama | Alaska | American Samoa | Arizona | Arkansas | California | Colorado | Connecticut | Delaware | Dist. of Columbia | Federated States of Micronesia | Florida | Georgia | Guam | Hawaii | Idaho | Illinois | Indiana | Iowa | Kansas | Kentucky | Louisiana | Maine | Marshall Islands | Maryland | Massachusetts | Michigan | Minnesota | Mississippi | Missouri | Montana | Nebraska | Nevada | New Hampshire | New Jersey | New Mexico | New York | North Carolina | North Dakota | Northern Mariana Islands | Ohio | Oklahoma | Oregon | Palau | Pennsylvania | Puerto Rico | Rhode Island | South Carolina | South Dakota | Tennessee | Texas | Utah | Vermont | Virginia | Virgin Islands | Washington | West Virginia | Wisconsin | Wyoming | APO/AE | AFO/FPO | FPO, APCountryCode -> (string)
Specifies the endCustomer‘s country associated with theOpportunity.AwsMaturity -> (string)
Indicates the customer’s level of experience and adoption with AWS services. This assessment helps determine the appropriate engagement approach and solution complexity.MarketSegment -> (string)
Specifies the market segment classification of the lead customer, such as enterprise, mid-market, or small business. This segmentation helps in targeting appropriate solutions and engagement strategies.Interaction -> (structure)
Updated interaction details for the lead context.
SourceType -> (string)
Specifies the type of source that generated the lead interaction, such as “Event”, “Website”, “Referral”, or “Campaign”. This categorization helps track lead generation effectiveness across different channels.SourceId -> (string)
The unique identifier of the specific source that generated the lead interaction. This ID provides traceability back to the original lead generation activity.SourceName -> (string)
The descriptive name of the source that generated the lead interaction, providing a human-readable identifier for the lead generation channel or activity.Usecase -> (string)
Describes the specific use case or business scenario discussed during the lead interaction. This helps categorize the customer’s interests and potential solutions.InteractionDate -> (timestamp)
The date and time when the lead interaction occurred, in ISO 8601 format (UTC). This timestamp helps track the chronology of lead engagement activities.CustomerAction -> (string)
Describes the action taken by the customer during or as a result of the interaction, such as requesting information, scheduling a meeting, or expressing interest in a solution.BusinessProblem -> (string)
Describes the business problem or challenge that the customer discussed during the interaction. This information helps qualify the lead and identify appropriate solutions.Contact -> (structure)
Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.
BusinessTitle -> (string)
The lead contact’s business title or job role associated with the engagement.Email -> (string)
The lead contact’s email address associated with the engagement.FirstName -> (string)
The lead contact’s first name associated with the engagement.LastName -> (string)
The lead contact’s last name associated with the engagement.Phone -> (string)
The lead contact’s phone number associated with the engagement.CustomerProject -> (structure)
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.
Customer -> (structure)
Contains details about the customer associated with the Engagement Invitation, including company information and industry.
Industry -> (string)
Specifies the industry to which the customer’s company belongs. This field helps categorize the opportunity based on the customer’s business sector.CompanyName -> (string)
Represents the name of the customer’s company associated with the Engagement Invitation. This field is used to identify the customer.WebsiteUrl -> (string)
Provides the website URL of the customer’s company. This field helps partners verify the legitimacy and size of the customer organization.CountryCode -> (string)
Indicates the country in which the customer’s company operates. This field is useful for understanding regional requirements or compliance needs.Project -> (structure)
Information about the customer project associated with the Engagement.
Title -> (string)
The title of the project.BusinessProblem -> (string)
A description of the business problem the project aims to solve.TargetCompletionDate -> (string)
The target completion date for the customer’s project.
JSON Syntax:
{
"Lead": {
"QualificationStatus": "string",
"Customer": {
"Industry": "Aerospace"|"Agriculture"|"Automotive"|"Computers and Electronics"|"Consumer Goods"|"Education"|"Energy - Oil and Gas"|"Energy - Power and Utilities"|"Financial Services"|"Gaming"|"Government"|"Healthcare"|"Hospitality"|"Life Sciences"|"Manufacturing"|"Marketing and Advertising"|"Media and Entertainment"|"Mining"|"Non-Profit Organization"|"Professional Services"|"Real Estate and Construction"|"Retail"|"Software and Internet"|"Telecommunications"|"Transportation and Logistics"|"Travel"|"Wholesale and Distribution"|"Other",
"CompanyName": "string",
"WebsiteUrl": "string",
"Address": {
"City": "string",
"PostalCode": "string",
"StateOrRegion": "string",
"CountryCode": "US"|"AF"|"AX"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|"BQ"|"BA"|"BW"|"BV"|"BR"|"IO"|"BN"|"BG"|"BF"|"BI"|"KH"|"CM"|"CA"|"CV"|"KY"|"CF"|"TD"|"CL"|"CN"|"CX"|"CC"|"CO"|"KM"|"CG"|"CK"|"CR"|"CI"|"HR"|"CU"|"CW"|"CY"|"CZ"|"CD"|"DK"|"DJ"|"DM"|"DO"|"EC"|"EG"|"SV"|"GQ"|"ER"|"EE"|"ET"|"FK"|"FO"|"FJ"|"FI"|"FR"|"GF"|"PF"|"TF"|"GA"|"GM"|"GE"|"DE"|"GH"|"GI"|"GR"|"GL"|"GD"|"GP"|"GU"|"GT"|"GG"|"GN"|"GW"|"GY"|"HT"|"HM"|"VA"|"HN"|"HK"|"HU"|"IS"|"IN"|"ID"|"IR"|"IQ"|"IE"|"IM"|"IL"|"IT"|"JM"|"JP"|"JE"|"JO"|"KZ"|"KE"|"KI"|"KR"|"KW"|"KG"|"LA"|"LV"|"LB"|"LS"|"LR"|"LY"|"LI"|"LT"|"LU"|"MO"|"MK"|"MG"|"MW"|"MY"|"MV"|"ML"|"MT"|"MH"|"MQ"|"MR"|"MU"|"YT"|"MX"|"FM"|"MD"|"MC"|"MN"|"ME"|"MS"|"MA"|"MZ"|"MM"|"NA"|"NR"|"NP"|"NL"|"AN"|"NC"|"NZ"|"NI"|"NE"|"NG"|"NU"|"NF"|"MP"|"NO"|"OM"|"PK"|"PW"|"PS"|"PA"|"PG"|"PY"|"PE"|"PH"|"PN"|"PL"|"PT"|"PR"|"QA"|"RE"|"RO"|"RU"|"RW"|"BL"|"SH"|"KN"|"LC"|"MF"|"PM"|"VC"|"WS"|"SM"|"ST"|"SA"|"SN"|"RS"|"SC"|"SL"|"SG"|"SX"|"SK"|"SI"|"SB"|"SO"|"ZA"|"GS"|"SS"|"ES"|"LK"|"SD"|"SR"|"SJ"|"SZ"|"SE"|"CH"|"SY"|"TW"|"TJ"|"TZ"|"TH"|"TL"|"TG"|"TK"|"TO"|"TT"|"TN"|"TR"|"TM"|"TC"|"TV"|"UG"|"UA"|"AE"|"GB"|"UM"|"UY"|"UZ"|"VU"|"VE"|"VN"|"VG"|"VI"|"WF"|"EH"|"YE"|"ZM"|"ZW"
},
"AwsMaturity": "string",
"MarketSegment": "Enterprise"|"Large"|"Medium"|"Small"|"Micro"
},
"Interaction": {
"SourceType": "string",
"SourceId": "string",
"SourceName": "string",
"Usecase": "string",
"InteractionDate": timestamp,
"CustomerAction": "string",
"BusinessProblem": "string",
"Contact": {
"BusinessTitle": "string",
"Email": "string",
"FirstName": "string",
"LastName": "string",
"Phone": "string"
}
}
},
"CustomerProject": {
"Customer": {
"Industry": "Aerospace"|"Agriculture"|"Automotive"|"Computers and Electronics"|"Consumer Goods"|"Education"|"Energy - Oil and Gas"|"Energy - Power and Utilities"|"Financial Services"|"Gaming"|"Government"|"Healthcare"|"Hospitality"|"Life Sciences"|"Manufacturing"|"Marketing and Advertising"|"Media and Entertainment"|"Mining"|"Non-Profit Organization"|"Professional Services"|"Real Estate and Construction"|"Retail"|"Software and Internet"|"Telecommunications"|"Transportation and Logistics"|"Travel"|"Wholesale and Distribution"|"Other",
"CompanyName": "string",
"WebsiteUrl": "string",
"CountryCode": "US"|"AF"|"AX"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|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|"TC"|"TV"|"UG"|"UA"|"AE"|"GB"|"UM"|"UY"|"UZ"|"VU"|"VE"|"VN"|"VG"|"VI"|"WF"|"EH"|"YE"|"ZM"|"ZW"
},
"Project": {
"Title": "string",
"BusinessProblem": "string",
"TargetCompletionDate": "string"
}
}
}
--cli-input-json (string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
EngagementId -> (string)
The unique identifier of the engagement that was updated.
EngagementArn -> (string)
The Amazon Resource Name (ARN) of the updated engagement.
EngagementLastModifiedAt -> (timestamp)
The timestamp when the engagement context was last modified.
ContextId -> (string)
The unique identifier of the engagement context that was updated.