Skip to content

Commit 8603f16

Browse files
author
awstools
committed
feat(client-internetmonitor): Adds new querying types to show overall traffic suggestion information for monitors
1 parent 4f1d59b commit 8603f16

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,6 +1730,8 @@ export interface ListMonitorsOutput {
17301730
*/
17311731
export const QueryType = {
17321732
MEASUREMENTS: "MEASUREMENTS",
1733+
OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS",
1734+
OVERALL_TRAFFIC_SUGGESTIONS_DETAILS: "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
17331735
TOP_LOCATIONS: "TOP_LOCATIONS",
17341736
TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
17351737
} as const;
@@ -1779,6 +1781,16 @@ export interface StartQueryInput {
17791781
* <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
17801782
* current configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>
17811783
* </li>
1784+
* <li>
1785+
* <p>
1786+
* <code>OVERALL_TRAFFIC_SUGGESTIONS</code>: Provides TTFB, using a 30-day weighted average, for all traffic in
1787+
* each Amazon Web Services location that is monitored.</p>
1788+
* </li>
1789+
* <li>
1790+
* <p>
1791+
* <code>OVERALL_TRAFFIC_SUGGESTIONS_DETAILS</code>: Provides TTFB, using a 30-day weighted average, for each top
1792+
* location, for a proposed Amazon Web Services location. Must provide a Amazon Web Services location to search.</p>
1793+
* </li>
17821794
* </ul>
17831795
* <p>For lists of the fields returned with each query type and more information about how each type of query is
17841796
* performed, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2971,6 +2971,14 @@
29712971
{
29722972
"name": "TOP_LOCATION_DETAILS",
29732973
"value": "TOP_LOCATION_DETAILS"
2974+
},
2975+
{
2976+
"name": "OVERALL_TRAFFIC_SUGGESTIONS",
2977+
"value": "OVERALL_TRAFFIC_SUGGESTIONS"
2978+
},
2979+
{
2980+
"name": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
2981+
"value": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS"
29742982
}
29752983
]
29762984
}
@@ -3123,7 +3131,7 @@
31233131
"QueryType": {
31243132
"target": "com.amazonaws.internetmonitor#QueryType",
31253133
"traits": {
3126-
"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>",
3134+
"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 <li>\n <p>\n <code>OVERALL_TRAFFIC_SUGGESTIONS</code>: Provides TTFB, using a 30-day weighted average, for all traffic in \n\t\t\t\teach Amazon Web Services location that is monitored.</p>\n </li>\n <li>\n <p>\n <code>OVERALL_TRAFFIC_SUGGESTIONS_DETAILS</code>: Provides TTFB, using a 30-day weighted average, for each top \n\t\t\t\tlocation, for a proposed Amazon Web Services location. Must provide a Amazon Web Services location to search.</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>",
31273135
"smithy.api#required": {}
31283136
}
31293137
},

0 commit comments

Comments
 (0)