@aws-sdk/client-cloudwatch 3.996.0 → 3.997.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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionsSuppressedBy, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
|
|
1
|
+
import { ActionsSuppressedBy, AlarmMuteRuleStatus, AlarmType, AnomalyDetectorStateValue, AnomalyDetectorType, ComparisonOperator, EvaluationState, HistoryItemType, MetricStreamOutputFormat, RecentlyActive, ScanBy, StandardUnit, StateValue, Statistic, StatusCode } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.</p>
|
|
4
4
|
* @public
|
|
@@ -71,6 +71,37 @@ export interface AlarmHistoryItem {
|
|
|
71
71
|
*/
|
|
72
72
|
AlarmContributorAttributes?: Record<string, string> | undefined;
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>Summary information about an alarm mute rule, including its name, status, and configuration details.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export interface AlarmMuteRuleSummary {
|
|
79
|
+
/**
|
|
80
|
+
* <p>The Amazon Resource Name (ARN) of the alarm mute rule.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
AlarmMuteRuleArn?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The date and time when the mute rule expires and is no longer evaluated. This field is only present if an expiration date was configured.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
ExpireDate?: Date | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The current status of the alarm mute rule. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
Status?: AlarmMuteRuleStatus | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>Indicates whether the mute rule is one-time or recurring. Valid values are <code>ONE_TIME</code> or <code>RECURRING</code>.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
MuteType?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The date and time when the mute rule was last updated.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
LastUpdatedTimestamp?: Date | undefined;
|
|
104
|
+
}
|
|
74
105
|
/**
|
|
75
106
|
* <p>Specifies one range of days or times to exclude from use for training an anomaly
|
|
76
107
|
* detection model.</p>
|
|
@@ -716,6 +747,16 @@ export interface Datapoint {
|
|
|
716
747
|
*/
|
|
717
748
|
ExtendedStatistics?: Record<string, number> | undefined;
|
|
718
749
|
}
|
|
750
|
+
/**
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
export interface DeleteAlarmMuteRuleInput {
|
|
754
|
+
/**
|
|
755
|
+
* <p>The name of the alarm mute rule to delete.</p>
|
|
756
|
+
* @public
|
|
757
|
+
*/
|
|
758
|
+
AlarmMuteRuleName: string | undefined;
|
|
759
|
+
}
|
|
719
760
|
/**
|
|
720
761
|
* @public
|
|
721
762
|
*/
|
|
@@ -1708,6 +1749,216 @@ export interface EntityMetricData {
|
|
|
1708
1749
|
*/
|
|
1709
1750
|
MetricData?: MetricDatum[] | undefined;
|
|
1710
1751
|
}
|
|
1752
|
+
/**
|
|
1753
|
+
* @public
|
|
1754
|
+
*/
|
|
1755
|
+
export interface GetAlarmMuteRuleInput {
|
|
1756
|
+
/**
|
|
1757
|
+
* <p>The name of the alarm mute rule to retrieve.</p>
|
|
1758
|
+
* @public
|
|
1759
|
+
*/
|
|
1760
|
+
AlarmMuteRuleName: string | undefined;
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
* <p>Specifies which alarms an alarm mute rule applies to.</p>
|
|
1764
|
+
* <p>You can target up to 100 specific alarms by name. When a mute rule is active, the targeted alarms continue to evaluate metrics and transition between states, but their configured actions are muted.</p>
|
|
1765
|
+
* @public
|
|
1766
|
+
*/
|
|
1767
|
+
export interface MuteTargets {
|
|
1768
|
+
/**
|
|
1769
|
+
* <p>The list of alarm names that this mute rule targets. You can specify up to 100 alarm names.</p>
|
|
1770
|
+
* <p>Each alarm name must be between 1 and 255 characters in length. The alarm names must match existing alarms in your Amazon Web Services account and region.</p>
|
|
1771
|
+
* @public
|
|
1772
|
+
*/
|
|
1773
|
+
AlarmNames: string[] | undefined;
|
|
1774
|
+
}
|
|
1775
|
+
/**
|
|
1776
|
+
* <p>Specifies when and how long an alarm mute rule is active.</p>
|
|
1777
|
+
* <p>The schedule uses either a cron expression for recurring mute windows or an at expression for one-time mute windows. When the schedule activates, the mute rule mutes alarm actions for the specified duration.</p>
|
|
1778
|
+
* @public
|
|
1779
|
+
*/
|
|
1780
|
+
export interface Schedule {
|
|
1781
|
+
/**
|
|
1782
|
+
* <p>The schedule expression that defines when the mute rule activates. The expression must be between 1 and 256 characters in length.</p>
|
|
1783
|
+
* <p>You can use one of two expression formats:</p>
|
|
1784
|
+
* <ul>
|
|
1785
|
+
* <li>
|
|
1786
|
+
* <p>
|
|
1787
|
+
* <b>Cron expressions</b> - For recurring mute windows. Format: <code>cron(Minutes Hours Day-of-month Month Day-of-week)</code>
|
|
1788
|
+
* </p>
|
|
1789
|
+
* <p>Examples:</p>
|
|
1790
|
+
* <ul>
|
|
1791
|
+
* <li>
|
|
1792
|
+
* <p>
|
|
1793
|
+
* <code>cron(0 2 * * *)</code> - Activates daily at 2:00 AM</p>
|
|
1794
|
+
* </li>
|
|
1795
|
+
* <li>
|
|
1796
|
+
* <p>
|
|
1797
|
+
* <code>cron(0 2 * * SUN)</code> - Activates every Sunday at 2:00 AM for weekly system maintenance</p>
|
|
1798
|
+
* </li>
|
|
1799
|
+
* <li>
|
|
1800
|
+
* <p>
|
|
1801
|
+
* <code>cron(0 1 1 * *)</code> - Activates on the first day of each month at 1:00 AM for monthly database maintenance</p>
|
|
1802
|
+
* </li>
|
|
1803
|
+
* <li>
|
|
1804
|
+
* <p>
|
|
1805
|
+
* <code>cron(0 18 * * FRI)</code> - Activates every Friday at 6:00 PM</p>
|
|
1806
|
+
* </li>
|
|
1807
|
+
* <li>
|
|
1808
|
+
* <p>
|
|
1809
|
+
* <code>cron(0 23 * * *)</code> - Activates every day at 11:00 PM during nightly backup operations</p>
|
|
1810
|
+
* </li>
|
|
1811
|
+
* </ul>
|
|
1812
|
+
* <p>The characters <code>*</code>, <code>-</code>, and <code>,</code> are supported in all fields. English names can be used for the month (JAN-DEC) and day of week (SUN-SAT) fields.</p>
|
|
1813
|
+
* </li>
|
|
1814
|
+
* <li>
|
|
1815
|
+
* <p>
|
|
1816
|
+
* <b>At expressions</b> - For one-time mute windows. Format: <code>at(yyyy-MM-ddThh:mm)</code>
|
|
1817
|
+
* </p>
|
|
1818
|
+
* <p>Examples:</p>
|
|
1819
|
+
* <ul>
|
|
1820
|
+
* <li>
|
|
1821
|
+
* <p>
|
|
1822
|
+
* <code>at(2024-05-10T14:00)</code> - Activates once on May 10, 2024 at 2:00 PM during an active incident response session</p>
|
|
1823
|
+
* </li>
|
|
1824
|
+
* <li>
|
|
1825
|
+
* <p>
|
|
1826
|
+
* <code>at(2024-12-23T00:00)</code> - Activates once on December 23, 2024 at midnight during annual company shutdown</p>
|
|
1827
|
+
* </li>
|
|
1828
|
+
* </ul>
|
|
1829
|
+
* </li>
|
|
1830
|
+
* </ul>
|
|
1831
|
+
* @public
|
|
1832
|
+
*/
|
|
1833
|
+
Expression: string | undefined;
|
|
1834
|
+
/**
|
|
1835
|
+
* <p>The length of time that alarms remain muted when the schedule activates. The duration must be between 1 and 50 characters in length.</p>
|
|
1836
|
+
* <p>Specify the duration using ISO 8601 duration format with a minimum of 1 minute (<code>PT1M</code>) and maximum of 15 days (<code>P15D</code>).</p>
|
|
1837
|
+
* <p>Examples:</p>
|
|
1838
|
+
* <ul>
|
|
1839
|
+
* <li>
|
|
1840
|
+
* <p>
|
|
1841
|
+
* <code>PT4H</code> - 4 hours for weekly system maintenance</p>
|
|
1842
|
+
* </li>
|
|
1843
|
+
* <li>
|
|
1844
|
+
* <p>
|
|
1845
|
+
* <code>P2DT12H</code> - 2 days and 12 hours for weekend muting from Friday 6:00 PM to Monday 6:00 AM</p>
|
|
1846
|
+
* </li>
|
|
1847
|
+
* <li>
|
|
1848
|
+
* <p>
|
|
1849
|
+
* <code>PT6H</code> - 6 hours for monthly database maintenance</p>
|
|
1850
|
+
* </li>
|
|
1851
|
+
* <li>
|
|
1852
|
+
* <p>
|
|
1853
|
+
* <code>PT2H</code> - 2 hours for nightly backup operations</p>
|
|
1854
|
+
* </li>
|
|
1855
|
+
* <li>
|
|
1856
|
+
* <p>
|
|
1857
|
+
* <code>P7D</code> - 7 days for annual company shutdown</p>
|
|
1858
|
+
* </li>
|
|
1859
|
+
* </ul>
|
|
1860
|
+
* <p>The duration begins when the schedule expression time is reached. For recurring schedules, the duration applies to each occurrence.</p>
|
|
1861
|
+
* @public
|
|
1862
|
+
*/
|
|
1863
|
+
Duration: string | undefined;
|
|
1864
|
+
/**
|
|
1865
|
+
* <p>The time zone to use when evaluating the schedule expression. The time zone must be between 1 and 50 characters in length.</p>
|
|
1866
|
+
* <p>Specify the time zone using standard timezone identifiers (for example, <code>America/New_York</code>, <code>Europe/London</code>, or <code>Asia/Tokyo</code>).</p>
|
|
1867
|
+
* <p>If you don't specify a time zone, UTC is used by default. The time zone affects how cron and at expressions are interpreted, as well as start and expire dates you specify</p>
|
|
1868
|
+
* <p>Examples:</p>
|
|
1869
|
+
* <ul>
|
|
1870
|
+
* <li>
|
|
1871
|
+
* <p>
|
|
1872
|
+
* <code>America/New_York</code> - Eastern Time (US)</p>
|
|
1873
|
+
* </li>
|
|
1874
|
+
* <li>
|
|
1875
|
+
* <p>
|
|
1876
|
+
* <code>America/Los_Angeles</code> - Pacific Time (US)</p>
|
|
1877
|
+
* </li>
|
|
1878
|
+
* <li>
|
|
1879
|
+
* <p>
|
|
1880
|
+
* <code>Europe/London</code> - British Time</p>
|
|
1881
|
+
* </li>
|
|
1882
|
+
* <li>
|
|
1883
|
+
* <p>
|
|
1884
|
+
* <code>Asia/Tokyo</code> - Japan Standard Time</p>
|
|
1885
|
+
* </li>
|
|
1886
|
+
* <li>
|
|
1887
|
+
* <p>
|
|
1888
|
+
* <code>UTC</code> - Coordinated Universal Time</p>
|
|
1889
|
+
* </li>
|
|
1890
|
+
* </ul>
|
|
1891
|
+
* @public
|
|
1892
|
+
*/
|
|
1893
|
+
Timezone?: string | undefined;
|
|
1894
|
+
}
|
|
1895
|
+
/**
|
|
1896
|
+
* <p>Defines the schedule configuration for an alarm mute rule.</p>
|
|
1897
|
+
* <p>The rule contains a schedule that specifies when and how long alarms should be muted. The schedule can be a recurring pattern using cron expressions or a one-time mute window using at expressions.</p>
|
|
1898
|
+
* @public
|
|
1899
|
+
*/
|
|
1900
|
+
export interface Rule {
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>The schedule configuration that defines when the mute rule activates and how long it remains active.</p>
|
|
1903
|
+
* @public
|
|
1904
|
+
*/
|
|
1905
|
+
Schedule: Schedule | undefined;
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* @public
|
|
1909
|
+
*/
|
|
1910
|
+
export interface GetAlarmMuteRuleOutput {
|
|
1911
|
+
/**
|
|
1912
|
+
* <p>The name of the alarm mute rule.</p>
|
|
1913
|
+
* @public
|
|
1914
|
+
*/
|
|
1915
|
+
Name?: string | undefined;
|
|
1916
|
+
/**
|
|
1917
|
+
* <p>The Amazon Resource Name (ARN) of the alarm mute rule.</p>
|
|
1918
|
+
* @public
|
|
1919
|
+
*/
|
|
1920
|
+
AlarmMuteRuleArn?: string | undefined;
|
|
1921
|
+
/**
|
|
1922
|
+
* <p>The description of the alarm mute rule.</p>
|
|
1923
|
+
* @public
|
|
1924
|
+
*/
|
|
1925
|
+
Description?: string | undefined;
|
|
1926
|
+
/**
|
|
1927
|
+
* <p>The configuration that defines when and how long alarms are muted.</p>
|
|
1928
|
+
* @public
|
|
1929
|
+
*/
|
|
1930
|
+
Rule?: Rule | undefined;
|
|
1931
|
+
/**
|
|
1932
|
+
* <p>Specifies which alarms this rule applies to.</p>
|
|
1933
|
+
* @public
|
|
1934
|
+
*/
|
|
1935
|
+
MuteTargets?: MuteTargets | undefined;
|
|
1936
|
+
/**
|
|
1937
|
+
* <p>The date and time when the mute rule becomes active. If not set, the rule is active immediately.</p>
|
|
1938
|
+
* @public
|
|
1939
|
+
*/
|
|
1940
|
+
StartDate?: Date | undefined;
|
|
1941
|
+
/**
|
|
1942
|
+
* <p>The date and time when the mute rule expires and is no longer evaluated.</p>
|
|
1943
|
+
* @public
|
|
1944
|
+
*/
|
|
1945
|
+
ExpireDate?: Date | undefined;
|
|
1946
|
+
/**
|
|
1947
|
+
* <p>The current status of the alarm mute rule. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>
|
|
1948
|
+
* @public
|
|
1949
|
+
*/
|
|
1950
|
+
Status?: AlarmMuteRuleStatus | undefined;
|
|
1951
|
+
/**
|
|
1952
|
+
* <p>The date and time when the mute rule was last updated.</p>
|
|
1953
|
+
* @public
|
|
1954
|
+
*/
|
|
1955
|
+
LastUpdatedTimestamp?: Date | undefined;
|
|
1956
|
+
/**
|
|
1957
|
+
* <p>Indicates whether the mute rule is one-time or recurring. Valid values are <code>ONE_TIME</code> or <code>RECURRING</code>.</p>
|
|
1958
|
+
* @public
|
|
1959
|
+
*/
|
|
1960
|
+
MuteType?: string | undefined;
|
|
1961
|
+
}
|
|
1711
1962
|
/**
|
|
1712
1963
|
* @public
|
|
1713
1964
|
*/
|
|
@@ -2563,6 +2814,46 @@ export interface GetMetricWidgetImageOutput {
|
|
|
2563
2814
|
*/
|
|
2564
2815
|
MetricWidgetImage?: Uint8Array | undefined;
|
|
2565
2816
|
}
|
|
2817
|
+
/**
|
|
2818
|
+
* @public
|
|
2819
|
+
*/
|
|
2820
|
+
export interface ListAlarmMuteRulesInput {
|
|
2821
|
+
/**
|
|
2822
|
+
* <p>Filter results to show only mute rules that target the specified alarm name.</p>
|
|
2823
|
+
* @public
|
|
2824
|
+
*/
|
|
2825
|
+
AlarmName?: string | undefined;
|
|
2826
|
+
/**
|
|
2827
|
+
* <p>Filter results to show only mute rules with the specified statuses. Valid values are <code>SCHEDULED</code>, <code>ACTIVE</code>, or <code>EXPIRED</code>.</p>
|
|
2828
|
+
* @public
|
|
2829
|
+
*/
|
|
2830
|
+
Statuses?: AlarmMuteRuleStatus[] | undefined;
|
|
2831
|
+
/**
|
|
2832
|
+
* <p>The maximum number of mute rules to return in one call. The default is 50.</p>
|
|
2833
|
+
* @public
|
|
2834
|
+
*/
|
|
2835
|
+
MaxRecords?: number | undefined;
|
|
2836
|
+
/**
|
|
2837
|
+
* <p>The token returned from a previous call to indicate where to continue retrieving results.</p>
|
|
2838
|
+
* @public
|
|
2839
|
+
*/
|
|
2840
|
+
NextToken?: string | undefined;
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* @public
|
|
2844
|
+
*/
|
|
2845
|
+
export interface ListAlarmMuteRulesOutput {
|
|
2846
|
+
/**
|
|
2847
|
+
* <p>A list of alarm mute rule summaries.</p>
|
|
2848
|
+
* @public
|
|
2849
|
+
*/
|
|
2850
|
+
AlarmMuteRuleSummaries?: AlarmMuteRuleSummary[] | undefined;
|
|
2851
|
+
/**
|
|
2852
|
+
* <p>The token to use when requesting the next set of results. If this field is absent, there are no more results to retrieve.</p>
|
|
2853
|
+
* @public
|
|
2854
|
+
*/
|
|
2855
|
+
NextToken?: string | undefined;
|
|
2856
|
+
}
|
|
2566
2857
|
/**
|
|
2567
2858
|
* @public
|
|
2568
2859
|
*/
|
|
@@ -2881,6 +3172,46 @@ export interface ListTagsForResourceOutput {
|
|
|
2881
3172
|
*/
|
|
2882
3173
|
Tags?: Tag[] | undefined;
|
|
2883
3174
|
}
|
|
3175
|
+
/**
|
|
3176
|
+
* @public
|
|
3177
|
+
*/
|
|
3178
|
+
export interface PutAlarmMuteRuleInput {
|
|
3179
|
+
/**
|
|
3180
|
+
* <p>The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region.</p>
|
|
3181
|
+
* @public
|
|
3182
|
+
*/
|
|
3183
|
+
Name: string | undefined;
|
|
3184
|
+
/**
|
|
3185
|
+
* <p>A description of the alarm mute rule that helps you identify its purpose.</p>
|
|
3186
|
+
* @public
|
|
3187
|
+
*/
|
|
3188
|
+
Description?: string | undefined;
|
|
3189
|
+
/**
|
|
3190
|
+
* <p>The configuration that defines when and how long alarms should be muted.</p>
|
|
3191
|
+
* @public
|
|
3192
|
+
*/
|
|
3193
|
+
Rule: Rule | undefined;
|
|
3194
|
+
/**
|
|
3195
|
+
* <p>Specifies which alarms this rule applies to.</p>
|
|
3196
|
+
* @public
|
|
3197
|
+
*/
|
|
3198
|
+
MuteTargets?: MuteTargets | undefined;
|
|
3199
|
+
/**
|
|
3200
|
+
* <p>A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules.</p>
|
|
3201
|
+
* @public
|
|
3202
|
+
*/
|
|
3203
|
+
Tags?: Tag[] | undefined;
|
|
3204
|
+
/**
|
|
3205
|
+
* <p>The date and time after which the mute rule takes effect. If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression. This date and time is interpreted according to the schedule timezone, or UTC if no timezone is specified.</p>
|
|
3206
|
+
* @public
|
|
3207
|
+
*/
|
|
3208
|
+
StartDate?: Date | undefined;
|
|
3209
|
+
/**
|
|
3210
|
+
* <p>The date and time when the mute rule expires and is no longer evaluated. After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms. This date and time is interpreted according to the schedule timezone, or UTC if no timezone is specified.</p>
|
|
3211
|
+
* @public
|
|
3212
|
+
*/
|
|
3213
|
+
ExpireDate?: Date | undefined;
|
|
3214
|
+
}
|
|
2884
3215
|
/**
|
|
2885
3216
|
* @public
|
|
2886
3217
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAlarmMuteRulesCommandInput, ListAlarmMuteRulesCommandOutput } from "../commands/ListAlarmMuteRulesCommand";
|
|
3
|
+
import { CloudWatchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAlarmMuteRules: (config: CloudWatchPaginationConfiguration, input: ListAlarmMuteRulesCommandInput, ...rest: any[]) => Paginator<ListAlarmMuteRulesCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./DescribeAlarmsPaginator";
|
|
|
4
4
|
export * from "./DescribeAnomalyDetectorsPaginator";
|
|
5
5
|
export * from "./DescribeInsightRulesPaginator";
|
|
6
6
|
export * from "./GetMetricDataPaginator";
|
|
7
|
+
export * from "./ListAlarmMuteRulesPaginator";
|
|
7
8
|
export * from "./ListDashboardsPaginator";
|
|
8
9
|
export * from "./ListManagedInsightRulesPaginator";
|
|
9
10
|
export * from "./ListMetricsPaginator";
|
|
@@ -23,12 +23,14 @@ export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
|
23
23
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
24
24
|
export declare var AlarmContributor$: StaticStructureSchema;
|
|
25
25
|
export declare var AlarmHistoryItem$: StaticStructureSchema;
|
|
26
|
+
export declare var AlarmMuteRuleSummary$: StaticStructureSchema;
|
|
26
27
|
export declare var AnomalyDetector$: StaticStructureSchema;
|
|
27
28
|
export declare var AnomalyDetectorConfiguration$: StaticStructureSchema;
|
|
28
29
|
export declare var CompositeAlarm$: StaticStructureSchema;
|
|
29
30
|
export declare var DashboardEntry$: StaticStructureSchema;
|
|
30
31
|
export declare var DashboardValidationMessage$: StaticStructureSchema;
|
|
31
32
|
export declare var Datapoint$: StaticStructureSchema;
|
|
33
|
+
export declare var DeleteAlarmMuteRuleInput$: StaticStructureSchema;
|
|
32
34
|
export declare var DeleteAlarmsInput$: StaticStructureSchema;
|
|
33
35
|
export declare var DeleteAnomalyDetectorInput$: StaticStructureSchema;
|
|
34
36
|
export declare var DeleteAnomalyDetectorOutput$: StaticStructureSchema;
|
|
@@ -60,6 +62,8 @@ export declare var EnableInsightRulesInput$: StaticStructureSchema;
|
|
|
60
62
|
export declare var EnableInsightRulesOutput$: StaticStructureSchema;
|
|
61
63
|
export declare var Entity$: StaticStructureSchema;
|
|
62
64
|
export declare var EntityMetricData$: StaticStructureSchema;
|
|
65
|
+
export declare var GetAlarmMuteRuleInput$: StaticStructureSchema;
|
|
66
|
+
export declare var GetAlarmMuteRuleOutput$: StaticStructureSchema;
|
|
63
67
|
export declare var GetDashboardInput$: StaticStructureSchema;
|
|
64
68
|
export declare var GetDashboardOutput$: StaticStructureSchema;
|
|
65
69
|
export declare var GetInsightRuleReportInput$: StaticStructureSchema;
|
|
@@ -77,6 +81,8 @@ export declare var InsightRuleContributor$: StaticStructureSchema;
|
|
|
77
81
|
export declare var InsightRuleContributorDatapoint$: StaticStructureSchema;
|
|
78
82
|
export declare var InsightRuleMetricDatapoint$: StaticStructureSchema;
|
|
79
83
|
export declare var LabelOptions$: StaticStructureSchema;
|
|
84
|
+
export declare var ListAlarmMuteRulesInput$: StaticStructureSchema;
|
|
85
|
+
export declare var ListAlarmMuteRulesOutput$: StaticStructureSchema;
|
|
80
86
|
export declare var ListDashboardsInput$: StaticStructureSchema;
|
|
81
87
|
export declare var ListDashboardsOutput$: StaticStructureSchema;
|
|
82
88
|
export declare var ListManagedInsightRulesInput$: StaticStructureSchema;
|
|
@@ -103,7 +109,9 @@ export declare var MetricStreamEntry$: StaticStructureSchema;
|
|
|
103
109
|
export declare var MetricStreamFilter$: StaticStructureSchema;
|
|
104
110
|
export declare var MetricStreamStatisticsConfiguration$: StaticStructureSchema;
|
|
105
111
|
export declare var MetricStreamStatisticsMetric$: StaticStructureSchema;
|
|
112
|
+
export declare var MuteTargets$: StaticStructureSchema;
|
|
106
113
|
export declare var PartialFailure$: StaticStructureSchema;
|
|
114
|
+
export declare var PutAlarmMuteRuleInput$: StaticStructureSchema;
|
|
107
115
|
export declare var PutAnomalyDetectorInput$: StaticStructureSchema;
|
|
108
116
|
export declare var PutAnomalyDetectorOutput$: StaticStructureSchema;
|
|
109
117
|
export declare var PutCompositeAlarmInput$: StaticStructureSchema;
|
|
@@ -118,6 +126,8 @@ export declare var PutMetricDataInput$: StaticStructureSchema;
|
|
|
118
126
|
export declare var PutMetricStreamInput$: StaticStructureSchema;
|
|
119
127
|
export declare var PutMetricStreamOutput$: StaticStructureSchema;
|
|
120
128
|
export declare var Range$: StaticStructureSchema;
|
|
129
|
+
export declare var Rule$: StaticStructureSchema;
|
|
130
|
+
export declare var Schedule$: StaticStructureSchema;
|
|
121
131
|
export declare var SetAlarmStateInput$: StaticStructureSchema;
|
|
122
132
|
export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
|
|
123
133
|
export declare var StartMetricStreamsInput$: StaticStructureSchema;
|
|
@@ -130,6 +140,7 @@ export declare var TagResourceInput$: StaticStructureSchema;
|
|
|
130
140
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
131
141
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
132
142
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
143
|
+
export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
|
|
133
144
|
export declare var DeleteAlarms$: StaticOperationSchema;
|
|
134
145
|
export declare var DeleteAnomalyDetector$: StaticOperationSchema;
|
|
135
146
|
export declare var DeleteDashboards$: StaticOperationSchema;
|
|
@@ -145,17 +156,20 @@ export declare var DisableAlarmActions$: StaticOperationSchema;
|
|
|
145
156
|
export declare var DisableInsightRules$: StaticOperationSchema;
|
|
146
157
|
export declare var EnableAlarmActions$: StaticOperationSchema;
|
|
147
158
|
export declare var EnableInsightRules$: StaticOperationSchema;
|
|
159
|
+
export declare var GetAlarmMuteRule$: StaticOperationSchema;
|
|
148
160
|
export declare var GetDashboard$: StaticOperationSchema;
|
|
149
161
|
export declare var GetInsightRuleReport$: StaticOperationSchema;
|
|
150
162
|
export declare var GetMetricData$: StaticOperationSchema;
|
|
151
163
|
export declare var GetMetricStatistics$: StaticOperationSchema;
|
|
152
164
|
export declare var GetMetricStream$: StaticOperationSchema;
|
|
153
165
|
export declare var GetMetricWidgetImage$: StaticOperationSchema;
|
|
166
|
+
export declare var ListAlarmMuteRules$: StaticOperationSchema;
|
|
154
167
|
export declare var ListDashboards$: StaticOperationSchema;
|
|
155
168
|
export declare var ListManagedInsightRules$: StaticOperationSchema;
|
|
156
169
|
export declare var ListMetrics$: StaticOperationSchema;
|
|
157
170
|
export declare var ListMetricStreams$: StaticOperationSchema;
|
|
158
171
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
172
|
+
export declare var PutAlarmMuteRule$: StaticOperationSchema;
|
|
159
173
|
export declare var PutAnomalyDetector$: StaticOperationSchema;
|
|
160
174
|
export declare var PutCompositeAlarm$: StaticOperationSchema;
|
|
161
175
|
export declare var PutDashboard$: StaticOperationSchema;
|
|
@@ -6,6 +6,10 @@ import {
|
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
import { WaiterResult } from "@smithy/util-waiter";
|
|
8
8
|
import { CloudWatchClient } from "./CloudWatchClient";
|
|
9
|
+
import {
|
|
10
|
+
DeleteAlarmMuteRuleCommandInput,
|
|
11
|
+
DeleteAlarmMuteRuleCommandOutput,
|
|
12
|
+
} from "./commands/DeleteAlarmMuteRuleCommand";
|
|
9
13
|
import {
|
|
10
14
|
DeleteAlarmsCommandInput,
|
|
11
15
|
DeleteAlarmsCommandOutput,
|
|
@@ -66,6 +70,10 @@ import {
|
|
|
66
70
|
EnableInsightRulesCommandInput,
|
|
67
71
|
EnableInsightRulesCommandOutput,
|
|
68
72
|
} from "./commands/EnableInsightRulesCommand";
|
|
73
|
+
import {
|
|
74
|
+
GetAlarmMuteRuleCommandInput,
|
|
75
|
+
GetAlarmMuteRuleCommandOutput,
|
|
76
|
+
} from "./commands/GetAlarmMuteRuleCommand";
|
|
69
77
|
import {
|
|
70
78
|
GetDashboardCommandInput,
|
|
71
79
|
GetDashboardCommandOutput,
|
|
@@ -90,6 +98,10 @@ import {
|
|
|
90
98
|
GetMetricWidgetImageCommandInput,
|
|
91
99
|
GetMetricWidgetImageCommandOutput,
|
|
92
100
|
} from "./commands/GetMetricWidgetImageCommand";
|
|
101
|
+
import {
|
|
102
|
+
ListAlarmMuteRulesCommandInput,
|
|
103
|
+
ListAlarmMuteRulesCommandOutput,
|
|
104
|
+
} from "./commands/ListAlarmMuteRulesCommand";
|
|
93
105
|
import {
|
|
94
106
|
ListDashboardsCommandInput,
|
|
95
107
|
ListDashboardsCommandOutput,
|
|
@@ -110,6 +122,10 @@ import {
|
|
|
110
122
|
ListTagsForResourceCommandInput,
|
|
111
123
|
ListTagsForResourceCommandOutput,
|
|
112
124
|
} from "./commands/ListTagsForResourceCommand";
|
|
125
|
+
import {
|
|
126
|
+
PutAlarmMuteRuleCommandInput,
|
|
127
|
+
PutAlarmMuteRuleCommandOutput,
|
|
128
|
+
} from "./commands/PutAlarmMuteRuleCommand";
|
|
113
129
|
import {
|
|
114
130
|
PutAnomalyDetectorCommandInput,
|
|
115
131
|
PutAnomalyDetectorCommandOutput,
|
|
@@ -163,6 +179,19 @@ import {
|
|
|
163
179
|
UntagResourceCommandOutput,
|
|
164
180
|
} from "./commands/UntagResourceCommand";
|
|
165
181
|
export interface CloudWatch {
|
|
182
|
+
deleteAlarmMuteRule(
|
|
183
|
+
args: DeleteAlarmMuteRuleCommandInput,
|
|
184
|
+
options?: __HttpHandlerOptions
|
|
185
|
+
): Promise<DeleteAlarmMuteRuleCommandOutput>;
|
|
186
|
+
deleteAlarmMuteRule(
|
|
187
|
+
args: DeleteAlarmMuteRuleCommandInput,
|
|
188
|
+
cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void
|
|
189
|
+
): void;
|
|
190
|
+
deleteAlarmMuteRule(
|
|
191
|
+
args: DeleteAlarmMuteRuleCommandInput,
|
|
192
|
+
options: __HttpHandlerOptions,
|
|
193
|
+
cb: (err: any, data?: DeleteAlarmMuteRuleCommandOutput) => void
|
|
194
|
+
): void;
|
|
166
195
|
deleteAlarms(
|
|
167
196
|
args: DeleteAlarmsCommandInput,
|
|
168
197
|
options?: __HttpHandlerOptions
|
|
@@ -363,6 +392,19 @@ export interface CloudWatch {
|
|
|
363
392
|
options: __HttpHandlerOptions,
|
|
364
393
|
cb: (err: any, data?: EnableInsightRulesCommandOutput) => void
|
|
365
394
|
): void;
|
|
395
|
+
getAlarmMuteRule(
|
|
396
|
+
args: GetAlarmMuteRuleCommandInput,
|
|
397
|
+
options?: __HttpHandlerOptions
|
|
398
|
+
): Promise<GetAlarmMuteRuleCommandOutput>;
|
|
399
|
+
getAlarmMuteRule(
|
|
400
|
+
args: GetAlarmMuteRuleCommandInput,
|
|
401
|
+
cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void
|
|
402
|
+
): void;
|
|
403
|
+
getAlarmMuteRule(
|
|
404
|
+
args: GetAlarmMuteRuleCommandInput,
|
|
405
|
+
options: __HttpHandlerOptions,
|
|
406
|
+
cb: (err: any, data?: GetAlarmMuteRuleCommandOutput) => void
|
|
407
|
+
): void;
|
|
366
408
|
getDashboard(
|
|
367
409
|
args: GetDashboardCommandInput,
|
|
368
410
|
options?: __HttpHandlerOptions
|
|
@@ -441,6 +483,20 @@ export interface CloudWatch {
|
|
|
441
483
|
options: __HttpHandlerOptions,
|
|
442
484
|
cb: (err: any, data?: GetMetricWidgetImageCommandOutput) => void
|
|
443
485
|
): void;
|
|
486
|
+
listAlarmMuteRules(): Promise<ListAlarmMuteRulesCommandOutput>;
|
|
487
|
+
listAlarmMuteRules(
|
|
488
|
+
args: ListAlarmMuteRulesCommandInput,
|
|
489
|
+
options?: __HttpHandlerOptions
|
|
490
|
+
): Promise<ListAlarmMuteRulesCommandOutput>;
|
|
491
|
+
listAlarmMuteRules(
|
|
492
|
+
args: ListAlarmMuteRulesCommandInput,
|
|
493
|
+
cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void
|
|
494
|
+
): void;
|
|
495
|
+
listAlarmMuteRules(
|
|
496
|
+
args: ListAlarmMuteRulesCommandInput,
|
|
497
|
+
options: __HttpHandlerOptions,
|
|
498
|
+
cb: (err: any, data?: ListAlarmMuteRulesCommandOutput) => void
|
|
499
|
+
): void;
|
|
444
500
|
listDashboards(): Promise<ListDashboardsCommandOutput>;
|
|
445
501
|
listDashboards(
|
|
446
502
|
args: ListDashboardsCommandInput,
|
|
@@ -509,6 +565,19 @@ export interface CloudWatch {
|
|
|
509
565
|
options: __HttpHandlerOptions,
|
|
510
566
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
511
567
|
): void;
|
|
568
|
+
putAlarmMuteRule(
|
|
569
|
+
args: PutAlarmMuteRuleCommandInput,
|
|
570
|
+
options?: __HttpHandlerOptions
|
|
571
|
+
): Promise<PutAlarmMuteRuleCommandOutput>;
|
|
572
|
+
putAlarmMuteRule(
|
|
573
|
+
args: PutAlarmMuteRuleCommandInput,
|
|
574
|
+
cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void
|
|
575
|
+
): void;
|
|
576
|
+
putAlarmMuteRule(
|
|
577
|
+
args: PutAlarmMuteRuleCommandInput,
|
|
578
|
+
options: __HttpHandlerOptions,
|
|
579
|
+
cb: (err: any, data?: PutAlarmMuteRuleCommandOutput) => void
|
|
580
|
+
): void;
|
|
512
581
|
putAnomalyDetector(): Promise<PutAnomalyDetectorCommandOutput>;
|
|
513
582
|
putAnomalyDetector(
|
|
514
583
|
args: PutAnomalyDetectorCommandInput,
|
|
@@ -714,6 +783,13 @@ export interface CloudWatch {
|
|
|
714
783
|
Exclude<keyof PaginationConfiguration, "client">
|
|
715
784
|
>
|
|
716
785
|
): Paginator<GetMetricDataCommandOutput>;
|
|
786
|
+
paginateListAlarmMuteRules(
|
|
787
|
+
args?: ListAlarmMuteRulesCommandInput,
|
|
788
|
+
paginationConfig?: Pick<
|
|
789
|
+
PaginationConfiguration,
|
|
790
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
791
|
+
>
|
|
792
|
+
): Paginator<ListAlarmMuteRulesCommandOutput>;
|
|
717
793
|
paginateListDashboards(
|
|
718
794
|
args?: ListDashboardsCommandInput,
|
|
719
795
|
paginationConfig?: Pick<
|
|
@@ -760,6 +836,15 @@ export interface CloudWatch {
|
|
|
760
836
|
Exclude<keyof WaiterConfiguration<CloudWatch>, "client">
|
|
761
837
|
>
|
|
762
838
|
): Promise<WaiterResult>;
|
|
839
|
+
waitUntilAlarmMuteRuleExists(
|
|
840
|
+
args: GetAlarmMuteRuleCommandInput,
|
|
841
|
+
waiterConfig:
|
|
842
|
+
| number
|
|
843
|
+
| Pick<
|
|
844
|
+
WaiterConfiguration<CloudWatch>,
|
|
845
|
+
Exclude<keyof WaiterConfiguration<CloudWatch>, "client">
|
|
846
|
+
>
|
|
847
|
+
): Promise<WaiterResult>;
|
|
763
848
|
}
|
|
764
849
|
export declare class CloudWatch
|
|
765
850
|
extends CloudWatchClient
|