Interface PartnerCentralSellingClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface PartnerCentralSellingClient
    extends AwsClient
    Service client for accessing Partner Central Selling API. This can be created using the static builder() method.

    AWS Partner Central API for Selling

    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

    1. Opportunity management: Manages coselling opportunities through API actions such as CreateOpportunity, UpdateOpportunity, ListOpportunities, GetOpportunity, and AssignOpportunity.

    2. AWS referral management: Manages referrals shared by AWS using actions such as ListEngagementInvitations, GetEngagementInvitation, StartEngagementByAcceptingInvitation, and RejectEngagementInvitation.

    3. Entity association: Associates related entities such as AWS Products, Partner Solutions, and AWS Marketplace Private Offers with opportunities using the actions AssociateOpportunity, and DisassociateOpportunity.

    4. View AWS opportunity details: Retrieves real-time summaries of AWS opportunities using the GetAWSOpportunitySummary action.

    5. List solutions: Provides list APIs for listing partner offers using ListSolutions.

    6. 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.

    • Method Detail

      • acceptEngagementInvitation

        default AcceptEngagementInvitationResponse acceptEngagementInvitation​(AcceptEngagementInvitationRequest acceptEngagementInvitationRequest)
                                                                       throws ThrottlingException,
                                                                              ConflictException,
                                                                              AccessDeniedException,
                                                                              InternalServerException,
                                                                              ValidationException,
                                                                              ResourceNotFoundException,
                                                                              AwsServiceException,
                                                                              SdkClientException,
                                                                              PartnerCentralSellingException

        Use the AcceptEngagementInvitation action 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:
        Result of the AcceptEngagementInvitation operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • acceptEngagementInvitation

        default AcceptEngagementInvitationResponse acceptEngagementInvitation​(Consumer<AcceptEngagementInvitationRequest.Builder> acceptEngagementInvitationRequest)
                                                                       throws ThrottlingException,
                                                                              ConflictException,
                                                                              AccessDeniedException,
                                                                              InternalServerException,
                                                                              ValidationException,
                                                                              ResourceNotFoundException,
                                                                              AwsServiceException,
                                                                              SdkClientException,
                                                                              PartnerCentralSellingException

        Use the AcceptEngagementInvitation action 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.Builder avoiding the need to create one manually via AcceptEngagementInvitationRequest.builder()

        Parameters:
        acceptEngagementInvitationRequest - A Consumer that will call methods on AcceptEngagementInvitationRequest.Builder to create a request.
        Returns:
        Result of the AcceptEngagementInvitation operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • assignOpportunity

        default AssignOpportunityResponse assignOpportunity​(AssignOpportunityRequest assignOpportunityRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Enables you to reassign an existing Opportunity to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.

        This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.

        Parameters:
        assignOpportunityRequest -
        Returns:
        Result of the AssignOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • assignOpportunity

        default AssignOpportunityResponse assignOpportunity​(Consumer<AssignOpportunityRequest.Builder> assignOpportunityRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Enables you to reassign an existing Opportunity to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.

        This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.


        This is a convenience which creates an instance of the AssignOpportunityRequest.Builder avoiding the need to create one manually via AssignOpportunityRequest.builder()

        Parameters:
        assignOpportunityRequest - A Consumer that will call methods on AssignOpportunityRequest.Builder to create a request.
        Returns:
        Result of the AssignOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • associateOpportunity

        default AssociateOpportunityResponse associateOpportunity​(AssociateOpportunityRequest associateOpportunityRequest)
                                                           throws ThrottlingException,
                                                                  AccessDeniedException,
                                                                  InternalServerException,
                                                                  ValidationException,
                                                                  ResourceNotFoundException,
                                                                  AwsServiceException,
                                                                  SdkClientException,
                                                                  PartnerCentralSellingException

        Enables you to create a formal association between an Opportunity and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:

        • Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.

        • Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.

        • Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.

        To obtain identifiers for these entities, use the following methods:

        Parameters:
        associateOpportunityRequest -
        Returns:
        Result of the AssociateOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • associateOpportunity

        default AssociateOpportunityResponse associateOpportunity​(Consumer<AssociateOpportunityRequest.Builder> associateOpportunityRequest)
                                                           throws ThrottlingException,
                                                                  AccessDeniedException,
                                                                  InternalServerException,
                                                                  ValidationException,
                                                                  ResourceNotFoundException,
                                                                  AwsServiceException,
                                                                  SdkClientException,
                                                                  PartnerCentralSellingException

        Enables you to create a formal association between an Opportunity and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:

        • Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.

        • Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.

        • Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.

        To obtain identifiers for these entities, use the following methods:


        This is a convenience which creates an instance of the AssociateOpportunityRequest.Builder avoiding the need to create one manually via AssociateOpportunityRequest.builder()

        Parameters:
        associateOpportunityRequest - A Consumer that will call methods on AssociateOpportunityRequest.Builder to create a request.
        Returns:
        Result of the AssociateOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createEngagement

        default CreateEngagementResponse createEngagement​(CreateEngagementRequest createEngagementRequest)
                                                   throws ThrottlingException,
                                                          ConflictException,
                                                          AccessDeniedException,
                                                          ValidationException,
                                                          ServiceQuotaExceededException,
                                                          ResourceNotFoundException,
                                                          AwsServiceException,
                                                          SdkClientException,
                                                          PartnerCentralSellingException

        The CreateEngagement action allows you to create an Engagement, 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 created Engagement.

        Parameters:
        createEngagementRequest -
        Returns:
        Result of the CreateEngagement operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createEngagement

        default CreateEngagementResponse createEngagement​(Consumer<CreateEngagementRequest.Builder> createEngagementRequest)
                                                   throws ThrottlingException,
                                                          ConflictException,
                                                          AccessDeniedException,
                                                          ValidationException,
                                                          ServiceQuotaExceededException,
                                                          ResourceNotFoundException,
                                                          AwsServiceException,
                                                          SdkClientException,
                                                          PartnerCentralSellingException

        The CreateEngagement action allows you to create an Engagement, 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 created Engagement.


        This is a convenience which creates an instance of the CreateEngagementRequest.Builder avoiding the need to create one manually via CreateEngagementRequest.builder()

        Parameters:
        createEngagementRequest - A Consumer that will call methods on CreateEngagementRequest.Builder to create a request.
        Returns:
        Result of the CreateEngagement operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createEngagementInvitation

        default CreateEngagementInvitationResponse createEngagementInvitation​(CreateEngagementInvitationRequest createEngagementInvitationRequest)
                                                                       throws ThrottlingException,
                                                                              ConflictException,
                                                                              AccessDeniedException,
                                                                              ValidationException,
                                                                              ServiceQuotaExceededException,
                                                                              ResourceNotFoundException,
                                                                              AwsServiceException,
                                                                              SdkClientException,
                                                                              PartnerCentralSellingException

        This action creates an invitation from a sender to a single receiver to join an engagement.

        Parameters:
        createEngagementInvitationRequest -
        Returns:
        Result of the CreateEngagementInvitation operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createOpportunity

        default CreateOpportunityResponse createOpportunity​(CreateOpportunityRequest createOpportunityRequest)
                                                     throws ThrottlingException,
                                                            ConflictException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Creates an Opportunity record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets Lifecycle.ReviewStatus to Pending Submission.

        To submit an opportunity, follow these steps:

        1. To create the opportunity, use CreateOpportunity.

        2. To associate a solution with the opportunity, use AssociateOpportunity.

        3. 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 Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state.

        There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.

        Parameters:
        createOpportunityRequest -
        Returns:
        Result of the CreateOpportunity operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createOpportunity

        default CreateOpportunityResponse createOpportunity​(Consumer<CreateOpportunityRequest.Builder> createOpportunityRequest)
                                                     throws ThrottlingException,
                                                            ConflictException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Creates an Opportunity record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets Lifecycle.ReviewStatus to Pending Submission.

        To submit an opportunity, follow these steps:

        1. To create the opportunity, use CreateOpportunity.

        2. To associate a solution with the opportunity, use AssociateOpportunity.

        3. 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 Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state.

        There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.


        This is a convenience which creates an instance of the CreateOpportunityRequest.Builder avoiding the need to create one manually via CreateOpportunityRequest.builder()

        Parameters:
        createOpportunityRequest - A Consumer that will call methods on CreateOpportunityRequest.Builder to create a request.
        Returns:
        Result of the CreateOpportunity operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createResourceSnapshot

        default CreateResourceSnapshotResponse createResourceSnapshot​(CreateResourceSnapshotRequest createResourceSnapshotRequest)
                                                               throws ThrottlingException,
                                                                      ConflictException,
                                                                      AccessDeniedException,
                                                                      ValidationException,
                                                                      ServiceQuotaExceededException,
                                                                      ResourceNotFoundException,
                                                                      AwsServiceException,
                                                                      SdkClientException,
                                                                      PartnerCentralSellingException

        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:
        Result of the CreateResourceSnapshot operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createResourceSnapshot

        default CreateResourceSnapshotResponse createResourceSnapshot​(Consumer<CreateResourceSnapshotRequest.Builder> createResourceSnapshotRequest)
                                                               throws ThrottlingException,
                                                                      ConflictException,
                                                                      AccessDeniedException,
                                                                      ValidationException,
                                                                      ServiceQuotaExceededException,
                                                                      ResourceNotFoundException,
                                                                      AwsServiceException,
                                                                      SdkClientException,
                                                                      PartnerCentralSellingException

        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.Builder avoiding the need to create one manually via CreateResourceSnapshotRequest.builder()

        Parameters:
        createResourceSnapshotRequest - A Consumer that will call methods on CreateResourceSnapshotRequest.Builder to create a request.
        Returns:
        Result of the CreateResourceSnapshot operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createResourceSnapshotJob

        default CreateResourceSnapshotJobResponse createResourceSnapshotJob​(CreateResourceSnapshotJobRequest createResourceSnapshotJobRequest)
                                                                     throws ThrottlingException,
                                                                            ConflictException,
                                                                            AccessDeniedException,
                                                                            ValidationException,
                                                                            ServiceQuotaExceededException,
                                                                            ResourceNotFoundException,
                                                                            AwsServiceException,
                                                                            SdkClientException,
                                                                            PartnerCentralSellingException

        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:
        Result of the CreateResourceSnapshotJob operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • createResourceSnapshotJob

        default CreateResourceSnapshotJobResponse createResourceSnapshotJob​(Consumer<CreateResourceSnapshotJobRequest.Builder> createResourceSnapshotJobRequest)
                                                                     throws ThrottlingException,
                                                                            ConflictException,
                                                                            AccessDeniedException,
                                                                            ValidationException,
                                                                            ServiceQuotaExceededException,
                                                                            ResourceNotFoundException,
                                                                            AwsServiceException,
                                                                            SdkClientException,
                                                                            PartnerCentralSellingException

        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.Builder avoiding the need to create one manually via CreateResourceSnapshotJobRequest.builder()

        Parameters:
        createResourceSnapshotJobRequest - A Consumer that will call methods on CreateResourceSnapshotJobRequest.Builder to create a request.
        Returns:
        Result of the CreateResourceSnapshotJob operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • deleteResourceSnapshotJob

        default DeleteResourceSnapshotJobResponse deleteResourceSnapshotJob​(DeleteResourceSnapshotJobRequest deleteResourceSnapshotJobRequest)
                                                                     throws ThrottlingException,
                                                                            ConflictException,
                                                                            AccessDeniedException,
                                                                            ValidationException,
                                                                            ResourceNotFoundException,
                                                                            AwsServiceException,
                                                                            SdkClientException,
                                                                            PartnerCentralSellingException

        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:
        Result of the DeleteResourceSnapshotJob operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • disassociateOpportunity

        default DisassociateOpportunityResponse disassociateOpportunity​(DisassociateOpportunityRequest disassociateOpportunityRequest)
                                                                 throws ThrottlingException,
                                                                        AccessDeniedException,
                                                                        InternalServerException,
                                                                        ValidationException,
                                                                        ResourceNotFoundException,
                                                                        AwsServiceException,
                                                                        SdkClientException,
                                                                        PartnerCentralSellingException

        Allows you to remove an existing association between an Opportunity and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to AssociateOpportunity, and it provides flexibility to manage associations as business needs change.

        Use this operation to update the associations of an Opportunity due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.

        Parameters:
        disassociateOpportunityRequest -
        Returns:
        Result of the DisassociateOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • disassociateOpportunity

        default DisassociateOpportunityResponse disassociateOpportunity​(Consumer<DisassociateOpportunityRequest.Builder> disassociateOpportunityRequest)
                                                                 throws ThrottlingException,
                                                                        AccessDeniedException,
                                                                        InternalServerException,
                                                                        ValidationException,
                                                                        ResourceNotFoundException,
                                                                        AwsServiceException,
                                                                        SdkClientException,
                                                                        PartnerCentralSellingException

        Allows you to remove an existing association between an Opportunity and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to AssociateOpportunity, and it provides flexibility to manage associations as business needs change.

        Use this operation to update the associations of an Opportunity due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.


        This is a convenience which creates an instance of the DisassociateOpportunityRequest.Builder avoiding the need to create one manually via DisassociateOpportunityRequest.builder()

        Parameters:
        disassociateOpportunityRequest - A Consumer that will call methods on DisassociateOpportunityRequest.Builder to create a request.
        Returns:
        Result of the DisassociateOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getAwsOpportunitySummary

        default GetAwsOpportunitySummaryResponse getAwsOpportunitySummary​(GetAwsOpportunitySummaryRequest getAwsOpportunitySummaryRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          InternalServerException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.

        Parameters:
        getAwsOpportunitySummaryRequest -
        Returns:
        Result of the GetAwsOpportunitySummary operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getAwsOpportunitySummary

        default GetAwsOpportunitySummaryResponse getAwsOpportunitySummary​(Consumer<GetAwsOpportunitySummaryRequest.Builder> getAwsOpportunitySummaryRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          InternalServerException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.


        This is a convenience which creates an instance of the GetAwsOpportunitySummaryRequest.Builder avoiding the need to create one manually via GetAwsOpportunitySummaryRequest.builder()

        Parameters:
        getAwsOpportunitySummaryRequest - A Consumer that will call methods on GetAwsOpportunitySummaryRequest.Builder to create a request.
        Returns:
        Result of the GetAwsOpportunitySummary operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getEngagement

        default GetEngagementResponse getEngagement​(GetEngagementRequest getEngagementRequest)
                                             throws ThrottlingException,
                                                    AccessDeniedException,
                                                    ValidationException,
                                                    ResourceNotFoundException,
                                                    AwsServiceException,
                                                    SdkClientException,
                                                    PartnerCentralSellingException

        Use this action to retrieve the engagement record for a given EngagementIdentifier.

        Parameters:
        getEngagementRequest -
        Returns:
        Result of the GetEngagement operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getEngagementInvitation

        default GetEngagementInvitationResponse getEngagementInvitation​(GetEngagementInvitationRequest getEngagementInvitationRequest)
                                                                 throws ThrottlingException,
                                                                        AccessDeniedException,
                                                                        InternalServerException,
                                                                        ValidationException,
                                                                        ResourceNotFoundException,
                                                                        AwsServiceException,
                                                                        SdkClientException,
                                                                        PartnerCentralSellingException

        Retrieves the details of an engagement invitation shared by AWS with a partner. The information includes aspects such as customer, project details, and lifecycle information. To connect an engagement invitation with an opportunity, match the invitation’s Payload.Project.Title with opportunity Project.Title.

        Parameters:
        getEngagementInvitationRequest -
        Returns:
        Result of the GetEngagementInvitation operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getEngagementInvitation

        default GetEngagementInvitationResponse getEngagementInvitation​(Consumer<GetEngagementInvitationRequest.Builder> getEngagementInvitationRequest)
                                                                 throws ThrottlingException,
                                                                        AccessDeniedException,
                                                                        InternalServerException,
                                                                        ValidationException,
                                                                        ResourceNotFoundException,
                                                                        AwsServiceException,
                                                                        SdkClientException,
                                                                        PartnerCentralSellingException

        Retrieves the details of an engagement invitation shared by AWS with a partner. The information includes aspects such as customer, project details, and lifecycle information. To connect an engagement invitation with an opportunity, match the invitation’s Payload.Project.Title with opportunity Project.Title.


        This is a convenience which creates an instance of the GetEngagementInvitationRequest.Builder avoiding the need to create one manually via GetEngagementInvitationRequest.builder()

        Parameters:
        getEngagementInvitationRequest - A Consumer that will call methods on GetEngagementInvitationRequest.Builder to create a request.
        Returns:
        Result of the GetEngagementInvitation operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getOpportunity

        default GetOpportunityResponse getOpportunity​(GetOpportunityRequest getOpportunityRequest)
                                               throws ThrottlingException,
                                                      AccessDeniedException,
                                                      InternalServerException,
                                                      ValidationException,
                                                      ResourceNotFoundException,
                                                      AwsServiceException,
                                                      SdkClientException,
                                                      PartnerCentralSellingException

        Fetches the Opportunity record from Partner Central by a given Identifier.

        Use the ListOpportunities action or the event notification (from Amazon EventBridge) to obtain this identifier.

        Parameters:
        getOpportunityRequest -
        Returns:
        Result of the GetOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getOpportunity

        default GetOpportunityResponse getOpportunity​(Consumer<GetOpportunityRequest.Builder> getOpportunityRequest)
                                               throws ThrottlingException,
                                                      AccessDeniedException,
                                                      InternalServerException,
                                                      ValidationException,
                                                      ResourceNotFoundException,
                                                      AwsServiceException,
                                                      SdkClientException,
                                                      PartnerCentralSellingException

        Fetches the Opportunity record from Partner Central by a given Identifier.

        Use the ListOpportunities action or the event notification (from Amazon EventBridge) to obtain this identifier.


        This is a convenience which creates an instance of the GetOpportunityRequest.Builder avoiding the need to create one manually via GetOpportunityRequest.builder()

        Parameters:
        getOpportunityRequest - A Consumer that will call methods on GetOpportunityRequest.Builder to create a request.
        Returns:
        Result of the GetOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getResourceSnapshot

        default GetResourceSnapshotResponse getResourceSnapshot​(GetResourceSnapshotRequest getResourceSnapshotRequest)
                                                         throws ThrottlingException,
                                                                AccessDeniedException,
                                                                ValidationException,
                                                                ResourceNotFoundException,
                                                                AwsServiceException,
                                                                SdkClientException,
                                                                PartnerCentralSellingException

        Use this action to retrieve a specific snapshot record.

        Parameters:
        getResourceSnapshotRequest -
        Returns:
        Result of the GetResourceSnapshot operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getResourceSnapshotJob

        default GetResourceSnapshotJobResponse getResourceSnapshotJob​(GetResourceSnapshotJobRequest getResourceSnapshotJobRequest)
                                                               throws ThrottlingException,
                                                                      AccessDeniedException,
                                                                      ValidationException,
                                                                      ResourceNotFoundException,
                                                                      AwsServiceException,
                                                                      SdkClientException,
                                                                      PartnerCentralSellingException

        Use this action to retrieves information about a specific resource snapshot job.

        Parameters:
        getResourceSnapshotJobRequest -
        Returns:
        Result of the GetResourceSnapshotJob operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • getSellingSystemSettings

        default GetSellingSystemSettingsResponse getSellingSystemSettings​(GetSellingSystemSettingsRequest getSellingSystemSettingsRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.

        Parameters:
        getSellingSystemSettingsRequest -
        Returns:
        Result of the GetSellingSystemSettings operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementByAcceptingInvitationTasks

        default ListEngagementByAcceptingInvitationTasksResponse listEngagementByAcceptingInvitationTasks​(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest)
                                                                                                   throws ThrottlingException,
                                                                                                          AccessDeniedException,
                                                                                                          ValidationException,
                                                                                                          ResourceNotFoundException,
                                                                                                          AwsServiceException,
                                                                                                          SdkClientException,
                                                                                                          PartnerCentralSellingException

        Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.

        Parameters:
        listEngagementByAcceptingInvitationTasksRequest -
        Returns:
        Result of the ListEngagementByAcceptingInvitationTasks operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementByAcceptingInvitationTasksPaginator

        default ListEngagementByAcceptingInvitationTasksIterable listEngagementByAcceptingInvitationTasksPaginator​(ListEngagementByAcceptingInvitationTasksRequest listEngagementByAcceptingInvitationTasksRequest)
                                                                                                            throws ThrottlingException,
                                                                                                                   AccessDeniedException,
                                                                                                                   ValidationException,
                                                                                                                   ResourceNotFoundException,
                                                                                                                   AwsServiceException,
                                                                                                                   SdkClientException,
                                                                                                                   PartnerCentralSellingException

        This is a variant of listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksIterable responses = client.listEngagementByAcceptingInvitationTasksPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksIterable responses = client
                     .listEngagementByAcceptingInvitationTasksPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementByAcceptingInvitationTasksIterable responses = client.listEngagementByAcceptingInvitationTasksPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementByAcceptingInvitationTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementByAcceptingInvitationTasksRequest) operation.

        Parameters:
        listEngagementByAcceptingInvitationTasksRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementFromOpportunityTasks

        default ListEngagementFromOpportunityTasksResponse listEngagementFromOpportunityTasks​(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest)
                                                                                       throws ThrottlingException,
                                                                                              AccessDeniedException,
                                                                                              ValidationException,
                                                                                              ResourceNotFoundException,
                                                                                              AwsServiceException,
                                                                                              SdkClientException,
                                                                                              PartnerCentralSellingException

        Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account.

        Parameters:
        listEngagementFromOpportunityTasksRequest -
        Returns:
        Result of the ListEngagementFromOpportunityTasks operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementFromOpportunityTasksPaginator

        default ListEngagementFromOpportunityTasksIterable listEngagementFromOpportunityTasksPaginator​(ListEngagementFromOpportunityTasksRequest listEngagementFromOpportunityTasksRequest)
                                                                                                throws ThrottlingException,
                                                                                                       AccessDeniedException,
                                                                                                       ValidationException,
                                                                                                       ResourceNotFoundException,
                                                                                                       AwsServiceException,
                                                                                                       SdkClientException,
                                                                                                       PartnerCentralSellingException

        This is a variant of listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client.listEngagementFromOpportunityTasksPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client
                     .listEngagementFromOpportunityTasksPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client.listEngagementFromOpportunityTasksPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest) operation.

        Parameters:
        listEngagementFromOpportunityTasksRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementFromOpportunityTasksPaginator

        default ListEngagementFromOpportunityTasksIterable listEngagementFromOpportunityTasksPaginator​(Consumer<ListEngagementFromOpportunityTasksRequest.Builder> listEngagementFromOpportunityTasksRequest)
                                                                                                throws ThrottlingException,
                                                                                                       AccessDeniedException,
                                                                                                       ValidationException,
                                                                                                       ResourceNotFoundException,
                                                                                                       AwsServiceException,
                                                                                                       SdkClientException,
                                                                                                       PartnerCentralSellingException

        This is a variant of listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client.listEngagementFromOpportunityTasksPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client
                     .listEngagementFromOpportunityTasksPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementFromOpportunityTasksIterable responses = client.listEngagementFromOpportunityTasksPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementFromOpportunityTasks(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementFromOpportunityTasksRequest) operation.


        This is a convenience which creates an instance of the ListEngagementFromOpportunityTasksRequest.Builder avoiding the need to create one manually via ListEngagementFromOpportunityTasksRequest.builder()

        Parameters:
        listEngagementFromOpportunityTasksRequest - A Consumer that will call methods on ListEngagementFromOpportunityTasksRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementInvitations

        default ListEngagementInvitationsResponse listEngagementInvitations​(ListEngagementInvitationsRequest listEngagementInvitationsRequest)
                                                                     throws ThrottlingException,
                                                                            AccessDeniedException,
                                                                            InternalServerException,
                                                                            ValidationException,
                                                                            ResourceNotFoundException,
                                                                            AwsServiceException,
                                                                            SdkClientException,
                                                                            PartnerCentralSellingException

        Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.

        Parameters:
        listEngagementInvitationsRequest -
        Returns:
        Result of the ListEngagementInvitations operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementInvitationsPaginator

        default ListEngagementInvitationsIterable listEngagementInvitationsPaginator​(ListEngagementInvitationsRequest listEngagementInvitationsRequest)
                                                                              throws ThrottlingException,
                                                                                     AccessDeniedException,
                                                                                     InternalServerException,
                                                                                     ValidationException,
                                                                                     ResourceNotFoundException,
                                                                                     AwsServiceException,
                                                                                     SdkClientException,
                                                                                     PartnerCentralSellingException

        This is a variant of listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client
                     .listEngagementInvitationsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest) operation.

        Parameters:
        listEngagementInvitationsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementInvitationsPaginator

        default ListEngagementInvitationsIterable listEngagementInvitationsPaginator​(Consumer<ListEngagementInvitationsRequest.Builder> listEngagementInvitationsRequest)
                                                                              throws ThrottlingException,
                                                                                     AccessDeniedException,
                                                                                     InternalServerException,
                                                                                     ValidationException,
                                                                                     ResourceNotFoundException,
                                                                                     AwsServiceException,
                                                                                     SdkClientException,
                                                                                     PartnerCentralSellingException

        This is a variant of listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client
                     .listEngagementInvitationsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementInvitationsIterable responses = client.listEngagementInvitationsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementInvitations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementInvitationsRequest) operation.


        This is a convenience which creates an instance of the ListEngagementInvitationsRequest.Builder avoiding the need to create one manually via ListEngagementInvitationsRequest.builder()

        Parameters:
        listEngagementInvitationsRequest - A Consumer that will call methods on ListEngagementInvitationsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementMembers

        default ListEngagementMembersResponse listEngagementMembers​(ListEngagementMembersRequest listEngagementMembersRequest)
                                                             throws ThrottlingException,
                                                                    AccessDeniedException,
                                                                    ValidationException,
                                                                    ResourceNotFoundException,
                                                                    AwsServiceException,
                                                                    SdkClientException,
                                                                    PartnerCentralSellingException

        Retrieves the details of member partners in an Engagement. This operation can only be invoked by members of the Engagement. The ListEngagementMembers operation 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:
        Result of the ListEngagementMembers operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementMembersPaginator

        default ListEngagementMembersIterable listEngagementMembersPaginator​(ListEngagementMembersRequest listEngagementMembersRequest)
                                                                      throws ThrottlingException,
                                                                             AccessDeniedException,
                                                                             ValidationException,
                                                                             ResourceNotFoundException,
                                                                             AwsServiceException,
                                                                             SdkClientException,
                                                                             PartnerCentralSellingException

        This is a variant of listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client.listEngagementMembersPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client
                     .listEngagementMembersPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client.listEngagementMembersPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest) operation.

        Parameters:
        listEngagementMembersRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementMembersPaginator

        default ListEngagementMembersIterable listEngagementMembersPaginator​(Consumer<ListEngagementMembersRequest.Builder> listEngagementMembersRequest)
                                                                      throws ThrottlingException,
                                                                             AccessDeniedException,
                                                                             ValidationException,
                                                                             ResourceNotFoundException,
                                                                             AwsServiceException,
                                                                             SdkClientException,
                                                                             PartnerCentralSellingException

        This is a variant of listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client.listEngagementMembersPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client
                     .listEngagementMembersPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementMembersIterable responses = client.listEngagementMembersPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementMembers(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementMembersRequest) operation.


        This is a convenience which creates an instance of the ListEngagementMembersRequest.Builder avoiding the need to create one manually via ListEngagementMembersRequest.builder()

        Parameters:
        listEngagementMembersRequest - A Consumer that will call methods on ListEngagementMembersRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementResourceAssociations

        default ListEngagementResourceAssociationsResponse listEngagementResourceAssociations​(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest)
                                                                                       throws ThrottlingException,
                                                                                              AccessDeniedException,
                                                                                              ValidationException,
                                                                                              ResourceNotFoundException,
                                                                                              AwsServiceException,
                                                                                              SdkClientException,
                                                                                              PartnerCentralSellingException

        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:
        Result of the ListEngagementResourceAssociations operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementResourceAssociationsPaginator

        default ListEngagementResourceAssociationsIterable listEngagementResourceAssociationsPaginator​(ListEngagementResourceAssociationsRequest listEngagementResourceAssociationsRequest)
                                                                                                throws ThrottlingException,
                                                                                                       AccessDeniedException,
                                                                                                       ValidationException,
                                                                                                       ResourceNotFoundException,
                                                                                                       AwsServiceException,
                                                                                                       SdkClientException,
                                                                                                       PartnerCentralSellingException

        This is a variant of listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client.listEngagementResourceAssociationsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client
                     .listEngagementResourceAssociationsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client.listEngagementResourceAssociationsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest) operation.

        Parameters:
        listEngagementResourceAssociationsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementResourceAssociationsPaginator

        default ListEngagementResourceAssociationsIterable listEngagementResourceAssociationsPaginator​(Consumer<ListEngagementResourceAssociationsRequest.Builder> listEngagementResourceAssociationsRequest)
                                                                                                throws ThrottlingException,
                                                                                                       AccessDeniedException,
                                                                                                       ValidationException,
                                                                                                       ResourceNotFoundException,
                                                                                                       AwsServiceException,
                                                                                                       SdkClientException,
                                                                                                       PartnerCentralSellingException

        This is a variant of listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client.listEngagementResourceAssociationsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client
                     .listEngagementResourceAssociationsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementResourceAssociationsIterable responses = client.listEngagementResourceAssociationsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagementResourceAssociations(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementResourceAssociationsRequest) operation.


        This is a convenience which creates an instance of the ListEngagementResourceAssociationsRequest.Builder avoiding the need to create one manually via ListEngagementResourceAssociationsRequest.builder()

        Parameters:
        listEngagementResourceAssociationsRequest - A Consumer that will call methods on ListEngagementResourceAssociationsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagements

        default ListEngagementsResponse listEngagements​(ListEngagementsRequest listEngagementsRequest)
                                                 throws ThrottlingException,
                                                        AccessDeniedException,
                                                        ValidationException,
                                                        ResourceNotFoundException,
                                                        AwsServiceException,
                                                        SdkClientException,
                                                        PartnerCentralSellingException

        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:
        Result of the ListEngagements operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementsPaginator

        default ListEngagementsIterable listEngagementsPaginator​(ListEngagementsRequest listEngagementsRequest)
                                                          throws ThrottlingException,
                                                                 AccessDeniedException,
                                                                 ValidationException,
                                                                 ResourceNotFoundException,
                                                                 AwsServiceException,
                                                                 SdkClientException,
                                                                 PartnerCentralSellingException

        This is a variant of listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client.listEngagementsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client
                     .listEngagementsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client.listEngagementsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest) operation.

        Parameters:
        listEngagementsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listEngagementsPaginator

        default ListEngagementsIterable listEngagementsPaginator​(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest)
                                                          throws ThrottlingException,
                                                                 AccessDeniedException,
                                                                 ValidationException,
                                                                 ResourceNotFoundException,
                                                                 AwsServiceException,
                                                                 SdkClientException,
                                                                 PartnerCentralSellingException

        This is a variant of listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client.listEngagementsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client
                     .listEngagementsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListEngagementsIterable responses = client.listEngagementsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listEngagements(software.amazon.awssdk.services.partnercentralselling.model.ListEngagementsRequest) operation.


        This is a convenience which creates an instance of the ListEngagementsRequest.Builder avoiding the need to create one manually via ListEngagementsRequest.builder()

        Parameters:
        listEngagementsRequest - A Consumer that will call methods on ListEngagementsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listOpportunities

        default ListOpportunitiesResponse listOpportunities​(ListOpportunitiesRequest listOpportunitiesRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the ListOpportunities API action.

        To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the ListOpportunities action.

        We recommend the following approach:

        1. Find the latest LastModifiedDate that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.

        2. When you send a ListOpportunities request, submit the date in ISO 8601 format in the AfterLastModifiedDate filter.

        3. Amazon Web Services only returns opportunities created or updated on or after that date and time. Use NextToken to iterate over all pages.

        Parameters:
        listOpportunitiesRequest -
        Returns:
        Result of the ListOpportunities operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listOpportunities

        default ListOpportunitiesResponse listOpportunities​(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the ListOpportunities API action.

        To synchronize your system with Amazon Web Services, only list the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus, you can also use the ListOpportunities action.

        We recommend the following approach:

        1. Find the latest LastModifiedDate that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.

        2. When you send a ListOpportunities request, submit the date in ISO 8601 format in the AfterLastModifiedDate filter.

        3. Amazon Web Services only returns opportunities created or updated on or after that date and time. Use NextToken to iterate over all pages.


        This is a convenience which creates an instance of the ListOpportunitiesRequest.Builder avoiding the need to create one manually via ListOpportunitiesRequest.builder()

        Parameters:
        listOpportunitiesRequest - A Consumer that will call methods on ListOpportunitiesRequest.Builder to create a request.
        Returns:
        Result of the ListOpportunities operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listOpportunitiesPaginator

        default ListOpportunitiesIterable listOpportunitiesPaginator​(ListOpportunitiesRequest listOpportunitiesRequest)
                                                              throws ThrottlingException,
                                                                     AccessDeniedException,
                                                                     InternalServerException,
                                                                     ValidationException,
                                                                     ResourceNotFoundException,
                                                                     AwsServiceException,
                                                                     SdkClientException,
                                                                     PartnerCentralSellingException

        This is a variant of listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client
                     .listOpportunitiesPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest) operation.

        Parameters:
        listOpportunitiesRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listOpportunitiesPaginator

        default ListOpportunitiesIterable listOpportunitiesPaginator​(Consumer<ListOpportunitiesRequest.Builder> listOpportunitiesRequest)
                                                              throws ThrottlingException,
                                                                     AccessDeniedException,
                                                                     InternalServerException,
                                                                     ValidationException,
                                                                     ResourceNotFoundException,
                                                                     AwsServiceException,
                                                                     SdkClientException,
                                                                     PartnerCentralSellingException

        This is a variant of listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client
                     .listOpportunitiesPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListOpportunitiesIterable responses = client.listOpportunitiesPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOpportunities(software.amazon.awssdk.services.partnercentralselling.model.ListOpportunitiesRequest) operation.


        This is a convenience which creates an instance of the ListOpportunitiesRequest.Builder avoiding the need to create one manually via ListOpportunitiesRequest.builder()

        Parameters:
        listOpportunitiesRequest - A Consumer that will call methods on ListOpportunitiesRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshotJobs

        default ListResourceSnapshotJobsResponse listResourceSnapshotJobs​(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        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:
        Result of the ListResourceSnapshotJobs operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshotJobsPaginator

        default ListResourceSnapshotJobsIterable listResourceSnapshotJobsPaginator​(ListResourceSnapshotJobsRequest listResourceSnapshotJobsRequest)
                                                                            throws ThrottlingException,
                                                                                   AccessDeniedException,
                                                                                   ValidationException,
                                                                                   ResourceNotFoundException,
                                                                                   AwsServiceException,
                                                                                   SdkClientException,
                                                                                   PartnerCentralSellingException

        This is a variant of listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client.listResourceSnapshotJobsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client
                     .listResourceSnapshotJobsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client.listResourceSnapshotJobsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest) operation.

        Parameters:
        listResourceSnapshotJobsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshotJobsPaginator

        default ListResourceSnapshotJobsIterable listResourceSnapshotJobsPaginator​(Consumer<ListResourceSnapshotJobsRequest.Builder> listResourceSnapshotJobsRequest)
                                                                            throws ThrottlingException,
                                                                                   AccessDeniedException,
                                                                                   ValidationException,
                                                                                   ResourceNotFoundException,
                                                                                   AwsServiceException,
                                                                                   SdkClientException,
                                                                                   PartnerCentralSellingException

        This is a variant of listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client.listResourceSnapshotJobsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client
                     .listResourceSnapshotJobsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotJobsIterable responses = client.listResourceSnapshotJobsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceSnapshotJobs(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotJobsRequest) operation.


        This is a convenience which creates an instance of the ListResourceSnapshotJobsRequest.Builder avoiding the need to create one manually via ListResourceSnapshotJobsRequest.builder()

        Parameters:
        listResourceSnapshotJobsRequest - A Consumer that will call methods on ListResourceSnapshotJobsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshots

        default ListResourceSnapshotsResponse listResourceSnapshots​(ListResourceSnapshotsRequest listResourceSnapshotsRequest)
                                                             throws ThrottlingException,
                                                                    AccessDeniedException,
                                                                    ValidationException,
                                                                    ResourceNotFoundException,
                                                                    AwsServiceException,
                                                                    SdkClientException,
                                                                    PartnerCentralSellingException

        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:
        Result of the ListResourceSnapshots operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshots

        default ListResourceSnapshotsResponse listResourceSnapshots​(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest)
                                                             throws ThrottlingException,
                                                                    AccessDeniedException,
                                                                    ValidationException,
                                                                    ResourceNotFoundException,
                                                                    AwsServiceException,
                                                                    SdkClientException,
                                                                    PartnerCentralSellingException

        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.Builder avoiding the need to create one manually via ListResourceSnapshotsRequest.builder()

        Parameters:
        listResourceSnapshotsRequest - A Consumer that will call methods on ListResourceSnapshotsRequest.Builder to create a request.
        Returns:
        Result of the ListResourceSnapshots operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshotsPaginator

        default ListResourceSnapshotsIterable listResourceSnapshotsPaginator​(ListResourceSnapshotsRequest listResourceSnapshotsRequest)
                                                                      throws ThrottlingException,
                                                                             AccessDeniedException,
                                                                             ValidationException,
                                                                             ResourceNotFoundException,
                                                                             AwsServiceException,
                                                                             SdkClientException,
                                                                             PartnerCentralSellingException

        This is a variant of listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client.listResourceSnapshotsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client
                     .listResourceSnapshotsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client.listResourceSnapshotsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest) operation.

        Parameters:
        listResourceSnapshotsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listResourceSnapshotsPaginator

        default ListResourceSnapshotsIterable listResourceSnapshotsPaginator​(Consumer<ListResourceSnapshotsRequest.Builder> listResourceSnapshotsRequest)
                                                                      throws ThrottlingException,
                                                                             AccessDeniedException,
                                                                             ValidationException,
                                                                             ResourceNotFoundException,
                                                                             AwsServiceException,
                                                                             SdkClientException,
                                                                             PartnerCentralSellingException

        This is a variant of listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client.listResourceSnapshotsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client
                     .listResourceSnapshotsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListResourceSnapshotsIterable responses = client.listResourceSnapshotsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceSnapshots(software.amazon.awssdk.services.partnercentralselling.model.ListResourceSnapshotsRequest) operation.


        This is a convenience which creates an instance of the ListResourceSnapshotsRequest.Builder avoiding the need to create one manually via ListResourceSnapshotsRequest.builder()

        Parameters:
        listResourceSnapshotsRequest - A Consumer that will call methods on ListResourceSnapshotsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listSolutions

        default ListSolutionsResponse listSolutions​(ListSolutionsRequest listSolutionsRequest)
                                             throws AccessDeniedException,
                                                    InternalServerException,
                                                    ValidationException,
                                                    ResourceNotFoundException,
                                                    AwsServiceException,
                                                    SdkClientException,
                                                    PartnerCentralSellingException

        Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.

        Parameters:
        listSolutionsRequest -
        Returns:
        Result of the ListSolutions operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listSolutionsPaginator

        default ListSolutionsIterable listSolutionsPaginator​(ListSolutionsRequest listSolutionsRequest)
                                                      throws AccessDeniedException,
                                                             InternalServerException,
                                                             ValidationException,
                                                             ResourceNotFoundException,
                                                             AwsServiceException,
                                                             SdkClientException,
                                                             PartnerCentralSellingException

        This is a variant of listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client
                     .listSolutionsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest) operation.

        Parameters:
        listSolutionsRequest -
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listSolutionsPaginator

        default ListSolutionsIterable listSolutionsPaginator​(Consumer<ListSolutionsRequest.Builder> listSolutionsRequest)
                                                      throws AccessDeniedException,
                                                             InternalServerException,
                                                             ValidationException,
                                                             ResourceNotFoundException,
                                                             AwsServiceException,
                                                             SdkClientException,
                                                             PartnerCentralSellingException

        This is a variant of listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest) operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.

        When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.

        The following are few ways to iterate through the response pages:

        1) Using a Stream
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request);
         responses.stream().forEach(....);
         
         
        2) Using For loop
         {
             @code
             software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client
                     .listSolutionsPaginator(request);
             for (software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsResponse response : responses) {
                 // do something;
             }
         }
         
        3) Use iterator directly
         
         software.amazon.awssdk.services.partnercentralselling.paginators.ListSolutionsIterable responses = client.listSolutionsPaginator(request);
         responses.iterator().forEachRemaining(....);
         
         

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSolutions(software.amazon.awssdk.services.partnercentralselling.model.ListSolutionsRequest) operation.


        This is a convenience which creates an instance of the ListSolutionsRequest.Builder avoiding the need to create one manually via ListSolutionsRequest.builder()

        Parameters:
        listSolutionsRequest - A Consumer that will call methods on ListSolutionsRequest.Builder to create a request.
        Returns:
        A custom iterable that can be used to iterate through all the response pages.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • listTagsForResource

        default ListTagsForResourceResponse listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)
                                                         throws ThrottlingException,
                                                                AccessDeniedException,
                                                                InternalServerException,
                                                                ValidationException,
                                                                ResourceNotFoundException,
                                                                AwsServiceException,
                                                                SdkClientException,
                                                                PartnerCentralSellingException

        Returns a list of tags for a resource.

        Parameters:
        listTagsForResourceRequest -
        Returns:
        Result of the ListTagsForResource operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • putSellingSystemSettings

        default PutSellingSystemSettingsResponse putSellingSystemSettings​(PutSellingSystemSettingsRequest putSellingSystemSettingsRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.

        Parameters:
        putSellingSystemSettingsRequest -
        Returns:
        Result of the PutSellingSystemSettings operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • rejectEngagementInvitation

        default RejectEngagementInvitationResponse rejectEngagementInvitation​(RejectEngagementInvitationRequest rejectEngagementInvitationRequest)
                                                                       throws ThrottlingException,
                                                                              ConflictException,
                                                                              AccessDeniedException,
                                                                              InternalServerException,
                                                                              ValidationException,
                                                                              ResourceNotFoundException,
                                                                              AwsServiceException,
                                                                              SdkClientException,
                                                                              PartnerCentralSellingException

        This action rejects an EngagementInvitation that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.

        Parameters:
        rejectEngagementInvitationRequest -
        Returns:
        Result of the RejectEngagementInvitation operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • rejectEngagementInvitation

        default RejectEngagementInvitationResponse rejectEngagementInvitation​(Consumer<RejectEngagementInvitationRequest.Builder> rejectEngagementInvitationRequest)
                                                                       throws ThrottlingException,
                                                                              ConflictException,
                                                                              AccessDeniedException,
                                                                              InternalServerException,
                                                                              ValidationException,
                                                                              ResourceNotFoundException,
                                                                              AwsServiceException,
                                                                              SdkClientException,
                                                                              PartnerCentralSellingException

        This action rejects an EngagementInvitation that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.


        This is a convenience which creates an instance of the RejectEngagementInvitationRequest.Builder avoiding the need to create one manually via RejectEngagementInvitationRequest.builder()

        Parameters:
        rejectEngagementInvitationRequest - A Consumer that will call methods on RejectEngagementInvitationRequest.Builder to create a request.
        Returns:
        Result of the RejectEngagementInvitation operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • startEngagementByAcceptingInvitationTask

        default StartEngagementByAcceptingInvitationTaskResponse startEngagementByAcceptingInvitationTask​(StartEngagementByAcceptingInvitationTaskRequest startEngagementByAcceptingInvitationTaskRequest)
                                                                                                   throws ThrottlingException,
                                                                                                          ConflictException,
                                                                                                          AccessDeniedException,
                                                                                                          InternalServerException,
                                                                                                          ValidationException,
                                                                                                          ServiceQuotaExceededException,
                                                                                                          ResourceNotFoundException,
                                                                                                          AwsServiceException,
                                                                                                          SdkClientException,
                                                                                                          PartnerCentralSellingException

        This action starts the engagement by accepting an EngagementInvitation. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, an Opportunity Created event is generated, indicating that the opportunity has been successfully created in the partner's account.

        Parameters:
        startEngagementByAcceptingInvitationTaskRequest -
        Returns:
        Result of the StartEngagementByAcceptingInvitationTask operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • startEngagementByAcceptingInvitationTask

        default StartEngagementByAcceptingInvitationTaskResponse startEngagementByAcceptingInvitationTask​(Consumer<StartEngagementByAcceptingInvitationTaskRequest.Builder> startEngagementByAcceptingInvitationTaskRequest)
                                                                                                   throws ThrottlingException,
                                                                                                          ConflictException,
                                                                                                          AccessDeniedException,
                                                                                                          InternalServerException,
                                                                                                          ValidationException,
                                                                                                          ServiceQuotaExceededException,
                                                                                                          ResourceNotFoundException,
                                                                                                          AwsServiceException,
                                                                                                          SdkClientException,
                                                                                                          PartnerCentralSellingException

        This action starts the engagement by accepting an EngagementInvitation. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, an Opportunity Created event is generated, indicating that the opportunity has been successfully created in the partner's account.


        This is a convenience which creates an instance of the StartEngagementByAcceptingInvitationTaskRequest.Builder avoiding the need to create one manually via StartEngagementByAcceptingInvitationTaskRequest.builder()

        Parameters:
        startEngagementByAcceptingInvitationTaskRequest - A Consumer that will call methods on StartEngagementByAcceptingInvitationTaskRequest.Builder to create a request.
        Returns:
        Result of the StartEngagementByAcceptingInvitationTask operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • startEngagementFromOpportunityTask

        default StartEngagementFromOpportunityTaskResponse startEngagementFromOpportunityTask​(StartEngagementFromOpportunityTaskRequest startEngagementFromOpportunityTaskRequest)
                                                                                       throws ThrottlingException,
                                                                                              ConflictException,
                                                                                              AccessDeniedException,
                                                                                              InternalServerException,
                                                                                              ValidationException,
                                                                                              ServiceQuotaExceededException,
                                                                                              ResourceNotFoundException,
                                                                                              AwsServiceException,
                                                                                              SdkClientException,
                                                                                              PartnerCentralSellingException

        This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion.

        Parameters:
        startEngagementFromOpportunityTaskRequest -
        Returns:
        Result of the StartEngagementFromOpportunityTask operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • startEngagementFromOpportunityTask

        default StartEngagementFromOpportunityTaskResponse startEngagementFromOpportunityTask​(Consumer<StartEngagementFromOpportunityTaskRequest.Builder> startEngagementFromOpportunityTaskRequest)
                                                                                       throws ThrottlingException,
                                                                                              ConflictException,
                                                                                              AccessDeniedException,
                                                                                              InternalServerException,
                                                                                              ValidationException,
                                                                                              ServiceQuotaExceededException,
                                                                                              ResourceNotFoundException,
                                                                                              AwsServiceException,
                                                                                              SdkClientException,
                                                                                              PartnerCentralSellingException

        This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion.


        This is a convenience which creates an instance of the StartEngagementFromOpportunityTaskRequest.Builder avoiding the need to create one manually via StartEngagementFromOpportunityTaskRequest.builder()

        Parameters:
        startEngagementFromOpportunityTaskRequest - A Consumer that will call methods on StartEngagementFromOpportunityTaskRequest.Builder to create a request.
        Returns:
        Result of the StartEngagementFromOpportunityTask operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • startResourceSnapshotJob

        default StartResourceSnapshotJobResponse startResourceSnapshotJob​(StartResourceSnapshotJobRequest startResourceSnapshotJobRequest)
                                                                   throws ThrottlingException,
                                                                          AccessDeniedException,
                                                                          ValidationException,
                                                                          ResourceNotFoundException,
                                                                          AwsServiceException,
                                                                          SdkClientException,
                                                                          PartnerCentralSellingException

        Starts a resource snapshot job that has been previously created.

        Parameters:
        startResourceSnapshotJobRequest -
        Returns:
        Result of the StartResourceSnapshotJob operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • stopResourceSnapshotJob

        default StopResourceSnapshotJobResponse stopResourceSnapshotJob​(StopResourceSnapshotJobRequest stopResourceSnapshotJobRequest)
                                                                 throws ThrottlingException,
                                                                        AccessDeniedException,
                                                                        ValidationException,
                                                                        ResourceNotFoundException,
                                                                        AwsServiceException,
                                                                        SdkClientException,
                                                                        PartnerCentralSellingException

        Stops a resource snapshot job. The job must be started prior to being stopped.

        Parameters:
        stopResourceSnapshotJobRequest -
        Returns:
        Result of the StopResourceSnapshotJob operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • submitOpportunity

        default SubmitOpportunityResponse submitOpportunity​(SubmitOpportunityRequest submitOpportunityRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        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.ReviewStatus as either Approved or Action Required.

        Parameters:
        submitOpportunityRequest -
        Returns:
        Result of the SubmitOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • submitOpportunity

        default SubmitOpportunityResponse submitOpportunity​(Consumer<SubmitOpportunityRequest.Builder> submitOpportunityRequest)
                                                     throws ThrottlingException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        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.ReviewStatus as either Approved or Action Required.


        This is a convenience which creates an instance of the SubmitOpportunityRequest.Builder avoiding the need to create one manually via SubmitOpportunityRequest.builder()

        Parameters:
        submitOpportunityRequest - A Consumer that will call methods on SubmitOpportunityRequest.Builder to create a request.
        Returns:
        Result of the SubmitOpportunity operation returned by the service.
        Throws:
        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • tagResource

        default TagResourceResponse tagResource​(TagResourceRequest tagResourceRequest)
                                         throws ThrottlingException,
                                                ConflictException,
                                                AccessDeniedException,
                                                InternalServerException,
                                                ValidationException,
                                                ResourceNotFoundException,
                                                AwsServiceException,
                                                SdkClientException,
                                                PartnerCentralSellingException

        Assigns one or more tags (key-value pairs) to the specified resource.

        Parameters:
        tagResourceRequest -
        Returns:
        Result of the TagResource operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • tagResource

        default TagResourceResponse tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)
                                         throws ThrottlingException,
                                                ConflictException,
                                                AccessDeniedException,
                                                InternalServerException,
                                                ValidationException,
                                                ResourceNotFoundException,
                                                AwsServiceException,
                                                SdkClientException,
                                                PartnerCentralSellingException

        Assigns one or more tags (key-value pairs) to the specified resource.


        This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
        Returns:
        Result of the TagResource operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • untagResource

        default UntagResourceResponse untagResource​(UntagResourceRequest untagResourceRequest)
                                             throws ThrottlingException,
                                                    ConflictException,
                                                    AccessDeniedException,
                                                    InternalServerException,
                                                    ValidationException,
                                                    ResourceNotFoundException,
                                                    AwsServiceException,
                                                    SdkClientException,
                                                    PartnerCentralSellingException

        Removes a tag or tags from a resource.

        Parameters:
        untagResourceRequest -
        Returns:
        Result of the UntagResource operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • untagResource

        default UntagResourceResponse untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
                                             throws ThrottlingException,
                                                    ConflictException,
                                                    AccessDeniedException,
                                                    InternalServerException,
                                                    ValidationException,
                                                    ResourceNotFoundException,
                                                    AwsServiceException,
                                                    SdkClientException,
                                                    PartnerCentralSellingException

        Removes a tag or tags from a resource.


        This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
        Returns:
        Result of the UntagResource operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • updateOpportunity

        default UpdateOpportunityResponse updateOpportunity​(UpdateOpportunityRequest updateOpportunityRequest)
                                                     throws ThrottlingException,
                                                            ConflictException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.

        When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed.

        Parameters:
        updateOpportunityRequest -
        Returns:
        Result of the UpdateOpportunity operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation
      • updateOpportunity

        default UpdateOpportunityResponse updateOpportunity​(Consumer<UpdateOpportunityRequest.Builder> updateOpportunityRequest)
                                                     throws ThrottlingException,
                                                            ConflictException,
                                                            AccessDeniedException,
                                                            InternalServerException,
                                                            ValidationException,
                                                            ResourceNotFoundException,
                                                            AwsServiceException,
                                                            SdkClientException,
                                                            PartnerCentralSellingException

        Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.

        When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed.


        This is a convenience which creates an instance of the UpdateOpportunityRequest.Builder avoiding the need to create one manually via UpdateOpportunityRequest.builder()

        Parameters:
        updateOpportunityRequest - A Consumer that will call methods on UpdateOpportunityRequest.Builder to create a request.
        Returns:
        Result of the UpdateOpportunity operation returned by the service.
        Throws:
        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.

        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.

        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.
        AwsServiceException
        See Also:
        AWS API Documentation