Skip to content

Commit

Permalink
feat(client-internetmonitor): Adds new querying types to show overall…
Browse files Browse the repository at this point in the history
… traffic suggestion information for monitors
  • Loading branch information
awstools committed Aug 28, 2024
1 parent 4f1d59b commit 8603f16
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions clients/client-internetmonitor/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,8 @@ export interface ListMonitorsOutput {
*/
export const QueryType = {
MEASUREMENTS: "MEASUREMENTS",
OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS",
OVERALL_TRAFFIC_SUGGESTIONS_DETAILS: "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
TOP_LOCATIONS: "TOP_LOCATIONS",
TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
} as const;
Expand Down Expand Up @@ -1779,6 +1781,16 @@ export interface StartQueryInput {
* <code>TOP_LOCATION_DETAILS</code>: Provides TTFB for Amazon CloudFront, your
* current configuration, and the best performing EC2 configuration, at 1 hour intervals.</p>
* </li>
* <li>
* <p>
* <code>OVERALL_TRAFFIC_SUGGESTIONS</code>: Provides TTFB, using a 30-day weighted average, for all traffic in
* each Amazon Web Services location that is monitored.</p>
* </li>
* <li>
* <p>
* <code>OVERALL_TRAFFIC_SUGGESTIONS_DETAILS</code>: Provides TTFB, using a 30-day weighted average, for each top
* location, for a proposed Amazon Web Services location. Must provide a Amazon Web Services location to search.</p>
* </li>
* </ul>
* <p>For lists of the fields returned with each query type and more information about how each type of query is
* performed, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html">
Expand Down
10 changes: 9 additions & 1 deletion codegen/sdk-codegen/aws-models/internetmonitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,14 @@
{
"name": "TOP_LOCATION_DETAILS",
"value": "TOP_LOCATION_DETAILS"
},
{
"name": "OVERALL_TRAFFIC_SUGGESTIONS",
"value": "OVERALL_TRAFFIC_SUGGESTIONS"
},
{
"name": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
"value": "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS"
}
]
}
Expand Down Expand Up @@ -3123,7 +3131,7 @@
"QueryType": {
"target": "com.amazonaws.internetmonitor#QueryType",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
Expand Down

0 comments on commit 8603f16

Please sign in to comment.