@aws-sdk/client-internetmonitor 3.321.1 → 3.326.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.
@@ -53,6 +53,11 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
53
53
  * };
54
54
  * const command = new CreateMonitorCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // CreateMonitorOutput
57
+ * // Arn: "STRING_VALUE", // required
58
+ * // Status: "STRING_VALUE", // required
59
+ * // };
60
+ *
56
61
  * ```
57
62
  *
58
63
  * @param CreateMonitorCommandInput - {@link CreateMonitorCommandInput}
@@ -79,6 +84,8 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
79
84
  * @throws {@link ValidationException} (client fault)
80
85
  * <p>Invalid request.</p>
81
86
  *
87
+ * @throws {@link InternetMonitorServiceException}
88
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
82
89
  *
83
90
  */
84
91
  export declare class CreateMonitorCommand extends $Command<CreateMonitorCommandInput, CreateMonitorCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __Metad
31
31
  * };
32
32
  * const command = new DeleteMonitorCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteMonitorCommandInput - {@link DeleteMonitorCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __Metad
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>Invalid request.</p>
53
55
  *
56
+ * @throws {@link InternetMonitorServiceException}
57
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteMonitorCommand extends $Command<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -36,6 +36,66 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
36
36
  * };
37
37
  * const command = new GetHealthEventCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetHealthEventOutput
40
+ * // EventArn: "STRING_VALUE", // required
41
+ * // EventId: "STRING_VALUE", // required
42
+ * // StartedAt: new Date("TIMESTAMP"), // required
43
+ * // EndedAt: new Date("TIMESTAMP"),
44
+ * // CreatedAt: new Date("TIMESTAMP"),
45
+ * // LastUpdatedAt: new Date("TIMESTAMP"), // required
46
+ * // ImpactedLocations: [ // ImpactedLocationsList // required
47
+ * // { // ImpactedLocation
48
+ * // ASName: "STRING_VALUE", // required
49
+ * // ASNumber: Number("long"), // required
50
+ * // Country: "STRING_VALUE", // required
51
+ * // Subdivision: "STRING_VALUE",
52
+ * // Metro: "STRING_VALUE",
53
+ * // City: "STRING_VALUE",
54
+ * // Latitude: Number("double"),
55
+ * // Longitude: Number("double"),
56
+ * // CountryCode: "STRING_VALUE",
57
+ * // SubdivisionCode: "STRING_VALUE",
58
+ * // ServiceLocation: "STRING_VALUE",
59
+ * // Status: "STRING_VALUE", // required
60
+ * // CausedBy: { // NetworkImpairment
61
+ * // Networks: [ // NetworkList // required
62
+ * // { // Network
63
+ * // ASName: "STRING_VALUE", // required
64
+ * // ASNumber: Number("long"), // required
65
+ * // },
66
+ * // ],
67
+ * // AsPath: [ // required
68
+ * // {
69
+ * // ASName: "STRING_VALUE", // required
70
+ * // ASNumber: Number("long"), // required
71
+ * // },
72
+ * // ],
73
+ * // NetworkEventType: "STRING_VALUE", // required
74
+ * // },
75
+ * // InternetHealth: { // InternetHealth
76
+ * // Availability: { // AvailabilityMeasurement
77
+ * // ExperienceScore: Number("double"),
78
+ * // PercentOfTotalTrafficImpacted: Number("double"),
79
+ * // PercentOfClientLocationImpacted: Number("double"),
80
+ * // },
81
+ * // Performance: { // PerformanceMeasurement
82
+ * // ExperienceScore: Number("double"),
83
+ * // PercentOfTotalTrafficImpacted: Number("double"),
84
+ * // PercentOfClientLocationImpacted: Number("double"),
85
+ * // RoundTripTime: { // RoundTripTime
86
+ * // P50: Number("double"),
87
+ * // P90: Number("double"),
88
+ * // P95: Number("double"),
89
+ * // },
90
+ * // },
91
+ * // },
92
+ * // },
93
+ * // ],
94
+ * // Status: "STRING_VALUE", // required
95
+ * // PercentOfTotalTrafficImpacted: Number("double"),
96
+ * // ImpactType: "STRING_VALUE", // required
97
+ * // };
98
+ *
39
99
  * ```
40
100
  *
41
101
  * @param GetHealthEventCommandInput - {@link GetHealthEventCommandInput}
@@ -56,6 +116,8 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
56
116
  * @throws {@link ValidationException} (client fault)
57
117
  * <p>Invalid request.</p>
58
118
  *
119
+ * @throws {@link InternetMonitorServiceException}
120
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
59
121
  *
60
122
  */
61
123
  export declare class GetHealthEventCommand extends $Command<GetHealthEventCommandInput, GetHealthEventCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -32,6 +32,31 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
32
32
  * };
33
33
  * const command = new GetMonitorCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetMonitorOutput
36
+ * // MonitorName: "STRING_VALUE", // required
37
+ * // MonitorArn: "STRING_VALUE", // required
38
+ * // Resources: [ // SetOfARNs // required
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // Status: "STRING_VALUE", // required
42
+ * // CreatedAt: new Date("TIMESTAMP"), // required
43
+ * // ModifiedAt: new Date("TIMESTAMP"), // required
44
+ * // ProcessingStatus: "STRING_VALUE",
45
+ * // ProcessingStatusInfo: "STRING_VALUE",
46
+ * // Tags: { // TagMap
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // MaxCityNetworksToMonitor: Number("int"),
50
+ * // InternetMeasurementsLogDelivery: { // InternetMeasurementsLogDelivery
51
+ * // S3Config: { // S3Config
52
+ * // BucketName: "STRING_VALUE",
53
+ * // BucketPrefix: "STRING_VALUE",
54
+ * // LogDeliveryStatus: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // TrafficPercentageToMonitor: Number("int"),
58
+ * // };
59
+ *
35
60
  * ```
36
61
  *
37
62
  * @param GetMonitorCommandInput - {@link GetMonitorCommandInput}
@@ -52,6 +77,8 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
52
77
  * @throws {@link ValidationException} (client fault)
53
78
  * <p>Invalid request.</p>
54
79
  *
80
+ * @throws {@link InternetMonitorServiceException}
81
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
55
82
  *
56
83
  */
57
84
  export declare class GetMonitorCommand extends $Command<GetMonitorCommandInput, GetMonitorCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -40,6 +40,71 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
40
40
  * };
41
41
  * const command = new ListHealthEventsCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListHealthEventsOutput
44
+ * // HealthEvents: [ // HealthEventList // required
45
+ * // { // HealthEvent
46
+ * // EventArn: "STRING_VALUE", // required
47
+ * // EventId: "STRING_VALUE", // required
48
+ * // StartedAt: new Date("TIMESTAMP"), // required
49
+ * // EndedAt: new Date("TIMESTAMP"),
50
+ * // CreatedAt: new Date("TIMESTAMP"),
51
+ * // LastUpdatedAt: new Date("TIMESTAMP"), // required
52
+ * // ImpactedLocations: [ // ImpactedLocationsList // required
53
+ * // { // ImpactedLocation
54
+ * // ASName: "STRING_VALUE", // required
55
+ * // ASNumber: Number("long"), // required
56
+ * // Country: "STRING_VALUE", // required
57
+ * // Subdivision: "STRING_VALUE",
58
+ * // Metro: "STRING_VALUE",
59
+ * // City: "STRING_VALUE",
60
+ * // Latitude: Number("double"),
61
+ * // Longitude: Number("double"),
62
+ * // CountryCode: "STRING_VALUE",
63
+ * // SubdivisionCode: "STRING_VALUE",
64
+ * // ServiceLocation: "STRING_VALUE",
65
+ * // Status: "STRING_VALUE", // required
66
+ * // CausedBy: { // NetworkImpairment
67
+ * // Networks: [ // NetworkList // required
68
+ * // { // Network
69
+ * // ASName: "STRING_VALUE", // required
70
+ * // ASNumber: Number("long"), // required
71
+ * // },
72
+ * // ],
73
+ * // AsPath: [ // required
74
+ * // {
75
+ * // ASName: "STRING_VALUE", // required
76
+ * // ASNumber: Number("long"), // required
77
+ * // },
78
+ * // ],
79
+ * // NetworkEventType: "STRING_VALUE", // required
80
+ * // },
81
+ * // InternetHealth: { // InternetHealth
82
+ * // Availability: { // AvailabilityMeasurement
83
+ * // ExperienceScore: Number("double"),
84
+ * // PercentOfTotalTrafficImpacted: Number("double"),
85
+ * // PercentOfClientLocationImpacted: Number("double"),
86
+ * // },
87
+ * // Performance: { // PerformanceMeasurement
88
+ * // ExperienceScore: Number("double"),
89
+ * // PercentOfTotalTrafficImpacted: Number("double"),
90
+ * // PercentOfClientLocationImpacted: Number("double"),
91
+ * // RoundTripTime: { // RoundTripTime
92
+ * // P50: Number("double"),
93
+ * // P90: Number("double"),
94
+ * // P95: Number("double"),
95
+ * // },
96
+ * // },
97
+ * // },
98
+ * // },
99
+ * // ],
100
+ * // Status: "STRING_VALUE", // required
101
+ * // PercentOfTotalTrafficImpacted: Number("double"),
102
+ * // ImpactType: "STRING_VALUE", // required
103
+ * // },
104
+ * // ],
105
+ * // NextToken: "STRING_VALUE",
106
+ * // };
107
+ *
43
108
  * ```
44
109
  *
45
110
  * @param ListHealthEventsCommandInput - {@link ListHealthEventsCommandInput}
@@ -60,6 +125,8 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
60
125
  * @throws {@link ValidationException} (client fault)
61
126
  * <p>Invalid request.</p>
62
127
  *
128
+ * @throws {@link InternetMonitorServiceException}
129
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
63
130
  *
64
131
  */
65
132
  export declare class ListHealthEventsCommand extends $Command<ListHealthEventsCommandInput, ListHealthEventsCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __Metadat
33
33
  * };
34
34
  * const command = new ListMonitorsCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // ListMonitorsOutput
37
+ * // Monitors: [ // MonitorList // required
38
+ * // { // Monitor
39
+ * // MonitorName: "STRING_VALUE", // required
40
+ * // MonitorArn: "STRING_VALUE", // required
41
+ * // Status: "STRING_VALUE", // required
42
+ * // ProcessingStatus: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // NextToken: "STRING_VALUE",
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param ListMonitorsCommandInput - {@link ListMonitorsCommandInput}
@@ -53,6 +65,8 @@ export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __Metadat
53
65
  * @throws {@link ValidationException} (client fault)
54
66
  * <p>Invalid request.</p>
55
67
  *
68
+ * @throws {@link InternetMonitorServiceException}
69
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
56
70
  *
57
71
  */
58
72
  export declare class ListMonitorsCommand extends $Command<ListMonitorsCommandInput, ListMonitorsCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceOutput
35
+ * // Tags: { // TagMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -54,6 +60,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
54
60
  * @throws {@link TooManyRequestsException} (client fault)
55
61
  * <p>There were too many requests.</p>
56
62
  *
63
+ * @throws {@link InternetMonitorServiceException}
64
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
57
65
  *
58
66
  */
59
67
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
35
35
  * };
36
36
  * const command = new TagResourceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -58,6 +60,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
58
60
  * @throws {@link TooManyRequestsException} (client fault)
59
61
  * <p>There were too many requests.</p>
60
62
  *
63
+ * @throws {@link InternetMonitorServiceException}
64
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
61
65
  *
62
66
  */
63
67
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -57,6 +59,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
57
59
  * @throws {@link TooManyRequestsException} (client fault)
58
60
  * <p>There were too many requests.</p>
59
61
  *
62
+ * @throws {@link InternetMonitorServiceException}
63
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
60
64
  *
61
65
  */
62
66
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, InternetMonitorClientResolvedConfig> {
@@ -52,6 +52,11 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
52
52
  * };
53
53
  * const command = new UpdateMonitorCommand(input);
54
54
  * const response = await client.send(command);
55
+ * // { // UpdateMonitorOutput
56
+ * // MonitorArn: "STRING_VALUE", // required
57
+ * // Status: "STRING_VALUE", // required
58
+ * // };
59
+ *
55
60
  * ```
56
61
  *
57
62
  * @param UpdateMonitorCommandInput - {@link UpdateMonitorCommandInput}
@@ -78,6 +83,8 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
78
83
  * @throws {@link ValidationException} (client fault)
79
84
  * <p>Invalid request.</p>
80
85
  *
86
+ * @throws {@link InternetMonitorServiceException}
87
+ * <p>Base exception class for all service exceptions from InternetMonitor service.</p>
81
88
  *
82
89
  */
83
90
  export declare class UpdateMonitorCommand extends $Command<UpdateMonitorCommandInput, UpdateMonitorCommandOutput, InternetMonitorClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",