@aws-sdk/client-cloudwatch 3.812.0 → 3.816.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
@@ -30,6 +30,7 @@ __export(index_exports, {
30
30
  CloudWatchServiceException: () => CloudWatchServiceException,
31
31
  ComparisonOperator: () => ComparisonOperator,
32
32
  ConcurrentModificationException: () => ConcurrentModificationException,
33
+ ConflictException: () => ConflictException,
33
34
  DashboardInvalidInputError: () => DashboardInvalidInputError,
34
35
  DashboardNotFoundError: () => DashboardNotFoundError,
35
36
  DeleteAlarmsCommand: () => DeleteAlarmsCommand,
@@ -364,6 +365,26 @@ var ConcurrentModificationException = class _ConcurrentModificationException ext
364
365
  this.Message = opts.Message;
365
366
  }
366
367
  };
368
+ var ConflictException = class _ConflictException extends CloudWatchServiceException {
369
+ static {
370
+ __name(this, "ConflictException");
371
+ }
372
+ name = "ConflictException";
373
+ $fault = "client";
374
+ Message;
375
+ /**
376
+ * @internal
377
+ */
378
+ constructor(opts) {
379
+ super({
380
+ name: "ConflictException",
381
+ $fault: "client",
382
+ ...opts
383
+ });
384
+ Object.setPrototypeOf(this, _ConflictException.prototype);
385
+ this.Message = opts.Message;
386
+ }
387
+ };
367
388
  var DashboardInvalidInputError = class _DashboardInvalidInputError extends CloudWatchServiceException {
368
389
  static {
369
390
  __name(this, "DashboardInvalidInputError");
@@ -1504,6 +1525,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1504
1525
  case "ResourceNotFoundException":
1505
1526
  case "com.amazonaws.cloudwatch#ResourceNotFoundException":
1506
1527
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1528
+ case "ConflictException":
1529
+ case "com.amazonaws.cloudwatch#ConflictException":
1530
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1507
1531
  case "InvalidNextToken":
1508
1532
  case "com.amazonaws.cloudwatch#InvalidNextToken":
1509
1533
  throw await de_InvalidNextTokenRes(parsedOutput, context);
@@ -1540,6 +1564,15 @@ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsed
1540
1564
  });
1541
1565
  return (0, import_smithy_client.decorateServiceException)(exception, body);
1542
1566
  }, "de_ConcurrentModificationExceptionRes");
1567
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1568
+ const body = parsedOutput.body;
1569
+ const deserialized = de_ConflictException(body.Error, context);
1570
+ const exception = new ConflictException({
1571
+ $metadata: deserializeMetadata(parsedOutput),
1572
+ ...deserialized
1573
+ });
1574
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1575
+ }, "de_ConflictExceptionRes");
1543
1576
  var de_DashboardInvalidInputErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1544
1577
  const body = parsedOutput.body;
1545
1578
  const deserialized = de_DashboardInvalidInputError(body.Error, context);
@@ -2904,6 +2937,9 @@ var se_PutInsightRuleInput = /* @__PURE__ */ __name((input, context) => {
2904
2937
  entries[loc] = value;
2905
2938
  });
2906
2939
  }
2940
+ if (input[_AOTL] != null) {
2941
+ entries[_AOTL] = input[_AOTL];
2942
+ }
2907
2943
  return entries;
2908
2944
  }, "se_PutInsightRuleInput");
2909
2945
  var se_PutManagedInsightRulesInput = /* @__PURE__ */ __name((input, context) => {
@@ -3490,6 +3526,13 @@ var de_ConcurrentModificationException = /* @__PURE__ */ __name((output, context
3490
3526
  }
3491
3527
  return contents;
3492
3528
  }, "de_ConcurrentModificationException");
3529
+ var de_ConflictException = /* @__PURE__ */ __name((output, context) => {
3530
+ const contents = {};
3531
+ if (output[_Mes] != null) {
3532
+ contents[_Mes] = (0, import_smithy_client.expectString)(output[_Mes]);
3533
+ }
3534
+ return contents;
3535
+ }, "de_ConflictException");
3493
3536
  var de_DashboardEntries = /* @__PURE__ */ __name((output, context) => {
3494
3537
  return (output || []).filter((e) => e != null).map((entry) => {
3495
3538
  return de_DashboardEntry(entry, context);
@@ -3843,6 +3886,9 @@ var de_InsightRule = /* @__PURE__ */ __name((output, context) => {
3843
3886
  if (output[_MRana] != null) {
3844
3887
  contents[_MRana] = (0, import_smithy_client.parseBoolean)(output[_MRana]);
3845
3888
  }
3889
+ if (output[_AOTL] != null) {
3890
+ contents[_AOTL] = (0, import_smithy_client.parseBoolean)(output[_AOTL]);
3891
+ }
3846
3892
  return contents;
3847
3893
  }, "de_InsightRule");
3848
3894
  var de_InsightRuleContributor = /* @__PURE__ */ __name((output, context) => {
@@ -4592,6 +4638,7 @@ var _AI = "AccountId";
4592
4638
  var _AN = "AlarmNames";
4593
4639
  var _ANP = "AlarmNamePrefix";
4594
4640
  var _ANl = "AlarmName";
4641
+ var _AOTL = "ApplyOnTransformedLogs";
4595
4642
  var _AP = "ActionPrefix";
4596
4643
  var _AR = "AlarmRule";
4597
4644
  var _AS = "AdditionalStatistics";
@@ -5588,6 +5635,7 @@ var waitUntilCompositeAlarmExists = /* @__PURE__ */ __name(async (params, input)
5588
5635
  ComparisonOperator,
5589
5636
  StateValue,
5590
5637
  ConcurrentModificationException,
5638
+ ConflictException,
5591
5639
  DashboardInvalidInputError,
5592
5640
  DashboardNotFoundError,
5593
5641
  ResourceNotFound,
@@ -79,6 +79,20 @@ export class ConcurrentModificationException extends __BaseException {
79
79
  this.Message = opts.Message;
80
80
  }
81
81
  }
82
+ export class ConflictException extends __BaseException {
83
+ name = "ConflictException";
84
+ $fault = "client";
85
+ Message;
86
+ constructor(opts) {
87
+ super({
88
+ name: "ConflictException",
89
+ $fault: "client",
90
+ ...opts,
91
+ });
92
+ Object.setPrototypeOf(this, ConflictException.prototype);
93
+ this.Message = opts.Message;
94
+ }
95
+ }
82
96
  export class DashboardInvalidInputError extends __BaseException {
83
97
  name = "DashboardInvalidInputError";
84
98
  $fault = "client";
@@ -2,7 +2,7 @@ import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
4
4
  import { CloudWatchServiceException as __BaseException } from "../models/CloudWatchServiceException";
5
- import { ConcurrentModificationException, DashboardInvalidInputError, InternalServiceFault, InvalidFormatFault, InvalidNextToken, InvalidParameterCombinationException, InvalidParameterValueException, LimitExceededException, LimitExceededFault, MissingRequiredParameterException, ResourceNotFound, ResourceNotFoundException, } from "../models/models_0";
5
+ import { ConcurrentModificationException, ConflictException, DashboardInvalidInputError, InternalServiceFault, InvalidFormatFault, InvalidNextToken, InvalidParameterCombinationException, InvalidParameterValueException, LimitExceededException, LimitExceededFault, MissingRequiredParameterException, ResourceNotFound, ResourceNotFoundException, } from "../models/models_0";
6
6
  export const se_DeleteAlarmsCommand = async (input, context) => {
7
7
  const headers = SHARED_HEADERS;
8
8
  let body;
@@ -881,6 +881,9 @@ const de_CommandError = async (output, context) => {
881
881
  case "ResourceNotFoundException":
882
882
  case "com.amazonaws.cloudwatch#ResourceNotFoundException":
883
883
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
884
+ case "ConflictException":
885
+ case "com.amazonaws.cloudwatch#ConflictException":
886
+ throw await de_ConflictExceptionRes(parsedOutput, context);
884
887
  case "InvalidNextToken":
885
888
  case "com.amazonaws.cloudwatch#InvalidNextToken":
886
889
  throw await de_InvalidNextTokenRes(parsedOutput, context);
@@ -917,6 +920,15 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
917
920
  });
918
921
  return __decorateServiceException(exception, body);
919
922
  };
923
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
924
+ const body = parsedOutput.body;
925
+ const deserialized = de_ConflictException(body.Error, context);
926
+ const exception = new ConflictException({
927
+ $metadata: deserializeMetadata(parsedOutput),
928
+ ...deserialized,
929
+ });
930
+ return __decorateServiceException(exception, body);
931
+ };
920
932
  const de_DashboardInvalidInputErrorRes = async (parsedOutput, context) => {
921
933
  const body = parsedOutput.body;
922
934
  const deserialized = de_DashboardInvalidInputError(body.Error, context);
@@ -2285,6 +2297,9 @@ const se_PutInsightRuleInput = (input, context) => {
2285
2297
  entries[loc] = value;
2286
2298
  });
2287
2299
  }
2300
+ if (input[_AOTL] != null) {
2301
+ entries[_AOTL] = input[_AOTL];
2302
+ }
2288
2303
  return entries;
2289
2304
  };
2290
2305
  const se_PutManagedInsightRulesInput = (input, context) => {
@@ -2886,6 +2901,13 @@ const de_ConcurrentModificationException = (output, context) => {
2886
2901
  }
2887
2902
  return contents;
2888
2903
  };
2904
+ const de_ConflictException = (output, context) => {
2905
+ const contents = {};
2906
+ if (output[_Mes] != null) {
2907
+ contents[_Mes] = __expectString(output[_Mes]);
2908
+ }
2909
+ return contents;
2910
+ };
2889
2911
  const de_DashboardEntries = (output, context) => {
2890
2912
  return (output || [])
2891
2913
  .filter((e) => e != null)
@@ -3269,6 +3291,9 @@ const de_InsightRule = (output, context) => {
3269
3291
  if (output[_MRana] != null) {
3270
3292
  contents[_MRana] = __parseBoolean(output[_MRana]);
3271
3293
  }
3294
+ if (output[_AOTL] != null) {
3295
+ contents[_AOTL] = __parseBoolean(output[_AOTL]);
3296
+ }
3272
3297
  return contents;
3273
3298
  };
3274
3299
  const de_InsightRuleContributor = (output, context) => {
@@ -4087,6 +4112,7 @@ const _AI = "AccountId";
4087
4112
  const _AN = "AlarmNames";
4088
4113
  const _ANP = "AlarmNamePrefix";
4089
4114
  const _ANl = "AlarmName";
4115
+ const _AOTL = "ApplyOnTransformedLogs";
4090
4116
  const _AP = "ActionPrefix";
4091
4117
  const _AR = "AlarmRule";
4092
4118
  const _AS = "AdditionalStatistics";
@@ -31,8 +31,8 @@ declare const DeleteAlarmsCommand_base: {
31
31
  * However, this total can include no more than one composite alarm. For example, you could
32
32
  * delete 99 metric alarms and one composite alarms with one operation, but you can't
33
33
  * delete two composite alarms with one operation.</p>
34
- * <p> If you specify an incorrect alarm name or make any other error in the operation,
35
- * no alarms are deleted. To confirm that alarms were deleted successfully, you can use the
34
+ * <p> If you specify any incorrect alarm names, the alarms you specify with correct names are still deleted. Other syntax errors might result
35
+ * in no alarms being deleted. To confirm that alarms were deleted successfully, you can use the
36
36
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> operation after using <code>DeleteAlarms</code>.</p>
37
37
  * <note>
38
38
  * <p>It is possible to create a loop or cycle of composite alarms, where composite
@@ -52,6 +52,9 @@ declare const DeleteDashboardsCommand_base: {
52
52
  * @see {@link DeleteDashboardsCommandOutput} for command's `response` shape.
53
53
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
54
54
  *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>This operation attempted to create a resource that already exists.</p>
57
+ *
55
58
  * @throws {@link DashboardNotFoundError} (client fault)
56
59
  * <p>The specified dashboard does not exist.</p>
57
60
  *
@@ -51,6 +51,7 @@ declare const DescribeInsightRulesCommand_base: {
51
51
  * // Schema: "STRING_VALUE", // required
52
52
  * // Definition: "STRING_VALUE", // required
53
53
  * // ManagedRule: true || false,
54
+ * // ApplyOnTransformedLogs: true || false,
54
55
  * // },
55
56
  * // ],
56
57
  * // };
@@ -72,6 +72,9 @@ declare const PutDashboardCommand_base: {
72
72
  * @see {@link PutDashboardCommandOutput} for command's `response` shape.
73
73
  * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
74
74
  *
75
+ * @throws {@link ConflictException} (client fault)
76
+ * <p>This operation attempted to create a resource that already exists.</p>
77
+ *
75
78
  * @throws {@link DashboardInvalidInputError} (client fault)
76
79
  * <p>Some part of the dashboard data is invalid.</p>
77
80
  *
@@ -49,6 +49,7 @@ declare const PutInsightRuleCommand_base: {
49
49
  * Value: "STRING_VALUE", // required
50
50
  * },
51
51
  * ],
52
+ * ApplyOnTransformedLogs: true || false,
52
53
  * };
53
54
  * const command = new PutInsightRuleCommand(input);
54
55
  * const response = await client.send(command);
@@ -71,6 +71,9 @@ declare const TagResourceCommand_base: {
71
71
  * @throws {@link ConcurrentModificationException} (client fault)
72
72
  * <p>More than one process tried to modify a resource at the same time.</p>
73
73
  *
74
+ * @throws {@link ConflictException} (client fault)
75
+ * <p>This operation attempted to create a resource that already exists.</p>
76
+ *
74
77
  * @throws {@link InternalServiceFault} (server fault)
75
78
  * <p>Request processing has failed due to some unknown error, exception, or
76
79
  * failure.</p>
@@ -55,6 +55,9 @@ declare const UntagResourceCommand_base: {
55
55
  * @throws {@link ConcurrentModificationException} (client fault)
56
56
  * <p>More than one process tried to modify a resource at the same time.</p>
57
57
  *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>This operation attempted to create a resource that already exists.</p>
60
+ *
58
61
  * @throws {@link InternalServiceFault} (server fault)
59
62
  * <p>Request processing has failed due to some unknown error, exception, or
60
63
  * failure.</p>
@@ -233,7 +233,7 @@ export interface MetricStat {
233
233
  * <p>The granularity, in seconds, of the returned data points. For metrics with regular
234
234
  * resolution, a period can be as short as one minute (60 seconds) and must be a multiple
235
235
  * of 60. For high-resolution metrics that are collected at intervals of less than one
236
- * minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution
236
+ * minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution
237
237
  * metrics are those metrics stored by a <code>PutMetricData</code> call that includes a
238
238
  * <code>StorageResolution</code> of 1 second.</p>
239
239
  * <p>If the <code>StartTime</code> parameter specifies a time stamp that is greater than
@@ -365,7 +365,7 @@ export interface MetricDataQuery {
365
365
  * <p>The granularity, in seconds, of the returned data points. For metrics with regular
366
366
  * resolution, a period can be as short as one minute (60 seconds) and must be a multiple
367
367
  * of 60. For high-resolution metrics that are collected at intervals of less than one
368
- * minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution
368
+ * minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution
369
369
  * metrics are those metrics stored by a <code>PutMetricData</code> operation that includes
370
370
  * a <code>StorageResolution of 1 second</code>.</p>
371
371
  * @public
@@ -732,6 +732,19 @@ export declare class ConcurrentModificationException extends __BaseException {
732
732
  */
733
733
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
734
734
  }
735
+ /**
736
+ * <p>This operation attempted to create a resource that already exists.</p>
737
+ * @public
738
+ */
739
+ export declare class ConflictException extends __BaseException {
740
+ readonly name: "ConflictException";
741
+ readonly $fault: "client";
742
+ Message?: string | undefined;
743
+ /**
744
+ * @internal
745
+ */
746
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
747
+ }
735
748
  /**
736
749
  * <p>Represents a specific dashboard.</p>
737
750
  * @public
@@ -1676,6 +1689,12 @@ export interface InsightRule {
1676
1689
  * @public
1677
1690
  */
1678
1691
  ManagedRule?: boolean | undefined;
1692
+ /**
1693
+ * <p>Displays whether the rule is evaluated on the transformed versions of logs, for log groups
1694
+ * that have <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html">Log transformation</a> enabled. If this is <code>false</code>, log events are evaluated before they are transformed.</p>
1695
+ * @public
1696
+ */
1697
+ ApplyOnTransformedLogs?: boolean | undefined;
1679
1698
  }
1680
1699
  /**
1681
1700
  * @public
@@ -2272,8 +2291,8 @@ export interface GetMetricDataInput {
2272
2291
  * clock interval. For example, 12:32:34 is rounded down to 12:00:00.</p>
2273
2292
  * </li>
2274
2293
  * </ul>
2275
- * <p>If you set <code>Period</code> to 5, 10, or 30, the start time of your request is
2276
- * rounded down to the nearest time that corresponds to even 5-, 10-, or 30-second
2294
+ * <p>If you set <code>Period</code> to 5, 10, 20, or 30, the start time of your request is
2295
+ * rounded down to the nearest time that corresponds to even 5-, 10-, 20-, or 30-second
2277
2296
  * divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the
2278
2297
  * previous 10-second period, the start time of your request is rounded down and you
2279
2298
  * receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous
@@ -2486,8 +2505,8 @@ export interface GetMetricStatisticsInput {
2486
2505
  * clock interval. For example, 12:32:34 is rounded down to 12:00:00.</p>
2487
2506
  * </li>
2488
2507
  * </ul>
2489
- * <p>If you set <code>Period</code> to 5, 10, or 30, the start time of your request is
2490
- * rounded down to the nearest time that corresponds to even 5-, 10-, or 30-second
2508
+ * <p>If you set <code>Period</code> to 5, 10, 20, or 30, the start time of your request is
2509
+ * rounded down to the nearest time that corresponds to even 5-, 10-, 20-, or 30-second
2491
2510
  * divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the
2492
2511
  * previous 10-second period, the start time of your request is rounded down and you
2493
2512
  * receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous
@@ -2508,7 +2527,7 @@ export interface GetMetricStatisticsInput {
2508
2527
  * <p>The granularity, in seconds, of the returned data points. For metrics with regular
2509
2528
  * resolution, a period can be as short as one minute (60 seconds) and must be a multiple
2510
2529
  * of 60. For high-resolution metrics that are collected at intervals of less than one
2511
- * minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution
2530
+ * minute, the period can be 1, 5, 10, 20, 30, 60, or any multiple of 60. High-resolution
2512
2531
  * metrics are those metrics stored by a <code>PutMetricData</code> call that includes a
2513
2532
  * <code>StorageResolution</code> of 1 second.</p>
2514
2533
  * <p>If the <code>StartTime</code> parameter specifies a time stamp that is greater than
@@ -2971,8 +2990,8 @@ export interface ListMetricsInput {
2971
2990
  */
2972
2991
  MetricName?: string | undefined;
2973
2992
  /**
2974
- * <p>The dimensions to filter against. Only the dimensions that match exactly will be
2975
- * returned.</p>
2993
+ * <p>The dimensions to filter against. Only the dimension with names that match exactly will be
2994
+ * returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.</p>
2976
2995
  * @public
2977
2996
  */
2978
2997
  Dimensions?: DimensionFilter[] | undefined;
@@ -3348,7 +3367,7 @@ export interface PutCompositeAlarmInput {
3348
3367
  * <b>Start a Amazon Q Developer operational investigation</b>
3349
3368
  * </p>
3350
3369
  * <p>
3351
- * <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>ingestigation-group-id</i>
3370
+ * <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>investigation-group-id</i>
3352
3371
  * </code>
3353
3372
  * </p>
3354
3373
  * @public
@@ -3628,6 +3647,21 @@ export interface PutInsightRuleInput {
3628
3647
  * @public
3629
3648
  */
3630
3649
  Tags?: Tag[] | undefined;
3650
+ /**
3651
+ * <p>Specify <code>true</code> to have this rule evalute log events after they have been transformed by
3652
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Transformation.html">Log transformation</a>. If you specify <code>true</code>, then the log events in log groups that have transformers will
3653
+ * be evaluated by Contributor Insights after being transformed. Log groups that don't have
3654
+ * transformers will still have their original log events evaluated by Contributor Insights.</p>
3655
+ * <p>The default is <code>false</code>
3656
+ * </p>
3657
+ * <note>
3658
+ * <p>If a log group has a transformer, and transformation fails for some log events, those log events won't be evaluated by
3659
+ * Contributor Insights. For information about investigating log transformation failures, see
3660
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Transformation-Errors-Metrics.html">Transformation metrics and errors</a>.</p>
3661
+ * </note>
3662
+ * @public
3663
+ */
3664
+ ApplyOnTransformedLogs?: boolean | undefined;
3631
3665
  }
3632
3666
  /**
3633
3667
  * @public
@@ -3939,7 +3973,7 @@ export interface PutMetricAlarmInput {
3939
3973
  * <b>Start a Amazon Q Developer operational investigation</b>
3940
3974
  * </p>
3941
3975
  * <p>
3942
- * <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>ingestigation-group-id</i>
3976
+ * <code>arn:aws:aiops:<i>region</i>:<i>account-id</i>:investigation-group:<i>investigation-group-id</i>
3943
3977
  * </code>
3944
3978
  * </p>
3945
3979
  * @public
@@ -4159,24 +4193,24 @@ export interface PutMetricAlarmInput {
4159
4193
  Dimensions?: Dimension[] | undefined;
4160
4194
  /**
4161
4195
  * <p>The length, in seconds, used each time the metric specified in
4162
- * <code>MetricName</code> is evaluated. Valid values are 10, 30, and any multiple of
4196
+ * <code>MetricName</code> is evaluated. Valid values are 10, 20, 30, and any multiple of
4163
4197
  * 60.</p>
4164
4198
  * <p>
4165
4199
  * <code>Period</code> is required for alarms based on static thresholds. If you are
4166
4200
  * creating an alarm based on a metric math expression, you specify the period for each
4167
4201
  * metric within the objects in the <code>Metrics</code> array.</p>
4168
- * <p>Be sure to specify 10 or 30 only for metrics that are stored by a
4202
+ * <p>Be sure to specify 10, 20, or 30 only for metrics that are stored by a
4169
4203
  * <code>PutMetricData</code> call with a <code>StorageResolution</code> of 1. If you
4170
- * specify a period of 10 or 30 for a metric that does not have sub-minute resolution, the
4204
+ * specify a period of 10, 20, or 30 for a metric that does not have sub-minute resolution, the
4171
4205
  * alarm still attempts to gather data at the period rate that you specify. In this case,
4172
4206
  * it does not receive data for the attempts that do not correspond to a one-minute data
4173
- * resolution, and the alarm might often lapse into INSUFFICENT_DATA status. Specifying 10
4207
+ * resolution, and the alarm might often lapse into INSUFFICENT_DATA status. Specifying 10, 20,
4174
4208
  * or 30 also sets this alarm as a high-resolution alarm, which has a higher charge than
4175
4209
  * other alarms. For more information about pricing, see <a href="https://aws.amazon.com/cloudwatch/pricing/">Amazon CloudWatch
4176
4210
  * Pricing</a>.</p>
4177
- * <p>An alarm's total current evaluation period can be no longer than one day, so
4178
- * <code>Period</code> multiplied by <code>EvaluationPeriods</code> cannot be more than
4179
- * 86,400 seconds.</p>
4211
+ * <p>An alarm's total current evaluation period can be no longer than seven days, so
4212
+ * <code>Period</code> multiplied by <code>EvaluationPeriods</code> can't be more than
4213
+ * 604,800 seconds. For alarms with a period of less than one hour (3,600 seconds), the total evaluation period can't be longer than one day (86,400 seconds).</p>
4180
4214
  * @public
4181
4215
  */
4182
4216
  Period?: number | undefined;
@@ -4205,8 +4239,6 @@ export interface PutMetricAlarmInput {
4205
4239
  * you are setting an alarm that requires that a number of consecutive data points be
4206
4240
  * breaching to trigger the alarm, this value specifies that number. If you are setting an
4207
4241
  * "M out of N" alarm, this value is the N.</p>
4208
- * <p>An alarm's total current evaluation period can be no longer than one day, so this
4209
- * number multiplied by <code>Period</code> cannot be more than 86,400 seconds.</p>
4210
4242
  * @public
4211
4243
  */
4212
4244
  EvaluationPeriods: number | undefined;
@@ -4385,7 +4417,7 @@ export interface PutMetricDataInput {
4385
4417
  * </li>
4386
4418
  * </ul>
4387
4419
  * <p>For details of the requirements for specifying an entity, see
4388
- * <a href="https://docs.aws.amazon.com/adding-your-own-related-telemetry.html">How
4420
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/adding-your-own-related-telemetry.html">How
4389
4421
  * to add related information to telemetry</a> in the
4390
4422
  * <i>CloudWatch User Guide</i>.</p>
4391
4423
  * </li>
@@ -181,6 +181,12 @@ export declare class ConcurrentModificationException extends __BaseException {
181
181
  >
182
182
  );
183
183
  }
184
+ export declare class ConflictException extends __BaseException {
185
+ readonly name: "ConflictException";
186
+ readonly $fault: "client";
187
+ Message?: string | undefined;
188
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
189
+ }
184
190
  export interface DashboardEntry {
185
191
  DashboardName?: string | undefined;
186
192
  DashboardArn?: string | undefined;
@@ -410,6 +416,7 @@ export interface InsightRule {
410
416
  Schema: string | undefined;
411
417
  Definition: string | undefined;
412
418
  ManagedRule?: boolean | undefined;
419
+ ApplyOnTransformedLogs?: boolean | undefined;
413
420
  }
414
421
  export interface DescribeInsightRulesOutput {
415
422
  NextToken?: string | undefined;
@@ -721,6 +728,7 @@ export interface PutInsightRuleInput {
721
728
  RuleState?: string | undefined;
722
729
  RuleDefinition: string | undefined;
723
730
  Tags?: Tag[] | undefined;
731
+ ApplyOnTransformedLogs?: boolean | undefined;
724
732
  }
725
733
  export interface PutInsightRuleOutput {}
726
734
  export interface ManagedRule {
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.812.0",
4
+ "version": "3.816.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.812.0",
24
- "@aws-sdk/credential-provider-node": "3.812.0",
23
+ "@aws-sdk/core": "3.816.0",
24
+ "@aws-sdk/credential-provider-node": "3.816.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.812.0",
28
+ "@aws-sdk/middleware-user-agent": "3.816.0",
29
29
  "@aws-sdk/region-config-resolver": "3.808.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
31
  "@aws-sdk/util-endpoints": "3.808.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.812.0",
33
+ "@aws-sdk/util-user-agent-node": "3.816.0",
34
34
  "@smithy/config-resolver": "^4.1.2",
35
35
  "@smithy/core": "^3.3.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",