/AWS1/CL_PTS=>ASSOCIATEOPPORTUNITY()
¶
About AssociateOpportunity¶
Enables you to create a formal association between an Opportunity
and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:
-
Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.
-
Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.
-
Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.
To obtain identifiers for these entities, use the following methods:
-
Solution: Use the
ListSolutions
operation. -
AWS Products: For the latest list of Amazon Web Services products, see Amazon Web Services products.
-
Amazon Web Services Marketplace private offer: Use the Using the Amazon Web Services Marketplace Catalog API to list entities. Specifically, use the
ListEntities
operation to retrieve a list of private offers. The request returns the details of available private offers. For more information, see ListEntities.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_catalog
TYPE /AWS1/PTSCATALOGIDENTIFIER
/AWS1/PTSCATALOGIDENTIFIER
¶
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWS
orSandbox
. The catalog determines which environment the opportunity association is made in. UseAWS
to associate opportunities in the Amazon Web Services catalog, andSandbox
for testing in secure, isolated environments.
iv_opportunityidentifier
TYPE /AWS1/PTSOPPORTUNITYIDENTIFIER
/AWS1/PTSOPPORTUNITYIDENTIFIER
¶
Requires the
Opportunity
's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.
iv_relatedentitytype
TYPE /AWS1/PTSRELATEDENTITYTYPE
/AWS1/PTSRELATEDENTITYTYPE
¶
Specifies the entity type that you're associating with the
Opportunity
. This helps to categorize and properly process the association.
iv_relatedentityidentifier
TYPE /AWS1/PTSSTRING
/AWS1/PTSSTRING
¶
Requires the related entity's unique identifier when you want to associate it with the
Opportunity
. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->/aws1/if_pts~associateopportunity(
iv_catalog = |string|
iv_opportunityidentifier = |string|
iv_relatedentityidentifier = |string|
iv_relatedentitytype = |string|
).