@aws-sdk/client-cloudwatch 3.958.0 → 3.962.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -2033,10 +2033,10 @@ const paginateListMetricStreams = core.createPaginator(CloudWatchClient, ListMet
|
|
|
2033
2033
|
const checkState$1 = async (client, input) => {
|
|
2034
2034
|
let reason;
|
|
2035
2035
|
try {
|
|
2036
|
-
|
|
2036
|
+
let result = await client.send(new DescribeAlarmsCommand(input));
|
|
2037
2037
|
reason = result;
|
|
2038
2038
|
try {
|
|
2039
|
-
|
|
2039
|
+
const returnComparator = () => {
|
|
2040
2040
|
let flat_1 = [].concat(...result.MetricAlarms);
|
|
2041
2041
|
return (flat_1.length > 0.0);
|
|
2042
2042
|
};
|
|
@@ -2064,10 +2064,10 @@ const waitUntilAlarmExists = async (params, input) => {
|
|
|
2064
2064
|
const checkState = async (client, input) => {
|
|
2065
2065
|
let reason;
|
|
2066
2066
|
try {
|
|
2067
|
-
|
|
2067
|
+
let result = await client.send(new DescribeAlarmsCommand(input));
|
|
2068
2068
|
reason = result;
|
|
2069
2069
|
try {
|
|
2070
|
-
|
|
2070
|
+
const returnComparator = () => {
|
|
2071
2071
|
let flat_1 = [].concat(...result.CompositeAlarms);
|
|
2072
2072
|
return (flat_1.length > 0.0);
|
|
2073
2073
|
};
|
|
@@ -3,10 +3,10 @@ import { DescribeAlarmsCommand } from "../commands/DescribeAlarmsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAlarmsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.MetricAlarms);
|
|
11
11
|
return (flat_1.length > 0.0);
|
|
12
12
|
};
|
|
@@ -3,10 +3,10 @@ import { DescribeAlarmsCommand } from "../commands/DescribeAlarmsCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAlarmsCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
let flat_1 = [].concat(...result.CompositeAlarms);
|
|
11
11
|
return (flat_1.length > 0.0);
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
26
|
"@aws-sdk/core": "3.957.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|