@aws-sdk/client-cloudwatch 3.996.0 → 3.998.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 +28 -0
- package/dist-cjs/index.js +96 -2
- package/dist-cjs/schemas/schemas_0.js +119 -28
- package/dist-es/CloudWatch.js +12 -0
- package/dist-es/commands/DeleteAlarmMuteRuleCommand.js +16 -0
- package/dist-es/commands/GetAlarmMuteRuleCommand.js +16 -0
- package/dist-es/commands/ListAlarmMuteRulesCommand.js +16 -0
- package/dist-es/commands/PutAlarmMuteRuleCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/pagination/ListAlarmMuteRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +115 -24
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForAlarmMuteRuleExists.js +26 -0
- package/dist-types/CloudWatch.d.ts +42 -0
- package/dist-types/CloudWatchClient.d.ts +6 -2
- package/dist-types/commands/DeleteAlarmMuteRuleCommand.d.ts +78 -0
- package/dist-types/commands/GetAlarmMuteRuleCommand.d.ts +116 -0
- package/dist-types/commands/ListAlarmMuteRulesCommand.d.ts +100 -0
- package/dist-types/commands/PutAlarmMuteRuleCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +332 -1
- package/dist-types/pagination/ListAlarmMuteRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/CloudWatch.d.ts +85 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteAlarmMuteRuleCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetAlarmMuteRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAlarmMuteRulesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutAlarmMuteRuleCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/dist-types/ts3.4/pagination/ListAlarmMuteRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForAlarmMuteRuleExists.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForAlarmMuteRuleExists.d.ts +14 -0
- package/package.json +39 -39
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
4
|
+
import type { GetAlarmMuteRuleInput, GetAlarmMuteRuleOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAlarmMuteRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAlarmMuteRuleCommandInput extends GetAlarmMuteRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAlarmMuteRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAlarmMuteRuleCommandOutput extends GetAlarmMuteRuleOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAlarmMuteRuleCommand_base: {
|
|
25
|
+
new (input: GetAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlarmMuteRuleCommandInput, GetAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves details for a specific alarm mute rule.</p>
|
|
31
|
+
* <p>This operation returns complete information about the mute rule, including its configuration, status, targeted alarms, and metadata.</p>
|
|
32
|
+
* <p>The returned status indicates the current state of the mute rule:</p>
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <b>SCHEDULED</b>: The mute rule is configured and will become active in the future</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>ACTIVE</b>: The mute rule is currently muting alarm actions</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <b>EXPIRED</b>: The mute rule has passed its expiration date and will no longer become active</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
47
|
+
* <p>
|
|
48
|
+
* <b>Permissions</b>
|
|
49
|
+
* </p>
|
|
50
|
+
* <p>To retrieve details for a mute rule, you need the <code>cloudwatch:GetAlarmMuteRule</code> permission on the alarm mute rule resource.</p>
|
|
51
|
+
* @example
|
|
52
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
+
* ```javascript
|
|
54
|
+
* import { CloudWatchClient, GetAlarmMuteRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
55
|
+
* // const { CloudWatchClient, GetAlarmMuteRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
56
|
+
* // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
|
|
57
|
+
* const config = {}; // type is CloudWatchClientConfig
|
|
58
|
+
* const client = new CloudWatchClient(config);
|
|
59
|
+
* const input = { // GetAlarmMuteRuleInput
|
|
60
|
+
* AlarmMuteRuleName: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
62
|
+
* const command = new GetAlarmMuteRuleCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // GetAlarmMuteRuleOutput
|
|
65
|
+
* // Name: "STRING_VALUE",
|
|
66
|
+
* // AlarmMuteRuleArn: "STRING_VALUE",
|
|
67
|
+
* // Description: "STRING_VALUE",
|
|
68
|
+
* // Rule: { // Rule
|
|
69
|
+
* // Schedule: { // Schedule
|
|
70
|
+
* // Expression: "STRING_VALUE", // required
|
|
71
|
+
* // Duration: "STRING_VALUE", // required
|
|
72
|
+
* // Timezone: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // MuteTargets: { // MuteTargets
|
|
76
|
+
* // AlarmNames: [ // MuteTargetAlarmNameList // required
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // StartDate: new Date("TIMESTAMP"),
|
|
81
|
+
* // ExpireDate: new Date("TIMESTAMP"),
|
|
82
|
+
* // Status: "SCHEDULED" || "ACTIVE" || "EXPIRED",
|
|
83
|
+
* // LastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
84
|
+
* // MuteType: "STRING_VALUE",
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param GetAlarmMuteRuleCommandInput - {@link GetAlarmMuteRuleCommandInput}
|
|
90
|
+
* @returns {@link GetAlarmMuteRuleCommandOutput}
|
|
91
|
+
* @see {@link GetAlarmMuteRuleCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link GetAlarmMuteRuleCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
96
|
+
* <p>The named resource does not exist.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link CloudWatchServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class GetAlarmMuteRuleCommand extends GetAlarmMuteRuleCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: GetAlarmMuteRuleInput;
|
|
109
|
+
output: GetAlarmMuteRuleOutput;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: GetAlarmMuteRuleCommandInput;
|
|
113
|
+
output: GetAlarmMuteRuleCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
4
|
+
import type { ListAlarmMuteRulesInput, ListAlarmMuteRulesOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAlarmMuteRulesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAlarmMuteRulesCommandInput extends ListAlarmMuteRulesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAlarmMuteRulesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAlarmMuteRulesCommandOutput extends ListAlarmMuteRulesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAlarmMuteRulesCommand_base: {
|
|
25
|
+
new (input: ListAlarmMuteRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAlarmMuteRulesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists alarm mute rules in your Amazon Web Services account and region.</p>
|
|
31
|
+
* <p>You can filter the results by alarm name to find all mute rules targeting a specific alarm, or by status to find rules that are scheduled, active, or expired.</p>
|
|
32
|
+
* <p>This operation supports pagination for accounts with many mute rules. Use the <code>MaxRecords</code> and <code>NextToken</code> parameters to retrieve results in multiple calls.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* <b>Permissions</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>To list mute rules, you need the <code>cloudwatch:ListAlarmMuteRules</code> permission.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { CloudWatchClient, ListAlarmMuteRulesCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
41
|
+
* // const { CloudWatchClient, ListAlarmMuteRulesCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
42
|
+
* // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
|
|
43
|
+
* const config = {}; // type is CloudWatchClientConfig
|
|
44
|
+
* const client = new CloudWatchClient(config);
|
|
45
|
+
* const input = { // ListAlarmMuteRulesInput
|
|
46
|
+
* AlarmName: "STRING_VALUE",
|
|
47
|
+
* Statuses: [ // AlarmMuteRuleStatuses
|
|
48
|
+
* "SCHEDULED" || "ACTIVE" || "EXPIRED",
|
|
49
|
+
* ],
|
|
50
|
+
* MaxRecords: Number("int"),
|
|
51
|
+
* NextToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new ListAlarmMuteRulesCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // ListAlarmMuteRulesOutput
|
|
56
|
+
* // AlarmMuteRuleSummaries: [ // AlarmMuteRuleSummaries
|
|
57
|
+
* // { // AlarmMuteRuleSummary
|
|
58
|
+
* // AlarmMuteRuleArn: "STRING_VALUE",
|
|
59
|
+
* // ExpireDate: new Date("TIMESTAMP"),
|
|
60
|
+
* // Status: "SCHEDULED" || "ACTIVE" || "EXPIRED",
|
|
61
|
+
* // MuteType: "STRING_VALUE",
|
|
62
|
+
* // LastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // NextToken: "STRING_VALUE",
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param ListAlarmMuteRulesCommandInput - {@link ListAlarmMuteRulesCommandInput}
|
|
71
|
+
* @returns {@link ListAlarmMuteRulesCommandOutput}
|
|
72
|
+
* @see {@link ListAlarmMuteRulesCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link ListAlarmMuteRulesCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
77
|
+
* <p>The next token specified is invalid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The named resource does not exist.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link CloudWatchServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListAlarmMuteRulesCommand extends ListAlarmMuteRulesCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListAlarmMuteRulesInput;
|
|
93
|
+
output: ListAlarmMuteRulesOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListAlarmMuteRulesCommandInput;
|
|
97
|
+
output: ListAlarmMuteRulesCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
4
|
+
import type { PutAlarmMuteRuleInput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutAlarmMuteRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutAlarmMuteRuleCommandInput extends PutAlarmMuteRuleInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutAlarmMuteRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutAlarmMuteRuleCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutAlarmMuteRuleCommand_base: {
|
|
25
|
+
new (input: PutAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutAlarmMuteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<PutAlarmMuteRuleCommandInput, PutAlarmMuteRuleCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates or updates an alarm mute rule.</p>
|
|
31
|
+
* <p>Alarm mute rules automatically mute alarm actions during predefined time windows. When a mute rule is active, targeted alarms continue to evaluate metrics and transition between states, but their configured actions (such as Amazon SNS notifications or Auto Scaling actions) are muted.</p>
|
|
32
|
+
* <p>You can create mute rules with recurring schedules using <code>cron</code> expressions or one-time mute windows using <code>at</code> expressions. Each mute rule can target up to 100 specific alarms by name.</p>
|
|
33
|
+
* <p>If you specify a rule name that already exists, this operation updates the existing rule with the new configuration.</p>
|
|
34
|
+
* <p>
|
|
35
|
+
* <b>Permissions</b>
|
|
36
|
+
* </p>
|
|
37
|
+
* <p>To create or update a mute rule, you must have the <code>cloudwatch:PutAlarmMuteRule</code> permission on two types of resources: the alarm mute rule resource itself, and each alarm that the rule targets.</p>
|
|
38
|
+
* <p>For example, If you want to allow a user to create mute rules that target only specific alarms named "WebServerCPUAlarm" and "DatabaseConnectionAlarm", you would create an IAM policy with one statement granting <code>cloudwatch:PutAlarmMuteRule</code> on the alarm mute rule resource (<code>arn:aws:cloudwatch:[REGION]:123456789012:alarm-mute:*</code>), and another statement granting <code>cloudwatch:PutAlarmMuteRule</code> on the targeted alarm resources (<code>arn:aws:cloudwatch:[REGION]:123456789012:alarm:WebServerCPUAlarm</code> and <code>arn:aws:cloudwatch:[REGION]:123456789012:alarm:DatabaseConnectionAlarm</code>).</p>
|
|
39
|
+
* <p>You can also use IAM policy conditions to allow targeting alarms based on resource tags. For example, you can restrict users to create/update mute rules to only target alarms that have a specific tag key-value pair, such as <code>Team=TeamA</code>.</p>
|
|
40
|
+
* @example
|
|
41
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
+
* ```javascript
|
|
43
|
+
* import { CloudWatchClient, PutAlarmMuteRuleCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
|
|
44
|
+
* // const { CloudWatchClient, PutAlarmMuteRuleCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
|
|
45
|
+
* // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch";
|
|
46
|
+
* const config = {}; // type is CloudWatchClientConfig
|
|
47
|
+
* const client = new CloudWatchClient(config);
|
|
48
|
+
* const input = { // PutAlarmMuteRuleInput
|
|
49
|
+
* Name: "STRING_VALUE", // required
|
|
50
|
+
* Description: "STRING_VALUE",
|
|
51
|
+
* Rule: { // Rule
|
|
52
|
+
* Schedule: { // Schedule
|
|
53
|
+
* Expression: "STRING_VALUE", // required
|
|
54
|
+
* Duration: "STRING_VALUE", // required
|
|
55
|
+
* Timezone: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* MuteTargets: { // MuteTargets
|
|
59
|
+
* AlarmNames: [ // MuteTargetAlarmNameList // required
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* Tags: [ // TagList
|
|
64
|
+
* { // Tag
|
|
65
|
+
* Key: "STRING_VALUE", // required
|
|
66
|
+
* Value: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* StartDate: new Date("TIMESTAMP"),
|
|
70
|
+
* ExpireDate: new Date("TIMESTAMP"),
|
|
71
|
+
* };
|
|
72
|
+
* const command = new PutAlarmMuteRuleCommand(input);
|
|
73
|
+
* const response = await client.send(command);
|
|
74
|
+
* // {};
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param PutAlarmMuteRuleCommandInput - {@link PutAlarmMuteRuleCommandInput}
|
|
79
|
+
* @returns {@link PutAlarmMuteRuleCommandOutput}
|
|
80
|
+
* @see {@link PutAlarmMuteRuleCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link PutAlarmMuteRuleCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link LimitExceededFault} (client fault)
|
|
85
|
+
* <p>The quota for alarms for this customer has already been reached.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link CloudWatchServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class PutAlarmMuteRuleCommand extends PutAlarmMuteRuleCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: PutAlarmMuteRuleInput;
|
|
98
|
+
output: {};
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: PutAlarmMuteRuleCommandInput;
|
|
102
|
+
output: PutAlarmMuteRuleCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./DeleteAlarmMuteRuleCommand";
|
|
1
2
|
export * from "./DeleteAlarmsCommand";
|
|
2
3
|
export * from "./DeleteAnomalyDetectorCommand";
|
|
3
4
|
export * from "./DeleteDashboardsCommand";
|
|
@@ -13,17 +14,20 @@ export * from "./DisableAlarmActionsCommand";
|
|
|
13
14
|
export * from "./DisableInsightRulesCommand";
|
|
14
15
|
export * from "./EnableAlarmActionsCommand";
|
|
15
16
|
export * from "./EnableInsightRulesCommand";
|
|
17
|
+
export * from "./GetAlarmMuteRuleCommand";
|
|
16
18
|
export * from "./GetDashboardCommand";
|
|
17
19
|
export * from "./GetInsightRuleReportCommand";
|
|
18
20
|
export * from "./GetMetricDataCommand";
|
|
19
21
|
export * from "./GetMetricStatisticsCommand";
|
|
20
22
|
export * from "./GetMetricStreamCommand";
|
|
21
23
|
export * from "./GetMetricWidgetImageCommand";
|
|
24
|
+
export * from "./ListAlarmMuteRulesCommand";
|
|
22
25
|
export * from "./ListDashboardsCommand";
|
|
23
26
|
export * from "./ListManagedInsightRulesCommand";
|
|
24
27
|
export * from "./ListMetricStreamsCommand";
|
|
25
28
|
export * from "./ListMetricsCommand";
|
|
26
29
|
export * from "./ListTagsForResourceCommand";
|
|
30
|
+
export * from "./PutAlarmMuteRuleCommand";
|
|
27
31
|
export * from "./PutAnomalyDetectorCommand";
|
|
28
32
|
export * from "./PutCompositeAlarmCommand";
|
|
29
33
|
export * from "./PutDashboardCommand";
|
|
@@ -38,6 +38,19 @@ export declare const HistoryItemType: {
|
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
40
|
export type HistoryItemType = (typeof HistoryItemType)[keyof typeof HistoryItemType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const AlarmMuteRuleStatus: {
|
|
46
|
+
readonly ACTIVE: "ACTIVE";
|
|
47
|
+
readonly EXPIRED: "EXPIRED";
|
|
48
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type AlarmMuteRuleStatus = (typeof AlarmMuteRuleStatus)[keyof typeof AlarmMuteRuleStatus];
|
|
41
54
|
/**
|
|
42
55
|
* @public
|
|
43
56
|
* @enum
|