Class: AWS.MarketplaceCatalog
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MarketplaceCatalog
- Identifier:
- marketplacecatalog
- API Version:
- 2018-09-17
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.
You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.
Sending a Request Using MarketplaceCatalog
var marketplacecatalog = new AWS.MarketplaceCatalog();
marketplacecatalog.cancelChangeSet(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 MarketplaceCatalog object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var marketplacecatalog = new AWS.MarketplaceCatalog({apiVersion: '2018-09-17'});
You can also set the API version globally in AWS.config.apiVersions
using
the marketplacecatalog service identifier:
AWS.config.apiVersions = {
marketplacecatalog: '2018-09-17',
// other service API versions
};
var marketplacecatalog = new AWS.MarketplaceCatalog();
Constructor Summary collapse
-
new AWS.MarketplaceCatalog(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
-
cancelChangeSet(params = {}, callback) ⇒ AWS.Request
Used to cancel an open change request.
-
describeChangeSet(params = {}, callback) ⇒ AWS.Request
Provides information about a given change set.
.
-
describeEntity(params = {}, callback) ⇒ AWS.Request
Returns the metadata and content of the entity.
.
-
listChangeSets(params = {}, callback) ⇒ AWS.Request
Returns the list of change sets owned by the account being used to make the call.
-
listEntities(params = {}, callback) ⇒ AWS.Request
Provides the list of entities of a given type.
.
-
startChangeSet(params = {}, callback) ⇒ AWS.Request
This operation allows you to request changes for your entities.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MarketplaceCatalog(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
cancelChangeSet(params = {}, callback) ⇒ AWS.Request
Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING
, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
describeChangeSet(params = {}, callback) ⇒ AWS.Request
Provides information about a given change set.
listChangeSets(params = {}, callback) ⇒ AWS.Request
Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId
, ChangeSetName
, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.
You can describe a change during the 60-day request history retention period for API calls.
startChangeSet(params = {}, callback) ⇒ AWS.Request
This operation allows you to request changes for your entities. Within a single ChangeSet, you cannot start the same change type against the same entity multiple times. Additionally, when a ChangeSet is running, all the entities targeted by the different changes are locked until the ChangeSet has completed (either succeeded, cancelled, or failed). If you try to start a ChangeSet containing a change against an entity that is already locked, you will receive a ResourceInUseException
.
For example, you cannot start the ChangeSet described in the example later in this topic, because it contains two changes to execute the same change type (AddRevisions
) against the same entity (entity-id@1)
.
For more information about working with change sets, see Working with change sets.