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:
*NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was - * called.
+ *NetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded + * the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache + * configuration.
*EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL - * operation.
+ *EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is + * useful for diagnosing bottlenecks in a cache configuration.
*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
.
*
* 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
.
*
* PER_RESOLVER_METRICS
: Records and emits metric data for resolvers that have the
- * metricConfig
value set to ENABLED
.
metricsConfig
value set to ENABLED
.
*
* 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
.
* Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
*NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was - * called.
+ *NetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded + * the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache + * configuration.
*EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL - * operation.
+ *EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is + * useful for diagnosing bottlenecks in a cache configuration.
*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:
\nNetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was\n called.
\nEngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL\n operation.
\nMetrics will be recorded by API ID. You can set the value to ENABLED
or\n DISABLED
.
Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
\nNetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded\n the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache\n configuration.
\nEngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is\n useful for diagnosing bottlenecks in a cache configuration.
\nMetrics will be recorded by API ID. You can set the value to ENABLED
or\n DISABLED
.
Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
\nGraphQL errors: The number of GraphQL errors that occurred.
\nRequests: The number of invocations that occurred during a request.
\nLatency: The time to complete a resolver invocation.
\nCache hits: The number of cache hits during a request.
\nCache misses: The number of cache misses during a request.
\nThese 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 FULL_REQUEST_RESOLVER_METRICS
: Records and emits metric data for all resolvers in the\n request.
\n PER_RESOLVER_METRICS
: Records and emits metric data for resolvers that have the\n metricConfig
value set to ENABLED
.
Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
\nGraphQL errors: The number of GraphQL errors that occurred.
\nRequests: The number of invocations that occurred during a request.
\nLatency: The time to complete a resolver invocation.
\nCache hits: The number of cache hits during a request.
\nCache misses: The number of cache misses during a request.
\nThese 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 FULL_REQUEST_RESOLVER_METRICS
: Records and emits metric data for all resolvers in the\n request.
\n PER_RESOLVER_METRICS
: Records and emits metric data for resolvers that have the\n metricsConfig
value set to ENABLED
.
Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
\nRequests: The number of invocations that occured during a request.
\nLatency: The time to complete a data source invocation.
\nErrors: The number of errors that occurred during a data source invocation.
\nThese 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 FULL_REQUEST_DATA_SOURCE_METRICS
: Records and emits metric data for all data sources\n in the request.
\n PER_DATA_SOURCE_METRICS
: Records and emits metric data for data sources that have the\n metricConfig
value set to ENABLED
.
Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
\nRequests: The number of invocations that occured during a request.
\nLatency: The time to complete a data source invocation.
\nErrors: The number of errors that occurred during a data source invocation.
\nThese 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 FULL_REQUEST_DATA_SOURCE_METRICS
: Records and emits metric data for all data sources\n in the request.
\n PER_DATA_SOURCE_METRICS
: Records and emits metric data for data sources that have the\n metricsConfig
value set to ENABLED
.
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.
\nEnhanced 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 resolverLevelMetricsBehavior
: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:
GraphQL errors: The number of GraphQL errors that occurred.
\nRequests: The number of invocations that occurred during a request.
\nLatency: The time to complete a resolver invocation.
\nCache hits: The number of cache hits during a request.
\nCache misses: The number of cache misses during a request.
\nThese 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 FULL_REQUEST_RESOLVER_METRICS
: Records and emits metric data for all resolvers\n in the request.
\n PER_RESOLVER_METRICS
: Records and emits metric data for resolvers that have the\n metricConfig
value set to ENABLED
.
\n dataSourceLevelMetricsBehavior
: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:
Requests: The number of invocations that occured during a request.
\nLatency: The time to complete a data source invocation.
\nErrors: The number of errors that occurred during a data source invocation.
\nThese 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 FULL_REQUEST_DATA_SOURCE_METRICS
: Records and emits metric data for all data\n sources in the request.
\n PER_DATA_SOURCE_METRICS
: Records and emits metric data for data sources that\n have the metricConfig
value set to ENABLED
.
\n operationLevelMetricsConfig
: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:
Requests: The number of times a specified GraphQL operation was called.
\nGraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL\n operation.
\nMetrics will be recorded by API ID and operation name. You can set the value to ENABLED
\n or DISABLED
.
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.
\nEnhanced 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 resolverLevelMetricsBehavior
: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:
GraphQL errors: The number of GraphQL errors that occurred.
\nRequests: The number of invocations that occurred during a request.
\nLatency: The time to complete a resolver invocation.
\nCache hits: The number of cache hits during a request.
\nCache misses: The number of cache misses during a request.
\nThese 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 FULL_REQUEST_RESOLVER_METRICS
: Records and emits metric data for all resolvers\n in the request.
\n PER_RESOLVER_METRICS
: Records and emits metric data for resolvers that have the\n metricsConfig
value set to ENABLED
.
\n dataSourceLevelMetricsBehavior
: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:
Requests: The number of invocations that occured during a request.
\nLatency: The time to complete a data source invocation.
\nErrors: The number of errors that occurred during a data source invocation.
\nThese 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 FULL_REQUEST_DATA_SOURCE_METRICS
: Records and emits metric data for all data\n sources in the request.
\n PER_DATA_SOURCE_METRICS
: Records and emits metric data for data sources that\n have the metricsConfig
value set to ENABLED
.
\n operationLevelMetricsConfig
: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:
Requests: The number of times a specified GraphQL operation was called.
\nGraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL\n operation.
\nMetrics will be recorded by API ID and operation name. You can set the value to ENABLED
\n or DISABLED
.
Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
\nNetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was\n called.
\nEngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL\n operation.
\nMetrics will be recorded by API ID. You can set the value to ENABLED
or\n DISABLED
.
Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
\nNetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded\n the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache\n configuration.
\nEngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is\n useful for diagnosing bottlenecks in a cache configuration.
\nMetrics will be recorded by API ID. You can set the value to ENABLED
or\n DISABLED
.