@aws-sdk/client-cloudwatch 3.535.0 → 3.546.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -3069,6 +3069,9 @@ var se_SetAlarmStateInput = /* @__PURE__ */ __name((input, context) => {
3069
3069
  var se_SingleMetricAnomalyDetector = /* @__PURE__ */ __name((input, context) => {
3070
3070
  var _a;
3071
3071
  const entries = {};
3072
+ if (input[_AI] != null) {
3073
+ entries[_AI] = input[_AI];
3074
+ }
3072
3075
  if (input[_N] != null) {
3073
3076
  entries[_N] = input[_N];
3074
3077
  }
@@ -4393,6 +4396,9 @@ var de_ResourceNotFoundException = /* @__PURE__ */ __name((output, context) => {
4393
4396
  }, "de_ResourceNotFoundException");
4394
4397
  var de_SingleMetricAnomalyDetector = /* @__PURE__ */ __name((output, context) => {
4395
4398
  const contents = {};
4399
+ if (output[_AI] != null) {
4400
+ contents[_AI] = (0, import_smithy_client.expectString)(output[_AI]);
4401
+ }
4396
4402
  if (output[_N] != null) {
4397
4403
  contents[_N] = (0, import_smithy_client.expectString)(output[_N]);
4398
4404
  }
@@ -5482,9 +5488,6 @@ var waitUntilCompositeAlarmExists = /* @__PURE__ */ __name(async (params, input)
5482
5488
  const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
5483
5489
  return (0, import_util_waiter.checkExceptions)(result);
5484
5490
  }, "waitUntilCompositeAlarmExists");
5485
-
5486
- // src/index.ts
5487
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
5488
5491
  // Annotate the CommonJS export names for ESM import in node:
5489
5492
 
5490
5493
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -4,5 +4,4 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
- import "@aws-sdk/util-endpoints";
8
7
  export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
@@ -2437,6 +2437,9 @@ const se_SetAlarmStateInput = (input, context) => {
2437
2437
  };
2438
2438
  const se_SingleMetricAnomalyDetector = (input, context) => {
2439
2439
  const entries = {};
2440
+ if (input[_AI] != null) {
2441
+ entries[_AI] = input[_AI];
2442
+ }
2440
2443
  if (input[_N] != null) {
2441
2444
  entries[_N] = input[_N];
2442
2445
  }
@@ -3865,6 +3868,9 @@ const de_ResourceNotFoundException = (output, context) => {
3865
3868
  };
3866
3869
  const de_SingleMetricAnomalyDetector = (output, context) => {
3867
3870
  const contents = {};
3871
+ if (output[_AI] != null) {
3872
+ contents[_AI] = __expectString(output[_AI]);
3873
+ }
3868
3874
  if (output[_N] != null) {
3869
3875
  contents[_N] = __expectString(output[_N]);
3870
3876
  }
@@ -52,6 +52,7 @@ declare const DeleteAnomalyDetectorCommand_base: {
52
52
  * ],
53
53
  * Stat: "STRING_VALUE",
54
54
  * SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
55
+ * AccountId: "STRING_VALUE",
55
56
  * Namespace: "STRING_VALUE",
56
57
  * MetricName: "STRING_VALUE",
57
58
  * Dimensions: [
@@ -79,6 +79,7 @@ declare const DescribeAnomalyDetectorsCommand_base: {
79
79
  * // },
80
80
  * // StateValue: "PENDING_TRAINING" || "TRAINED_INSUFFICIENT_DATA" || "TRAINED",
81
81
  * // SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
82
+ * // AccountId: "STRING_VALUE",
82
83
  * // Namespace: "STRING_VALUE",
83
84
  * // MetricName: "STRING_VALUE",
84
85
  * // Dimensions: [
@@ -28,6 +28,9 @@ declare const PutAnomalyDetectorCommand_base: {
28
28
  /**
29
29
  * <p>Creates an anomaly detection model for a CloudWatch metric. You can use the model
30
30
  * to display a band of expected normal values when the metric is graphed.</p>
31
+ * <p>If you have enabled unified cross-account observability, and this account is a monitoring
32
+ * account, the metric can be in the same account or a source account. You can specify the account ID
33
+ * in the object you specify in the <code>SingleMetricAnomalyDetector</code> parameter.</p>
31
34
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Anomaly_Detection.html">CloudWatch Anomaly Detection</a>.</p>
32
35
  * @example
33
36
  * Use a bare-bones client and the command you need to make an API call.
@@ -55,6 +58,7 @@ declare const PutAnomalyDetectorCommand_base: {
55
58
  * MetricTimezone: "STRING_VALUE",
56
59
  * },
57
60
  * SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector
61
+ * AccountId: "STRING_VALUE",
58
62
  * Namespace: "STRING_VALUE",
59
63
  * MetricName: "STRING_VALUE",
60
64
  * Dimensions: [
@@ -40,8 +40,21 @@ declare const PutCompositeAlarmCommand_base: {
40
40
  * for the composite alarm. For example, you could create a composite
41
41
  * alarm that goes into ALARM state only when more than one of the underlying metric alarms
42
42
  * are in ALARM state.</p>
43
- * <p>Currently, the only alarm actions that can be taken by composite alarms are notifying
44
- * SNS topics.</p>
43
+ * <p>Composite alarms can take the following actions:</p>
44
+ * <ul>
45
+ * <li>
46
+ * <p>Notify Amazon SNS topics.</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>Invoke Lambda functions.</p>
50
+ * </li>
51
+ * <li>
52
+ * <p>Create OpsItems in Systems Manager Ops Center.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>Create incidents in Systems Manager Incident Manager.</p>
56
+ * </li>
57
+ * </ul>
45
58
  * <note>
46
59
  * <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and
47
60
  * composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle
@@ -32,7 +32,7 @@ declare const PutMetricDataCommand_base: {
32
32
  * take up to fifteen minutes for the metric to appear in calls to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
33
33
  * <p>You can publish either individual data points in the <code>Value</code> field, or
34
34
  * arrays of values and the number of times each value occurred during the period by using the
35
- * <code>Values</code> and <code>Counts</code> fields in the <code>MetricDatum</code> structure. Using
35
+ * <code>Values</code> and <code>Counts</code> fields in the <code>MetricData</code> structure. Using
36
36
  * the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
37
37
  * with one <code>PutMetricData</code> request, and
38
38
  * supports retrieving percentile statistics on this data.</p>
@@ -24,5 +24,4 @@ export * from "./commands";
24
24
  export * from "./pagination";
25
25
  export * from "./waiters";
26
26
  export * from "./models";
27
- import "@aws-sdk/util-endpoints";
28
27
  export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
@@ -370,10 +370,18 @@ export interface MetricMathAnomalyDetector {
370
370
  }
371
371
  /**
372
372
  * <p>Designates the CloudWatch metric and statistic that provides the time series the anomaly detector
373
- * uses as input.</p>
373
+ * uses as input. If you have enabled unified cross-account observability, and this account is a monitoring
374
+ * account, the metric can be in the same account or a source account.</p>
374
375
  * @public
375
376
  */
376
377
  export interface SingleMetricAnomalyDetector {
378
+ /**
379
+ * <p>If the CloudWatch metric that provides the time series that the anomaly detector
380
+ * uses as input is in another account, specify that account ID here. If you omit this parameter,
381
+ * the current account is used.</p>
382
+ * @public
383
+ */
384
+ AccountId?: string;
377
385
  /**
378
386
  * <p>The namespace of the metric to create the anomaly detection model for.</p>
379
387
  * @public
@@ -412,6 +420,8 @@ export type AnomalyDetectorStateValue = (typeof AnomalyDetectorStateValue)[keyof
412
420
  * <p>An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression.
413
421
  * You can use the model to display a band of expected, normal values
414
422
  * when the metric is graphed.</p>
423
+ * <p>If you have enabled unified cross-account observability, and this account is a monitoring
424
+ * account, the metric can be in the same account or a source account.</p>
415
425
  * @public
416
426
  */
417
427
  export interface AnomalyDetector {
@@ -2095,6 +2105,7 @@ export interface GetMetricDataInput {
2095
2105
  * <p>The order in which data points should be returned. <code>TimestampDescending</code> returns the newest data first and paginates
2096
2106
  * when the <code>MaxDatapoints</code> limit is reached. <code>TimestampAscending</code> returns the oldest data first and paginates
2097
2107
  * when the <code>MaxDatapoints</code> limit is reached.</p>
2108
+ * <p>If you omit this parameter, the default of <code>TimestampDescending</code> is used.</p>
2098
2109
  * @public
2099
2110
  */
2100
2111
  ScanBy?: ScanBy;
@@ -3036,7 +3047,7 @@ export interface PutAnomalyDetectorInput {
3036
3047
  * </p>
3037
3048
  * </li>
3038
3049
  * <li>
3039
- * <p>the <code>MetricMatchAnomalyDetector</code> parameters of <code>PutAnomalyDetectorInput</code>
3050
+ * <p>the <code>MetricMathAnomalyDetector</code> parameters of <code>PutAnomalyDetectorInput</code>
3040
3051
  * </p>
3041
3052
  * </li>
3042
3053
  * </ul>
@@ -3110,9 +3121,39 @@ export interface PutCompositeAlarmInput {
3110
3121
  /**
3111
3122
  * <p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state.
3112
3123
  * Each action is specified as an Amazon Resource Name (ARN).</p>
3113
- * <p>Valid Values: <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3124
+ * <p>Valid Values: ]</p>
3125
+ * <p>
3126
+ * <b>Amazon SNS actions:</b>
3127
+ * </p>
3128
+ * <p>
3129
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3114
3130
  * </code>
3115
- * | <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>
3131
+ * </p>
3132
+ * <p>
3133
+ * <b>Lambda actions:</b>
3134
+ * </p>
3135
+ * <ul>
3136
+ * <li>
3137
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3138
+ * </code>
3139
+ * </p>
3140
+ * </li>
3141
+ * <li>
3142
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3143
+ * </code>
3144
+ * </p>
3145
+ * </li>
3146
+ * <li>
3147
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3148
+ * </code>
3149
+ * </p>
3150
+ * </li>
3151
+ * </ul>
3152
+ * <p>
3153
+ * <b>Systems Manager actions:</b>
3154
+ * </p>
3155
+ * <p>
3156
+ * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>
3116
3157
  * </code>
3117
3158
  * </p>
3118
3159
  * @public
@@ -3198,26 +3239,82 @@ export interface PutCompositeAlarmInput {
3198
3239
  /**
3199
3240
  * <p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state.
3200
3241
  * Each action is specified as an Amazon Resource Name (ARN).</p>
3201
- * <p>Valid Values: <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3242
+ * <p>Valid Values: ]</p>
3243
+ * <p>
3244
+ * <b>Amazon SNS actions:</b>
3245
+ * </p>
3246
+ * <p>
3247
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3202
3248
  * </code>
3203
3249
  * </p>
3250
+ * <p>
3251
+ * <b>Lambda actions:</b>
3252
+ * </p>
3253
+ * <ul>
3254
+ * <li>
3255
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3256
+ * </code>
3257
+ * </p>
3258
+ * </li>
3259
+ * <li>
3260
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3261
+ * </code>
3262
+ * </p>
3263
+ * </li>
3264
+ * <li>
3265
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3266
+ * </code>
3267
+ * </p>
3268
+ * </li>
3269
+ * </ul>
3204
3270
  * @public
3205
3271
  */
3206
3272
  InsufficientDataActions?: string[];
3207
3273
  /**
3208
3274
  * <p>The actions to execute when this alarm transitions to an <code>OK</code> state
3209
3275
  * from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>
3210
- * <p>Valid Values: <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3276
+ * <p>Valid Values: ]</p>
3277
+ * <p>
3278
+ * <b>Amazon SNS actions:</b>
3279
+ * </p>
3280
+ * <p>
3281
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3211
3282
  * </code>
3212
3283
  * </p>
3284
+ * <p>
3285
+ * <b>Lambda actions:</b>
3286
+ * </p>
3287
+ * <ul>
3288
+ * <li>
3289
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3290
+ * </code>
3291
+ * </p>
3292
+ * </li>
3293
+ * <li>
3294
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3295
+ * </code>
3296
+ * </p>
3297
+ * </li>
3298
+ * <li>
3299
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3300
+ * </code>
3301
+ * </p>
3302
+ * </li>
3303
+ * </ul>
3213
3304
  * @public
3214
3305
  */
3215
3306
  OKActions?: string[];
3216
3307
  /**
3217
- * <p>A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.</p>
3218
- * <p>Tags can help you organize and categorize your
3219
- * resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with
3220
- * certain tag values.</p>
3308
+ * <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.
3309
+ * To be able to associate tags with the alarm when you create the alarm, you must
3310
+ * have the <code>cloudwatch:TagResource</code> permission.</p>
3311
+ * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
3312
+ * permissions by granting a user
3313
+ * permission to access or change only resources with certain tag values.</p>
3314
+ * <p>If you are using this operation to update an existing alarm, any tags
3315
+ * you specify in this parameter are ignored. To change the tags of an existing alarm, use
3316
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html">TagResource</a>
3317
+ * or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html">UntagResource</a>.</p>
3221
3318
  * @public
3222
3319
  */
3223
3320
  Tags?: Tag[];
@@ -3522,12 +3619,32 @@ export interface PutMetricAlarmInput {
3522
3619
  * </li>
3523
3620
  * </ul>
3524
3621
  * <p>
3622
+ * <b>Lambda actions:</b>
3623
+ * </p>
3624
+ * <ul>
3625
+ * <li>
3626
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3627
+ * </code>
3628
+ * </p>
3629
+ * </li>
3630
+ * <li>
3631
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3632
+ * </code>
3633
+ * </p>
3634
+ * </li>
3635
+ * <li>
3636
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3637
+ * </code>
3638
+ * </p>
3639
+ * </li>
3640
+ * </ul>
3641
+ * <p>
3525
3642
  * <b>SNS notification action:</b>
3526
3643
  * </p>
3527
3644
  * <ul>
3528
3645
  * <li>
3529
3646
  * <p>
3530
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3647
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3531
3648
  * </code>
3532
3649
  * </p>
3533
3650
  * </li>
@@ -3612,12 +3729,32 @@ export interface PutMetricAlarmInput {
3612
3729
  * </li>
3613
3730
  * </ul>
3614
3731
  * <p>
3732
+ * <b>Lambda actions:</b>
3733
+ * </p>
3734
+ * <ul>
3735
+ * <li>
3736
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3737
+ * </code>
3738
+ * </p>
3739
+ * </li>
3740
+ * <li>
3741
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3742
+ * </code>
3743
+ * </p>
3744
+ * </li>
3745
+ * <li>
3746
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3747
+ * </code>
3748
+ * </p>
3749
+ * </li>
3750
+ * </ul>
3751
+ * <p>
3615
3752
  * <b>SNS notification action:</b>
3616
3753
  * </p>
3617
3754
  * <ul>
3618
3755
  * <li>
3619
3756
  * <p>
3620
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3757
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3621
3758
  * </code>
3622
3759
  * </p>
3623
3760
  * </li>
@@ -3702,12 +3839,32 @@ export interface PutMetricAlarmInput {
3702
3839
  * </li>
3703
3840
  * </ul>
3704
3841
  * <p>
3842
+ * <b>Lambda actions:</b>
3843
+ * </p>
3844
+ * <ul>
3845
+ * <li>
3846
+ * <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3847
+ * </code>
3848
+ * </p>
3849
+ * </li>
3850
+ * <li>
3851
+ * <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3852
+ * </code>
3853
+ * </p>
3854
+ * </li>
3855
+ * <li>
3856
+ * <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3857
+ * </code>
3858
+ * </p>
3859
+ * </li>
3860
+ * </ul>
3861
+ * <p>
3705
3862
  * <b>SNS notification action:</b>
3706
3863
  * </p>
3707
3864
  * <ul>
3708
3865
  * <li>
3709
3866
  * <p>
3710
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3867
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3711
3868
  * </code>
3712
3869
  * </p>
3713
3870
  * </li>
@@ -7,5 +7,4 @@ export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
9
  export * from "./models";
10
- import "@aws-sdk/util-endpoints";
11
10
  export { CloudWatchServiceException } from "./models/CloudWatchServiceException";
@@ -93,6 +93,7 @@ export interface MetricMathAnomalyDetector {
93
93
  MetricDataQueries?: MetricDataQuery[];
94
94
  }
95
95
  export interface SingleMetricAnomalyDetector {
96
+ AccountId?: string;
96
97
  Namespace?: string;
97
98
  MetricName?: string;
98
99
  Dimensions?: Dimension[];
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.535.0",
4
+ "version": "3.546.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",