Class: Aws::PartnerCentralSelling::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PartnerCentralSelling::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb
Overview
An API client for PartnerCentralSelling. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::PartnerCentralSelling::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#assign_opportunity(params = {}) ⇒ Struct
Enables you to reassign an existing
Opportunity
to another user within your Partner Central account. -
#associate_opportunity(params = {}) ⇒ Struct
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. -
#create_opportunity(params = {}) ⇒ Types::CreateOpportunityResponse
Creates an
Opportunity
record in Partner Central. -
#disassociate_opportunity(params = {}) ⇒ Struct
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. -
#get_aws_opportunity_summary(params = {}) ⇒ Types::GetAwsOpportunitySummaryResponse
Retrieves a summary of an AWS Opportunity.
-
#get_engagement_invitation(params = {}) ⇒ Types::GetEngagementInvitationResponse
Retrieves the details of an engagement invitation shared by AWS with a partner.
-
#get_opportunity(params = {}) ⇒ Types::GetOpportunityResponse
Fetches the
Opportunity
record from Partner Central by a givenIdentifier
. -
#list_engagement_invitations(params = {}) ⇒ Types::ListEngagementInvitationsResponse
Retrieves a list of engagement invitations sent to the partner.
-
#list_opportunities(params = {}) ⇒ Types::ListOpportunitiesResponse
This request accepts a list of filters that retrieve opportunity subsets as well as sort options.
-
#list_solutions(params = {}) ⇒ Types::ListSolutionsResponse
Retrieves a list of Partner Solutions that the partner registered on Partner Central.
-
#reject_engagement_invitation(params = {}) ⇒ Struct
This action rejects an
EngagementInvitation
that AWS shared. -
#start_engagement_by_accepting_invitation_task(params = {}) ⇒ Types::StartEngagementByAcceptingInvitationTaskResponse
This action starts the engagement by accepting an
EngagementInvitation
. -
#start_engagement_from_opportunity_task(params = {}) ⇒ Types::StartEngagementFromOpportunityTaskResponse
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.
-
#update_opportunity(params = {}) ⇒ Types::UpdateOpportunityResponse
Updates the
Opportunity
record identified by a givenIdentifier
.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 451 def initialize(*args) super end |
Instance Method Details
#assign_opportunity(params = {}) ⇒ Struct
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.
506 507 508 509 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 506 def assign_opportunity(params = {}, = {}) req = build_request(:assign_opportunity, params) req.send_request() end |
#associate_opportunity(params = {}) ⇒ Struct
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.
596 597 598 599 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 596 def associate_opportunity(params = {}, = {}) req = build_request(:associate_opportunity, params) req.send_request() end |
#create_opportunity(params = {}) ⇒ Types::CreateOpportunityResponse
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 sets Lifecycle.ReviewStatus
to
Pending 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
the Pending Submission
state.
There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.
871 872 873 874 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 871 def create_opportunity(params = {}, = {}) req = build_request(:create_opportunity, params) req.send_request() end |
#disassociate_opportunity(params = {}) ⇒ Struct
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 to AssociateOpportunity
, 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.
954 955 956 957 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 954 def disassociate_opportunity(params = {}, = {}) req = build_request(:disassociate_opportunity, params) req.send_request() end |
#get_aws_opportunity_summary(params = {}) ⇒ Types::GetAwsOpportunitySummaryResponse
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.
1040 1041 1042 1043 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1040 def get_aws_opportunity_summary(params = {}, = {}) req = build_request(:get_aws_opportunity_summary, params) req.send_request() end |
#get_engagement_invitation(params = {}) ⇒ Types::GetEngagementInvitationResponse
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 opportunity Project.Title
.
1123 1124 1125 1126 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1123 def get_engagement_invitation(params = {}, = {}) req = build_request(:get_engagement_invitation, params) req.send_request() end |
#get_opportunity(params = {}) ⇒ Types::GetOpportunityResponse
Fetches the Opportunity
record from Partner Central by a given
Identifier
.
Use the ListOpportunities
action or the event notification (from
Amazon EventBridge) to obtain this identifier.
1256 1257 1258 1259 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1256 def get_opportunity(params = {}, = {}) req = build_request(:get_opportunity, params) req.send_request() end |
#list_engagement_invitations(params = {}) ⇒ Types::ListEngagementInvitationsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1336 1337 1338 1339 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1336 def list_engagement_invitations(params = {}, = {}) req = build_request(:list_engagement_invitations, params) req.send_request() end |
#list_opportunities(params = {}) ⇒ Types::ListOpportunitiesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1482 1483 1484 1485 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1482 def list_opportunities(params = {}, = {}) req = build_request(:list_opportunities, params) req.send_request() end |
#list_solutions(params = {}) ⇒ Types::ListSolutionsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1564 1565 1566 1567 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1564 def list_solutions(params = {}, = {}) req = build_request(:list_solutions, params) req.send_request() end |
#reject_engagement_invitation(params = {}) ⇒ Struct
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.
1617 1618 1619 1620 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1617 def reject_engagement_invitation(params = {}, = {}) req = build_request(:reject_engagement_invitation, params) req.send_request() end |
#start_engagement_by_accepting_invitation_task(params = {}) ⇒ Types::StartEngagementByAcceptingInvitationTaskResponse
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, an Opportunity Created
event is
generated, indicating that the opportunity has been successfully
created in the partner's account.
1681 1682 1683 1684 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1681 def start_engagement_by_accepting_invitation_task(params = {}, = {}) req = build_request(:start_engagement_by_accepting_invitation_task, params) req.send_request() end |
#start_engagement_from_opportunity_task(params = {}) ⇒ Types::StartEngagementFromOpportunityTaskResponse
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.
1751 1752 1753 1754 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1751 def start_engagement_from_opportunity_task(params = {}, = {}) req = build_request(:start_engagement_from_opportunity_task, params) req.send_request() end |
#update_opportunity(params = {}) ⇒ Types::UpdateOpportunityResponse
Updates the Opportunity
record identified by a given Identifier
.
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 a
GetOpportunity
to retrieve the latest values, then send the complete
payload with the updated values to be changed.
1978 1979 1980 1981 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1978 def update_opportunity(params = {}, = {}) req = build_request(:update_opportunity, params) req.send_request() end |