@aws-sdk/client-internetmonitor 3.974.0 → 3.978.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -1006,6 +1006,14 @@ class UpdateMonitorCommand extends smithyClient.Command
|
|
|
1006
1006
|
.build() {
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
+
const paginateGetQueryResults = core.createPaginator(InternetMonitorClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1010
|
+
|
|
1011
|
+
const paginateListHealthEvents = core.createPaginator(InternetMonitorClient, ListHealthEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1012
|
+
|
|
1013
|
+
const paginateListInternetEvents = core.createPaginator(InternetMonitorClient, ListInternetEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1014
|
+
|
|
1015
|
+
const paginateListMonitors = core.createPaginator(InternetMonitorClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1016
|
+
|
|
1009
1017
|
const commands = {
|
|
1010
1018
|
CreateMonitorCommand,
|
|
1011
1019
|
DeleteMonitorCommand,
|
|
@@ -1024,17 +1032,15 @@ const commands = {
|
|
|
1024
1032
|
UntagResourceCommand,
|
|
1025
1033
|
UpdateMonitorCommand,
|
|
1026
1034
|
};
|
|
1035
|
+
const paginators = {
|
|
1036
|
+
paginateGetQueryResults,
|
|
1037
|
+
paginateListHealthEvents,
|
|
1038
|
+
paginateListInternetEvents,
|
|
1039
|
+
paginateListMonitors,
|
|
1040
|
+
};
|
|
1027
1041
|
class InternetMonitor extends InternetMonitorClient {
|
|
1028
1042
|
}
|
|
1029
|
-
smithyClient.createAggregatedClient(commands, InternetMonitor);
|
|
1030
|
-
|
|
1031
|
-
const paginateGetQueryResults = core.createPaginator(InternetMonitorClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1032
|
-
|
|
1033
|
-
const paginateListHealthEvents = core.createPaginator(InternetMonitorClient, ListHealthEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1034
|
-
|
|
1035
|
-
const paginateListInternetEvents = core.createPaginator(InternetMonitorClient, ListInternetEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1036
|
-
|
|
1037
|
-
const paginateListMonitors = core.createPaginator(InternetMonitorClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1043
|
+
smithyClient.createAggregatedClient(commands, InternetMonitor, { paginators });
|
|
1038
1044
|
|
|
1039
1045
|
const LocalHealthEventsConfigStatus = {
|
|
1040
1046
|
DISABLED: "DISABLED",
|
|
@@ -16,6 +16,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
16
16
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
17
17
|
import { UpdateMonitorCommand, } from "./commands/UpdateMonitorCommand";
|
|
18
18
|
import { InternetMonitorClient } from "./InternetMonitorClient";
|
|
19
|
+
import { paginateGetQueryResults } from "./pagination/GetQueryResultsPaginator";
|
|
20
|
+
import { paginateListHealthEvents } from "./pagination/ListHealthEventsPaginator";
|
|
21
|
+
import { paginateListInternetEvents } from "./pagination/ListInternetEventsPaginator";
|
|
22
|
+
import { paginateListMonitors } from "./pagination/ListMonitorsPaginator";
|
|
19
23
|
const commands = {
|
|
20
24
|
CreateMonitorCommand,
|
|
21
25
|
DeleteMonitorCommand,
|
|
@@ -34,6 +38,12 @@ const commands = {
|
|
|
34
38
|
UntagResourceCommand,
|
|
35
39
|
UpdateMonitorCommand,
|
|
36
40
|
};
|
|
41
|
+
const paginators = {
|
|
42
|
+
paginateGetQueryResults,
|
|
43
|
+
paginateListHealthEvents,
|
|
44
|
+
paginateListInternetEvents,
|
|
45
|
+
paginateListMonitors,
|
|
46
|
+
};
|
|
37
47
|
export class InternetMonitor extends InternetMonitorClient {
|
|
38
48
|
}
|
|
39
|
-
createAggregatedClient(commands, InternetMonitor);
|
|
49
|
+
createAggregatedClient(commands, InternetMonitor, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "./commands/CreateMonitorCommand";
|
|
3
3
|
import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "./commands/DeleteMonitorCommand";
|
|
4
4
|
import { GetHealthEventCommandInput, GetHealthEventCommandOutput } from "./commands/GetHealthEventCommand";
|
|
@@ -115,6 +115,34 @@ export interface InternetMonitor {
|
|
|
115
115
|
updateMonitor(args: UpdateMonitorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMonitorCommandOutput>;
|
|
116
116
|
updateMonitor(args: UpdateMonitorCommandInput, cb: (err: any, data?: UpdateMonitorCommandOutput) => void): void;
|
|
117
117
|
updateMonitor(args: UpdateMonitorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMonitorCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link GetQueryResultsCommand}
|
|
120
|
+
* @param args - command input.
|
|
121
|
+
* @param paginationConfig - optional pagination config.
|
|
122
|
+
* @returns AsyncIterable of {@link GetQueryResultsCommandOutput}.
|
|
123
|
+
*/
|
|
124
|
+
paginateGetQueryResults(args: GetQueryResultsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetQueryResultsCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @see {@link ListHealthEventsCommand}
|
|
127
|
+
* @param args - command input.
|
|
128
|
+
* @param paginationConfig - optional pagination config.
|
|
129
|
+
* @returns AsyncIterable of {@link ListHealthEventsCommandOutput}.
|
|
130
|
+
*/
|
|
131
|
+
paginateListHealthEvents(args: ListHealthEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHealthEventsCommandOutput>;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link ListInternetEventsCommand}
|
|
134
|
+
* @param args - command input.
|
|
135
|
+
* @param paginationConfig - optional pagination config.
|
|
136
|
+
* @returns AsyncIterable of {@link ListInternetEventsCommandOutput}.
|
|
137
|
+
*/
|
|
138
|
+
paginateListInternetEvents(args?: ListInternetEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListInternetEventsCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link ListMonitorsCommand}
|
|
141
|
+
* @param args - command input.
|
|
142
|
+
* @param paginationConfig - optional pagination config.
|
|
143
|
+
* @returns AsyncIterable of {@link ListMonitorsCommandOutput}.
|
|
144
|
+
*/
|
|
145
|
+
paginateListMonitors(args?: ListMonitorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMonitorsCommandOutput>;
|
|
118
146
|
}
|
|
119
147
|
/**
|
|
120
148
|
* <p>Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateMonitorCommandInput,
|
|
4
8
|
CreateMonitorCommandOutput,
|
|
@@ -275,6 +279,34 @@ export interface InternetMonitor {
|
|
|
275
279
|
options: __HttpHandlerOptions,
|
|
276
280
|
cb: (err: any, data?: UpdateMonitorCommandOutput) => void
|
|
277
281
|
): void;
|
|
282
|
+
paginateGetQueryResults(
|
|
283
|
+
args: GetQueryResultsCommandInput,
|
|
284
|
+
paginationConfig?: Pick<
|
|
285
|
+
PaginationConfiguration,
|
|
286
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
287
|
+
>
|
|
288
|
+
): Paginator<GetQueryResultsCommandOutput>;
|
|
289
|
+
paginateListHealthEvents(
|
|
290
|
+
args: ListHealthEventsCommandInput,
|
|
291
|
+
paginationConfig?: Pick<
|
|
292
|
+
PaginationConfiguration,
|
|
293
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
294
|
+
>
|
|
295
|
+
): Paginator<ListHealthEventsCommandOutput>;
|
|
296
|
+
paginateListInternetEvents(
|
|
297
|
+
args?: ListInternetEventsCommandInput,
|
|
298
|
+
paginationConfig?: Pick<
|
|
299
|
+
PaginationConfiguration,
|
|
300
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
301
|
+
>
|
|
302
|
+
): Paginator<ListInternetEventsCommandOutput>;
|
|
303
|
+
paginateListMonitors(
|
|
304
|
+
args?: ListMonitorsCommandInput,
|
|
305
|
+
paginationConfig?: Pick<
|
|
306
|
+
PaginationConfiguration,
|
|
307
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
308
|
+
>
|
|
309
|
+
): Paginator<ListMonitorsCommandOutput>;
|
|
278
310
|
}
|
|
279
311
|
export declare class InternetMonitor
|
|
280
312
|
extends InternetMonitorClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-internetmonitor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-internetmonitor",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|