Skip to content

Commit 96fb359

Browse files
author
awstools
committed
feat(client-internetmonitor): This release adds IPv4 prefixes to health events
1 parent b163378 commit 96fb359

File tree

5 files changed

+36
-6
lines changed

5 files changed

+36
-6
lines changed

clients/client-internetmonitor/src/commands/GetHealthEventCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ export interface GetHealthEventCommandOutput extends GetHealthEventOutput, __Met
9898
* // },
9999
* // },
100100
* // },
101+
* // Ipv4Prefixes: [ // Ipv4PrefixList
102+
* // "STRING_VALUE",
103+
* // ],
101104
* // },
102105
* // ],
103106
* // Status: "STRING_VALUE", // required

clients/client-internetmonitor/src/commands/ListHealthEventsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ export interface ListHealthEventsCommandOutput extends ListHealthEventsOutput, _
104104
* // },
105105
* // },
106106
* // },
107+
* // Ipv4Prefixes: [ // Ipv4PrefixList
108+
* // "STRING_VALUE",
109+
* // ],
107110
* // },
108111
* // ],
109112
* // Status: "STRING_VALUE", // required

clients/client-internetmonitor/src/models/models_0.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export interface LocalHealthEventsConfig {
150150
* @public
151151
* <p>The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a
152152
* threshold is crossed for a local health score.</p>
153-
* <p>If you don't set a minimum traffic impact threshold, the default value is 0.01%.</p>
153+
* <p>If you don't set a minimum traffic impact threshold, the default value is 0.1%.</p>
154154
*/
155155
MinTrafficImpact?: number;
156156
}
@@ -800,6 +800,12 @@ export interface ImpactedLocation {
800800
* <p>The calculated health at a specific location.</p>
801801
*/
802802
InternetHealth?: InternetHealth;
803+
804+
/**
805+
* @public
806+
* <p>The IPv4 prefixes at the client location that was impacted by the health event.</p>
807+
*/
808+
Ipv4Prefixes?: string[];
803809
}
804810

805811
/**
@@ -1470,15 +1476,18 @@ export interface StartQueryInput {
14701476
* <ul>
14711477
* <li>
14721478
* <p>
1473-
* <code>MEASUREMENTS</code>: TBD definition</p>
1479+
* <code>MEASUREMENTS</code>: Provides availability score, performance score, total traffic,
1480+
* and round-trip times, at 5 minute intervals.</p>
14741481
* </li>
14751482
* <li>
14761483
* <p>
1477-
* <code>TOP_LOCATIONS</code>: TBD definition</p>
1484+
* <code>TOP_LOCATIONS</code>: Provides availability score, performance score, total traffic,
1485+
* and time to first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.</p>
14781486
* </li>
14791487
* <li>
14801488
* <p>
1481-
* <code>TOP_LOCATION_DETAILS</code>: TBD definition</p>
1489+
* <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
1490+
* current configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>
14821491
* </li>
14831492
* </ul>
14841493
* <p>For lists of the fields returned with each query type and more information about how each type of query is

clients/client-internetmonitor/src/protocols/Aws_restJson1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,7 @@ const de_ImpactedLocation = (output: any, context: __SerdeContext): ImpactedLoca
10301030
Country: __expectString,
10311031
CountryCode: __expectString,
10321032
InternetHealth: (_: any) => de_InternetHealth(_, context),
1033+
Ipv4Prefixes: _json,
10331034
Latitude: __limitedParseDouble,
10341035
Longitude: __limitedParseDouble,
10351036
Metro: __expectString,
@@ -1064,6 +1065,8 @@ const de_InternetHealth = (output: any, context: __SerdeContext): InternetHealth
10641065

10651066
// de_InternetMeasurementsLogDelivery omitted.
10661067

1068+
// de_Ipv4PrefixList omitted.
1069+
10671070
/**
10681071
* deserializeAws_restJson1LocalHealthEventsConfig
10691072
*/

codegen/sdk-codegen/aws-models/internetmonitor.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,12 @@
10271027
"traits": {
10281028
"smithy.api#documentation": "<p>The calculated health at a specific location.</p>"
10291029
}
1030+
},
1031+
"Ipv4Prefixes": {
1032+
"target": "com.amazonaws.internetmonitor#Ipv4PrefixList",
1033+
"traits": {
1034+
"smithy.api#documentation": "<p>The IPv4 prefixes at the client location that was impacted by the health event.</p>"
1035+
}
10301036
}
10311037
},
10321038
"traits": {
@@ -1784,6 +1790,12 @@
17841790
}
17851791
}
17861792
},
1793+
"com.amazonaws.internetmonitor#Ipv4PrefixList": {
1794+
"type": "list",
1795+
"member": {
1796+
"target": "smithy.api#String"
1797+
}
1798+
},
17871799
"com.amazonaws.internetmonitor#LimitExceededException": {
17881800
"type": "structure",
17891801
"members": {
@@ -2077,7 +2089,7 @@
20772089
"target": "com.amazonaws.internetmonitor#Percentage",
20782090
"traits": {
20792091
"smithy.api#default": 0,
2080-
"smithy.api#documentation": "<p>The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a\n\t\t\tthreshold is crossed for a local health score.</p>\n <p>If you don't set a minimum traffic impact threshold, the default value is 0.01%.</p>"
2092+
"smithy.api#documentation": "<p>The minimum percentage of overall traffic for an application that must be impacted by an issue before Internet Monitor creates an event when a\n\t\t\tthreshold is crossed for a local health score.</p>\n <p>If you don't set a minimum traffic impact threshold, the default value is 0.1%.</p>"
20812093
}
20822094
}
20832095
},
@@ -2658,7 +2670,7 @@
26582670
"QueryType": {
26592671
"target": "com.amazonaws.internetmonitor#QueryType",
26602672
"traits": {
2661-
"smithy.api#documentation": "<p>The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:</p>\n <ul>\n <li>\n <p>\n <code>MEASUREMENTS</code>: TBD definition</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATIONS</code>: TBD definition</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATION_DETAILS</code>: TBD definition</p>\n </li>\n </ul>\n <p>For lists of the fields returned with each query type and more information about how each type of query is\n\t\t\tperformed, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html\">\n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet Monitor User Guide.</p>",
2673+
"smithy.api#documentation": "<p>The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:</p>\n <ul>\n <li>\n <p>\n <code>MEASUREMENTS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand round-trip times, at 5 minute intervals.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATIONS</code>: Provides availability score, performance score, total traffic, \n\t\t\t\tand time to first byte (TTFB) information, for the top location and ASN combinations that you're monitoring, by traffic volume.</p>\n </li>\n <li>\n <p>\n <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your \n\t\t\t\tcurrent configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>\n </li>\n </ul>\n <p>For lists of the fields returned with each query type and more information about how each type of query is\n\t\t\tperformed, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html\">\n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet Monitor User Guide.</p>",
26622674
"smithy.api#required": {}
26632675
}
26642676
},

0 commit comments

Comments
 (0)