diff --git a/clients/client-appsync/src/models/models_0.ts b/clients/client-appsync/src/models/models_0.ts index 23fae9be95ed..228e58721b55 100644 --- a/clients/client-appsync/src/models/models_0.ts +++ b/clients/client-appsync/src/models/models_0.ts @@ -1305,12 +1305,13 @@ export interface CreateApiCacheRequest { *

Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

* *

Metrics will be recorded by API ID. You can set the value to ENABLED or @@ -2301,7 +2302,7 @@ export type ResolverLevelMetricsBehavior = *

  • *

    * PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the - * metricConfig value set to ENABLED.

    + * metricsConfig value set to ENABLED.

    *
  • * * @@ -2332,7 +2333,7 @@ export type ResolverLevelMetricsBehavior = *
  • *

    * PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that - * have the metricConfig value set to ENABLED.

    + * have the metricsConfig value set to ENABLED.

    *
  • * * @@ -2387,7 +2388,7 @@ export interface EnhancedMetricsConfig { *
  • *

    * PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the - * metricConfig value set to ENABLED.

    + * metricsConfig value set to ENABLED.

    *
  • * */ @@ -2419,7 +2420,7 @@ export interface EnhancedMetricsConfig { *
  • *

    * PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have the - * metricConfig value set to ENABLED.

    + * metricsConfig value set to ENABLED.

    *
  • * */ @@ -5000,12 +5001,13 @@ export interface UpdateApiCacheRequest { *

    Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

    * *

    Metrics will be recorded by API ID. You can set the value to ENABLED or diff --git a/codegen/sdk-codegen/aws-models/appsync.json b/codegen/sdk-codegen/aws-models/appsync.json index 50d845bfac3c..9b9753958801 100644 --- a/codegen/sdk-codegen/aws-models/appsync.json +++ b/codegen/sdk-codegen/aws-models/appsync.json @@ -2250,7 +2250,7 @@ "healthMetricsConfig": { "target": "com.amazonaws.appsync#CacheHealthMetricsConfig", "traits": { - "smithy.api#documentation": "

    Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

    \n \n

    Metrics will be recorded by API ID. You can set the value to ENABLED or\n DISABLED.

    " + "smithy.api#documentation": "

    Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

    \n \n

    Metrics will be recorded by API ID. You can set the value to ENABLED or\n DISABLED.

    " } } }, @@ -4331,14 +4331,14 @@ "resolverLevelMetricsBehavior": { "target": "com.amazonaws.appsync#ResolverLevelMetricsBehavior", "traits": { - "smithy.api#documentation": "

    Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:

    \n \n

    These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be\n recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of these values at\n a time:

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

    Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:

    \n \n

    These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be\n recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of these values at\n a time:

    \n ", "smithy.api#required": {} } }, "dataSourceLevelMetricsBehavior": { "target": "com.amazonaws.appsync#DataSourceLevelMetricsBehavior", "traits": { - "smithy.api#documentation": "

    Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:

    \n \n

    These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics\n will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior accepts one of\n these values at a time:

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

    Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:

    \n \n

    These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics\n will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior accepts one of\n these values at a time:

    \n ", "smithy.api#required": {} } }, @@ -4351,7 +4351,7 @@ } }, "traits": { - "smithy.api#documentation": "

    Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and\n performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data\n is sent to your CloudWatch account, and you can configure the types of data that will be sent.

    \n

    Enhanced metrics can be configured at the resolver, data source, and operation levels.\n EnhancedMetricsConfig contains three required parameters, each controlling one of these\n categories:

    \n
      \n
    1. \n

      \n resolverLevelMetricsBehavior: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:

      \n \n

      These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics\n will be recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of\n these values at a time:

      \n \n
    2. \n
    3. \n

      \n dataSourceLevelMetricsBehavior: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:

      \n \n

      These metrics can be emitted to CloudWatch per data source or for all data sources in the request.\n Metrics will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior\n accepts one of these values at a time:

      \n \n
    4. \n
    5. \n

      \n operationLevelMetricsConfig: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:

      \n \n

      Metrics will be recorded by API ID and operation name. You can set the value to ENABLED\n or DISABLED.

      \n
    6. \n
    " + "smithy.api#documentation": "

    Enables and controls the enhanced metrics feature. Enhanced metrics emit granular data on API usage and\n performance such as AppSync request and error counts, latency, and cache hits/misses. All enhanced metric data\n is sent to your CloudWatch account, and you can configure the types of data that will be sent.

    \n

    Enhanced metrics can be configured at the resolver, data source, and operation levels.\n EnhancedMetricsConfig contains three required parameters, each controlling one of these\n categories:

    \n
      \n
    1. \n

      \n resolverLevelMetricsBehavior: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:

      \n \n

      These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics\n will be recorded by API ID and resolver name. resolverLevelMetricsBehavior accepts one of\n these values at a time:

      \n \n
    2. \n
    3. \n

      \n dataSourceLevelMetricsBehavior: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:

      \n \n

      These metrics can be emitted to CloudWatch per data source or for all data sources in the request.\n Metrics will be recorded by API ID and data source name. dataSourceLevelMetricsBehavior\n accepts one of these values at a time:

      \n \n
    4. \n
    5. \n

      \n operationLevelMetricsConfig: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:

      \n \n

      Metrics will be recorded by API ID and operation name. You can set the value to ENABLED\n or DISABLED.

      \n
    6. \n
    " } }, "com.amazonaws.appsync#EnvironmentVariableKey": { @@ -8422,7 +8422,7 @@ "healthMetricsConfig": { "target": "com.amazonaws.appsync#CacheHealthMetricsConfig", "traits": { - "smithy.api#documentation": "

    Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

    \n \n

    Metrics will be recorded by API ID. You can set the value to ENABLED or\n DISABLED.

    " + "smithy.api#documentation": "

    Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:

    \n \n

    Metrics will be recorded by API ID. You can set the value to ENABLED or\n DISABLED.

    " } } },