Interface PartnerCentralSellingAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
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
GetAWSOpportunitySummaryaction. -
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 StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptEngagementInvitation(Consumer<AcceptEngagementInvitationRequest.Builder> acceptEngagementInvitationRequest) Use theAcceptEngagementInvitationaction to accept an engagement invitation shared by AWS.acceptEngagementInvitation(AcceptEngagementInvitationRequest acceptEngagementInvitationRequest) Use theAcceptEngagementInvitationaction to accept an engagement invitation shared by AWS.assignOpportunity(Consumer<AssignOpportunityRequest.Builder> assignOpportunityRequest) Enables you to reassign an existingOpportunityto another user within your Partner Central account.assignOpportunity(AssignOpportunityRequest assignOpportunityRequest) Enables you to reassign an existingOpportunityto another user within your Partner Central account.associateOpportunity(Consumer<AssociateOpportunityRequest.Builder> associateOpportunityRequest) Enables you to create a formal association between anOpportunityand various related entities, enriching the context and details of the opportunity for better collaboration and decision making.associateOpportunity(AssociateOpportunityRequest associateOpportunityRequest) Enables you to create a formal association between anOpportunityand 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 aPartnerCentralSellingAsyncClient.create()Create aPartnerCentralSellingAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createEngagement(Consumer<CreateEngagementRequest.Builder> createEngagementRequest) TheCreateEngagementaction allows you to create anEngagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers.createEngagement(CreateEngagementRequest createEngagementRequest) TheCreateEngagementaction allows you to create anEngagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers.createEngagementInvitation(Consumer<CreateEngagementInvitationRequest.Builder> createEngagementInvitationRequest) This action creates an invitation from a sender to a single receiver to join an engagement.createEngagementInvitation(CreateEngagementInvitationRequest createEngagementInvitationRequest) This action creates an invitation from a sender to a single receiver to join an engagement.createOpportunity(Consumer<CreateOpportunityRequest.Builder> createOpportunityRequest) Creates anOpportunityrecord in Partner Central.createOpportunity(CreateOpportunityRequest createOpportunityRequest) Creates anOpportunityrecord in Partner Central.createResourceSnapshot(Consumer<CreateResourceSnapshotRequest.Builder> createResourceSnapshotRequest) This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement.createResourceSnapshot(CreateResourceSnapshotRequest createResourceSnapshotRequest) This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement.createResourceSnapshotJob(Consumer<CreateResourceSnapshotJobRequest.Builder> createResourceSnapshotJobRequest) Use this action to create a job to generate a snapshot of the specified resource within an engagement.createResourceSnapshotJob(CreateResourceSnapshotJobRequest createResourceSnapshotJobRequest) Use this action to create a job to generate a snapshot of the specified resource within an engagement.deleteResourceSnapshotJob(Consumer<DeleteResourceSnapshotJobRequest.Builder> deleteResourceSnapshotJobRequest) Use this action to deletes a previously created resource snapshot job.deleteResourceSnapshotJob(DeleteResourceSnapshotJobRequest deleteResourceSnapshotJobRequest) Use this action to deletes a previously created resource snapshot job.disassociateOpportunity(Consumer<DisassociateOpportunityRequest.Builder> disassociateOpportunityRequest) Allows you to remove an existing association between anOpportunityand related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer.disassociateOpportunity(DisassociateOpportunityRequest disassociateOpportunityRequest) Allows you to remove an existing association between anOpportunityand related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer.getAwsOpportunitySummary(Consumer<GetAwsOpportunitySummaryRequest.Builder> getAwsOpportunitySummaryRequest) Retrieves a summary of an AWS Opportunity.getAwsOpportunitySummary(GetAwsOpportunitySummaryRequest getAwsOpportunitySummaryRequest) Retrieves a summary of an AWS Opportunity.default CompletableFuture<GetEngagementResponse> getEngagement(Consumer<GetEngagementRequest.Builder> getEngagementRequest) Use this action to retrieve the engagement record for a givenEngagementIdentifier.default CompletableFuture<GetEngagementResponse> getEngagement(GetEngagementRequest getEngagementRequest) Use this action to retrieve the engagement record for a givenEngagementIdentifier.getEngagementInvitation(Consumer<GetEngagementInvitationRequest.Builder> getEngagementInvitationRequest) Retrieves the details of an engagement invitation shared by AWS with a partner.getEngagementInvitation(GetEngagementInvitationRequest getEngagementInvitationRequest) Retrieves the details of an engagement invitation shared by AWS with a partner.default CompletableFuture<GetOpportunityResponse> getOpportunity(Consumer<GetOpportunityRequest.Builder> getOpportunityRequest) Fetches theOpportunityrecord from Partner Central by a givenIdentifier.default CompletableFuture<GetOpportunityResponse> getOpportunity(GetOpportunityRequest getOpportunityRequest) Fetches theOpportunityrecord from Partner Central by a givenIdentifier.getResourceSnapshot(Consumer<GetResourceSnapshotRequest.Builder> getResourceSnapshotRequest) Use this action to retrieve a specific snapshot record.getResourceSnapshot(GetResourceSnapshotRequest getResourceSnapshotRequest) Use this action to retrieve a specific snapshot record.getResourceSnapshotJob(Consumer<GetResourceSnapshotJobRequest.Builder> getResourceSnapshotJobRequest) Use this action to retrieves information about a specific resource snapshot job.getResourceSnapshotJob(GetResourceSnapshotJobRequest getResourceSnapshotJobRequest) Use this action to retrieves information about a specific resource snapshot job.getSellingSystemSettings(Consumer<GetSellingSystemSettingsRequest.Builder> getSellingSystemSettingsRequest) Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.getSellingSystemSettings(GetSellingSystemSettingsRequest getSellingSystemSettingsRequest) Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.listEngagementByAcceptingInvitationTasks(Consumer<ListEngagementByAcceptingInvitationTasksRequest.Builder> listEngagementByAcceptingInvitationTasksRequest) Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.listEngagementByAcceptingInvitationTasks(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest) Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.listEngagementByAcceptingInvitationTasksPaginator(Consumer<ListEngagementByAcceptingInvitationTasksRequest.Builder> listEngagementByAcceptingInvitationTasksRequest) listEngagementByAcceptingInvitationTasksPaginator(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest) listEngagementFromOpportunityTasks(Consumer<ListEngagementFromOpportunityTasksRequest.Builder> listEngagementFromOpportunityTasksRequest) Lists all in-progress, completed, or failedEngagementFromOpportunitytasks that were initiated by the caller's account.listEngagementFromOpportunityTasks(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest) Lists all in-progress, completed, or failedEngagementFromOpportunitytasks that were initiated by the caller's account.listEngagementFromOpportunityTasksPaginator(Consumer<ListEngagementFromOpportunityTasksRequest.Builder> listEngagementFromOpportunityTasksRequest) listEngagementFromOpportunityTasksPaginator(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest) 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.listEngagementMembers(Consumer<ListEngagementMembersRequest.Builder> listEngagementMembersRequest) Retrieves the details of member partners in an Engagement.listEngagementMembers(ListEngagementMembersRequest listEngagementMembersRequest) Retrieves the details of member partners in an Engagement.default ListEngagementMembersPublisherlistEngagementMembersPaginator(Consumer<ListEngagementMembersRequest.Builder> listEngagementMembersRequest) This is a variant oflistEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation.default ListEngagementMembersPublisherlistEngagementMembersPaginator(ListEngagementMembersRequest listEngagementMembersRequest) This is a variant oflistEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation.listEngagementResourceAssociations(Consumer<ListEngagementResourceAssociationsRequest.Builder> listEngagementResourceAssociationsRequest) Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.listEngagementResourceAssociations(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest) Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.listEngagementResourceAssociationsPaginator(Consumer<ListEngagementResourceAssociationsRequest.Builder> listEngagementResourceAssociationsRequest) listEngagementResourceAssociationsPaginator(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest) default CompletableFuture<ListEngagementsResponse> listEngagements(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This action allows users to retrieve a list of Engagement records from Partner Central.default CompletableFuture<ListEngagementsResponse> listEngagements(ListEngagementsRequest listEngagementsRequest) This action allows users to retrieve a list of Engagement records from Partner Central.default ListEngagementsPublisherlistEngagementsPaginator(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This is a variant oflistEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation.default ListEngagementsPublisherlistEngagementsPaginator(ListEngagementsRequest listEngagementsRequest) This is a variant oflistEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation.listOpportunities(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) This request accepts a list of filters that retrieve opportunity subsets as well as sort options.listOpportunities(ListOpportunitiesRequest listOpportunitiesRequest) This request accepts a list of filters that retrieve opportunity subsets as well as sort options.default ListOpportunitiesPublisherlistOpportunitiesPaginator(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) This is a variant oflistOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)operation.default ListOpportunitiesPublisherlistOpportunitiesPaginator(ListOpportunitiesRequest listOpportunitiesRequest) This is a variant oflistOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)operation.listResourceSnapshotJobs(Consumer<ListResourceSnapshotJobsRequest.Builder> listResourceSnapshotJobsRequest) Lists resource snapshot jobs owned by the customer.listResourceSnapshotJobs(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest) Lists resource snapshot jobs owned by the customer.listResourceSnapshotJobsPaginator(Consumer<ListResourceSnapshotJobsRequest.Builder> listResourceSnapshotJobsRequest) This is a variant oflistResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation.listResourceSnapshotJobsPaginator(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest) This is a variant oflistResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation.listResourceSnapshots(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest) Retrieves a list of resource view snapshots based on specified criteria.listResourceSnapshots(ListResourceSnapshotsRequest listResourceSnapshotsRequest) Retrieves a list of resource view snapshots based on specified criteria.default ListResourceSnapshotsPublisherlistResourceSnapshotsPaginator(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest) This is a variant oflistResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation.default ListResourceSnapshotsPublisherlistResourceSnapshotsPaginator(ListResourceSnapshotsRequest listResourceSnapshotsRequest) This is a variant oflistResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation.default CompletableFuture<ListSolutionsResponse> listSolutions(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) Retrieves a list of Partner Solutions that the partner registered on Partner Central.default CompletableFuture<ListSolutionsResponse> listSolutions(ListSolutionsRequest listSolutionsRequest) Retrieves a list of Partner Solutions that the partner registered on Partner Central.default ListSolutionsPublisherlistSolutionsPaginator(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) This is a variant oflistSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)operation.default ListSolutionsPublisherlistSolutionsPaginator(ListSolutionsRequest listSolutionsRequest) This is a variant oflistSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a resource.putSellingSystemSettings(Consumer<PutSellingSystemSettingsRequest.Builder> putSellingSystemSettingsRequest) Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.putSellingSystemSettings(PutSellingSystemSettingsRequest putSellingSystemSettingsRequest) Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.rejectEngagementInvitation(Consumer<RejectEngagementInvitationRequest.Builder> rejectEngagementInvitationRequest) This action rejects anEngagementInvitationthat AWS shared.rejectEngagementInvitation(RejectEngagementInvitationRequest rejectEngagementInvitationRequest) This action rejects anEngagementInvitationthat AWS shared.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartEngagementByAcceptingInvitationTask(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) Similar toStartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion.startEngagementFromOpportunityTask(StartEngagementFromOpportunityTaskRequest startEngagementFromOpportunityTaskRequest) Similar toStartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion.startResourceSnapshotJob(Consumer<StartResourceSnapshotJobRequest.Builder> startResourceSnapshotJobRequest) Starts a resource snapshot job that has been previously created.startResourceSnapshotJob(StartResourceSnapshotJobRequest startResourceSnapshotJobRequest) Starts a resource snapshot job that has been previously created.stopResourceSnapshotJob(Consumer<StopResourceSnapshotJobRequest.Builder> stopResourceSnapshotJobRequest) Stops a resource snapshot job.stopResourceSnapshotJob(StopResourceSnapshotJobRequest stopResourceSnapshotJobRequest) Stops a resource snapshot job.submitOpportunity(Consumer<SubmitOpportunityRequest.Builder> submitOpportunityRequest) Use this action to submit an Opportunity that was previously created by partner for AWS review.submitOpportunity(SubmitOpportunityRequest submitOpportunityRequest) Use this action to submit an Opportunity that was previously created by partner for AWS review.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag or tags from a resource.updateOpportunity(Consumer<UpdateOpportunityRequest.Builder> updateOpportunityRequest) Updates theOpportunityrecord identified by a givenIdentifier.updateOpportunity(UpdateOpportunityRequest updateOpportunityRequest) Updates theOpportunityrecord identified by a givenIdentifier.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
acceptEngagementInvitation
default CompletableFuture<AcceptEngagementInvitationResponse> acceptEngagementInvitation(AcceptEngagementInvitationRequest acceptEngagementInvitationRequest) Use the
AcceptEngagementInvitationaction to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.- Parameters:
acceptEngagementInvitationRequest-- Returns:
- A Java Future containing the result of the AcceptEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
acceptEngagementInvitation
default CompletableFuture<AcceptEngagementInvitationResponse> acceptEngagementInvitation(Consumer<AcceptEngagementInvitationRequest.Builder> acceptEngagementInvitationRequest) Use the
AcceptEngagementInvitationaction to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.
This is a convenience which creates an instance of the
AcceptEngagementInvitationRequest.Builderavoiding the need to create one manually viaAcceptEngagementInvitationRequest.builder()- Parameters:
acceptEngagementInvitationRequest- AConsumerthat will call methods onAcceptEngagementInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AcceptEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
assignOpportunity
default CompletableFuture<AssignOpportunityResponse> assignOpportunity(AssignOpportunityRequest assignOpportunityRequest) Enables you to reassign an existing
Opportunityto 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:
- A Java Future containing the result of the AssignOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
assignOpportunity
default CompletableFuture<AssignOpportunityResponse> assignOpportunity(Consumer<AssignOpportunityRequest.Builder> assignOpportunityRequest) Enables you to reassign an existing
Opportunityto 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.Builderavoiding the need to create one manually viaAssignOpportunityRequest.builder()- Parameters:
assignOpportunityRequest- AConsumerthat will call methods onAssignOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssignOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
associateOpportunity
default CompletableFuture<AssociateOpportunityResponse> associateOpportunity(AssociateOpportunityRequest associateOpportunityRequest) Enables you to create a formal association between an
Opportunityand 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
ListSolutionsoperation. -
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
ListEntitiesoperation to retrieve a list of private offers. The request returns the details of available private offers. For more information, see ListEntities.
- Parameters:
associateOpportunityRequest-- Returns:
- A Java Future containing the result of the AssociateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
associateOpportunity
default CompletableFuture<AssociateOpportunityResponse> associateOpportunity(Consumer<AssociateOpportunityRequest.Builder> associateOpportunityRequest) Enables you to create a formal association between an
Opportunityand 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
ListSolutionsoperation. -
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
ListEntitiesoperation 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.Builderavoiding the need to create one manually viaAssociateOpportunityRequest.builder()- Parameters:
associateOpportunityRequest- AConsumerthat will call methods onAssociateOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
createEngagement
default CompletableFuture<CreateEngagementResponse> createEngagement(CreateEngagementRequest createEngagementRequest) The
CreateEngagementaction allows you to create anEngagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. This action automatically adds the caller's AWS account as an active member of the newly createdEngagement.- Parameters:
createEngagementRequest-- Returns:
- A Java Future containing the result of the CreateEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createEngagement
default CompletableFuture<CreateEngagementResponse> createEngagement(Consumer<CreateEngagementRequest.Builder> createEngagementRequest) The
CreateEngagementaction allows you to create anEngagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. This action automatically adds the caller's AWS account as an active member of the newly createdEngagement.
This is a convenience which creates an instance of the
CreateEngagementRequest.Builderavoiding the need to create one manually viaCreateEngagementRequest.builder()- Parameters:
createEngagementRequest- AConsumerthat will call methods onCreateEngagementRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createEngagementInvitation
default CompletableFuture<CreateEngagementInvitationResponse> createEngagementInvitation(CreateEngagementInvitationRequest createEngagementInvitationRequest) This action creates an invitation from a sender to a single receiver to join an engagement.
- Parameters:
createEngagementInvitationRequest-- Returns:
- A Java Future containing the result of the CreateEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createEngagementInvitation
default CompletableFuture<CreateEngagementInvitationResponse> createEngagementInvitation(Consumer<CreateEngagementInvitationRequest.Builder> createEngagementInvitationRequest) This action creates an invitation from a sender to a single receiver to join an engagement.
This is a convenience which creates an instance of the
CreateEngagementInvitationRequest.Builderavoiding the need to create one manually viaCreateEngagementInvitationRequest.builder()- Parameters:
createEngagementInvitationRequest- AConsumerthat will call methods onCreateEngagementInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createOpportunity
default CompletableFuture<CreateOpportunityResponse> createOpportunity(CreateOpportunityRequest createOpportunityRequest) Creates an
Opportunityrecord in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity setsLifecycle.ReviewStatustoPending Submission.To submit an opportunity, follow these steps:
-
To create the opportunity, use
CreateOpportunity. -
To associate a solution with the opportunity, use
AssociateOpportunity. -
To start the engagement with AWS, use
StartEngagementFromOpportunity.
After submission, you can't edit the opportunity until the review is complete. But opportunities in the
Pending Submissionstate must have complete details. You can update the opportunity while it's in thePending Submissionstate.There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.
- Parameters:
createOpportunityRequest-- Returns:
- A Java Future containing the result of the CreateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
-
createOpportunity
default CompletableFuture<CreateOpportunityResponse> createOpportunity(Consumer<CreateOpportunityRequest.Builder> createOpportunityRequest) Creates an
Opportunityrecord in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity setsLifecycle.ReviewStatustoPending Submission.To submit an opportunity, follow these steps:
-
To create the opportunity, use
CreateOpportunity. -
To associate a solution with the opportunity, use
AssociateOpportunity. -
To start the engagement with AWS, use
StartEngagementFromOpportunity.
After submission, you can't edit the opportunity until the review is complete. But opportunities in the
Pending Submissionstate must have complete details. You can update the opportunity while it's in thePending Submissionstate.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.Builderavoiding the need to create one manually viaCreateOpportunityRequest.builder()- Parameters:
createOpportunityRequest- AConsumerthat will call methods onCreateOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
-
createResourceSnapshot
default CompletableFuture<CreateResourceSnapshotResponse> createResourceSnapshot(CreateResourceSnapshotRequest createResourceSnapshotRequest) This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.
- Parameters:
createResourceSnapshotRequest-- Returns:
- A Java Future containing the result of the CreateResourceSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createResourceSnapshot
default CompletableFuture<CreateResourceSnapshotResponse> createResourceSnapshot(Consumer<CreateResourceSnapshotRequest.Builder> createResourceSnapshotRequest) This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.
This is a convenience which creates an instance of the
CreateResourceSnapshotRequest.Builderavoiding the need to create one manually viaCreateResourceSnapshotRequest.builder()- Parameters:
createResourceSnapshotRequest- AConsumerthat will call methods onCreateResourceSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateResourceSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createResourceSnapshotJob
default CompletableFuture<CreateResourceSnapshotJobResponse> createResourceSnapshotJob(CreateResourceSnapshotJobRequest createResourceSnapshotJobRequest) Use this action to create a job to generate a snapshot of the specified resource within an engagement. It initiates an asynchronous process to create a resource snapshot. The job creates a new snapshot only if the resource state has changed, adhering to the same access control and immutability rules as direct snapshot creation.
- Parameters:
createResourceSnapshotJobRequest-- Returns:
- A Java Future containing the result of the CreateResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
createResourceSnapshotJob
default CompletableFuture<CreateResourceSnapshotJobResponse> createResourceSnapshotJob(Consumer<CreateResourceSnapshotJobRequest.Builder> createResourceSnapshotJobRequest) Use this action to create a job to generate a snapshot of the specified resource within an engagement. It initiates an asynchronous process to create a resource snapshot. The job creates a new snapshot only if the resource state has changed, adhering to the same access control and immutability rules as direct snapshot creation.
This is a convenience which creates an instance of the
CreateResourceSnapshotJobRequest.Builderavoiding the need to create one manually viaCreateResourceSnapshotJobRequest.builder()- Parameters:
createResourceSnapshotJobRequest- AConsumerthat will call methods onCreateResourceSnapshotJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
deleteResourceSnapshotJob
default CompletableFuture<DeleteResourceSnapshotJobResponse> deleteResourceSnapshotJob(DeleteResourceSnapshotJobRequest deleteResourceSnapshotJobRequest) Use this action to deletes a previously created resource snapshot job. The job must be in a stopped state before it can be deleted.
- Parameters:
deleteResourceSnapshotJobRequest-- Returns:
- A Java Future containing the result of the DeleteResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
deleteResourceSnapshotJob
default CompletableFuture<DeleteResourceSnapshotJobResponse> deleteResourceSnapshotJob(Consumer<DeleteResourceSnapshotJobRequest.Builder> deleteResourceSnapshotJobRequest) Use this action to deletes a previously created resource snapshot job. The job must be in a stopped state before it can be deleted.
This is a convenience which creates an instance of the
DeleteResourceSnapshotJobRequest.Builderavoiding the need to create one manually viaDeleteResourceSnapshotJobRequest.builder()- Parameters:
deleteResourceSnapshotJobRequest- AConsumerthat will call methods onDeleteResourceSnapshotJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
disassociateOpportunity
default CompletableFuture<DisassociateOpportunityResponse> disassociateOpportunity(DisassociateOpportunityRequest disassociateOpportunityRequest) Allows you to remove an existing association between an
Opportunityand 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
Opportunitydue 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:
- A Java Future containing the result of the DisassociateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
disassociateOpportunity
default CompletableFuture<DisassociateOpportunityResponse> disassociateOpportunity(Consumer<DisassociateOpportunityRequest.Builder> disassociateOpportunityRequest) Allows you to remove an existing association between an
Opportunityand 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
Opportunitydue 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.Builderavoiding the need to create one manually viaDisassociateOpportunityRequest.builder()- Parameters:
disassociateOpportunityRequest- AConsumerthat will call methods onDisassociateOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getAwsOpportunitySummary
default CompletableFuture<GetAwsOpportunitySummaryResponse> getAwsOpportunitySummary(GetAwsOpportunitySummaryRequest getAwsOpportunitySummaryRequest) 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:
- A Java Future containing the result of the GetAwsOpportunitySummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getAwsOpportunitySummary
default CompletableFuture<GetAwsOpportunitySummaryResponse> getAwsOpportunitySummary(Consumer<GetAwsOpportunitySummaryRequest.Builder> getAwsOpportunitySummaryRequest) 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.Builderavoiding the need to create one manually viaGetAwsOpportunitySummaryRequest.builder()- Parameters:
getAwsOpportunitySummaryRequest- AConsumerthat will call methods onGetAwsOpportunitySummaryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAwsOpportunitySummary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getEngagement
default CompletableFuture<GetEngagementResponse> getEngagement(GetEngagementRequest getEngagementRequest) Use this action to retrieve the engagement record for a given
EngagementIdentifier.- Parameters:
getEngagementRequest-- Returns:
- A Java Future containing the result of the GetEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getEngagement
default CompletableFuture<GetEngagementResponse> getEngagement(Consumer<GetEngagementRequest.Builder> getEngagementRequest) Use this action to retrieve the engagement record for a given
EngagementIdentifier.
This is a convenience which creates an instance of the
GetEngagementRequest.Builderavoiding the need to create one manually viaGetEngagementRequest.builder()- Parameters:
getEngagementRequest- AConsumerthat will call methods onGetEngagementRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getEngagementInvitation
default CompletableFuture<GetEngagementInvitationResponse> getEngagementInvitation(GetEngagementInvitationRequest getEngagementInvitationRequest) 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.Titlewith opportunityProject.Title.- Parameters:
getEngagementInvitationRequest-- Returns:
- A Java Future containing the result of the GetEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getEngagementInvitation
default CompletableFuture<GetEngagementInvitationResponse> getEngagementInvitation(Consumer<GetEngagementInvitationRequest.Builder> getEngagementInvitationRequest) 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.Titlewith opportunityProject.Title.
This is a convenience which creates an instance of the
GetEngagementInvitationRequest.Builderavoiding the need to create one manually viaGetEngagementInvitationRequest.builder()- Parameters:
getEngagementInvitationRequest- AConsumerthat will call methods onGetEngagementInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getOpportunity
default CompletableFuture<GetOpportunityResponse> getOpportunity(GetOpportunityRequest getOpportunityRequest) Fetches the
Opportunityrecord from Partner Central by a givenIdentifier.Use the
ListOpportunitiesaction or the event notification (from Amazon EventBridge) to obtain this identifier.- Parameters:
getOpportunityRequest-- Returns:
- A Java Future containing the result of the GetOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getOpportunity
default CompletableFuture<GetOpportunityResponse> getOpportunity(Consumer<GetOpportunityRequest.Builder> getOpportunityRequest) Fetches the
Opportunityrecord from Partner Central by a givenIdentifier.Use the
ListOpportunitiesaction or the event notification (from Amazon EventBridge) to obtain this identifier.
This is a convenience which creates an instance of the
GetOpportunityRequest.Builderavoiding the need to create one manually viaGetOpportunityRequest.builder()- Parameters:
getOpportunityRequest- AConsumerthat will call methods onGetOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getResourceSnapshot
default CompletableFuture<GetResourceSnapshotResponse> getResourceSnapshot(GetResourceSnapshotRequest getResourceSnapshotRequest) Use this action to retrieve a specific snapshot record.
- Parameters:
getResourceSnapshotRequest-- Returns:
- A Java Future containing the result of the GetResourceSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getResourceSnapshot
default CompletableFuture<GetResourceSnapshotResponse> getResourceSnapshot(Consumer<GetResourceSnapshotRequest.Builder> getResourceSnapshotRequest) Use this action to retrieve a specific snapshot record.
This is a convenience which creates an instance of the
GetResourceSnapshotRequest.Builderavoiding the need to create one manually viaGetResourceSnapshotRequest.builder()- Parameters:
getResourceSnapshotRequest- AConsumerthat will call methods onGetResourceSnapshotRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourceSnapshot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getResourceSnapshotJob
default CompletableFuture<GetResourceSnapshotJobResponse> getResourceSnapshotJob(GetResourceSnapshotJobRequest getResourceSnapshotJobRequest) Use this action to retrieves information about a specific resource snapshot job.
- Parameters:
getResourceSnapshotJobRequest-- Returns:
- A Java Future containing the result of the GetResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getResourceSnapshotJob
default CompletableFuture<GetResourceSnapshotJobResponse> getResourceSnapshotJob(Consumer<GetResourceSnapshotJobRequest.Builder> getResourceSnapshotJobRequest) Use this action to retrieves information about a specific resource snapshot job.
This is a convenience which creates an instance of the
GetResourceSnapshotJobRequest.Builderavoiding the need to create one manually viaGetResourceSnapshotJobRequest.builder()- Parameters:
getResourceSnapshotJobRequest- AConsumerthat will call methods onGetResourceSnapshotJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getSellingSystemSettings
default CompletableFuture<GetSellingSystemSettingsResponse> getSellingSystemSettings(GetSellingSystemSettingsRequest getSellingSystemSettingsRequest) Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.
- Parameters:
getSellingSystemSettingsRequest-- Returns:
- A Java Future containing the result of the GetSellingSystemSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
getSellingSystemSettings
default CompletableFuture<GetSellingSystemSettingsResponse> getSellingSystemSettings(Consumer<GetSellingSystemSettingsRequest.Builder> getSellingSystemSettingsRequest) Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.
This is a convenience which creates an instance of the
GetSellingSystemSettingsRequest.Builderavoiding the need to create one manually viaGetSellingSystemSettingsRequest.builder()- Parameters:
getSellingSystemSettingsRequest- AConsumerthat will call methods onGetSellingSystemSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSellingSystemSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementByAcceptingInvitationTasks
default CompletableFuture<ListEngagementByAcceptingInvitationTasksResponse> listEngagementByAcceptingInvitationTasks(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest) Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.
- Parameters:
listEngagementByAcceptingInvitationTasksRequest-- Returns:
- A Java Future containing the result of the ListEngagementByAcceptingInvitationTasks operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementByAcceptingInvitationTasks
default CompletableFuture<ListEngagementByAcceptingInvitationTasksResponse> listEngagementByAcceptingInvitationTasks(Consumer<ListEngagementByAcceptingInvitationTasksRequest.Builder> listEngagementByAcceptingInvitationTasksRequest) Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.
This is a convenience which creates an instance of the
ListEngagementByAcceptingInvitationTasksRequest.Builderavoiding the need to create one manually viaListEngagementByAcceptingInvitationTasksRequest.builder()- Parameters:
listEngagementByAcceptingInvitationTasksRequest- AConsumerthat will call methods onListEngagementByAcceptingInvitationTasksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagementByAcceptingInvitationTasks operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementByAcceptingInvitationTasksPaginator
default ListEngagementByAcceptingInvitationTasksPublisher listEngagementByAcceptingInvitationTasksPaginator(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest) This is a variant of
listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksPublisher publisher = client.listEngagementByAcceptingInvitationTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksPublisher publisher = client.listEngagementByAcceptingInvitationTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksResponse response) { //... }; });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
listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest)operation.- Parameters:
listEngagementByAcceptingInvitationTasksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementByAcceptingInvitationTasksPaginator
default ListEngagementByAcceptingInvitationTasksPublisher listEngagementByAcceptingInvitationTasksPaginator(Consumer<ListEngagementByAcceptingInvitationTasksRequest.Builder> listEngagementByAcceptingInvitationTasksRequest) This is a variant of
listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksPublisher publisher = client.listEngagementByAcceptingInvitationTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksPublisher publisher = client.listEngagementByAcceptingInvitationTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksResponse response) { //... }; });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
listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest)operation.
This is a convenience which creates an instance of the
ListEngagementByAcceptingInvitationTasksRequest.Builderavoiding the need to create one manually viaListEngagementByAcceptingInvitationTasksRequest.builder()- Parameters:
listEngagementByAcceptingInvitationTasksRequest- AConsumerthat will call methods onListEngagementByAcceptingInvitationTasksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementFromOpportunityTasks
default CompletableFuture<ListEngagementFromOpportunityTasksResponse> listEngagementFromOpportunityTasks(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest) Lists all in-progress, completed, or failed
EngagementFromOpportunitytasks that were initiated by the caller's account.- Parameters:
listEngagementFromOpportunityTasksRequest-- Returns:
- A Java Future containing the result of the ListEngagementFromOpportunityTasks operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementFromOpportunityTasks
default CompletableFuture<ListEngagementFromOpportunityTasksResponse> listEngagementFromOpportunityTasks(Consumer<ListEngagementFromOpportunityTasksRequest.Builder> listEngagementFromOpportunityTasksRequest) Lists all in-progress, completed, or failed
EngagementFromOpportunitytasks that were initiated by the caller's account.
This is a convenience which creates an instance of the
ListEngagementFromOpportunityTasksRequest.Builderavoiding the need to create one manually viaListEngagementFromOpportunityTasksRequest.builder()- Parameters:
listEngagementFromOpportunityTasksRequest- AConsumerthat will call methods onListEngagementFromOpportunityTasksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagementFromOpportunityTasks operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementFromOpportunityTasksPaginator
default ListEngagementFromOpportunityTasksPublisher listEngagementFromOpportunityTasksPaginator(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest) This is a variant of
listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksPublisher publisher = client.listEngagementFromOpportunityTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksPublisher publisher = client.listEngagementFromOpportunityTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse response) { //... }; });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
listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest)operation.- Parameters:
listEngagementFromOpportunityTasksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementFromOpportunityTasksPaginator
default ListEngagementFromOpportunityTasksPublisher listEngagementFromOpportunityTasksPaginator(Consumer<ListEngagementFromOpportunityTasksRequest.Builder> listEngagementFromOpportunityTasksRequest) This is a variant of
listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksPublisher publisher = client.listEngagementFromOpportunityTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksPublisher publisher = client.listEngagementFromOpportunityTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse response) { //... }; });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
listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest)operation.
This is a convenience which creates an instance of the
ListEngagementFromOpportunityTasksRequest.Builderavoiding the need to create one manually viaListEngagementFromOpportunityTasksRequest.builder()- Parameters:
listEngagementFromOpportunityTasksRequest- AConsumerthat will call methods onListEngagementFromOpportunityTasksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementInvitations
default CompletableFuture<ListEngagementInvitationsResponse> listEngagementInvitations(ListEngagementInvitationsRequest listEngagementInvitationsRequest) 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:
- A Java Future containing the result of the ListEngagementInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementInvitations
default CompletableFuture<ListEngagementInvitationsResponse> listEngagementInvitations(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) 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.Builderavoiding the need to create one manually viaListEngagementInvitationsRequest.builder()- Parameters:
listEngagementInvitationsRequest- AConsumerthat will call methods onListEngagementInvitationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagementInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementInvitationsPaginator
default ListEngagementInvitationsPublisher listEngagementInvitationsPaginator(ListEngagementInvitationsRequest listEngagementInvitationsRequest) This is a variant of
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsPublisher publisher = client.listEngagementInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsPublisher publisher = client.listEngagementInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementInvitationsPaginator
default ListEngagementInvitationsPublisher listEngagementInvitationsPaginator(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest) This is a variant of
listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsPublisher publisher = client.listEngagementInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsPublisher publisher = client.listEngagementInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListEngagementInvitationsRequest.builder()- Parameters:
listEngagementInvitationsRequest- AConsumerthat will call methods onListEngagementInvitationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementMembers
default CompletableFuture<ListEngagementMembersResponse> listEngagementMembers(ListEngagementMembersRequest listEngagementMembersRequest) Retrieves the details of member partners in an Engagement. This operation can only be invoked by members of the Engagement. The
ListEngagementMembersoperation allows you to fetch information about the members of a specific Engagement. This action is restricted to members of the Engagement being queried.- Parameters:
listEngagementMembersRequest-- Returns:
- A Java Future containing the result of the ListEngagementMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementMembers
default CompletableFuture<ListEngagementMembersResponse> listEngagementMembers(Consumer<ListEngagementMembersRequest.Builder> listEngagementMembersRequest) Retrieves the details of member partners in an Engagement. This operation can only be invoked by members of the Engagement. The
ListEngagementMembersoperation allows you to fetch information about the members of a specific Engagement. This action is restricted to members of the Engagement being queried.
This is a convenience which creates an instance of the
ListEngagementMembersRequest.Builderavoiding the need to create one manually viaListEngagementMembersRequest.builder()- Parameters:
listEngagementMembersRequest- AConsumerthat will call methods onListEngagementMembersRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagementMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementMembersPaginator
default ListEngagementMembersPublisher listEngagementMembersPaginator(ListEngagementMembersRequest listEngagementMembersRequest) This is a variant of
listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersPublisher publisher = client.listEngagementMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersPublisher publisher = client.listEngagementMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse response) { //... }; });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
listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation.- Parameters:
listEngagementMembersRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementMembersPaginator
default ListEngagementMembersPublisher listEngagementMembersPaginator(Consumer<ListEngagementMembersRequest.Builder> listEngagementMembersRequest) This is a variant of
listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersPublisher publisher = client.listEngagementMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersPublisher publisher = client.listEngagementMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse response) { //... }; });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
listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest)operation.
This is a convenience which creates an instance of the
ListEngagementMembersRequest.Builderavoiding the need to create one manually viaListEngagementMembersRequest.builder()- Parameters:
listEngagementMembersRequest- AConsumerthat will call methods onListEngagementMembersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementResourceAssociations
default CompletableFuture<ListEngagementResourceAssociationsResponse> listEngagementResourceAssociations(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest) Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.
- Parameters:
listEngagementResourceAssociationsRequest-- Returns:
- A Java Future containing the result of the ListEngagementResourceAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementResourceAssociations
default CompletableFuture<ListEngagementResourceAssociationsResponse> listEngagementResourceAssociations(Consumer<ListEngagementResourceAssociationsRequest.Builder> listEngagementResourceAssociationsRequest) Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.
This is a convenience which creates an instance of the
ListEngagementResourceAssociationsRequest.Builderavoiding the need to create one manually viaListEngagementResourceAssociationsRequest.builder()- Parameters:
listEngagementResourceAssociationsRequest- AConsumerthat will call methods onListEngagementResourceAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagementResourceAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementResourceAssociationsPaginator
default ListEngagementResourceAssociationsPublisher listEngagementResourceAssociationsPaginator(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest) This is a variant of
listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsPublisher publisher = client.listEngagementResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsPublisher publisher = client.listEngagementResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse response) { //... }; });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
listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest)operation.- Parameters:
listEngagementResourceAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementResourceAssociationsPaginator
default ListEngagementResourceAssociationsPublisher listEngagementResourceAssociationsPaginator(Consumer<ListEngagementResourceAssociationsRequest.Builder> listEngagementResourceAssociationsRequest) This is a variant of
listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsPublisher publisher = client.listEngagementResourceAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsPublisher publisher = client.listEngagementResourceAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse response) { //... }; });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
listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListEngagementResourceAssociationsRequest.Builderavoiding the need to create one manually viaListEngagementResourceAssociationsRequest.builder()- Parameters:
listEngagementResourceAssociationsRequest- AConsumerthat will call methods onListEngagementResourceAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagements
default CompletableFuture<ListEngagementsResponse> listEngagements(ListEngagementsRequest listEngagementsRequest) This action allows users to retrieve a list of Engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process.
- Parameters:
listEngagementsRequest-- Returns:
- A Java Future containing the result of the ListEngagements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagements
default CompletableFuture<ListEngagementsResponse> listEngagements(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This action allows users to retrieve a list of Engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process.
This is a convenience which creates an instance of the
ListEngagementsRequest.Builderavoiding the need to create one manually viaListEngagementsRequest.builder()- Parameters:
listEngagementsRequest- AConsumerthat will call methods onListEngagementsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEngagements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementsPaginator
default ListEngagementsPublisher listEngagementsPaginator(ListEngagementsRequest listEngagementsRequest) This is a variant of
listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse response) { //... }; });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
listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation.- Parameters:
listEngagementsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listEngagementsPaginator
default ListEngagementsPublisher listEngagementsPaginator(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This is a variant of
listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse response) { //... }; });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
listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest)operation.
This is a convenience which creates an instance of the
ListEngagementsRequest.Builderavoiding the need to create one manually viaListEngagementsRequest.builder()- Parameters:
listEngagementsRequest- AConsumerthat will call methods onListEngagementsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listOpportunities
default CompletableFuture<ListOpportunitiesResponse> listOpportunities(ListOpportunitiesRequest listOpportunitiesRequest) 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
ListOpportunitiesAPI action.To synchronize your system with Amazon Web Services, list only 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
ListOpportunitiesaction.We recommend the following approach:
-
Find the latest
LastModifiedDatethat 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
ListOpportunitiesrequest, submit the date in ISO 8601 format in theAfterLastModifiedDatefilter. -
Amazon Web Services only returns opportunities created or updated on or after that date and time. Use
NextTokento iterate over all pages.
- Parameters:
listOpportunitiesRequest-- Returns:
- A Java Future containing the result of the ListOpportunities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
listOpportunities
default CompletableFuture<ListOpportunitiesResponse> listOpportunities(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) 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
ListOpportunitiesAPI action.To synchronize your system with Amazon Web Services, list only 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
ListOpportunitiesaction.We recommend the following approach:
-
Find the latest
LastModifiedDatethat 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
ListOpportunitiesrequest, submit the date in ISO 8601 format in theAfterLastModifiedDatefilter. -
Amazon Web Services only returns opportunities created or updated on or after that date and time. Use
NextTokento iterate over all pages.
This is a convenience which creates an instance of the
ListOpportunitiesRequest.Builderavoiding the need to create one manually viaListOpportunitiesRequest.builder()- Parameters:
listOpportunitiesRequest- AConsumerthat will call methods onListOpportunitiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListOpportunities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
listOpportunitiesPaginator
default ListOpportunitiesPublisher listOpportunitiesPaginator(ListOpportunitiesRequest listOpportunitiesRequest) This is a variant of
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesPublisher publisher = client.listOpportunitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesPublisher publisher = client.listOpportunitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listOpportunitiesPaginator
default ListOpportunitiesPublisher listOpportunitiesPaginator(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest) This is a variant of
listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesPublisher publisher = client.listOpportunitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesPublisher publisher = client.listOpportunitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListOpportunitiesRequest.builder()- Parameters:
listOpportunitiesRequest- AConsumerthat will call methods onListOpportunitiesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshotJobs
default CompletableFuture<ListResourceSnapshotJobsResponse> listResourceSnapshotJobs(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest) Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters.
- Parameters:
listResourceSnapshotJobsRequest-- Returns:
- A Java Future containing the result of the ListResourceSnapshotJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshotJobs
default CompletableFuture<ListResourceSnapshotJobsResponse> listResourceSnapshotJobs(Consumer<ListResourceSnapshotJobsRequest.Builder> listResourceSnapshotJobsRequest) Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters.
This is a convenience which creates an instance of the
ListResourceSnapshotJobsRequest.Builderavoiding the need to create one manually viaListResourceSnapshotJobsRequest.builder()- Parameters:
listResourceSnapshotJobsRequest- AConsumerthat will call methods onListResourceSnapshotJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceSnapshotJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshotJobsPaginator
default ListResourceSnapshotJobsPublisher listResourceSnapshotJobsPaginator(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest) This is a variant of
listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsPublisher publisher = client.listResourceSnapshotJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsPublisher publisher = client.listResourceSnapshotJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse response) { //... }; });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
listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation.- Parameters:
listResourceSnapshotJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshotJobsPaginator
default ListResourceSnapshotJobsPublisher listResourceSnapshotJobsPaginator(Consumer<ListResourceSnapshotJobsRequest.Builder> listResourceSnapshotJobsRequest) This is a variant of
listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsPublisher publisher = client.listResourceSnapshotJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsPublisher publisher = client.listResourceSnapshotJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse response) { //... }; });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
listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest)operation.
This is a convenience which creates an instance of the
ListResourceSnapshotJobsRequest.Builderavoiding the need to create one manually viaListResourceSnapshotJobsRequest.builder()- Parameters:
listResourceSnapshotJobsRequest- AConsumerthat will call methods onListResourceSnapshotJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshots
default CompletableFuture<ListResourceSnapshotsResponse> listResourceSnapshots(ListResourceSnapshotsRequest listResourceSnapshotsRequest) Retrieves a list of resource view snapshots based on specified criteria. This operation supports various use cases, including:
-
Fetching all snapshots associated with an engagement.
-
Retrieving snapshots of a specific resource type within an engagement.
-
Obtaining snapshots for a particular resource using a specified template.
-
Accessing the latest snapshot of a resource within an engagement.
-
Filtering snapshots by resource owner.
- Parameters:
listResourceSnapshotsRequest-- Returns:
- A Java Future containing the result of the ListResourceSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
listResourceSnapshots
default CompletableFuture<ListResourceSnapshotsResponse> listResourceSnapshots(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest) Retrieves a list of resource view snapshots based on specified criteria. This operation supports various use cases, including:
-
Fetching all snapshots associated with an engagement.
-
Retrieving snapshots of a specific resource type within an engagement.
-
Obtaining snapshots for a particular resource using a specified template.
-
Accessing the latest snapshot of a resource within an engagement.
-
Filtering snapshots by resource owner.
This is a convenience which creates an instance of the
ListResourceSnapshotsRequest.Builderavoiding the need to create one manually viaListResourceSnapshotsRequest.builder()- Parameters:
listResourceSnapshotsRequest- AConsumerthat will call methods onListResourceSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResourceSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
-
listResourceSnapshotsPaginator
default ListResourceSnapshotsPublisher listResourceSnapshotsPaginator(ListResourceSnapshotsRequest listResourceSnapshotsRequest) This is a variant of
listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsPublisher publisher = client.listResourceSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsPublisher publisher = client.listResourceSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse response) { //... }; });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
listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation.- Parameters:
listResourceSnapshotsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listResourceSnapshotsPaginator
default ListResourceSnapshotsPublisher listResourceSnapshotsPaginator(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest) This is a variant of
listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsPublisher publisher = client.listResourceSnapshotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsPublisher publisher = client.listResourceSnapshotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse response) { //... }; });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
listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest)operation.
This is a convenience which creates an instance of the
ListResourceSnapshotsRequest.Builderavoiding the need to create one manually viaListResourceSnapshotsRequest.builder()- Parameters:
listResourceSnapshotsRequest- AConsumerthat will call methods onListResourceSnapshotsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listSolutions
default CompletableFuture<ListSolutionsResponse> listSolutions(ListSolutionsRequest listSolutionsRequest) 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:
- A Java Future containing the result of the ListSolutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
- See Also:
-
listSolutions
default CompletableFuture<ListSolutionsResponse> listSolutions(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) 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.Builderavoiding the need to create one manually viaListSolutionsRequest.builder()- Parameters:
listSolutionsRequest- AConsumerthat will call methods onListSolutionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSolutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
- See Also:
-
listSolutionsPaginator
This is a variant of
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsPublisher publisher = client.listSolutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsPublisher publisher = client.listSolutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
- See Also:
-
listSolutionsPaginator
default ListSolutionsPublisher listSolutionsPaginator(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest) This is a variant of
listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsPublisher publisher = client.listSolutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsPublisher publisher = client.listSolutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response) { //... }; });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.Builderavoiding the need to create one manually viaListSolutionsRequest.builder()- Parameters:
listSolutionsRequest- AConsumerthat will call methods onListSolutionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
putSellingSystemSettings
default CompletableFuture<PutSellingSystemSettingsResponse> putSellingSystemSettings(PutSellingSystemSettingsRequest putSellingSystemSettingsRequest) Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.
- Parameters:
putSellingSystemSettingsRequest-- Returns:
- A Java Future containing the result of the PutSellingSystemSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
putSellingSystemSettings
default CompletableFuture<PutSellingSystemSettingsResponse> putSellingSystemSettings(Consumer<PutSellingSystemSettingsRequest.Builder> putSellingSystemSettingsRequest) Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.
This is a convenience which creates an instance of the
PutSellingSystemSettingsRequest.Builderavoiding the need to create one manually viaPutSellingSystemSettingsRequest.builder()- Parameters:
putSellingSystemSettingsRequest- AConsumerthat will call methods onPutSellingSystemSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutSellingSystemSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
rejectEngagementInvitation
default CompletableFuture<RejectEngagementInvitationResponse> rejectEngagementInvitation(RejectEngagementInvitationRequest rejectEngagementInvitationRequest) This action rejects an
EngagementInvitationthat 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:
- A Java Future containing the result of the RejectEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
rejectEngagementInvitation
default CompletableFuture<RejectEngagementInvitationResponse> rejectEngagementInvitation(Consumer<RejectEngagementInvitationRequest.Builder> rejectEngagementInvitationRequest) This action rejects an
EngagementInvitationthat 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.Builderavoiding the need to create one manually viaRejectEngagementInvitationRequest.builder()- Parameters:
rejectEngagementInvitationRequest- AConsumerthat will call methods onRejectEngagementInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RejectEngagementInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
startEngagementByAcceptingInvitationTask
default CompletableFuture<StartEngagementByAcceptingInvitationTaskResponse> startEngagementByAcceptingInvitationTask(StartEngagementByAcceptingInvitationTaskRequest startEngagementByAcceptingInvitationTaskRequest) 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 Createdevent is generated, indicating that the opportunity has been successfully created in the partner's account.- Parameters:
startEngagementByAcceptingInvitationTaskRequest-- Returns:
- A Java Future containing the result of the StartEngagementByAcceptingInvitationTask operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
startEngagementByAcceptingInvitationTask
default CompletableFuture<StartEngagementByAcceptingInvitationTaskResponse> startEngagementByAcceptingInvitationTask(Consumer<StartEngagementByAcceptingInvitationTaskRequest.Builder> startEngagementByAcceptingInvitationTaskRequest) 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 Createdevent 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.Builderavoiding the need to create one manually viaStartEngagementByAcceptingInvitationTaskRequest.builder()- Parameters:
startEngagementByAcceptingInvitationTaskRequest- AConsumerthat will call methods onStartEngagementByAcceptingInvitationTaskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartEngagementByAcceptingInvitationTask operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
startEngagementFromOpportunityTask
default CompletableFuture<StartEngagementFromOpportunityTaskResponse> startEngagementFromOpportunityTask(StartEngagementFromOpportunityTaskRequest startEngagementFromOpportunityTaskRequest) Similar to
StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion. This action orchestrates a comprehensive workflow that combines multiple API operations into a single task to create and initiate an engagement from an existing opportunity. It automatically executes a sequence of operations includingGetOpportunity,CreateEngagement(if it doesn't exist),CreateResourceSnapshot,CreateResourceSnapshotJob,CreateEngagementInvitation(if not already invited/accepted), andSubmitOpportunity.- Parameters:
startEngagementFromOpportunityTaskRequest-- Returns:
- A Java Future containing the result of the StartEngagementFromOpportunityTask operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
startEngagementFromOpportunityTask
default CompletableFuture<StartEngagementFromOpportunityTaskResponse> startEngagementFromOpportunityTask(Consumer<StartEngagementFromOpportunityTaskRequest.Builder> startEngagementFromOpportunityTaskRequest) Similar to
StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion. This action orchestrates a comprehensive workflow that combines multiple API operations into a single task to create and initiate an engagement from an existing opportunity. It automatically executes a sequence of operations includingGetOpportunity,CreateEngagement(if it doesn't exist),CreateResourceSnapshot,CreateResourceSnapshotJob,CreateEngagementInvitation(if not already invited/accepted), andSubmitOpportunity.
This is a convenience which creates an instance of the
StartEngagementFromOpportunityTaskRequest.Builderavoiding the need to create one manually viaStartEngagementFromOpportunityTaskRequest.builder()- Parameters:
startEngagementFromOpportunityTaskRequest- AConsumerthat will call methods onStartEngagementFromOpportunityTaskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartEngagementFromOpportunityTask operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ServiceQuotaExceededException This error occurs when the request would cause a service quota to be
exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error
indicates that the request would surpass that limit.
Suggested action: Review the Quotas for the resource, and either reduce usage or request a quota increase.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
startResourceSnapshotJob
default CompletableFuture<StartResourceSnapshotJobResponse> startResourceSnapshotJob(StartResourceSnapshotJobRequest startResourceSnapshotJobRequest) Starts a resource snapshot job that has been previously created.
- Parameters:
startResourceSnapshotJobRequest-- Returns:
- A Java Future containing the result of the StartResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
startResourceSnapshotJob
default CompletableFuture<StartResourceSnapshotJobResponse> startResourceSnapshotJob(Consumer<StartResourceSnapshotJobRequest.Builder> startResourceSnapshotJobRequest) Starts a resource snapshot job that has been previously created.
This is a convenience which creates an instance of the
StartResourceSnapshotJobRequest.Builderavoiding the need to create one manually viaStartResourceSnapshotJobRequest.builder()- Parameters:
startResourceSnapshotJobRequest- AConsumerthat will call methods onStartResourceSnapshotJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
stopResourceSnapshotJob
default CompletableFuture<StopResourceSnapshotJobResponse> stopResourceSnapshotJob(StopResourceSnapshotJobRequest stopResourceSnapshotJobRequest) Stops a resource snapshot job. The job must be started prior to being stopped.
- Parameters:
stopResourceSnapshotJobRequest-- Returns:
- A Java Future containing the result of the StopResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
stopResourceSnapshotJob
default CompletableFuture<StopResourceSnapshotJobResponse> stopResourceSnapshotJob(Consumer<StopResourceSnapshotJobRequest.Builder> stopResourceSnapshotJobRequest) Stops a resource snapshot job. The job must be started prior to being stopped.
This is a convenience which creates an instance of the
StopResourceSnapshotJobRequest.Builderavoiding the need to create one manually viaStopResourceSnapshotJobRequest.builder()- Parameters:
stopResourceSnapshotJobRequest- AConsumerthat will call methods onStopResourceSnapshotJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopResourceSnapshotJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
submitOpportunity
default CompletableFuture<SubmitOpportunityResponse> submitOpportunity(SubmitOpportunityRequest submitOpportunityRequest) Use this action to submit an Opportunity that was previously created by partner for AWS review. After you perform this action, the Opportunity becomes non-editable until it is reviewed by AWS and has
LifeCycle.ReviewStatusas eitherApprovedorAction Required.- Parameters:
submitOpportunityRequest-- Returns:
- A Java Future containing the result of the SubmitOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
submitOpportunity
default CompletableFuture<SubmitOpportunityResponse> submitOpportunity(Consumer<SubmitOpportunityRequest.Builder> submitOpportunityRequest) Use this action to submit an Opportunity that was previously created by partner for AWS review. After you perform this action, the Opportunity becomes non-editable until it is reviewed by AWS and has
LifeCycle.ReviewStatusas eitherApprovedorAction Required.
This is a convenience which creates an instance of the
SubmitOpportunityRequest.Builderavoiding the need to create one manually viaSubmitOpportunityRequest.builder()- Parameters:
submitOpportunityRequest- AConsumerthat will call methods onSubmitOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the SubmitOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
- See Also:
-
tagResource
Assigns one or more tags (key-value pairs) to the specified resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag or tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
updateOpportunity
default CompletableFuture<UpdateOpportunityResponse> updateOpportunity(UpdateOpportunityRequest updateOpportunityRequest) Updates the
Opportunityrecord 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 aGetOpportunityto retrieve the latest values, then send the complete payload with the updated values to be changed.- Parameters:
updateOpportunityRequest-- Returns:
- A Java Future containing the result of the UpdateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
updateOpportunity
default CompletableFuture<UpdateOpportunityResponse> updateOpportunity(Consumer<UpdateOpportunityRequest.Builder> updateOpportunityRequest) Updates the
Opportunityrecord 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 aGetOpportunityto 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.Builderavoiding the need to create one manually viaUpdateOpportunityRequest.builder()- Parameters:
updateOpportunityRequest- AConsumerthat will call methods onUpdateOpportunityRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateOpportunity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
- ThrottlingException This error occurs when there are too many requests sent. Review the provided
quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
- AccessDeniedException This error occurs when you don't have permission to perform the requested
action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
- InternalServerException This error occurs when the specified resource can’t be found or doesn't
exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
- ValidationException The input fails to satisfy the constraints specified by the service or business
validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
- ResourceNotFoundException This error occurs when the specified resource can't be found. The resource
might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralSellingException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ConflictException This error occurs when the request can’t be processed due to a conflict with the
target resource's current state, which could result from updating or deleting the resource.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aPartnerCentralSellingAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aPartnerCentralSellingAsyncClient.
-