@aws-sdk/client-internetmonitor 3.451.0 → 3.458.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 +42 -10
- package/dist-cjs/InternetMonitor.js +8 -0
- package/dist-cjs/commands/GetQueryResultsCommand.js +51 -0
- package/dist-cjs/commands/GetQueryStatusCommand.js +51 -0
- package/dist-cjs/commands/StartQueryCommand.js +51 -0
- package/dist-cjs/commands/StopQueryCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +17 -1
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +270 -1
- package/dist-es/InternetMonitor.js +8 -0
- package/dist-es/commands/GetQueryResultsCommand.js +47 -0
- package/dist-es/commands/GetQueryStatusCommand.js +47 -0
- package/dist-es/commands/StartQueryCommand.js +47 -0
- package/dist-es/commands/StopQueryCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/pagination/GetQueryResultsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +261 -0
- package/dist-types/InternetMonitor.d.ts +28 -0
- package/dist-types/InternetMonitorClient.d.ts +6 -2
- package/dist-types/commands/GetQueryResultsCommand.d.ts +106 -0
- package/dist-types/commands/GetQueryStatusCommand.d.ts +112 -0
- package/dist-types/commands/StartQueryCommand.d.ts +105 -0
- package/dist-types/commands/StopQueryCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +255 -3
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/InternetMonitor.d.ts +68 -0
- package/dist-types/ts3.4/InternetMonitorClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetQueryStatusCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StopQueryCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +3 -3
|
@@ -15,6 +15,14 @@ import {
|
|
|
15
15
|
GetMonitorCommandInput,
|
|
16
16
|
GetMonitorCommandOutput,
|
|
17
17
|
} from "./commands/GetMonitorCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetQueryResultsCommandInput,
|
|
20
|
+
GetQueryResultsCommandOutput,
|
|
21
|
+
} from "./commands/GetQueryResultsCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetQueryStatusCommandInput,
|
|
24
|
+
GetQueryStatusCommandOutput,
|
|
25
|
+
} from "./commands/GetQueryStatusCommand";
|
|
18
26
|
import {
|
|
19
27
|
ListHealthEventsCommandInput,
|
|
20
28
|
ListHealthEventsCommandOutput,
|
|
@@ -27,6 +35,14 @@ import {
|
|
|
27
35
|
ListTagsForResourceCommandInput,
|
|
28
36
|
ListTagsForResourceCommandOutput,
|
|
29
37
|
} from "./commands/ListTagsForResourceCommand";
|
|
38
|
+
import {
|
|
39
|
+
StartQueryCommandInput,
|
|
40
|
+
StartQueryCommandOutput,
|
|
41
|
+
} from "./commands/StartQueryCommand";
|
|
42
|
+
import {
|
|
43
|
+
StopQueryCommandInput,
|
|
44
|
+
StopQueryCommandOutput,
|
|
45
|
+
} from "./commands/StopQueryCommand";
|
|
30
46
|
import {
|
|
31
47
|
TagResourceCommandInput,
|
|
32
48
|
TagResourceCommandOutput,
|
|
@@ -93,6 +109,32 @@ export interface InternetMonitor {
|
|
|
93
109
|
options: __HttpHandlerOptions,
|
|
94
110
|
cb: (err: any, data?: GetMonitorCommandOutput) => void
|
|
95
111
|
): void;
|
|
112
|
+
getQueryResults(
|
|
113
|
+
args: GetQueryResultsCommandInput,
|
|
114
|
+
options?: __HttpHandlerOptions
|
|
115
|
+
): Promise<GetQueryResultsCommandOutput>;
|
|
116
|
+
getQueryResults(
|
|
117
|
+
args: GetQueryResultsCommandInput,
|
|
118
|
+
cb: (err: any, data?: GetQueryResultsCommandOutput) => void
|
|
119
|
+
): void;
|
|
120
|
+
getQueryResults(
|
|
121
|
+
args: GetQueryResultsCommandInput,
|
|
122
|
+
options: __HttpHandlerOptions,
|
|
123
|
+
cb: (err: any, data?: GetQueryResultsCommandOutput) => void
|
|
124
|
+
): void;
|
|
125
|
+
getQueryStatus(
|
|
126
|
+
args: GetQueryStatusCommandInput,
|
|
127
|
+
options?: __HttpHandlerOptions
|
|
128
|
+
): Promise<GetQueryStatusCommandOutput>;
|
|
129
|
+
getQueryStatus(
|
|
130
|
+
args: GetQueryStatusCommandInput,
|
|
131
|
+
cb: (err: any, data?: GetQueryStatusCommandOutput) => void
|
|
132
|
+
): void;
|
|
133
|
+
getQueryStatus(
|
|
134
|
+
args: GetQueryStatusCommandInput,
|
|
135
|
+
options: __HttpHandlerOptions,
|
|
136
|
+
cb: (err: any, data?: GetQueryStatusCommandOutput) => void
|
|
137
|
+
): void;
|
|
96
138
|
listHealthEvents(
|
|
97
139
|
args: ListHealthEventsCommandInput,
|
|
98
140
|
options?: __HttpHandlerOptions
|
|
@@ -132,6 +174,32 @@ export interface InternetMonitor {
|
|
|
132
174
|
options: __HttpHandlerOptions,
|
|
133
175
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
134
176
|
): void;
|
|
177
|
+
startQuery(
|
|
178
|
+
args: StartQueryCommandInput,
|
|
179
|
+
options?: __HttpHandlerOptions
|
|
180
|
+
): Promise<StartQueryCommandOutput>;
|
|
181
|
+
startQuery(
|
|
182
|
+
args: StartQueryCommandInput,
|
|
183
|
+
cb: (err: any, data?: StartQueryCommandOutput) => void
|
|
184
|
+
): void;
|
|
185
|
+
startQuery(
|
|
186
|
+
args: StartQueryCommandInput,
|
|
187
|
+
options: __HttpHandlerOptions,
|
|
188
|
+
cb: (err: any, data?: StartQueryCommandOutput) => void
|
|
189
|
+
): void;
|
|
190
|
+
stopQuery(
|
|
191
|
+
args: StopQueryCommandInput,
|
|
192
|
+
options?: __HttpHandlerOptions
|
|
193
|
+
): Promise<StopQueryCommandOutput>;
|
|
194
|
+
stopQuery(
|
|
195
|
+
args: StopQueryCommandInput,
|
|
196
|
+
cb: (err: any, data?: StopQueryCommandOutput) => void
|
|
197
|
+
): void;
|
|
198
|
+
stopQuery(
|
|
199
|
+
args: StopQueryCommandInput,
|
|
200
|
+
options: __HttpHandlerOptions,
|
|
201
|
+
cb: (err: any, data?: StopQueryCommandOutput) => void
|
|
202
|
+
): void;
|
|
135
203
|
tagResource(
|
|
136
204
|
args: TagResourceCommandInput,
|
|
137
205
|
options?: __HttpHandlerOptions
|
|
@@ -61,6 +61,14 @@ import {
|
|
|
61
61
|
GetMonitorCommandInput,
|
|
62
62
|
GetMonitorCommandOutput,
|
|
63
63
|
} from "./commands/GetMonitorCommand";
|
|
64
|
+
import {
|
|
65
|
+
GetQueryResultsCommandInput,
|
|
66
|
+
GetQueryResultsCommandOutput,
|
|
67
|
+
} from "./commands/GetQueryResultsCommand";
|
|
68
|
+
import {
|
|
69
|
+
GetQueryStatusCommandInput,
|
|
70
|
+
GetQueryStatusCommandOutput,
|
|
71
|
+
} from "./commands/GetQueryStatusCommand";
|
|
64
72
|
import {
|
|
65
73
|
ListHealthEventsCommandInput,
|
|
66
74
|
ListHealthEventsCommandOutput,
|
|
@@ -73,6 +81,14 @@ import {
|
|
|
73
81
|
ListTagsForResourceCommandInput,
|
|
74
82
|
ListTagsForResourceCommandOutput,
|
|
75
83
|
} from "./commands/ListTagsForResourceCommand";
|
|
84
|
+
import {
|
|
85
|
+
StartQueryCommandInput,
|
|
86
|
+
StartQueryCommandOutput,
|
|
87
|
+
} from "./commands/StartQueryCommand";
|
|
88
|
+
import {
|
|
89
|
+
StopQueryCommandInput,
|
|
90
|
+
StopQueryCommandOutput,
|
|
91
|
+
} from "./commands/StopQueryCommand";
|
|
76
92
|
import {
|
|
77
93
|
TagResourceCommandInput,
|
|
78
94
|
TagResourceCommandOutput,
|
|
@@ -97,9 +113,13 @@ export type ServiceInputTypes =
|
|
|
97
113
|
| DeleteMonitorCommandInput
|
|
98
114
|
| GetHealthEventCommandInput
|
|
99
115
|
| GetMonitorCommandInput
|
|
116
|
+
| GetQueryResultsCommandInput
|
|
117
|
+
| GetQueryStatusCommandInput
|
|
100
118
|
| ListHealthEventsCommandInput
|
|
101
119
|
| ListMonitorsCommandInput
|
|
102
120
|
| ListTagsForResourceCommandInput
|
|
121
|
+
| StartQueryCommandInput
|
|
122
|
+
| StopQueryCommandInput
|
|
103
123
|
| TagResourceCommandInput
|
|
104
124
|
| UntagResourceCommandInput
|
|
105
125
|
| UpdateMonitorCommandInput;
|
|
@@ -108,9 +128,13 @@ export type ServiceOutputTypes =
|
|
|
108
128
|
| DeleteMonitorCommandOutput
|
|
109
129
|
| GetHealthEventCommandOutput
|
|
110
130
|
| GetMonitorCommandOutput
|
|
131
|
+
| GetQueryResultsCommandOutput
|
|
132
|
+
| GetQueryStatusCommandOutput
|
|
111
133
|
| ListHealthEventsCommandOutput
|
|
112
134
|
| ListMonitorsCommandOutput
|
|
113
135
|
| ListTagsForResourceCommandOutput
|
|
136
|
+
| StartQueryCommandOutput
|
|
137
|
+
| StopQueryCommandOutput
|
|
114
138
|
| TagResourceCommandOutput
|
|
115
139
|
| UntagResourceCommandOutput
|
|
116
140
|
| UpdateMonitorCommandOutput;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
InternetMonitorClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../InternetMonitorClient";
|
|
14
|
+
import {
|
|
15
|
+
GetQueryResultsInput,
|
|
16
|
+
GetQueryResultsOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetQueryResultsCommandInput extends GetQueryResultsInput {}
|
|
20
|
+
export interface GetQueryResultsCommandOutput
|
|
21
|
+
extends GetQueryResultsOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetQueryResultsCommand extends $Command<
|
|
24
|
+
GetQueryResultsCommandInput,
|
|
25
|
+
GetQueryResultsCommandOutput,
|
|
26
|
+
InternetMonitorClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetQueryResultsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetQueryResultsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: InternetMonitorClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetQueryResultsCommandInput, GetQueryResultsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
InternetMonitorClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../InternetMonitorClient";
|
|
14
|
+
import { GetQueryStatusInput, GetQueryStatusOutput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface GetQueryStatusCommandInput extends GetQueryStatusInput {}
|
|
17
|
+
export interface GetQueryStatusCommandOutput
|
|
18
|
+
extends GetQueryStatusOutput,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class GetQueryStatusCommand extends $Command<
|
|
21
|
+
GetQueryStatusCommandInput,
|
|
22
|
+
GetQueryStatusCommandOutput,
|
|
23
|
+
InternetMonitorClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: GetQueryStatusCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: GetQueryStatusCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: InternetMonitorClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<GetQueryStatusCommandInput, GetQueryStatusCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
InternetMonitorClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../InternetMonitorClient";
|
|
14
|
+
import { StartQueryInput, StartQueryOutput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface StartQueryCommandInput extends StartQueryInput {}
|
|
17
|
+
export interface StartQueryCommandOutput
|
|
18
|
+
extends StartQueryOutput,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class StartQueryCommand extends $Command<
|
|
21
|
+
StartQueryCommandInput,
|
|
22
|
+
StartQueryCommandOutput,
|
|
23
|
+
InternetMonitorClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: StartQueryCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: StartQueryCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: InternetMonitorClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<StartQueryCommandInput, StartQueryCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
InternetMonitorClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../InternetMonitorClient";
|
|
14
|
+
import { StopQueryInput, StopQueryOutput } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface StopQueryCommandInput extends StopQueryInput {}
|
|
17
|
+
export interface StopQueryCommandOutput
|
|
18
|
+
extends StopQueryOutput,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class StopQueryCommand extends $Command<
|
|
21
|
+
StopQueryCommandInput,
|
|
22
|
+
StopQueryCommandOutput,
|
|
23
|
+
InternetMonitorClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: StopQueryCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: StopQueryCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: InternetMonitorClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<StopQueryCommandInput, StopQueryCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -2,9 +2,13 @@ export * from "./CreateMonitorCommand";
|
|
|
2
2
|
export * from "./DeleteMonitorCommand";
|
|
3
3
|
export * from "./GetHealthEventCommand";
|
|
4
4
|
export * from "./GetMonitorCommand";
|
|
5
|
+
export * from "./GetQueryResultsCommand";
|
|
6
|
+
export * from "./GetQueryStatusCommand";
|
|
5
7
|
export * from "./ListHealthEventsCommand";
|
|
6
8
|
export * from "./ListMonitorsCommand";
|
|
7
9
|
export * from "./ListTagsForResourceCommand";
|
|
10
|
+
export * from "./StartQueryCommand";
|
|
11
|
+
export * from "./StopQueryCommand";
|
|
8
12
|
export * from "./TagResourceCommand";
|
|
9
13
|
export * from "./UntagResourceCommand";
|
|
10
14
|
export * from "./UpdateMonitorCommand";
|
|
@@ -113,6 +113,16 @@ export interface DeleteMonitorInput {
|
|
|
113
113
|
MonitorName: string | undefined;
|
|
114
114
|
}
|
|
115
115
|
export interface DeleteMonitorOutput {}
|
|
116
|
+
export declare const Operator: {
|
|
117
|
+
readonly EQUALS: "EQUALS";
|
|
118
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
119
|
+
};
|
|
120
|
+
export type Operator = (typeof Operator)[keyof typeof Operator];
|
|
121
|
+
export interface FilterParameter {
|
|
122
|
+
Field?: string;
|
|
123
|
+
Operator?: Operator;
|
|
124
|
+
Values?: string[];
|
|
125
|
+
}
|
|
116
126
|
export interface GetHealthEventInput {
|
|
117
127
|
MonitorName: string | undefined;
|
|
118
128
|
EventId: string | undefined;
|
|
@@ -218,6 +228,36 @@ export interface GetMonitorOutput {
|
|
|
218
228
|
TrafficPercentageToMonitor?: number;
|
|
219
229
|
HealthEventsConfig?: HealthEventsConfig;
|
|
220
230
|
}
|
|
231
|
+
export interface GetQueryResultsInput {
|
|
232
|
+
MonitorName: string | undefined;
|
|
233
|
+
QueryId: string | undefined;
|
|
234
|
+
NextToken?: string;
|
|
235
|
+
MaxResults?: number;
|
|
236
|
+
}
|
|
237
|
+
export interface QueryField {
|
|
238
|
+
Name?: string;
|
|
239
|
+
Type?: string;
|
|
240
|
+
}
|
|
241
|
+
export interface GetQueryResultsOutput {
|
|
242
|
+
Fields: QueryField[] | undefined;
|
|
243
|
+
Data: string[][] | undefined;
|
|
244
|
+
NextToken?: string;
|
|
245
|
+
}
|
|
246
|
+
export interface GetQueryStatusInput {
|
|
247
|
+
MonitorName: string | undefined;
|
|
248
|
+
QueryId: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
export declare const QueryStatus: {
|
|
251
|
+
readonly CANCELED: "CANCELED";
|
|
252
|
+
readonly FAILED: "FAILED";
|
|
253
|
+
readonly QUEUED: "QUEUED";
|
|
254
|
+
readonly RUNNING: "RUNNING";
|
|
255
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
256
|
+
};
|
|
257
|
+
export type QueryStatus = (typeof QueryStatus)[keyof typeof QueryStatus];
|
|
258
|
+
export interface GetQueryStatusOutput {
|
|
259
|
+
Status: QueryStatus | undefined;
|
|
260
|
+
}
|
|
221
261
|
export interface HealthEvent {
|
|
222
262
|
EventArn: string | undefined;
|
|
223
263
|
EventId: string | undefined;
|
|
@@ -287,6 +327,27 @@ export interface ListMonitorsOutput {
|
|
|
287
327
|
Monitors: Monitor[] | undefined;
|
|
288
328
|
NextToken?: string;
|
|
289
329
|
}
|
|
330
|
+
export declare const QueryType: {
|
|
331
|
+
readonly MEASUREMENTS: "MEASUREMENTS";
|
|
332
|
+
readonly TOP_LOCATIONS: "TOP_LOCATIONS";
|
|
333
|
+
readonly TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS";
|
|
334
|
+
};
|
|
335
|
+
export type QueryType = (typeof QueryType)[keyof typeof QueryType];
|
|
336
|
+
export interface StartQueryInput {
|
|
337
|
+
MonitorName: string | undefined;
|
|
338
|
+
StartTime: Date | undefined;
|
|
339
|
+
EndTime: Date | undefined;
|
|
340
|
+
QueryType: QueryType | undefined;
|
|
341
|
+
FilterParameters?: FilterParameter[];
|
|
342
|
+
}
|
|
343
|
+
export interface StartQueryOutput {
|
|
344
|
+
QueryId: string | undefined;
|
|
345
|
+
}
|
|
346
|
+
export interface StopQueryInput {
|
|
347
|
+
MonitorName: string | undefined;
|
|
348
|
+
QueryId: string | undefined;
|
|
349
|
+
}
|
|
350
|
+
export interface StopQueryOutput {}
|
|
290
351
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
291
352
|
readonly name: "ResourceNotFoundException";
|
|
292
353
|
readonly $fault: "client";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetQueryResultsCommandInput,
|
|
4
|
+
GetQueryResultsCommandOutput,
|
|
5
|
+
} from "../commands/GetQueryResultsCommand";
|
|
6
|
+
import { InternetMonitorPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateGetQueryResults(
|
|
8
|
+
config: InternetMonitorPaginationConfiguration,
|
|
9
|
+
input: GetQueryResultsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<GetQueryResultsCommandOutput>;
|
|
@@ -19,6 +19,14 @@ import {
|
|
|
19
19
|
GetMonitorCommandInput,
|
|
20
20
|
GetMonitorCommandOutput,
|
|
21
21
|
} from "../commands/GetMonitorCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetQueryResultsCommandInput,
|
|
24
|
+
GetQueryResultsCommandOutput,
|
|
25
|
+
} from "../commands/GetQueryResultsCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetQueryStatusCommandInput,
|
|
28
|
+
GetQueryStatusCommandOutput,
|
|
29
|
+
} from "../commands/GetQueryStatusCommand";
|
|
22
30
|
import {
|
|
23
31
|
ListHealthEventsCommandInput,
|
|
24
32
|
ListHealthEventsCommandOutput,
|
|
@@ -31,6 +39,14 @@ import {
|
|
|
31
39
|
ListTagsForResourceCommandInput,
|
|
32
40
|
ListTagsForResourceCommandOutput,
|
|
33
41
|
} from "../commands/ListTagsForResourceCommand";
|
|
42
|
+
import {
|
|
43
|
+
StartQueryCommandInput,
|
|
44
|
+
StartQueryCommandOutput,
|
|
45
|
+
} from "../commands/StartQueryCommand";
|
|
46
|
+
import {
|
|
47
|
+
StopQueryCommandInput,
|
|
48
|
+
StopQueryCommandOutput,
|
|
49
|
+
} from "../commands/StopQueryCommand";
|
|
34
50
|
import {
|
|
35
51
|
TagResourceCommandInput,
|
|
36
52
|
TagResourceCommandOutput,
|
|
@@ -59,6 +75,14 @@ export declare const se_GetMonitorCommand: (
|
|
|
59
75
|
input: GetMonitorCommandInput,
|
|
60
76
|
context: __SerdeContext
|
|
61
77
|
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const se_GetQueryResultsCommand: (
|
|
79
|
+
input: GetQueryResultsCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
82
|
+
export declare const se_GetQueryStatusCommand: (
|
|
83
|
+
input: GetQueryStatusCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
62
86
|
export declare const se_ListHealthEventsCommand: (
|
|
63
87
|
input: ListHealthEventsCommandInput,
|
|
64
88
|
context: __SerdeContext
|
|
@@ -71,6 +95,14 @@ export declare const se_ListTagsForResourceCommand: (
|
|
|
71
95
|
input: ListTagsForResourceCommandInput,
|
|
72
96
|
context: __SerdeContext
|
|
73
97
|
) => Promise<__HttpRequest>;
|
|
98
|
+
export declare const se_StartQueryCommand: (
|
|
99
|
+
input: StartQueryCommandInput,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<__HttpRequest>;
|
|
102
|
+
export declare const se_StopQueryCommand: (
|
|
103
|
+
input: StopQueryCommandInput,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<__HttpRequest>;
|
|
74
106
|
export declare const se_TagResourceCommand: (
|
|
75
107
|
input: TagResourceCommandInput,
|
|
76
108
|
context: __SerdeContext
|
|
@@ -99,6 +131,14 @@ export declare const de_GetMonitorCommand: (
|
|
|
99
131
|
output: __HttpResponse,
|
|
100
132
|
context: __SerdeContext
|
|
101
133
|
) => Promise<GetMonitorCommandOutput>;
|
|
134
|
+
export declare const de_GetQueryResultsCommand: (
|
|
135
|
+
output: __HttpResponse,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<GetQueryResultsCommandOutput>;
|
|
138
|
+
export declare const de_GetQueryStatusCommand: (
|
|
139
|
+
output: __HttpResponse,
|
|
140
|
+
context: __SerdeContext
|
|
141
|
+
) => Promise<GetQueryStatusCommandOutput>;
|
|
102
142
|
export declare const de_ListHealthEventsCommand: (
|
|
103
143
|
output: __HttpResponse,
|
|
104
144
|
context: __SerdeContext
|
|
@@ -111,6 +151,14 @@ export declare const de_ListTagsForResourceCommand: (
|
|
|
111
151
|
output: __HttpResponse,
|
|
112
152
|
context: __SerdeContext
|
|
113
153
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
154
|
+
export declare const de_StartQueryCommand: (
|
|
155
|
+
output: __HttpResponse,
|
|
156
|
+
context: __SerdeContext
|
|
157
|
+
) => Promise<StartQueryCommandOutput>;
|
|
158
|
+
export declare const de_StopQueryCommand: (
|
|
159
|
+
output: __HttpResponse,
|
|
160
|
+
context: __SerdeContext
|
|
161
|
+
) => Promise<StopQueryCommandOutput>;
|
|
114
162
|
export declare const de_TagResourceCommand: (
|
|
115
163
|
output: __HttpResponse,
|
|
116
164
|
context: __SerdeContext
|
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.458.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.458.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.458.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|