@aws-sdk/client-internetmonitor 3.299.0 → 3.301.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-types/commands/CreateMonitorCommand.d.ts +11 -0
- package/dist-types/commands/DeleteMonitorCommand.d.ts +3 -0
- package/dist-types/commands/GetHealthEventCommand.d.ts +4 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +3 -0
- package/dist-types/commands/ListHealthEventsCommand.d.ts +8 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMonitorCommand.d.ts +12 -0
- package/package.json +8 -8
|
@@ -29,6 +29,17 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
|
|
|
29
29
|
* import { InternetMonitorClient, CreateMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
30
30
|
* // const { InternetMonitorClient, CreateMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
31
31
|
* const client = new InternetMonitorClient(config);
|
|
32
|
+
* const input = { // CreateMonitorInput
|
|
33
|
+
* MonitorName: "STRING_VALUE", // required
|
|
34
|
+
* Resources: [ // SetOfARNs
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* ClientToken: "STRING_VALUE",
|
|
38
|
+
* Tags: { // TagMap
|
|
39
|
+
* "<keys>": "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* MaxCityNetworksToMonitor: Number("int"), // required
|
|
42
|
+
* };
|
|
32
43
|
* const command = new CreateMonitorCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __Metad
|
|
|
26
26
|
* import { InternetMonitorClient, DeleteMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, DeleteMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
+
* const input = { // DeleteMonitorInput
|
|
30
|
+
* MonitorName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteMonitorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
|
|
|
30
30
|
* import { InternetMonitorClient, GetHealthEventCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
31
31
|
* // const { InternetMonitorClient, GetHealthEventCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
32
32
|
* const client = new InternetMonitorClient(config);
|
|
33
|
+
* const input = { // GetHealthEventInput
|
|
34
|
+
* MonitorName: "STRING_VALUE", // required
|
|
35
|
+
* EventId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new GetHealthEventCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
|
|
|
27
27
|
* import { InternetMonitorClient, GetMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, GetMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
+
* const input = { // GetMonitorInput
|
|
31
|
+
* MonitorName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetMonitorCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -30,6 +30,14 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
|
|
|
30
30
|
* import { InternetMonitorClient, ListHealthEventsCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
31
31
|
* // const { InternetMonitorClient, ListHealthEventsCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
32
32
|
* const client = new InternetMonitorClient(config);
|
|
33
|
+
* const input = { // ListHealthEventsInput
|
|
34
|
+
* MonitorName: "STRING_VALUE", // required
|
|
35
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
36
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* EventStatus: "STRING_VALUE",
|
|
40
|
+
* };
|
|
33
41
|
* const command = new ListHealthEventsCommand(input);
|
|
34
42
|
* const response = await client.send(command);
|
|
35
43
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __Metadat
|
|
|
26
26
|
* import { InternetMonitorClient, ListMonitorsCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, ListMonitorsCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
+
* const input = { // ListMonitorsInput
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* MonitorStatus: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListMonitorsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { InternetMonitorClient, ListTagsForResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
27
27
|
* import { InternetMonitorClient, TagResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, TagResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
+
* const input = { // TagResourceInput
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* Tags: { // TagMap // required
|
|
33
|
+
* "<keys>": "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
30
36
|
* const command = new TagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
26
26
|
* import { InternetMonitorClient, UntagResourceCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
27
27
|
* // const { InternetMonitorClient, UntagResourceCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
28
28
|
* const client = new InternetMonitorClient(config);
|
|
29
|
+
* const input = { // UntagResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* TagKeys: [ // TagKeys // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
|
|
|
27
27
|
* import { InternetMonitorClient, UpdateMonitorCommand } from "@aws-sdk/client-internetmonitor"; // ES Modules import
|
|
28
28
|
* // const { InternetMonitorClient, UpdateMonitorCommand } = require("@aws-sdk/client-internetmonitor"); // CommonJS import
|
|
29
29
|
* const client = new InternetMonitorClient(config);
|
|
30
|
+
* const input = { // UpdateMonitorInput
|
|
31
|
+
* MonitorName: "STRING_VALUE", // required
|
|
32
|
+
* ResourcesToAdd: [ // SetOfARNs
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* ResourcesToRemove: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* Status: "STRING_VALUE",
|
|
39
|
+
* ClientToken: "STRING_VALUE",
|
|
40
|
+
* MaxCityNetworksToMonitor: Number("int"),
|
|
41
|
+
* };
|
|
30
42
|
* const command = new UpdateMonitorCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
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.301.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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|