From 8603f16d8086dd3a0a70dbcde8d9774f8377e694 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 28 Aug 2024 18:20:09 +0000 Subject: [PATCH] feat(client-internetmonitor): Adds new querying types to show overall traffic suggestion information for monitors --- .../client-internetmonitor/src/models/models_0.ts | 12 ++++++++++++ codegen/sdk-codegen/aws-models/internetmonitor.json | 10 +++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/clients/client-internetmonitor/src/models/models_0.ts b/clients/client-internetmonitor/src/models/models_0.ts index ced2478bd0df0..25cbde3918439 100644 --- a/clients/client-internetmonitor/src/models/models_0.ts +++ b/clients/client-internetmonitor/src/models/models_0.ts @@ -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; @@ -1779,6 +1781,16 @@ export interface StartQueryInput { * TOP_LOCATION_DETAILS: Provides TTFB for Amazon CloudFront, your * current configuration, and the best performing EC2 configuration, at 1 hour intervals.

* + *
  • + *

    + * OVERALL_TRAFFIC_SUGGESTIONS: Provides TTFB, using a 30-day weighted average, for all traffic in + * each Amazon Web Services location that is monitored.

    + *
  • + *
  • + *

    + * OVERALL_TRAFFIC_SUGGESTIONS_DETAILS: 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.

    + *
  • * *

    For lists of the fields returned with each query type and more information about how each type of query is * performed, see diff --git a/codegen/sdk-codegen/aws-models/internetmonitor.json b/codegen/sdk-codegen/aws-models/internetmonitor.json index 86c62ae7b9763..0d0afb25690e3 100644 --- a/codegen/sdk-codegen/aws-models/internetmonitor.json +++ b/codegen/sdk-codegen/aws-models/internetmonitor.json @@ -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" } ] } @@ -3123,7 +3131,7 @@ "QueryType": { "target": "com.amazonaws.internetmonitor#QueryType", "traits": { - "smithy.api#documentation": "

    The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:

    \n \n

    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 \n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

    ", + "smithy.api#documentation": "

    The type of query to run. The following are the three types of queries that you can run using the Internet Monitor query interface:

    \n \n

    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 \n\t\t\t\tUsing the Amazon CloudWatch Internet Monitor query interface in the Amazon CloudWatch Internet Monitor User Guide.

    ", "smithy.api#required": {} } },