Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-marketplace-catalog

Package Overview
Dependencies
Maintainers
5
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-marketplace-catalog

AWS SDK for JavaScript Marketplace Catalog Client for Node.js, Browser and React Native

  • 3.731.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
150K
increased by17.54%
Maintainers
5
Weekly downloads
 
Created

What is @aws-sdk/client-marketplace-catalog?

@aws-sdk/client-marketplace-catalog is a part of the AWS SDK for JavaScript. It allows developers to interact with the AWS Marketplace Catalog API, enabling them to manage and update their product listings on the AWS Marketplace.

What are @aws-sdk/client-marketplace-catalog's main functionalities?

ListEntities

This feature allows you to list entities in the AWS Marketplace Catalog. The code sample demonstrates how to list entities of a specific type from the AWS Marketplace.

const { MarketplaceCatalogClient, ListEntitiesCommand } = require('@aws-sdk/client-marketplace-catalog');

const client = new MarketplaceCatalogClient({ region: 'us-west-2' });

const listEntities = async () => {
  const command = new ListEntitiesCommand({ Catalog: 'AWSMarketplace', EntityType: 'Entity' });
  const response = await client.send(command);
  console.log(response);
};

listEntities();

DescribeEntity

This feature allows you to describe a specific entity in the AWS Marketplace Catalog. The code sample demonstrates how to retrieve details of a specific entity using its ID.

const { MarketplaceCatalogClient, DescribeEntityCommand } = require('@aws-sdk/client-marketplace-catalog');

const client = new MarketplaceCatalogClient({ region: 'us-west-2' });

const describeEntity = async (entityId) => {
  const command = new DescribeEntityCommand({ Catalog: 'AWSMarketplace', EntityId: entityId });
  const response = await client.send(command);
  console.log(response);
};

describeEntity('example-entity-id');

StartChangeSet

This feature allows you to start a change set in the AWS Marketplace Catalog. The code sample demonstrates how to initiate a change set to add a new entity to the catalog.

const { MarketplaceCatalogClient, StartChangeSetCommand } = require('@aws-sdk/client-marketplace-catalog');

const client = new MarketplaceCatalogClient({ region: 'us-west-2' });

const startChangeSet = async () => {
  const command = new StartChangeSetCommand({
    Catalog: 'AWSMarketplace',
    ChangeSet: [
      {
        ChangeType: 'AddEntity',
        Entity: {
          Type: 'Entity',
          Identifier: 'example-entity-id'
        },
        Details: JSON.stringify({
          Name: 'Example Entity',
          Description: 'This is an example entity.'
        })
      }
    ]
  });
  const response = await client.send(command);
  console.log(response);
};

startChangeSet();

Other packages similar to @aws-sdk/client-marketplace-catalog

FAQs

Package last updated on 18 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc