@aws-sdk/client-internetmonitor 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/CreateMonitorCommand.js +18 -41
- package/dist-cjs/commands/DeleteMonitorCommand.js +18 -41
- package/dist-cjs/commands/GetHealthEventCommand.js +18 -41
- package/dist-cjs/commands/GetMonitorCommand.js +18 -41
- package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
- package/dist-cjs/commands/GetQueryStatusCommand.js +18 -41
- package/dist-cjs/commands/ListHealthEventsCommand.js +18 -41
- package/dist-cjs/commands/ListMonitorsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartQueryCommand.js +18 -41
- package/dist-cjs/commands/StopQueryCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateMonitorCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHealthEventsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMonitorsPaginator.js +2 -24
- package/dist-es/commands/CreateMonitorCommand.js +18 -41
- package/dist-es/commands/DeleteMonitorCommand.js +18 -41
- package/dist-es/commands/GetHealthEventCommand.js +18 -41
- package/dist-es/commands/GetMonitorCommand.js +18 -41
- package/dist-es/commands/GetQueryResultsCommand.js +18 -41
- package/dist-es/commands/GetQueryStatusCommand.js +18 -41
- package/dist-es/commands/ListHealthEventsCommand.js +18 -41
- package/dist-es/commands/ListMonitorsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartQueryCommand.js +18 -41
- package/dist-es/commands/StopQueryCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateMonitorCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetQueryResultsPaginator.js +2 -23
- package/dist-es/pagination/ListHealthEventsPaginator.js +2 -23
- package/dist-es/pagination/ListMonitorsPaginator.js +2 -23
- package/dist-types/commands/CreateMonitorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMonitorCommand.d.ts +6 -21
- package/dist-types/commands/GetHealthEventCommand.d.ts +6 -21
- package/dist-types/commands/GetMonitorCommand.d.ts +6 -21
- package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
- package/dist-types/commands/GetQueryStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListHealthEventsCommand.d.ts +6 -21
- package/dist-types/commands/ListMonitorsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartQueryCommand.d.ts +6 -21
- package/dist-types/commands/StopQueryCommand.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/commands/UpdateMonitorCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHealthEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetHealthEventCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueryStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListHealthEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopQueryCommand.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/commands/UpdateMonitorCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHealthEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InternetMonitorClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InternetMonitor20210603",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InternetMonitor20210603", "TagResource", {})
|
|
19
|
+
.n("InternetMonitorClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InternetMonitorClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InternetMonitor20210603",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InternetMonitor20210603", "UntagResource", {})
|
|
19
|
+
.n("InternetMonitorClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateMonitorCommand, se_UpdateMonitorCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateMonitorCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "InternetMonitorClient";
|
|
26
|
-
const commandName = "UpdateMonitorCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "InternetMonitor20210603",
|
|
35
|
-
operation: "UpdateMonitor",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateMonitorCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateMonitorCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateMonitorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("InternetMonitor20210603", "UpdateMonitor", {})
|
|
19
|
+
.n("InternetMonitorClient", "UpdateMonitorCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateMonitorCommand)
|
|
22
|
+
.de(de_UpdateMonitorCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "internetmonitor",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetQueryResultsCommand, } from "../commands/GetQueryResultsCommand";
|
|
2
3
|
import { InternetMonitorClient } from "../InternetMonitorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetQueryResultsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetQueryResults(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 InternetMonitorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected InternetMonitor | InternetMonitorClient");
|
|
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 paginateGetQueryResults = createPaginator(InternetMonitorClient, GetQueryResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListHealthEventsCommand, } from "../commands/ListHealthEventsCommand";
|
|
2
3
|
import { InternetMonitorClient } from "../InternetMonitorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListHealthEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListHealthEvents(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 InternetMonitorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected InternetMonitor | InternetMonitorClient");
|
|
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 paginateListHealthEvents = createPaginator(InternetMonitorClient, ListHealthEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMonitorsCommand, } from "../commands/ListMonitorsCommand";
|
|
2
3
|
import { InternetMonitorClient } from "../InternetMonitorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMonitorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMonitors(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 InternetMonitorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected InternetMonitor | InternetMonitorClient");
|
|
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 paginateListMonitors = createPaginator(InternetMonitorClient, ListMonitorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { CreateMonitorInput, CreateMonitorOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateMonitorCommandInput extends CreateMonitorInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateMonitorCommand_base: {
|
|
24
|
+
new (input: CreateMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: VPCs,
|
|
@@ -108,23 +111,5 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
|
|
|
108
111
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
109
112
|
*
|
|
110
113
|
*/
|
|
111
|
-
export declare class CreateMonitorCommand extends
|
|
112
|
-
readonly input: CreateMonitorCommandInput;
|
|
113
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
114
|
-
/**
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
constructor(input: CreateMonitorCommandInput);
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMonitorCommandInput, CreateMonitorCommandOutput>;
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
private serialize;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
private deserialize;
|
|
114
|
+
export declare class CreateMonitorCommand extends CreateMonitorCommand_base {
|
|
130
115
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { DeleteMonitorInput, DeleteMonitorOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteMonitorCommandInput extends DeleteMonitorInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteMonitorCommand_base: {
|
|
24
|
+
new (input: DeleteMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a monitor in Amazon CloudWatch Internet Monitor. </p>
|
|
@@ -61,23 +64,5 @@ export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __Metad
|
|
|
61
64
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
62
65
|
*
|
|
63
66
|
*/
|
|
64
|
-
export declare class DeleteMonitorCommand extends
|
|
65
|
-
readonly input: DeleteMonitorCommandInput;
|
|
66
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
-
/**
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
constructor(input: DeleteMonitorCommandInput);
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMonitorCommandInput, DeleteMonitorCommandOutput>;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
private serialize;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
private deserialize;
|
|
67
|
+
export declare class DeleteMonitorCommand extends DeleteMonitorCommand_base {
|
|
83
68
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { GetHealthEventInput, GetHealthEventOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetHealthEventCommandInput extends GetHealthEventInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetHealthEventCommand_base: {
|
|
24
|
+
new (input: GetHealthEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetHealthEventCommandInput, GetHealthEventCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Gets information the Amazon CloudWatch Internet Monitor has created and stored about a health event for a specified monitor. This information includes the impacted locations,
|
|
@@ -125,23 +128,5 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
|
|
|
125
128
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
126
129
|
*
|
|
127
130
|
*/
|
|
128
|
-
export declare class GetHealthEventCommand extends
|
|
129
|
-
readonly input: GetHealthEventCommandInput;
|
|
130
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
131
|
-
/**
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
constructor(input: GetHealthEventCommandInput);
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
*/
|
|
138
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetHealthEventCommandInput, GetHealthEventCommandOutput>;
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
142
|
-
private serialize;
|
|
143
|
-
/**
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
private deserialize;
|
|
131
|
+
export declare class GetHealthEventCommand extends GetHealthEventCommand_base {
|
|
147
132
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { GetMonitorInput, GetMonitorOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetMonitorCommandInput extends GetMonitorInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetMonitorCommand_base: {
|
|
24
|
+
new (input: GetMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Gets information about a monitor in Amazon CloudWatch Internet Monitor based on a monitor name. The information returned includes the Amazon Resource Name (ARN), create time,
|
|
@@ -99,23 +102,5 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
|
|
|
99
102
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
100
103
|
*
|
|
101
104
|
*/
|
|
102
|
-
export declare class GetMonitorCommand extends
|
|
103
|
-
readonly input: GetMonitorCommandInput;
|
|
104
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
-
/**
|
|
106
|
-
* @public
|
|
107
|
-
*/
|
|
108
|
-
constructor(input: GetMonitorCommandInput);
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetMonitorCommandInput, GetMonitorCommandOutput>;
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
private serialize;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
private deserialize;
|
|
105
|
+
export declare class GetMonitorCommand extends GetMonitorCommand_base {
|
|
121
106
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { GetQueryResultsInput, GetQueryResultsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetQueryResultsCommandInput extends GetQueryResultsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetQueryResultsCommand_base: {
|
|
24
|
+
new (input: GetQueryResultsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsCommandInput, GetQueryResultsCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Return the data for a query with the Amazon CloudWatch Internet Monitor query interface. Specify the query that you want to return results for by providing
|
|
@@ -84,23 +87,5 @@ export interface GetQueryResultsCommandOutput extends GetQueryResultsOutput, __M
|
|
|
84
87
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
85
88
|
*
|
|
86
89
|
*/
|
|
87
|
-
export declare class GetQueryResultsCommand extends
|
|
88
|
-
readonly input: GetQueryResultsCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: GetQueryResultsCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueryResultsCommandInput, GetQueryResultsCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
90
|
+
export declare class GetQueryResultsCommand extends GetQueryResultsCommand_base {
|
|
106
91
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { GetQueryStatusInput, GetQueryStatusOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetQueryStatusCommandInput extends GetQueryStatusInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetQueryStatusCommandOutput extends GetQueryStatusOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetQueryStatusCommand_base: {
|
|
24
|
+
new (input: GetQueryStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusCommandInput, GetQueryStatusCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns the current status of a query for the Amazon CloudWatch Internet Monitor query interface, for a specified query ID and monitor.
|
|
@@ -90,23 +93,5 @@ export interface GetQueryStatusCommandOutput extends GetQueryStatusOutput, __Met
|
|
|
90
93
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
91
94
|
*
|
|
92
95
|
*/
|
|
93
|
-
export declare class GetQueryStatusCommand extends
|
|
94
|
-
readonly input: GetQueryStatusCommandInput;
|
|
95
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
-
/**
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
constructor(input: GetQueryStatusCommandInput);
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetQueryStatusCommandInput, GetQueryStatusCommandOutput>;
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
private serialize;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private deserialize;
|
|
96
|
+
export declare class GetQueryStatusCommand extends GetQueryStatusCommand_base {
|
|
112
97
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { ListHealthEventsInput, ListHealthEventsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListHealthEventsCommandInput extends ListHealthEventsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListHealthEventsCommand_base: {
|
|
24
|
+
new (input: ListHealthEventsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHealthEventsCommandInput, ListHealthEventsCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns information for health events including the event start and end time and
|
|
@@ -134,23 +137,5 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
|
|
|
134
137
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
135
138
|
*
|
|
136
139
|
*/
|
|
137
|
-
export declare class ListHealthEventsCommand extends
|
|
138
|
-
readonly input: ListHealthEventsCommandInput;
|
|
139
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
140
|
-
/**
|
|
141
|
-
* @public
|
|
142
|
-
*/
|
|
143
|
-
constructor(input: ListHealthEventsCommandInput);
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListHealthEventsCommandInput, ListHealthEventsCommandOutput>;
|
|
148
|
-
/**
|
|
149
|
-
* @internal
|
|
150
|
-
*/
|
|
151
|
-
private serialize;
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
private deserialize;
|
|
140
|
+
export declare class ListHealthEventsCommand extends ListHealthEventsCommand_base {
|
|
156
141
|
}
|
|
@@ -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 { InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InternetMonitorClient";
|
|
5
4
|
import { ListMonitorsInput, ListMonitorsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListMonitorsCommandInput extends ListMonitorsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListMonitorsCommand_base: {
|
|
24
|
+
new (input: ListMonitorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMonitorsCommandInput, ListMonitorsCommandOutput, InternetMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Lists all of your monitors for Amazon CloudWatch Internet Monitor and their statuses, along with the Amazon Resource Name (ARN) and name of each monitor.</p>
|
|
@@ -73,23 +76,5 @@ export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __Metadat
|
|
|
73
76
|
* <p>Base exception class for all service exceptions from InternetMonitor service.</p>
|
|
74
77
|
*
|
|
75
78
|
*/
|
|
76
|
-
export declare class ListMonitorsCommand extends
|
|
77
|
-
readonly input: ListMonitorsCommandInput;
|
|
78
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
-
/**
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
constructor(input: ListMonitorsCommandInput);
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InternetMonitorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMonitorsCommandInput, ListMonitorsCommandOutput>;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
private serialize;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private deserialize;
|
|
79
|
+
export declare class ListMonitorsCommand extends ListMonitorsCommand_base {
|
|
95
80
|
}
|