@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSMarketplaceAgreement
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSMarketplaceAgreement
instead.
AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.
To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:
DescribeAgreement
– Grants permission to users to obtain detailed meta data about any of their
agreements.
GetAgreementTerms
– Grants permission to users to obtain details about the terms of an agreement.
SearchAgreements
– Grants permission to users to search through all their agreements.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
DescribeAgreementResult |
describeAgreement(DescribeAgreementRequest describeAgreementRequest)
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
|
GetAgreementTermsResult |
getAgreementTerms(GetAgreementTermsRequest getAgreementTermsRequest)
Obtains details about the terms in an agreement that you participated in as proposer or acceptor.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
SearchAgreementsResult |
searchAgreements(SearchAgreementsRequest searchAgreementsRequest)
Searches across all agreements that a proposer or an acceptor has in AWS Marketplace.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
static final String ENDPOINT_PREFIX
DescribeAgreementResult describeAgreement(DescribeAgreementRequest describeAgreementRequest)
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
describeAgreementRequest
- ValidationException
- The input fails to satisfy the constraints specified by the service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ResourceNotFoundException
- Request references a resource which does not exist.InternalServerException
- Unexpected error during processing of request.GetAgreementTermsResult getAgreementTerms(GetAgreementTermsRequest getAgreementTermsRequest)
Obtains details about the terms in an agreement that you participated in as proposer or acceptor.
The details include:
TermType
– The type of term, such as LegalTerm
, RenewalTerm
, or
ConfigurableUpfrontPricingTerm
.
TermID
– The ID of the particular term, which is common between offer and agreement.
TermPayload
– The key information contained in the term, such as the EULA for LegalTerm
or pricing and dimensions for various pricing terms, such as ConfigurableUpfrontPricingTerm
or
UsageBasedPricingTerm
.
Configuration
– The buyer/acceptor's selection at the time of agreement creation, such as the number
of units purchased for a dimension or setting the EnableAutoRenew
flag.
getAgreementTermsRequest
- ValidationException
- The input fails to satisfy the constraints specified by the service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.ResourceNotFoundException
- Request references a resource which does not exist.InternalServerException
- Unexpected error during processing of request.SearchAgreementsResult searchAgreements(SearchAgreementsRequest searchAgreementsRequest)
Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.
The following filter combinations are supported:
PartyType
as Proposer
+ AgreementType
+ ResourceIdentifier
PartyType
as Proposer
+ AgreementType
+ OfferId
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
PartyType
as Proposer
+ AgreementType
+ Status
PartyType
as Proposer
+ AgreementType
+ ResourceIdentifier
+
Status
PartyType
as Proposer
+ AgreementType
+ OfferId
+
Status
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
Status
PartyType
as Proposer
+ AgreementType
+ ResourceType
+
Status
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
ResourceType
+ Status
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
OfferId
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
OfferId
+ Status
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
ResourceIdentifier
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
ResourceIdentifier
+ Status
PartyType
as Proposer
+ AgreementType
+ AcceptorAccountId
+
ResourceType
searchAgreementsRequest
- ValidationException
- The input fails to satisfy the constraints specified by the service.AccessDeniedException
- User does not have sufficient access to perform this action.ThrottlingException
- Request was denied due to request throttling.InternalServerException
- Unexpected error during processing of request.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.