Class: AWS.MarketplaceAgreement
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MarketplaceAgreement
- Identifier:
- marketplaceagreement
- API Version:
- 2020-03-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using MarketplaceAgreement
var marketplaceagreement = new AWS.MarketplaceAgreement();
marketplaceagreement.describeAgreement(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the MarketplaceAgreement object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var marketplaceagreement = new AWS.MarketplaceAgreement({apiVersion: '2020-03-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the marketplaceagreement service identifier:
AWS.config.apiVersions = {
marketplaceagreement: '2020-03-01',
// other service API versions
};
var marketplaceagreement = new AWS.MarketplaceAgreement();
Constructor Summary collapse
-
new AWS.MarketplaceAgreement(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
describeAgreement(params = {}, callback) ⇒ AWS.Request
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
.
-
getAgreementTerms(params = {}, callback) ⇒ AWS.Request
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 asLegalTerm
,RenewalTerm
, orConfigurableUpfrontPricingTerm
. -
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 forLegalTerm
or pricing and dimensions for various pricing terms, such asConfigurableUpfrontPricingTerm
orUsageBasedPricingTerm
.
-
Configuration
– The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting theEnableAutoRenew
flag.
-
-
searchAgreements(params = {}, callback) ⇒ AWS.Request
Searches across all agreements that a proposer or an acceptor has in AWS Marketplace.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MarketplaceAgreement(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
describeAgreement(params = {}, callback) ⇒ AWS.Request
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
getAgreementTerms(params = {}, callback) ⇒ AWS.Request
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 asLegalTerm
,RenewalTerm
, orConfigurableUpfrontPricingTerm
. -
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 forLegalTerm
or pricing and dimensions for various pricing terms, such asConfigurableUpfrontPricingTerm
orUsageBasedPricingTerm
.
-
Configuration
– The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting theEnableAutoRenew
flag.
searchAgreements(params = {}, callback) ⇒ AWS.Request
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
asProposer
+AgreementType
+ResourceIdentifier
-
PartyType
asProposer
+AgreementType
+OfferId
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
-
PartyType
asProposer
+AgreementType
+Status
-
PartyType
asProposer
+AgreementType
+ResourceIdentifier
+Status
-
PartyType
asProposer
+AgreementType
+OfferId
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+Status
-
PartyType
asProposer
+AgreementType
+ResourceType
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceType
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+OfferId
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+OfferId
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceIdentifier
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceIdentifier
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceType