@aws-sdk/client-internetmonitor 3.379.1 → 3.385.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 +3 -3
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +18 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +18 -0
- package/dist-types/InternetMonitor.d.ts +3 -3
- package/dist-types/InternetMonitorClient.d.ts +3 -3
- package/dist-types/commands/CreateMonitorCommand.d.ts +19 -7
- package/dist-types/commands/GetHealthEventCommand.d.ts +3 -3
- package/dist-types/commands/GetMonitorCommand.d.ts +10 -0
- package/dist-types/commands/ListHealthEventsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMonitorCommand.d.ts +12 -3
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +252 -39
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
AWS SDK for JavaScript InternetMonitor Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<p>Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability
|
|
10
|
-
between your applications hosted on Amazon Web Services and your end users. It
|
|
10
|
+
between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose
|
|
11
11
|
internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global
|
|
12
12
|
networking footprint to calculate a baseline of performance and availability for internet traffic. This
|
|
13
13
|
is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements
|
|
@@ -18,9 +18,9 @@ to easily support using CloudWatch tools with health information for geographies
|
|
|
18
18
|
Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network,
|
|
19
19
|
you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.</p>
|
|
20
20
|
<p>To use Internet Monitor, you create a <i>monitor</i> and associate your application's resources
|
|
21
|
-
with it
|
|
21
|
+
with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine
|
|
22
22
|
where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to
|
|
23
|
-
the locations and
|
|
23
|
+
the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.</p>
|
|
24
24
|
<p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
25
25
|
|
|
26
26
|
## Installing
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const r = "argv", s = "ref";
|
|
5
5
|
const a = false, b = true, c = "isSet", d = "tree", e = "booleanEquals", f = "error", g = "endpoint", h = "PartitionResult", i = "getAttr", j = { "required": false, "type": "String" }, k = { [s]: "Endpoint" }, l = {}, m = { [s]: h }, n = { [f]: "FIPS is enabled but this partition does not support FIPS", "type": f }, o = [{ "fn": e, [r]: [{ [s]: "UseFIPS" }, true] }], p = [{ [s]: "Region" }], q = [{ "fn": e, [r]: [true, { "fn": i, [r]: [m, "supportsFIPS"] }] }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: j, UseFIPS: { required: b, default: a, type: "Boolean" }, Endpoint: j }, rules: [{ conditions: [{ fn: c, [r]: [k] }], type: d, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: l, headers: l }, type: g }] }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: j, UseFIPS: { required: b, default: a, type: "Boolean" }, Endpoint: j }, rules: [{ conditions: [{ fn: c, [r]: [k] }], type: d, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: l, headers: l }, type: g }] }, { conditions: [{ fn: c, [r]: p }], type: d, rules: [{ conditions: [{ fn: "aws.partition", [r]: p, assign: h }], type: d, rules: [{ conditions: [{ fn: e, [r]: [b, { fn: i, [r]: [m, "supportsDualStack"] }] }], type: d, rules: [{ conditions: o, type: d, rules: [{ conditions: q, type: d, rules: [{ endpoint: { url: "https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, n] }, { endpoint: { url: "https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { conditions: o, type: d, rules: [{ conditions: q, type: d, rules: [{ endpoint: { url: "https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, n] }, { endpoint: { url: "https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "Invalid Configuration: Missing Region", type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.MonitorProcessingStatusCode = exports.HealthEventImpactType = exports.HealthEventStatus = exports.TriangulationEventType = exports.ValidationException = exports.ThrottlingException = exports.LimitExceededException = exports.InternalServerException = exports.MonitorConfigState = exports.LogDeliveryStatus = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.MonitorProcessingStatusCode = exports.HealthEventImpactType = exports.HealthEventStatus = exports.TriangulationEventType = exports.ValidationException = exports.ThrottlingException = exports.LimitExceededException = exports.InternalServerException = exports.MonitorConfigState = exports.LogDeliveryStatus = exports.LocalHealthEventsConfigStatus = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const InternetMonitorServiceException_1 = require("./InternetMonitorServiceException");
|
|
5
5
|
class AccessDeniedException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -41,6 +41,10 @@ class ConflictException extends InternetMonitorServiceException_1.InternetMonito
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.ConflictException = ConflictException;
|
|
44
|
+
exports.LocalHealthEventsConfigStatus = {
|
|
45
|
+
DISABLED: "DISABLED",
|
|
46
|
+
ENABLED: "ENABLED",
|
|
47
|
+
};
|
|
44
48
|
exports.LogDeliveryStatus = {
|
|
45
49
|
DISABLED: "DISABLED",
|
|
46
50
|
ENABLED: "ENABLED",
|
|
@@ -117,6 +121,8 @@ exports.HealthEventStatus = {
|
|
|
117
121
|
};
|
|
118
122
|
exports.HealthEventImpactType = {
|
|
119
123
|
AVAILABILITY: "AVAILABILITY",
|
|
124
|
+
LOCAL_AVAILABILITY: "LOCAL_AVAILABILITY",
|
|
125
|
+
LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE",
|
|
120
126
|
PERFORMANCE: "PERFORMANCE",
|
|
121
127
|
};
|
|
122
128
|
exports.MonitorProcessingStatusCode = {
|
|
@@ -841,10 +841,19 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
841
841
|
};
|
|
842
842
|
const se_HealthEventsConfig = (input, context) => {
|
|
843
843
|
return (0, smithy_client_1.take)(input, {
|
|
844
|
+
AvailabilityLocalHealthEventsConfig: (_) => se_LocalHealthEventsConfig(_, context),
|
|
844
845
|
AvailabilityScoreThreshold: smithy_client_1.serializeFloat,
|
|
846
|
+
PerformanceLocalHealthEventsConfig: (_) => se_LocalHealthEventsConfig(_, context),
|
|
845
847
|
PerformanceScoreThreshold: smithy_client_1.serializeFloat,
|
|
846
848
|
});
|
|
847
849
|
};
|
|
850
|
+
const se_LocalHealthEventsConfig = (input, context) => {
|
|
851
|
+
return (0, smithy_client_1.take)(input, {
|
|
852
|
+
HealthScoreThreshold: smithy_client_1.serializeFloat,
|
|
853
|
+
MinTrafficImpact: smithy_client_1.serializeFloat,
|
|
854
|
+
Status: [],
|
|
855
|
+
});
|
|
856
|
+
};
|
|
848
857
|
const de_AvailabilityMeasurement = (output, context) => {
|
|
849
858
|
return (0, smithy_client_1.take)(output, {
|
|
850
859
|
ExperienceScore: smithy_client_1.limitedParseDouble,
|
|
@@ -877,7 +886,9 @@ const de_HealthEventList = (output, context) => {
|
|
|
877
886
|
};
|
|
878
887
|
const de_HealthEventsConfig = (output, context) => {
|
|
879
888
|
return (0, smithy_client_1.take)(output, {
|
|
889
|
+
AvailabilityLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_, context),
|
|
880
890
|
AvailabilityScoreThreshold: smithy_client_1.limitedParseDouble,
|
|
891
|
+
PerformanceLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_, context),
|
|
881
892
|
PerformanceScoreThreshold: smithy_client_1.limitedParseDouble,
|
|
882
893
|
});
|
|
883
894
|
};
|
|
@@ -913,6 +924,13 @@ const de_InternetHealth = (output, context) => {
|
|
|
913
924
|
Performance: (_) => de_PerformanceMeasurement(_, context),
|
|
914
925
|
});
|
|
915
926
|
};
|
|
927
|
+
const de_LocalHealthEventsConfig = (output, context) => {
|
|
928
|
+
return (0, smithy_client_1.take)(output, {
|
|
929
|
+
HealthScoreThreshold: smithy_client_1.limitedParseDouble,
|
|
930
|
+
MinTrafficImpact: smithy_client_1.limitedParseDouble,
|
|
931
|
+
Status: smithy_client_1.expectString,
|
|
932
|
+
});
|
|
933
|
+
};
|
|
916
934
|
const de_PerformanceMeasurement = (output, context) => {
|
|
917
935
|
return (0, smithy_client_1.take)(output, {
|
|
918
936
|
ExperienceScore: smithy_client_1.limitedParseDouble,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const r = "argv", s = "ref";
|
|
2
2
|
const a = false, b = true, c = "isSet", d = "tree", e = "booleanEquals", f = "error", g = "endpoint", h = "PartitionResult", i = "getAttr", j = { "required": false, "type": "String" }, k = { [s]: "Endpoint" }, l = {}, m = { [s]: h }, n = { [f]: "FIPS is enabled but this partition does not support FIPS", "type": f }, o = [{ "fn": e, [r]: [{ [s]: "UseFIPS" }, true] }], p = [{ [s]: "Region" }], q = [{ "fn": e, [r]: [true, { "fn": i, [r]: [m, "supportsFIPS"] }] }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: j, UseFIPS: { required: b, default: a, type: "Boolean" }, Endpoint: j }, rules: [{ conditions: [{ fn: c, [r]: [k] }], type: d, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: l, headers: l }, type: g }] }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: j, UseFIPS: { required: b, default: a, type: "Boolean" }, Endpoint: j }, rules: [{ conditions: [{ fn: c, [r]: [k] }], type: d, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { endpoint: { url: k, properties: l, headers: l }, type: g }] }, { conditions: [{ fn: c, [r]: p }], type: d, rules: [{ conditions: [{ fn: "aws.partition", [r]: p, assign: h }], type: d, rules: [{ conditions: [{ fn: e, [r]: [b, { fn: i, [r]: [m, "supportsDualStack"] }] }], type: d, rules: [{ conditions: o, type: d, rules: [{ conditions: q, type: d, rules: [{ endpoint: { url: "https://internetmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, n] }, { endpoint: { url: "https://internetmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { conditions: o, type: d, rules: [{ conditions: q, type: d, rules: [{ endpoint: { url: "https://internetmonitor-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, n] }, { endpoint: { url: "https://internetmonitor.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "Invalid Configuration: Missing Region", type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -35,6 +35,10 @@ export class ConflictException extends __BaseException {
|
|
|
35
35
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
export const LocalHealthEventsConfigStatus = {
|
|
39
|
+
DISABLED: "DISABLED",
|
|
40
|
+
ENABLED: "ENABLED",
|
|
41
|
+
};
|
|
38
42
|
export const LogDeliveryStatus = {
|
|
39
43
|
DISABLED: "DISABLED",
|
|
40
44
|
ENABLED: "ENABLED",
|
|
@@ -107,6 +111,8 @@ export const HealthEventStatus = {
|
|
|
107
111
|
};
|
|
108
112
|
export const HealthEventImpactType = {
|
|
109
113
|
AVAILABILITY: "AVAILABILITY",
|
|
114
|
+
LOCAL_AVAILABILITY: "LOCAL_AVAILABILITY",
|
|
115
|
+
LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE",
|
|
110
116
|
PERFORMANCE: "PERFORMANCE",
|
|
111
117
|
};
|
|
112
118
|
export const MonitorProcessingStatusCode = {
|
|
@@ -818,10 +818,19 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
818
818
|
};
|
|
819
819
|
const se_HealthEventsConfig = (input, context) => {
|
|
820
820
|
return take(input, {
|
|
821
|
+
AvailabilityLocalHealthEventsConfig: (_) => se_LocalHealthEventsConfig(_, context),
|
|
821
822
|
AvailabilityScoreThreshold: __serializeFloat,
|
|
823
|
+
PerformanceLocalHealthEventsConfig: (_) => se_LocalHealthEventsConfig(_, context),
|
|
822
824
|
PerformanceScoreThreshold: __serializeFloat,
|
|
823
825
|
});
|
|
824
826
|
};
|
|
827
|
+
const se_LocalHealthEventsConfig = (input, context) => {
|
|
828
|
+
return take(input, {
|
|
829
|
+
HealthScoreThreshold: __serializeFloat,
|
|
830
|
+
MinTrafficImpact: __serializeFloat,
|
|
831
|
+
Status: [],
|
|
832
|
+
});
|
|
833
|
+
};
|
|
825
834
|
const de_AvailabilityMeasurement = (output, context) => {
|
|
826
835
|
return take(output, {
|
|
827
836
|
ExperienceScore: __limitedParseDouble,
|
|
@@ -854,7 +863,9 @@ const de_HealthEventList = (output, context) => {
|
|
|
854
863
|
};
|
|
855
864
|
const de_HealthEventsConfig = (output, context) => {
|
|
856
865
|
return take(output, {
|
|
866
|
+
AvailabilityLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_, context),
|
|
857
867
|
AvailabilityScoreThreshold: __limitedParseDouble,
|
|
868
|
+
PerformanceLocalHealthEventsConfig: (_) => de_LocalHealthEventsConfig(_, context),
|
|
858
869
|
PerformanceScoreThreshold: __limitedParseDouble,
|
|
859
870
|
});
|
|
860
871
|
};
|
|
@@ -890,6 +901,13 @@ const de_InternetHealth = (output, context) => {
|
|
|
890
901
|
Performance: (_) => de_PerformanceMeasurement(_, context),
|
|
891
902
|
});
|
|
892
903
|
};
|
|
904
|
+
const de_LocalHealthEventsConfig = (output, context) => {
|
|
905
|
+
return take(output, {
|
|
906
|
+
HealthScoreThreshold: __limitedParseDouble,
|
|
907
|
+
MinTrafficImpact: __limitedParseDouble,
|
|
908
|
+
Status: __expectString,
|
|
909
|
+
});
|
|
910
|
+
};
|
|
893
911
|
const de_PerformanceMeasurement = (output, context) => {
|
|
894
912
|
return take(output, {
|
|
895
913
|
ExperienceScore: __limitedParseDouble,
|
|
@@ -75,7 +75,7 @@ export interface InternetMonitor {
|
|
|
75
75
|
/**
|
|
76
76
|
* @public
|
|
77
77
|
* <p>Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability
|
|
78
|
-
* between your applications hosted on Amazon Web Services and your end users. It
|
|
78
|
+
* between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose
|
|
79
79
|
* internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global
|
|
80
80
|
* networking footprint to calculate a baseline of performance and availability for internet traffic. This
|
|
81
81
|
* is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements
|
|
@@ -86,9 +86,9 @@ export interface InternetMonitor {
|
|
|
86
86
|
* Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network,
|
|
87
87
|
* you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.</p>
|
|
88
88
|
* <p>To use Internet Monitor, you create a <i>monitor</i> and associate your application's resources
|
|
89
|
-
* with it
|
|
89
|
+
* with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine
|
|
90
90
|
* where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to
|
|
91
|
-
* the locations and
|
|
91
|
+
* the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.</p>
|
|
92
92
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
93
93
|
*/
|
|
94
94
|
export declare class InternetMonitor extends InternetMonitorClient implements InternetMonitor {
|
|
@@ -156,7 +156,7 @@ export interface InternetMonitorClientResolvedConfig extends InternetMonitorClie
|
|
|
156
156
|
/**
|
|
157
157
|
* @public
|
|
158
158
|
* <p>Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability
|
|
159
|
-
* between your applications hosted on Amazon Web Services and your end users. It
|
|
159
|
+
* between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose
|
|
160
160
|
* internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global
|
|
161
161
|
* networking footprint to calculate a baseline of performance and availability for internet traffic. This
|
|
162
162
|
* is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements
|
|
@@ -167,9 +167,9 @@ export interface InternetMonitorClientResolvedConfig extends InternetMonitorClie
|
|
|
167
167
|
* Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network,
|
|
168
168
|
* you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.</p>
|
|
169
169
|
* <p>To use Internet Monitor, you create a <i>monitor</i> and associate your application's resources
|
|
170
|
-
* with it
|
|
170
|
+
* with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine
|
|
171
171
|
* where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to
|
|
172
|
-
* the locations and
|
|
172
|
+
* the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.</p>
|
|
173
173
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
174
174
|
*/
|
|
175
175
|
export declare class InternetMonitorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, InternetMonitorClientResolvedConfig> {
|
|
@@ -23,13 +23,15 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add:
|
|
27
|
-
* Amazon CloudFront distributions, and WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services
|
|
28
|
-
* the <i>city-networks</i
|
|
29
|
-
* where clients access your application. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
26
|
+
* <p>Creates a monitor in Amazon CloudWatch Internet Monitor. A monitor is built based on information from the application resources that you add: VPCs,
|
|
27
|
+
* Network Load Balancers (NLBs), Amazon CloudFront distributions, and Amazon WorkSpaces directories. Internet Monitor then publishes internet measurements from Amazon Web Services
|
|
28
|
+
* that are specific to the <i>city-networks</i>. That is, the locations and ASNs (typically internet service providers or ISPs),
|
|
29
|
+
* where clients access your application. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User
|
|
30
|
+
* Guide</i>.</p>
|
|
31
|
+
* <p>When you create a monitor, you choose the percentage of traffic that you want to monitor. You can also set a maximum limit for the
|
|
32
|
+
* number of city-networks where client traffic is monitored, that caps the total traffic that Internet Monitor monitors. A city-network
|
|
33
|
+
* maximum is the limit of city-networks, but you only pay for the number of city-networks that are actually monitored. You can update your monitor
|
|
34
|
+
* at any time to change the percentage of traffic to monitor or the city-networks maximum. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html">Choosing a city-network maximum value</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -57,6 +59,16 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
|
|
|
57
59
|
* HealthEventsConfig: { // HealthEventsConfig
|
|
58
60
|
* AvailabilityScoreThreshold: Number("double"),
|
|
59
61
|
* PerformanceScoreThreshold: Number("double"),
|
|
62
|
+
* AvailabilityLocalHealthEventsConfig: { // LocalHealthEventsConfig
|
|
63
|
+
* Status: "STRING_VALUE",
|
|
64
|
+
* HealthScoreThreshold: Number("double"),
|
|
65
|
+
* MinTrafficImpact: Number("double"),
|
|
66
|
+
* },
|
|
67
|
+
* PerformanceLocalHealthEventsConfig: {
|
|
68
|
+
* Status: "STRING_VALUE",
|
|
69
|
+
* HealthScoreThreshold: Number("double"),
|
|
70
|
+
* MinTrafficImpact: Number("double"),
|
|
71
|
+
* },
|
|
60
72
|
* },
|
|
61
73
|
* };
|
|
62
74
|
* const command = new CreateMonitorCommand(input);
|
|
@@ -24,9 +24,9 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <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,
|
|
27
|
-
* and all
|
|
28
|
-
* <p>The information returned includes the performance, availability, and round-trip time
|
|
29
|
-
* and so on.</p>
|
|
27
|
+
* and all the information related to the event, by location.</p>
|
|
28
|
+
* <p>The information returned includes the impact on performance, availability, and round-trip time, information about the network providers (ASNs),
|
|
29
|
+
* the event type, and so on.</p>
|
|
30
30
|
* <p>Information rolled up at the global traffic level is also returned, including the impact type and total traffic impact.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -62,6 +62,16 @@ export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBea
|
|
|
62
62
|
* // HealthEventsConfig: { // HealthEventsConfig
|
|
63
63
|
* // AvailabilityScoreThreshold: Number("double"),
|
|
64
64
|
* // PerformanceScoreThreshold: Number("double"),
|
|
65
|
+
* // AvailabilityLocalHealthEventsConfig: { // LocalHealthEventsConfig
|
|
66
|
+
* // Status: "STRING_VALUE",
|
|
67
|
+
* // HealthScoreThreshold: Number("double"),
|
|
68
|
+
* // MinTrafficImpact: Number("double"),
|
|
69
|
+
* // },
|
|
70
|
+
* // PerformanceLocalHealthEventsConfig: {
|
|
71
|
+
* // Status: "STRING_VALUE",
|
|
72
|
+
* // HealthScoreThreshold: Number("double"),
|
|
73
|
+
* // MinTrafficImpact: Number("double"),
|
|
74
|
+
* // },
|
|
65
75
|
* // },
|
|
66
76
|
* // };
|
|
67
77
|
*
|
|
@@ -23,8 +23,8 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Lists all health events for a monitor in Amazon CloudWatch Internet Monitor. Returns
|
|
27
|
-
*
|
|
26
|
+
* <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
|
|
27
|
+
* the status.</p>
|
|
28
28
|
* <note>
|
|
29
29
|
* <p>Health events that have start times during the time frame that is requested are not included in the list of health events.</p>
|
|
30
30
|
* </note>
|
|
@@ -23,9 +23,8 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Updates a monitor. You can update a monitor to change the maximum number of city-networks
|
|
27
|
-
*
|
|
28
|
-
* or to change the status of the monitor. Note that you can't change the name of a monitor.</p>
|
|
26
|
+
* <p>Updates a monitor. You can update a monitor to change the percentage of traffic to monitor or the maximum number of city-networks
|
|
27
|
+
* (locations and ASNs), to add or remove resources, or to change the status of the monitor. Note that you can't change the name of a monitor.</p>
|
|
29
28
|
* <p>The city-network maximum that you choose is the limit, but you only pay for the number of city-networks that are actually monitored.
|
|
30
29
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html">Choosing a city-network maximum value</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
31
30
|
* @example
|
|
@@ -56,6 +55,16 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
|
|
|
56
55
|
* HealthEventsConfig: { // HealthEventsConfig
|
|
57
56
|
* AvailabilityScoreThreshold: Number("double"),
|
|
58
57
|
* PerformanceScoreThreshold: Number("double"),
|
|
58
|
+
* AvailabilityLocalHealthEventsConfig: { // LocalHealthEventsConfig
|
|
59
|
+
* Status: "STRING_VALUE",
|
|
60
|
+
* HealthScoreThreshold: Number("double"),
|
|
61
|
+
* MinTrafficImpact: Number("double"),
|
|
62
|
+
* },
|
|
63
|
+
* PerformanceLocalHealthEventsConfig: {
|
|
64
|
+
* Status: "STRING_VALUE",
|
|
65
|
+
* HealthScoreThreshold: Number("double"),
|
|
66
|
+
* MinTrafficImpact: Number("double"),
|
|
67
|
+
* },
|
|
59
68
|
* },
|
|
60
69
|
* };
|
|
61
70
|
* const command = new UpdateMonitorCommand(input);
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <p>Amazon CloudWatch Internet Monitor provides visibility into how internet issues impact the performance and availability
|
|
3
|
-
* between your applications hosted on Amazon Web Services and your end users. It
|
|
3
|
+
* between your applications hosted on Amazon Web Services and your end users. It can reduce the time it takes for you to diagnose
|
|
4
4
|
* internet issues from days to minutes. Internet Monitor uses the connectivity data that Amazon Web Services captures from its global
|
|
5
5
|
* networking footprint to calculate a baseline of performance and availability for internet traffic. This
|
|
6
6
|
* is the same data that Amazon Web Services uses to monitor internet uptime and availability. With those measurements
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* Internet Monitor sends health events to Amazon EventBridge so that you can set up notifications. If an issue is caused by the Amazon Web Services network,
|
|
12
12
|
* you also automatically receive an Amazon Web Services Health Dashboard notification with the steps that Amazon Web Services is taking to mitigate the problem.</p>
|
|
13
13
|
* <p>To use Internet Monitor, you create a <i>monitor</i> and associate your application's resources
|
|
14
|
-
* with it
|
|
14
|
+
* with it - VPCs, NLBs, CloudFront distributions, or WorkSpaces directories - so Internet Monitor can determine
|
|
15
15
|
* where your application's internet traffic is. Internet Monitor then provides internet measurements from Amazon Web Services that are specific to
|
|
16
|
-
* the locations and
|
|
16
|
+
* the locations and ASNs (typically, internet service providers or ISPs) that communicate with your application.</p>
|
|
17
17
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-InternetMonitor.html">Using Amazon CloudWatch Internet Monitor</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
18
18
|
*
|
|
19
19
|
* @packageDocumentation
|