New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-appconfigdata

Package Overview
Dependencies
Maintainers
5
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-appconfigdata

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

  • 3.744.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-98.55%
Maintainers
5
Weekly downloads
 
Created

What is @aws-sdk/client-appconfigdata?

@aws-sdk/client-appconfigdata is a part of the AWS SDK for JavaScript, which allows developers to interact with AWS AppConfig Data. AWS AppConfig is a capability of AWS Systems Manager that allows you to create, manage, and quickly deploy application configurations. This package provides methods to retrieve configuration data for your applications.

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

Retrieve Configuration

This feature allows you to retrieve the latest configuration data for your application. You need to provide a configuration token to get the latest configuration.

const { AppConfigDataClient, GetLatestConfigurationCommand } = require('@aws-sdk/client-appconfigdata');

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

const getConfig = async () => {
  const command = new GetLatestConfigurationCommand({
    ConfigurationToken: 'your-configuration-token'
  });
  const response = await client.send(command);
  console.log(response);
};

getConfig();

Start Configuration Session

This feature allows you to start a configuration session. You need to provide identifiers for the application, environment, and configuration profile.

const { AppConfigDataClient, StartConfigurationSessionCommand } = require('@aws-sdk/client-appconfigdata');

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

const startSession = async () => {
  const command = new StartConfigurationSessionCommand({
    ApplicationIdentifier: 'your-application-id',
    EnvironmentIdentifier: 'your-environment-id',
    ConfigurationProfileIdentifier: 'your-configuration-profile-id'
  });
  const response = await client.send(command);
  console.log(response);
};

startSession();

Get Configuration

This feature allows you to get a specific configuration for your application. You need to provide identifiers for the application, environment, configuration, and client.

const { AppConfigDataClient, GetConfigurationCommand } = require('@aws-sdk/client-appconfigdata');

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

const getConfiguration = async () => {
  const command = new GetConfigurationCommand({
    Application: 'your-application-id',
    Environment: 'your-environment-id',
    Configuration: 'your-configuration-id',
    ClientId: 'your-client-id'
  });
  const response = await client.send(command);
  console.log(response);
};

getConfiguration();

Other packages similar to @aws-sdk/client-appconfigdata

FAQs

Package last updated on 07 Feb 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