Interface PartnerCentralSellingClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
AWS Partner Central API for Selling Reference Guide
This Amazon Web Services (AWS) Partner Central API reference is designed to help AWS Partners integrate Customer Relationship Management (CRM) systems with AWS Partner Central. Partners can automate interactions with AWS Partner Central, which helps to ensure effective engagements in joint business activities.
The API provides standard AWS API functionality. Access it by either using API Actions or by using an AWS SDK that's tailored to your programming language or platform. For more information, see Getting Started with AWS and Tools to Build on AWS.
Features offered by AWS Partner Central API
-
Opportunity management: Manages coselling opportunities through API actions such as
CreateOpportunity
,UpdateOpportunity
,ListOpportunities
,GetOpportunity
, andAssignOpportunity
. -
AWS referral management: Manages referrals shared by AWS using actions such as
ListEngagementInvitations
,GetEngagementInvitation
,StartEngagementByAcceptingInvitation
, andRejectEngagementInvitation
. -
Entity association: Associates related entities such as AWS Products, Partner Solutions, and AWS Marketplace Private Offers with opportunities using the actions
AssociateOpportunity
, andDisassociateOpportunity
. -
View AWS opportunity details: Retrieves real-time summaries of AWS opportunities using the
GetAWSOpportunitySummary
action. -
List solutions: Provides list APIs for listing partner offers using
ListSolutions
. -
Event subscription: Subscribe to real-time opportunity updates through AWS EventBridge by using actions such as Opportunity Created, Opportunity Updated, Engagement Invitation Accepted, Engagement Invitation Rejected, and Engagement Invitation Created.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssignOpportunityResponse
assignOpportunity
(Consumer<AssignOpportunityRequest.Builder> assignOpportunityRequest) Enables you to reassign an existingOpportunity
to another user within your Partner Central account.default AssignOpportunityResponse
assignOpportunity
(AssignOpportunityRequest assignOpportunityRequest) Enables you to reassign an existingOpportunity
to another user within your Partner Central account.default AssociateOpportunityResponse
associateOpportunity
(Consumer<AssociateOpportunityRequest.Builder> associateOpportunityRequest) Enables you to create a formal association between anOpportunity
and various related entities, enriching the context and details of the opportunity for better collaboration and decision making.default AssociateOpportunityResponse
associateOpportunity
(AssociateOpportunityRequest associateOpportunityRequest) Enables you to create a formal association between anOpportunity
and various related entities, enriching the context and details of the opportunity for better collaboration and decision making.builder()
Create a builder that can be used to configure and create aPartnerCentralSellingClient
.static PartnerCentralSellingClient
create()
Create aPartnerCentralSellingClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateOpportunityResponse
createOpportunity
(Consumer<CreateOpportunityRequest.Builder> createOpportunityRequest) Creates anOpportunity
record in Partner Central.default CreateOpportunityResponse
createOpportunity
(CreateOpportunityRequest createOpportunityRequest) Creates anOpportunity
record in Partner Central.default DisassociateOpportunityResponse
disassociateOpportunity
(Consumer<DisassociateOpportunityRequest.Builder> disassociateOpportunityRequest) Allows you to remove an existing association between anOpportunity
and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer.default DisassociateOpportunityResponse
disassociateOpportunity
(DisassociateOpportunityRequest disassociateOpportunityRequest) Allows you to remove an existing association between anOpportunity
and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer.default GetAwsOpportunitySummaryResponse
getAwsOpportunitySummary
(Consumer<GetAwsOpportunitySummaryRequest.Builder> getAwsOpportunitySummaryRequest) Retrieves a summary of an AWS Opportunity.default GetAwsOpportunitySummaryResponse
getAwsOpportunitySummary
(GetAwsOpportunitySummaryRequest getAwsOpportunitySummaryRequest) Retrieves a summary of an AWS Opportunity.default GetEngagementInvitationResponse
getEngagementInvitation
(Consumer<GetEngagementInvitationRequest.Builder> getEngagementInvitationRequest) Retrieves the details of an engagement invitation shared by AWS with a partner.default GetEngagementInvitationResponse
getEngagementInvitation
(GetEngagementInvitationRequest getEngagementInvitationRequest) Retrieves the details of an engagement invitation shared by AWS with a partner.default GetOpportunityResponse
getOpportunity
(Consumer<GetOpportunityRequest.Builder> getOpportunityRequest) Fetches theOpportunity
record from Partner Central by a givenIdentifier
.default GetOpportunityResponse
getOpportunity
(GetOpportunityRequest getOpportunityRequest) Fetches theOpportunity
record from Partner Central by a givenIdentifier
.listEngagementInvitations
(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) Retrieves a list of engagement invitations sent to the partner.listEngagementInvitations
(ListEngagementInvitationsRequest listEngagementInvitationsRequest) Retrieves a list of engagement invitations sent to the partner.listEngagementInvitationsPaginator
(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) This is a variant oflistEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation.listEngagementInvitationsPaginator
(ListEngagementInvitationsRequest listEngagementInvitationsRequest) This is a variant oflistEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation.default ListOpportunitiesResponse
listOpportunities
(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) This request accepts a list of filters that retrieve opportunity subsets as well as sort options.default ListOpportunitiesResponse
listOpportunities
(ListOpportunitiesRequest listOpportunitiesRequest) This request accepts a list of filters that retrieve opportunity subsets as well as sort options.default ListOpportunitiesIterable
listOpportunitiesPaginator
(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) This is a variant oflistOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation.default ListOpportunitiesIterable
listOpportunitiesPaginator
(ListOpportunitiesRequest listOpportunitiesRequest) This is a variant oflistOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation.default ListSolutionsResponse
listSolutions
(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) Retrieves a list of Partner Solutions that the partner registered on Partner Central.default ListSolutionsResponse
listSolutions
(ListSolutionsRequest listSolutionsRequest) Retrieves a list of Partner Solutions that the partner registered on Partner Central.default ListSolutionsIterable
listSolutionsPaginator
(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) This is a variant oflistSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation.default ListSolutionsIterable
listSolutionsPaginator
(ListSolutionsRequest listSolutionsRequest) This is a variant oflistSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation.rejectEngagementInvitation
(Consumer<RejectEngagementInvitationRequest.Builder> rejectEngagementInvitationRequest) This action rejects anEngagementInvitation
that AWS shared.rejectEngagementInvitation
(RejectEngagementInvitationRequest rejectEngagementInvitationRequest) This action rejects anEngagementInvitation
that AWS shared.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
startEngagementByAcceptingInvitationTask
(Consumer<StartEngagementByAcceptingInvitationTaskRequest.Builder> startEngagementByAcceptingInvitationTaskRequest) This action starts the engagement by accepting anEngagementInvitation
.startEngagementByAcceptingInvitationTask
(StartEngagementByAcceptingInvitationTaskRequest startEngagementByAcceptingInvitationTaskRequest) This action starts the engagement by accepting anEngagementInvitation
.startEngagementFromOpportunityTask
(Consumer<StartEngagementFromOpportunityTaskRequest.Builder> startEngagementFromOpportunityTaskRequest) This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system.startEngagementFromOpportunityTask
(StartEngagementFromOpportunityTaskRequest startEngagementFromOpportunityTaskRequest) This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system.default UpdateOpportunityResponse
updateOpportunity
(Consumer<UpdateOpportunityRequest.Builder> updateOpportunityRequest) Updates theOpportunity
record identified by a givenIdentifier
.default UpdateOpportunityResponse
updateOpportunity
(UpdateOpportunityRequest updateOpportunityRequest) Updates theOpportunity
record identified by a givenIdentifier
.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
assignOpportunity
default AssignOpportunityResponse assignOpportunity(AssignOpportunityRequest assignOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Enables you to reassign an existing
Opportunity
to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.
- Parameters:
assignOpportunityRequest
-- Returns:
- Result of the AssignOpportunity operation returned by the service.
- See Also:
-
assignOpportunity
default AssignOpportunityResponse assignOpportunity(Consumer<AssignOpportunityRequest.Builder> assignOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Enables you to reassign an existing
Opportunity
to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.
This is a convenience which creates an instance of the
AssignOpportunityRequest.Builder
avoiding the need to create one manually viaAssignOpportunityRequest.builder()
- Parameters:
assignOpportunityRequest
- AConsumer
that will call methods onAssignOpportunityRequest.Builder
to create a request.- Returns:
- Result of the AssignOpportunity operation returned by the service.
- See Also:
-
associateOpportunity
default AssociateOpportunityResponse associateOpportunity(AssociateOpportunityRequest associateOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException 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.
- Parameters:
associateOpportunityRequest
-- Returns:
- Result of the AssociateOpportunity operation returned by the service.
- See Also:
-
-
associateOpportunity
default AssociateOpportunityResponse associateOpportunity(Consumer<AssociateOpportunityRequest.Builder> associateOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException 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.
This is a convenience which creates an instance of the
AssociateOpportunityRequest.Builder
avoiding the need to create one manually viaAssociateOpportunityRequest.builder()
- Parameters:
associateOpportunityRequest
- AConsumer
that will call methods onAssociateOpportunityRequest.Builder
to create a request.- Returns:
- Result of the AssociateOpportunity operation returned by the service.
- See Also:
-
-
createOpportunity
default CreateOpportunityResponse createOpportunity(CreateOpportunityRequest createOpportunityRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Creates an
Opportunity
record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity setsLifecycle.ReviewStatus
toPending Submission
.To submit an opportunity, follow these steps:
-
To create the opportunity, use
CreateOpportunity
. -
To associate a solution with the opportunity, use
AssociateOpportunity
. -
To submit the opportunity, use
StartEngagementFromOpportunityTask
.
After submission, you can't edit the opportunity until the review is complete. But opportunities in the
Pending Submission
state must have complete details. You can update the opportunity while it's in thePending Submission
state.There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.
- Parameters:
createOpportunityRequest
-- Returns:
- Result of the CreateOpportunity operation returned by the service.
- See Also:
-
-
createOpportunity
default CreateOpportunityResponse createOpportunity(Consumer<CreateOpportunityRequest.Builder> createOpportunityRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Creates an
Opportunity
record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity setsLifecycle.ReviewStatus
toPending Submission
.To submit an opportunity, follow these steps:
-
To create the opportunity, use
CreateOpportunity
. -
To associate a solution with the opportunity, use
AssociateOpportunity
. -
To submit the opportunity, use
StartEngagementFromOpportunityTask
.
After submission, you can't edit the opportunity until the review is complete. But opportunities in the
Pending Submission
state must have complete details. You can update the opportunity while it's in thePending Submission
state.There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.
This is a convenience which creates an instance of the
CreateOpportunityRequest.Builder
avoiding the need to create one manually viaCreateOpportunityRequest.builder()
- Parameters:
createOpportunityRequest
- AConsumer
that will call methods onCreateOpportunityRequest.Builder
to create a request.- Returns:
- Result of the CreateOpportunity operation returned by the service.
- See Also:
-
-
disassociateOpportunity
default DisassociateOpportunityResponse disassociateOpportunity(DisassociateOpportunityRequest disassociateOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Allows you to remove an existing association between an
Opportunity
and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart toAssociateOpportunity
, and it provides flexibility to manage associations as business needs change.Use this operation to update the associations of an
Opportunity
due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.- Parameters:
disassociateOpportunityRequest
-- Returns:
- Result of the DisassociateOpportunity operation returned by the service.
- See Also:
-
disassociateOpportunity
default DisassociateOpportunityResponse disassociateOpportunity(Consumer<DisassociateOpportunityRequest.Builder> disassociateOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Allows you to remove an existing association between an
Opportunity
and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart toAssociateOpportunity
, and it provides flexibility to manage associations as business needs change.Use this operation to update the associations of an
Opportunity
due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.
This is a convenience which creates an instance of the
DisassociateOpportunityRequest.Builder
avoiding the need to create one manually viaDisassociateOpportunityRequest.builder()
- Parameters:
disassociateOpportunityRequest
- AConsumer
that will call methods onDisassociateOpportunityRequest.Builder
to create a request.- Returns:
- Result of the DisassociateOpportunity operation returned by the service.
- See Also:
-
getAwsOpportunitySummary
default GetAwsOpportunitySummaryResponse getAwsOpportunitySummary(GetAwsOpportunitySummaryRequest getAwsOpportunitySummaryRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.
- Parameters:
getAwsOpportunitySummaryRequest
-- Returns:
- Result of the GetAwsOpportunitySummary operation returned by the service.
- See Also:
-
getAwsOpportunitySummary
default GetAwsOpportunitySummaryResponse getAwsOpportunitySummary(Consumer<GetAwsOpportunitySummaryRequest.Builder> getAwsOpportunitySummaryRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.
This is a convenience which creates an instance of the
GetAwsOpportunitySummaryRequest.Builder
avoiding the need to create one manually viaGetAwsOpportunitySummaryRequest.builder()
- Parameters:
getAwsOpportunitySummaryRequest
- AConsumer
that will call methods onGetAwsOpportunitySummaryRequest.Builder
to create a request.- Returns:
- Result of the GetAwsOpportunitySummary operation returned by the service.
- See Also:
-
getEngagementInvitation
default GetEngagementInvitationResponse getEngagementInvitation(GetEngagementInvitationRequest getEngagementInvitationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves the details of an engagement invitation shared by AWS with a partner. The information includes aspects such as customer, project details, and lifecycle information. To connect an engagement invitation with an opportunity, match the invitation’s
Payload.Project.Title
with opportunityProject.Title
.- Parameters:
getEngagementInvitationRequest
-- Returns:
- Result of the GetEngagementInvitation operation returned by the service.
- See Also:
-
getEngagementInvitation
default GetEngagementInvitationResponse getEngagementInvitation(Consumer<GetEngagementInvitationRequest.Builder> getEngagementInvitationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves the details of an engagement invitation shared by AWS with a partner. The information includes aspects such as customer, project details, and lifecycle information. To connect an engagement invitation with an opportunity, match the invitation’s
Payload.Project.Title
with opportunityProject.Title
.
This is a convenience which creates an instance of the
GetEngagementInvitationRequest.Builder
avoiding the need to create one manually viaGetEngagementInvitationRequest.builder()
- Parameters:
getEngagementInvitationRequest
- AConsumer
that will call methods onGetEngagementInvitationRequest.Builder
to create a request.- Returns:
- Result of the GetEngagementInvitation operation returned by the service.
- See Also:
-
getOpportunity
default GetOpportunityResponse getOpportunity(GetOpportunityRequest getOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Fetches the
Opportunity
record from Partner Central by a givenIdentifier
.Use the
ListOpportunities
action or the event notification (from Amazon EventBridge) to obtain this identifier.- Parameters:
getOpportunityRequest
-- Returns:
- Result of the GetOpportunity operation returned by the service.
- See Also:
-
getOpportunity
default GetOpportunityResponse getOpportunity(Consumer<GetOpportunityRequest.Builder> getOpportunityRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Fetches the
Opportunity
record from Partner Central by a givenIdentifier
.Use the
ListOpportunities
action or the event notification (from Amazon EventBridge) to obtain this identifier.
This is a convenience which creates an instance of the
GetOpportunityRequest.Builder
avoiding the need to create one manually viaGetOpportunityRequest.builder()
- Parameters:
getOpportunityRequest
- AConsumer
that will call methods onGetOpportunityRequest.Builder
to create a request.- Returns:
- Result of the GetOpportunity operation returned by the service.
- See Also:
-
listEngagementInvitations
default ListEngagementInvitationsResponse listEngagementInvitations(ListEngagementInvitationsRequest listEngagementInvitationsRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.
- Parameters:
listEngagementInvitationsRequest
-- Returns:
- Result of the ListEngagementInvitations operation returned by the service.
- See Also:
-
listEngagementInvitations
default ListEngagementInvitationsResponse listEngagementInvitations(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.
This is a convenience which creates an instance of the
ListEngagementInvitationsRequest.Builder
avoiding the need to create one manually viaListEngagementInvitationsRequest.builder()
- Parameters:
listEngagementInvitationsRequest
- AConsumer
that will call methods onListEngagementInvitationsRequest.Builder
to create a request.- Returns:
- Result of the ListEngagementInvitations operation returned by the service.
- See Also:
-
listEngagementInvitationsPaginator
default ListEngagementInvitationsIterable listEngagementInvitationsPaginator(ListEngagementInvitationsRequest listEngagementInvitationsRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client .listEngagementInvitationsPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation.- Parameters:
listEngagementInvitationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEngagementInvitationsPaginator
default ListEngagementInvitationsIterable listEngagementInvitationsPaginator(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client .listEngagementInvitationsPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)
operation.
This is a convenience which creates an instance of the
ListEngagementInvitationsRequest.Builder
avoiding the need to create one manually viaListEngagementInvitationsRequest.builder()
- Parameters:
listEngagementInvitationsRequest
- AConsumer
that will call methods onListEngagementInvitationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOpportunities
default ListOpportunitiesResponse listOpportunities(ListOpportunitiesRequest listOpportunitiesRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the
ListOpportunities
API action.To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the
ListOpportunities
action.We recommend the following approach:
-
Find the latest
LastModifiedDate
that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system. -
When you send a
ListOpportunities
request, submit the date in ISO 8601 format in theAfterLastModifiedDate
filter. -
Amazon Web Services only returns opportunities created or updated on or after that date and time. Use
NextToken
to iterate over all pages.
- Parameters:
listOpportunitiesRequest
-- Returns:
- Result of the ListOpportunities operation returned by the service.
- See Also:
-
-
listOpportunities
default ListOpportunitiesResponse listOpportunities(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the
ListOpportunities
API action.To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the
ListOpportunities
action.We recommend the following approach:
-
Find the latest
LastModifiedDate
that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system. -
When you send a
ListOpportunities
request, submit the date in ISO 8601 format in theAfterLastModifiedDate
filter. -
Amazon Web Services only returns opportunities created or updated on or after that date and time. Use
NextToken
to iterate over all pages.
This is a convenience which creates an instance of the
ListOpportunitiesRequest.Builder
avoiding the need to create one manually viaListOpportunitiesRequest.builder()
- Parameters:
listOpportunitiesRequest
- AConsumer
that will call methods onListOpportunitiesRequest.Builder
to create a request.- Returns:
- Result of the ListOpportunities operation returned by the service.
- See Also:
-
-
listOpportunitiesPaginator
default ListOpportunitiesIterable listOpportunitiesPaginator(ListOpportunitiesRequest listOpportunitiesRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client .listOpportunitiesPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation.- Parameters:
listOpportunitiesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOpportunitiesPaginator
default ListOpportunitiesIterable listOpportunitiesPaginator(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client .listOpportunitiesPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)
operation.
This is a convenience which creates an instance of the
ListOpportunitiesRequest.Builder
avoiding the need to create one manually viaListOpportunitiesRequest.builder()
- Parameters:
listOpportunitiesRequest
- AConsumer
that will call methods onListOpportunitiesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSolutions
default ListSolutionsResponse listSolutions(ListSolutionsRequest listSolutionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.
- Parameters:
listSolutionsRequest
-- Returns:
- Result of the ListSolutions operation returned by the service.
- See Also:
-
listSolutions
default ListSolutionsResponse listSolutions(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.
This is a convenience which creates an instance of the
ListSolutionsRequest.Builder
avoiding the need to create one manually viaListSolutionsRequest.builder()
- Parameters:
listSolutionsRequest
- AConsumer
that will call methods onListSolutionsRequest.Builder
to create a request.- Returns:
- Result of the ListSolutions operation returned by the service.
- See Also:
-
listSolutionsPaginator
default ListSolutionsIterable listSolutionsPaginator(ListSolutionsRequest listSolutionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client .listSolutionsPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation.- Parameters:
listSolutionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSolutionsPaginator
default ListSolutionsIterable listSolutionsPaginator(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This is a variant of
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client .listSolutionsPaginator(request); for (software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)
operation.
This is a convenience which creates an instance of the
ListSolutionsRequest.Builder
avoiding the need to create one manually viaListSolutionsRequest.builder()
- Parameters:
listSolutionsRequest
- AConsumer
that will call methods onListSolutionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
rejectEngagementInvitation
default RejectEngagementInvitationResponse rejectEngagementInvitation(RejectEngagementInvitationRequest rejectEngagementInvitationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action rejects an
EngagementInvitation
that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.- Parameters:
rejectEngagementInvitationRequest
-- Returns:
- Result of the RejectEngagementInvitation operation returned by the service.
- See Also:
-
rejectEngagementInvitation
default RejectEngagementInvitationResponse rejectEngagementInvitation(Consumer<RejectEngagementInvitationRequest.Builder> rejectEngagementInvitationRequest) throws ThrottlingException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action rejects an
EngagementInvitation
that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.
This is a convenience which creates an instance of the
RejectEngagementInvitationRequest.Builder
avoiding the need to create one manually viaRejectEngagementInvitationRequest.builder()
- Parameters:
rejectEngagementInvitationRequest
- AConsumer
that will call methods onRejectEngagementInvitationRequest.Builder
to create a request.- Returns:
- Result of the RejectEngagementInvitation operation returned by the service.
- See Also:
-
startEngagementByAcceptingInvitationTask
default StartEngagementByAcceptingInvitationTaskResponse startEngagementByAcceptingInvitationTask(StartEngagementByAcceptingInvitationTaskRequest startEngagementByAcceptingInvitationTaskRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action starts the engagement by accepting an
EngagementInvitation
. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, anOpportunity Created
event is generated, indicating that the opportunity has been successfully created in the partner's account.- Parameters:
startEngagementByAcceptingInvitationTaskRequest
-- Returns:
- Result of the StartEngagementByAcceptingInvitationTask operation returned by the service.
- See Also:
-
startEngagementByAcceptingInvitationTask
default StartEngagementByAcceptingInvitationTaskResponse startEngagementByAcceptingInvitationTask(Consumer<StartEngagementByAcceptingInvitationTaskRequest.Builder> startEngagementByAcceptingInvitationTaskRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action starts the engagement by accepting an
EngagementInvitation
. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, anOpportunity Created
event is generated, indicating that the opportunity has been successfully created in the partner's account.
This is a convenience which creates an instance of the
StartEngagementByAcceptingInvitationTaskRequest.Builder
avoiding the need to create one manually viaStartEngagementByAcceptingInvitationTaskRequest.builder()
- Parameters:
startEngagementByAcceptingInvitationTaskRequest
- AConsumer
that will call methods onStartEngagementByAcceptingInvitationTaskRequest.Builder
to create a request.- Returns:
- Result of the StartEngagementByAcceptingInvitationTask operation returned by the service.
- See Also:
-
startEngagementFromOpportunityTask
default StartEngagementFromOpportunityTaskResponse startEngagementFromOpportunityTask(StartEngagementFromOpportunityTaskRequest startEngagementFromOpportunityTaskRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to
StartEngagementByAcceptingInvitationTask
, this action is asynchronous and performs multiple steps before completion.- Parameters:
startEngagementFromOpportunityTaskRequest
-- Returns:
- Result of the StartEngagementFromOpportunityTask operation returned by the service.
- See Also:
-
startEngagementFromOpportunityTask
default StartEngagementFromOpportunityTaskResponse startEngagementFromOpportunityTask(Consumer<StartEngagementFromOpportunityTaskRequest.Builder> startEngagementFromOpportunityTaskRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to
StartEngagementByAcceptingInvitationTask
, this action is asynchronous and performs multiple steps before completion.
This is a convenience which creates an instance of the
StartEngagementFromOpportunityTaskRequest.Builder
avoiding the need to create one manually viaStartEngagementFromOpportunityTaskRequest.builder()
- Parameters:
startEngagementFromOpportunityTaskRequest
- AConsumer
that will call methods onStartEngagementFromOpportunityTaskRequest.Builder
to create a request.- Returns:
- Result of the StartEngagementFromOpportunityTask operation returned by the service.
- See Also:
-
updateOpportunity
default UpdateOpportunityResponse updateOpportunity(UpdateOpportunityRequest updateOpportunityRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Updates the
Opportunity
record identified by a givenIdentifier
. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to
null
. The best practice is to always perform aGetOpportunity
to retrieve the latest values, then send the complete payload with the updated values to be changed.- Parameters:
updateOpportunityRequest
-- Returns:
- Result of the UpdateOpportunity operation returned by the service.
- See Also:
-
updateOpportunity
default UpdateOpportunityResponse updateOpportunity(Consumer<UpdateOpportunityRequest.Builder> updateOpportunityRequest) throws ThrottlingException, ConflictException, AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, PartnerCentralSellingException Updates the
Opportunity
record identified by a givenIdentifier
. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to
null
. The best practice is to always perform aGetOpportunity
to retrieve the latest values, then send the complete payload with the updated values to be changed.
This is a convenience which creates an instance of the
UpdateOpportunityRequest.Builder
avoiding the need to create one manually viaUpdateOpportunityRequest.builder()
- Parameters:
updateOpportunityRequest
- AConsumer
that will call methods onUpdateOpportunityRequest.Builder
to create a request.- Returns:
- Result of the UpdateOpportunity operation returned by the service.
- See Also:
-
create
Create aPartnerCentralSellingClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aPartnerCentralSellingClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-