Socket
Socket
Sign inDemoInstall

@aws-sdk/util-user-agent-node

Package Overview
Dependencies
73
Maintainers
5
Versions
188
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-sdk/util-user-agent-node

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-node.svg)](https://www.npmjs.com/


Version published
Weekly downloads
20M
increased by2.61%
Maintainers
5
Install size
470 kB
Created
Weekly downloads
 

Package description

What is @aws-sdk/util-user-agent-node?

@aws-sdk/util-user-agent-node is a utility package from the AWS SDK for JavaScript. It is used to construct and manage user-agent strings for AWS SDK clients running in Node.js environments. This helps in identifying the SDK version, environment, and other relevant information when making requests to AWS services.

What are @aws-sdk/util-user-agent-node's main functionalities?

Constructing User-Agent String

This feature allows you to construct a default user-agent string that includes information about the SDK version and the runtime environment.

const { defaultUserAgent } = require('@aws-sdk/util-user-agent-node');
const userAgent = defaultUserAgent();
console.log(userAgent);

Customizing User-Agent String

This feature allows you to customize the user-agent string by adding additional information, such as application-specific details.

const { defaultUserAgent } = require('@aws-sdk/util-user-agent-node');
const customUserAgent = defaultUserAgent({ custom: 'myApp/1.0.0' });
console.log(customUserAgent);

Other packages similar to @aws-sdk/util-user-agent-node

Changelog

Source

3.428.0 (2023-10-12)

Bug Fixes

  • lib-dynamodb: add e2e suite and bug fixes for lib-dynamodb (#5306) (2fe0a88)
  • middleware-flexible-checksums: skip checksum validation for s3 whole-object multipart GET (#5345) (6a6a75e)

Features

  • client-auditmanager: This release introduces a new limit to the awsAccounts parameter. When you create or update an assessment, there is now a limit of 200 AWS accounts that can be specified in the assessment scope. (af41764)
  • client-auto-scaling: Update the NotificationMetadata field to only allow visible ascii characters. Add paginators to DescribeInstanceRefreshes, DescribeLoadBalancers, and DescribeLoadBalancerTargetGroups (6727085)
  • client-config-service: Add enums for resource types supported by Config (1cdcf43)
  • client-controltower: Added new EnabledControl resource details to ListEnabledControls API and added new GetEnabledControl API. (784c6fb)
  • client-customer-profiles: Adds sensitive trait to various shapes in Customer Profiles Calculated Attribute API model. (73c9229)
  • client-ec2: This release adds Ubuntu Pro as a supported platform for On-Demand Capacity Reservations and adds support for setting an Amazon Machine Image (AMI) to disabled state. Disabling the AMI makes it private if it was previously shared, and prevents new EC2 instance launches from it. (9c57ae3)
  • client-glue: Extending version control support to GitLab and Bitbucket from AWSGlue (b683df3)
  • client-inspector2: Add MacOs ec2 platform support (2964c2f)
  • client-ivs-realtime: Update GetParticipant to return additional metadata. (4adb626)
  • client-lambda: Adds support for Lambda functions to access Dual-Stack subnets over IPv6, via an opt-in flag in CreateFunction and UpdateFunctionConfiguration APIs (2bb63a0)
  • client-location: This release adds endpoint updates for all AWS Location resource operations. (f71b216)
  • client-machine-learning: This release marks Password field as sensitive (4d5eac6)
  • client-rds: This release adds support for adding a dedicated log volume to open-source RDS instances. (634a983)
  • client-rekognition: Amazon Rekognition introduces support for Custom Moderation. This allows the enhancement of accuracy for detect moderation labels operations by creating custom adapters tuned on customer data. (87763f3)
  • client-sagemaker: Amazon SageMaker Canvas adds KendraSettings and DirectDeploySettings support for CanvasAppSettings (685916c)
  • client-textract: This release adds 9 new APIs for adapter and adapter version management, 3 new APIs for tagging, and updates AnalyzeDocument and StartDocumentAnalysis API parameters for using adapters. (4ce1e29)
  • client-transcribe: This release is to enable m4a format to customers (8c24c28)
  • clients: update client endpoints as of 2023-10-12 (3476339)

Readme

Source

@aws-sdk/util-user-agent-node

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Last updated on 12 Oct 2023

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc