@aws-sdk/client-cloudwatch 3.229.0 → 3.231.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/README.md +0 -2
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +7 -3
- package/dist-cjs/protocols/Aws_query.js +8 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +8 -0
- package/dist-types/CloudWatch.d.ts +112 -148
- package/dist-types/CloudWatchClient.d.ts +2 -4
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -2
- package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +17 -17
- package/dist-types/commands/GetMetricDataCommand.d.ts +9 -15
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +10 -15
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +7 -9
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +4 -6
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +10 -12
- package/dist-types/commands/PutDashboardCommand.d.ts +3 -3
- package/dist-types/commands/PutInsightRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +15 -27
- package/dist-types/commands/PutMetricDataCommand.d.ts +8 -10
- package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -8
- package/dist-types/commands/SetAlarmStateCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +206 -214
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +5 -5
|
@@ -13,16 +13,16 @@ export interface SetAlarmStateCommandOutput extends __MetadataBearer {
|
|
|
13
13
|
* the appropriate state is invoked. For example, if your alarm is configured to send an
|
|
14
14
|
* Amazon SNS message when an alarm is triggered, temporarily changing the alarm state to
|
|
15
15
|
* <code>ALARM</code> sends an SNS message.</p>
|
|
16
|
-
*
|
|
16
|
+
* <p>Metric alarms
|
|
17
17
|
* returns to their actual state quickly, often within seconds. Because the metric alarm state change
|
|
18
18
|
* happens quickly, it is typically only visible in the alarm's <b>History</b> tab in the Amazon CloudWatch console or through
|
|
19
19
|
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarmHistory.html">DescribeAlarmHistory</a>.</p>
|
|
20
|
-
*
|
|
20
|
+
* <p>If you use <code>SetAlarmState</code> on a composite alarm, the composite alarm is not guaranteed to return
|
|
21
21
|
* to its actual state. It
|
|
22
22
|
* returns to its actual state only once any of its children alarms change state. It is also
|
|
23
23
|
* reevaluated if you update its
|
|
24
24
|
* configuration.</p>
|
|
25
|
-
*
|
|
25
|
+
* <p>If an alarm triggers EC2 Auto Scaling policies or application Auto Scaling policies, you must include
|
|
26
26
|
* information in the <code>StateReasonData</code> parameter to enable the policy to take the correct action.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,15 +10,15 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch resource. Currently, the only CloudWatch resources that
|
|
12
12
|
* can be tagged are alarms and Contributor Insights rules.</p>
|
|
13
|
-
*
|
|
13
|
+
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
14
14
|
* permissions by granting a user
|
|
15
15
|
* permission to access or change only resources with certain tag values.</p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
|
|
17
|
+
* <p>You can use the <code>TagResource</code> action with an alarm that already has tags. If you specify a new tag key for the alarm,
|
|
18
18
|
* this tag is appended to the list of tags associated
|
|
19
19
|
* with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
|
|
20
20
|
* the previous value for that tag.</p>
|
|
21
|
-
*
|
|
21
|
+
* <p>You can associate as many as 50 tags with a CloudWatch resource.</p>
|
|
22
22
|
* @example
|
|
23
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
24
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|