@aws-sdk/client-cloudwatch 3.477.0 → 3.481.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/commands/DeleteAlarmsCommand.js +18 -41
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/DeleteDashboardsCommand.js +18 -41
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmsCommand.js +18 -41
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +18 -41
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +18 -41
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +18 -41
- package/dist-cjs/commands/DisableInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +18 -41
- package/dist-cjs/commands/EnableInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/GetDashboardCommand.js +18 -41
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +18 -41
- package/dist-cjs/commands/GetMetricDataCommand.js +18 -41
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +18 -41
- package/dist-cjs/commands/GetMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +18 -41
- package/dist-cjs/commands/ListDashboardsCommand.js +18 -41
- package/dist-cjs/commands/ListManagedInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/ListMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/ListMetricsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +18 -41
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +18 -41
- package/dist-cjs/commands/PutDashboardCommand.js +18 -41
- package/dist-cjs/commands/PutInsightRuleCommand.js +18 -41
- package/dist-cjs/commands/PutManagedInsightRulesCommand.js +18 -41
- package/dist-cjs/commands/PutMetricAlarmCommand.js +18 -41
- package/dist-cjs/commands/PutMetricDataCommand.js +18 -41
- package/dist-cjs/commands/PutMetricStreamCommand.js +18 -41
- package/dist-cjs/commands/SetAlarmStateCommand.js +18 -41
- package/dist-cjs/commands/StartMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/StopMetricStreamsCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeAlarmHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAlarmsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeAnomalyDetectorsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeInsightRulesPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -23
- package/dist-cjs/pagination/ListManagedInsightRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetricStreamsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetricsPaginator.js +2 -23
- package/dist-es/commands/DeleteAlarmsCommand.js +18 -41
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/DeleteDashboardsCommand.js +18 -41
- package/dist-es/commands/DeleteInsightRulesCommand.js +18 -41
- package/dist-es/commands/DeleteMetricStreamCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmHistoryCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmsCommand.js +18 -41
- package/dist-es/commands/DescribeAlarmsForMetricCommand.js +18 -41
- package/dist-es/commands/DescribeAnomalyDetectorsCommand.js +18 -41
- package/dist-es/commands/DescribeInsightRulesCommand.js +18 -41
- package/dist-es/commands/DisableAlarmActionsCommand.js +18 -41
- package/dist-es/commands/DisableInsightRulesCommand.js +18 -41
- package/dist-es/commands/EnableAlarmActionsCommand.js +18 -41
- package/dist-es/commands/EnableInsightRulesCommand.js +18 -41
- package/dist-es/commands/GetDashboardCommand.js +18 -41
- package/dist-es/commands/GetInsightRuleReportCommand.js +18 -41
- package/dist-es/commands/GetMetricDataCommand.js +18 -41
- package/dist-es/commands/GetMetricStatisticsCommand.js +18 -41
- package/dist-es/commands/GetMetricStreamCommand.js +18 -41
- package/dist-es/commands/GetMetricWidgetImageCommand.js +18 -41
- package/dist-es/commands/ListDashboardsCommand.js +18 -41
- package/dist-es/commands/ListManagedInsightRulesCommand.js +18 -41
- package/dist-es/commands/ListMetricStreamsCommand.js +18 -41
- package/dist-es/commands/ListMetricsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/PutAnomalyDetectorCommand.js +18 -41
- package/dist-es/commands/PutCompositeAlarmCommand.js +18 -41
- package/dist-es/commands/PutDashboardCommand.js +18 -41
- package/dist-es/commands/PutInsightRuleCommand.js +18 -41
- package/dist-es/commands/PutManagedInsightRulesCommand.js +18 -41
- package/dist-es/commands/PutMetricAlarmCommand.js +18 -41
- package/dist-es/commands/PutMetricDataCommand.js +18 -41
- package/dist-es/commands/PutMetricStreamCommand.js +18 -41
- package/dist-es/commands/SetAlarmStateCommand.js +18 -41
- package/dist-es/commands/StartMetricStreamsCommand.js +18 -41
- package/dist-es/commands/StopMetricStreamsCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +2 -23
- package/dist-es/pagination/DescribeAlarmsPaginator.js +2 -23
- package/dist-es/pagination/DescribeAnomalyDetectorsPaginator.js +2 -23
- package/dist-es/pagination/DescribeInsightRulesPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
- package/dist-es/pagination/ListDashboardsPaginator.js +2 -22
- package/dist-es/pagination/ListManagedInsightRulesPaginator.js +2 -23
- package/dist-es/pagination/ListMetricStreamsPaginator.js +2 -23
- package/dist-es/pagination/ListMetricsPaginator.js +2 -22
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +6 -21
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +6 -21
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/GetDashboardCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricDataCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +6 -21
- package/dist-types/commands/ListDashboardsCommand.d.ts +6 -21
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/ListMetricsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +6 -21
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +6 -21
- package/dist-types/commands/PutDashboardCommand.d.ts +6 -21
- package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -21
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricDataCommand.d.ts +6 -21
- package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -21
- package/dist-types/commands/SetAlarmStateCommand.d.ts +6 -21
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeAlarmHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAlarmsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeAnomalyDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeInsightRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedInsightRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAlarmsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAnomalyDetectorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDashboardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlarmHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAlarmsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAlarmsForMetricCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAnomalyDetectorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableAlarmActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableAlarmActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableInsightRulesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightRuleReportCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricStatisticsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMetricWidgetImageCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListManagedInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAnomalyDetectorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutCompositeAlarmCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutDashboardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutInsightRuleCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutManagedInsightRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutMetricAlarmCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetricDataCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutMetricStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetAlarmStateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopMetricStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeAlarmHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAlarmsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeAnomalyDetectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeInsightRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedInsightRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetricStreamsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { DescribeInsightRulesCommand, } from "../commands/DescribeInsightRulesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeInsightRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeInsightRules(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeInsightRules = createPaginator(CloudWatchClient, DescribeInsightRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { GetMetricDataCommand, } from "../commands/GetMetricDataCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetMetricDataCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetMetricData(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxDatapoints"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetMetricData = createPaginator(CloudWatchClient, GetMetricDataCommand, "NextToken", "NextToken", "MaxDatapoints");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { ListDashboardsCommand, } from "../commands/ListDashboardsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDashboardsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDashboards(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudWatchClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListDashboards = createPaginator(CloudWatchClient, ListDashboardsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { ListManagedInsightRulesCommand, } from "../commands/ListManagedInsightRulesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListManagedInsightRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListManagedInsightRules(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListManagedInsightRules = createPaginator(CloudWatchClient, ListManagedInsightRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { ListMetricStreamsCommand, } from "../commands/ListMetricStreamsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMetricStreamsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMetricStreams(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudWatchClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMetricStreams = createPaginator(CloudWatchClient, ListMetricStreamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudWatchClient } from "../CloudWatchClient";
|
|
2
3
|
import { ListMetricsCommand } from "../commands/ListMetricsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMetricsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMetrics(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudWatchClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudWatch | CloudWatchClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListMetrics = createPaginator(CloudWatchClient, ListMetricsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DeleteAlarmsInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteAlarmsCommandInput extends DeleteAlarmsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteAlarmsCommand_base: {
|
|
24
|
+
new (input: DeleteAlarmsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes the specified alarms. You can delete up to 100 alarms in one operation. However, this total can include no more
|
|
@@ -71,23 +74,5 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
|
|
|
71
74
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
72
75
|
*
|
|
73
76
|
*/
|
|
74
|
-
export declare class DeleteAlarmsCommand extends
|
|
75
|
-
readonly input: DeleteAlarmsCommandInput;
|
|
76
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
constructor(input: DeleteAlarmsCommandInput);
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlarmsCommandInput, DeleteAlarmsCommandOutput>;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private serialize;
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
private deserialize;
|
|
77
|
+
export declare class DeleteAlarmsCommand extends DeleteAlarmsCommand_base {
|
|
93
78
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DeleteAnomalyDetectorInput, DeleteAnomalyDetectorOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteAnomalyDetectorCommand_base: {
|
|
24
|
+
new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>
|
|
@@ -113,23 +116,5 @@ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetecto
|
|
|
113
116
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
114
117
|
*
|
|
115
118
|
*/
|
|
116
|
-
export declare class DeleteAnomalyDetectorCommand extends
|
|
117
|
-
readonly input: DeleteAnomalyDetectorCommandInput;
|
|
118
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
119
|
-
/**
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
constructor(input: DeleteAnomalyDetectorCommandInput);
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAnomalyDetectorCommandInput, DeleteAnomalyDetectorCommandOutput>;
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
private serialize;
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
*/
|
|
134
|
-
private deserialize;
|
|
119
|
+
export declare class DeleteAnomalyDetectorCommand extends DeleteAnomalyDetectorCommand_base {
|
|
135
120
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DeleteDashboardsInput, DeleteDashboardsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteDashboardsCommandInput extends DeleteDashboardsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteDashboardsCommand_base: {
|
|
24
|
+
new (input: DeleteDashboardsCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes all dashboards that you specify. You
|
|
@@ -62,23 +65,5 @@ export interface DeleteDashboardsCommandOutput extends DeleteDashboardsOutput, _
|
|
|
62
65
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
63
66
|
*
|
|
64
67
|
*/
|
|
65
|
-
export declare class DeleteDashboardsCommand extends
|
|
66
|
-
readonly input: DeleteDashboardsCommandInput;
|
|
67
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
constructor(input: DeleteDashboardsCommandInput);
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDashboardsCommandInput, DeleteDashboardsCommandOutput>;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private serialize;
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private deserialize;
|
|
68
|
+
export declare class DeleteDashboardsCommand extends DeleteDashboardsCommand_base {
|
|
84
69
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DeleteInsightRulesInput, DeleteInsightRulesOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteInsightRulesCommandInput extends DeleteInsightRulesInput
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteInsightRulesCommand_base: {
|
|
24
|
+
new (input: DeleteInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Permanently deletes the specified Contributor Insights rules.</p>
|
|
@@ -69,23 +72,5 @@ export interface DeleteInsightRulesCommandOutput extends DeleteInsightRulesOutpu
|
|
|
69
72
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
70
73
|
*
|
|
71
74
|
*/
|
|
72
|
-
export declare class DeleteInsightRulesCommand extends
|
|
73
|
-
readonly input: DeleteInsightRulesCommandInput;
|
|
74
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
*/
|
|
78
|
-
constructor(input: DeleteInsightRulesCommandInput);
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInsightRulesCommandInput, DeleteInsightRulesCommandOutput>;
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
private serialize;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
private deserialize;
|
|
75
|
+
export declare class DeleteInsightRulesCommand extends DeleteInsightRulesCommand_base {
|
|
91
76
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DeleteMetricStreamInput, DeleteMetricStreamOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteMetricStreamCommandInput extends DeleteMetricStreamInput
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteMetricStreamCommand_base: {
|
|
24
|
+
new (input: DeleteMetricStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Permanently deletes the metric stream that you specify.</p>
|
|
@@ -58,23 +61,5 @@ export interface DeleteMetricStreamCommandOutput extends DeleteMetricStreamOutpu
|
|
|
58
61
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
59
62
|
*
|
|
60
63
|
*/
|
|
61
|
-
export declare class DeleteMetricStreamCommand extends
|
|
62
|
-
readonly input: DeleteMetricStreamCommandInput;
|
|
63
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
-
/**
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
constructor(input: DeleteMetricStreamCommandInput);
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMetricStreamCommandInput, DeleteMetricStreamCommandOutput>;
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
private serialize;
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
private deserialize;
|
|
64
|
+
export declare class DeleteMetricStreamCommand extends DeleteMetricStreamCommand_base {
|
|
80
65
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DescribeAlarmHistoryInput, DescribeAlarmHistoryOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAlarmHistoryCommandInput extends DescribeAlarmHistoryIn
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAlarmHistoryCommand_base: {
|
|
24
|
+
new (input: DescribeAlarmHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Retrieves the history for the specified alarm. You can filter the results by date range or item type.
|
|
@@ -78,23 +81,5 @@ export interface DescribeAlarmHistoryCommandOutput extends DescribeAlarmHistoryO
|
|
|
78
81
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
79
82
|
*
|
|
80
83
|
*/
|
|
81
|
-
export declare class DescribeAlarmHistoryCommand extends
|
|
82
|
-
readonly input: DescribeAlarmHistoryCommandInput;
|
|
83
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
-
/**
|
|
85
|
-
* @public
|
|
86
|
-
*/
|
|
87
|
-
constructor(input: DescribeAlarmHistoryCommandInput);
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmHistoryCommandInput, DescribeAlarmHistoryCommandOutput>;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
private serialize;
|
|
96
|
-
/**
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
99
|
-
private deserialize;
|
|
84
|
+
export declare class DescribeAlarmHistoryCommand extends DescribeAlarmHistoryCommand_base {
|
|
100
85
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DescribeAlarmsInput, DescribeAlarmsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAlarmsCommandInput extends DescribeAlarmsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAlarmsCommand_base: {
|
|
24
|
+
new (input: DescribeAlarmsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Retrieves the specified alarms. You can filter the results by specifying a prefix for the alarm
|
|
@@ -165,23 +168,5 @@ export interface DescribeAlarmsCommandOutput extends DescribeAlarmsOutput, __Met
|
|
|
165
168
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
166
169
|
*
|
|
167
170
|
*/
|
|
168
|
-
export declare class DescribeAlarmsCommand extends
|
|
169
|
-
readonly input: DescribeAlarmsCommandInput;
|
|
170
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
171
|
-
/**
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
|
-
constructor(input: DescribeAlarmsCommandInput);
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
*/
|
|
178
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmsCommandInput, DescribeAlarmsCommandOutput>;
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
private serialize;
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
private deserialize;
|
|
171
|
+
export declare class DescribeAlarmsCommand extends DescribeAlarmsCommand_base {
|
|
187
172
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DescribeAlarmsForMetricInput, DescribeAlarmsForMetricOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAlarmsForMetricCommandInput extends DescribeAlarmsForMe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForMetricOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAlarmsForMetricCommand_base: {
|
|
24
|
+
new (input: DescribeAlarmsForMetricCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Retrieves the alarms for the specified metric. To
|
|
@@ -133,23 +136,5 @@ export interface DescribeAlarmsForMetricCommandOutput extends DescribeAlarmsForM
|
|
|
133
136
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
134
137
|
*
|
|
135
138
|
*/
|
|
136
|
-
export declare class DescribeAlarmsForMetricCommand extends
|
|
137
|
-
readonly input: DescribeAlarmsForMetricCommandInput;
|
|
138
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
139
|
-
/**
|
|
140
|
-
* @public
|
|
141
|
-
*/
|
|
142
|
-
constructor(input: DescribeAlarmsForMetricCommandInput);
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlarmsForMetricCommandInput, DescribeAlarmsForMetricCommandOutput>;
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
private serialize;
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
|
-
private deserialize;
|
|
139
|
+
export declare class DescribeAlarmsForMetricCommand extends DescribeAlarmsForMetricCommand_base {
|
|
155
140
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DescribeAnomalyDetectorsInput, DescribeAnomalyDetectorsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeAnomalyDetectorsCommandInput extends DescribeAnomalyDet
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDetectorsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeAnomalyDetectorsCommand_base: {
|
|
24
|
+
new (input: DescribeAnomalyDetectorsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists the anomaly detection models that you have created in your account.
|
|
@@ -137,23 +140,5 @@ export interface DescribeAnomalyDetectorsCommandOutput extends DescribeAnomalyDe
|
|
|
137
140
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
138
141
|
*
|
|
139
142
|
*/
|
|
140
|
-
export declare class DescribeAnomalyDetectorsCommand extends
|
|
141
|
-
readonly input: DescribeAnomalyDetectorsCommandInput;
|
|
142
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
143
|
-
/**
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
constructor(input: DescribeAnomalyDetectorsCommandInput);
|
|
147
|
-
/**
|
|
148
|
-
* @internal
|
|
149
|
-
*/
|
|
150
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAnomalyDetectorsCommandInput, DescribeAnomalyDetectorsCommandOutput>;
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
|
-
private serialize;
|
|
155
|
-
/**
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
private deserialize;
|
|
143
|
+
export declare class DescribeAnomalyDetectorsCommand extends DescribeAnomalyDetectorsCommand_base {
|
|
159
144
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient";
|
|
5
4
|
import { DescribeInsightRulesInput, DescribeInsightRulesOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeInsightRulesCommandInput extends DescribeInsightRulesIn
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeInsightRulesCommand_base: {
|
|
24
|
+
new (input: DescribeInsightRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput, CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a list of all the Contributor Insights rules in your account.</p>
|
|
@@ -66,23 +69,5 @@ export interface DescribeInsightRulesCommandOutput extends DescribeInsightRulesO
|
|
|
66
69
|
* <p>Base exception class for all service exceptions from CloudWatch service.</p>
|
|
67
70
|
*
|
|
68
71
|
*/
|
|
69
|
-
export declare class DescribeInsightRulesCommand extends
|
|
70
|
-
readonly input: DescribeInsightRulesCommandInput;
|
|
71
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
-
/**
|
|
73
|
-
* @public
|
|
74
|
-
*/
|
|
75
|
-
constructor(input: DescribeInsightRulesCommandInput);
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudWatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInsightRulesCommandInput, DescribeInsightRulesCommandOutput>;
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private serialize;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private deserialize;
|
|
72
|
+
export declare class DescribeInsightRulesCommand extends DescribeInsightRulesCommand_base {
|
|
88
73
|
}
|