Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@aws-sdk/client-cloudwatch

Latest version: v3.1176.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: amzn-oss, aws-sdk-bot
3,687 Stars
712 Forks
61 Versions
32.2M Downloads
TypeScript Repo language

Scan summary

@aws-sdk/client-cloudwatch was last scanned on 23 Nov 2026 at version 3.1176.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 61 versions; the latest 5 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 3.1176.0.
  • Downloads: 32,196,687 downloads.

Versions

61 versions published
Versions and the rules that fired in each
VersionPublishedStatus
3.1176.0 LATEST 23 Nov 2026 No rules fired
3.1175.0 21 Nov 2026 No rules fired
3.1174.0 20 Nov 2026 No rules fired
3.1173.0 19 Nov 2026 Not shown
3.1172.0 18 Nov 2026 Not shown

No rules fired in 3.1176.0

Findings

Findings for v3.1176.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 3.1176.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@aws-sdk/client-cloudwatch

Description

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

Installing

To install this package, use the CLI of your favorite package manager:

  • npm install @aws-sdk/client-cloudwatch
  • yarn add @aws-sdk/client-cloudwatch
  • pnpm add @aws-sdk/client-cloudwatch

Getting Started

Import

The AWS SDK is modulized by clients and commands. To send a request, you only need to import the CloudWatchClient and the commands you need, for example ListMetricsCommand:

// ES5 example
const { CloudWatchClient, ListMetricsCommand } = require("@aws-sdk/client-cloudwatch");
// ES6+ example
import { CloudWatchClient, ListMetricsCommand } from "@aws-sdk/client-cloudwatch";
Usage

To send a request:

  • Instantiate a client with configuration (e.g. credentials, region).
  • Instantiate a command with input parameters.
  • Call the send operation on the client, providing the command object as input.
const client = new CloudWatchClient({ region: "REGION" });

const params = { /** input parameters */ };
const command = new ListMetricsCommand(params);
Supported Message Protocols

This client supports multiple protocols.

The default for this client is AWS JSON (RPC) 1.0.

We have selected this default based on our evaluation of the performance characteristics of this protocol format in JavaScript. You don't need to change it, but you have the option to do so, for example to support existing integrations or tests. Selecting a non-default protocol changes the format of the data sent over the network, but does not affect how you interact with the client using JavaScript objects.

Install the @aws-sdk/config package to access alternate protocols.

See AWS Protocols for more information.

AWS JSON (RPC) 1.0

This protocol uses JSON payloads.

import { AwsJson1_0Protocol } from "@aws-sdk/config/protocol";

const client = new CloudWatchClient({
  protocol: AwsJson1_0Protocol
});
AWS Query

This protocol uses query format requests and XML responses.

import { AwsQueryProtocol } from "@aws-sdk/config/protocol";

const client = new CloudWatchClient({
  protocol: AwsQueryProtocol
});
AWS Query

This protocol uses query format requests and XML responses.

import { AwsQueryProtocol } from "@aws-sdk/config/protocol";

const client = new CloudWatchClient({
  protocol: AwsQueryProtocol
});
Smithy RPC v2 CBOR

This protocol uses CBOR payloads.

import { AwsSmithyRpcV2CborProtocol } from "@aws-sdk/config/protocol";

const client = new CloudWatchClient({
  protocol: AwsSmithyRpcV2CborProtocol
});
Async/await

We recommend using the await operator to wait for the promise returned by send operation as follows:

// async/await.
try {
  const data = await client.send(command);
  // process data.
} catch (error) {
  // error handling.
} finally {
  // finally.
}
Promises

You can also use Promise chaining.

client
  .send(command)
  .then((data) => {
    // process data.
  })
  .catch((error) => {
    // error handling.
  })
  .finally(() => {
    // finally.
  });
Aggregated client

The aggregated client class is exported from the same package, but without the "Client" suffix.

CloudWatch extends CloudWatchClient and additionally supports all operations, waiters, and paginators as methods. This style may be familiar to you from the AWS SDK for JavaScript v2.

If you are bundling the AWS SDK, we recommend using only the bare-bones client (CloudWatchClient). More details are in the blog post on modular packages in AWS SDK for JavaScript.

import { CloudWatch } from "@aws-sdk/client-cloudwatch";

const client = new CloudWatch({ region: "REGION" });

// async/await.
try {
  const data = await client.listMetrics(params);
  // process data.
} catch (error) {
  // error handling.
}

// Promises.
client
  .listMetrics(params)
  .then((data) => {
    // process data.
  })
  .catch((error) => {
    // error handling.
  });

// callbacks (not recommended).
client.listMetrics(params, (err, data) => {
  // process err and data.
});
Troubleshooting

When the service returns an exception, the error will include the exception information, as well as response metadata (e.g. request id).

try {
  const data = await client.send(command);
  // process data.
} catch (error) {
  const { requestId, cfId, extendedRequestId } = error.$metadata;
  console.log({ requestId, cfId, extendedRequestId });
  /**
   * The keys within exceptions are also parsed.
   * You can access them by specifying exception names:
   * if (error.name === 'SomeServiceException') {
   *     const value = error.specialKeyInException;
   * }
   */
}

See also docs/ERROR_HANDLING.

Getting Help

Please use these community resources for getting help. We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.

To test your universal JavaScript code in Node.js, browser and react-native environments, visit our code samples repo.

Contributing

This client code is generated automatically. Any modifications will be overwritten the next time the @aws-sdk/client-cloudwatch package is updated. To contribute to client you can check our generate clients scripts.

License

This SDK is distributed under the Apache License, Version 2.0, see LICENSE for more information.

Client Commands (Operations List)

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

Command API Reference / Input / Output

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @aws-sdk/client-cloudwatch

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229