Skip to content

Commit ca190b0

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 6397a64 commit ca190b0

File tree

4 files changed

+71
-61
lines changed

4 files changed

+71
-61
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@
22502250
"healthMetricsConfig": {
22512251
"target": "com.amazonaws.appsync#CacheHealthMetricsConfig",
22522252
"traits": {
2253-
"smithy.api#documentation": "<p>Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:</p>\n <ul>\n <li>\n <p>NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was\n called.</p>\n </li>\n <li>\n <p>EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL\n operation.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID. You can set the value to <code>ENABLED</code> or\n <code>DISABLED</code>.</p>"
2253+
"smithy.api#documentation": "<p>Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:</p>\n <ul>\n <li>\n <p>NetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded\n the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache\n configuration.</p>\n </li>\n <li>\n <p>EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is\n useful for diagnosing bottlenecks in a cache configuration.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID. You can set the value to <code>ENABLED</code> or\n <code>DISABLED</code>.</p>"
22542254
}
22552255
}
22562256
},
@@ -4331,14 +4331,14 @@
43314331
"resolverLevelMetricsBehavior": {
43324332
"target": "com.amazonaws.appsync#ResolverLevelMetricsBehavior",
43334333
"traits": {
4334-
"smithy.api#documentation": "<p>Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:</p>\n <ul>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred.</p>\n </li>\n <li>\n <p>Requests: The number of invocations that occurred during a request. </p>\n </li>\n <li>\n <p>Latency: The time to complete a resolver invocation.</p>\n </li>\n <li>\n <p>Cache hits: The number of cache hits during a request.</p>\n </li>\n <li>\n <p>Cache misses: The number of cache misses during a request.</p>\n </li>\n </ul>\n <p>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. <code>resolverLevelMetricsBehavior</code> accepts one of these values at\n a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_RESOLVER_METRICS</code>: Records and emits metric data for all resolvers in the\n request.</p>\n </li>\n <li>\n <p>\n <code>PER_RESOLVER_METRICS</code>: Records and emits metric data for resolvers that have the\n <code>metricConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>",
4334+
"smithy.api#documentation": "<p>Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:</p>\n <ul>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred.</p>\n </li>\n <li>\n <p>Requests: The number of invocations that occurred during a request. </p>\n </li>\n <li>\n <p>Latency: The time to complete a resolver invocation.</p>\n </li>\n <li>\n <p>Cache hits: The number of cache hits during a request.</p>\n </li>\n <li>\n <p>Cache misses: The number of cache misses during a request.</p>\n </li>\n </ul>\n <p>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. <code>resolverLevelMetricsBehavior</code> accepts one of these values at\n a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_RESOLVER_METRICS</code>: Records and emits metric data for all resolvers in the\n request.</p>\n </li>\n <li>\n <p>\n <code>PER_RESOLVER_METRICS</code>: Records and emits metric data for resolvers that have the\n <code>metricsConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>",
43354335
"smithy.api#required": {}
43364336
}
43374337
},
43384338
"dataSourceLevelMetricsBehavior": {
43394339
"target": "com.amazonaws.appsync#DataSourceLevelMetricsBehavior",
43404340
"traits": {
4341-
"smithy.api#documentation": "<p>Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of invocations that occured during a request.</p>\n </li>\n <li>\n <p>Latency: The time to complete a data source invocation.</p>\n </li>\n <li>\n <p>Errors: The number of errors that occurred during a data source invocation.</p>\n </li>\n </ul>\n <p>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. <code>dataSourceLevelMetricsBehavior</code> accepts one of\n these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_DATA_SOURCE_METRICS</code>: Records and emits metric data for all data sources\n in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_DATA_SOURCE_METRICS</code>: Records and emits metric data for data sources that have the\n <code>metricConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>",
4341+
"smithy.api#documentation": "<p>Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of invocations that occured during a request.</p>\n </li>\n <li>\n <p>Latency: The time to complete a data source invocation.</p>\n </li>\n <li>\n <p>Errors: The number of errors that occurred during a data source invocation.</p>\n </li>\n </ul>\n <p>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. <code>dataSourceLevelMetricsBehavior</code> accepts one of\n these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_DATA_SOURCE_METRICS</code>: Records and emits metric data for all data sources\n in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_DATA_SOURCE_METRICS</code>: Records and emits metric data for data sources that have the\n <code>metricsConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>",
43424342
"smithy.api#required": {}
43434343
}
43444344
},
@@ -4351,7 +4351,7 @@
43514351
}
43524352
},
43534353
"traits": {
4354-
"smithy.api#documentation": "<p>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. </p>\n <p>Enhanced metrics can be configured at the resolver, data source, and operation levels.\n <code>EnhancedMetricsConfig</code> contains three required parameters, each controlling one of these\n categories:</p>\n <ol>\n <li>\n <p>\n <code>resolverLevelMetricsBehavior</code>: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:</p>\n <ul>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred.</p>\n </li>\n <li>\n <p>Requests: The number of invocations that occurred during a request. </p>\n </li>\n <li>\n <p>Latency: The time to complete a resolver invocation.</p>\n </li>\n <li>\n <p>Cache hits: The number of cache hits during a request.</p>\n </li>\n <li>\n <p>Cache misses: The number of cache misses during a request.</p>\n </li>\n </ul>\n <p>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. <code>resolverLevelMetricsBehavior</code> accepts one of\n these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_RESOLVER_METRICS</code>: Records and emits metric data for all resolvers\n in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_RESOLVER_METRICS</code>: Records and emits metric data for resolvers that have the\n <code>metricConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>dataSourceLevelMetricsBehavior</code>: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of invocations that occured during a request.</p>\n </li>\n <li>\n <p>Latency: The time to complete a data source invocation.</p>\n </li>\n <li>\n <p>Errors: The number of errors that occurred during a data source invocation.</p>\n </li>\n </ul>\n <p>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. <code>dataSourceLevelMetricsBehavior</code>\n accepts one of these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_DATA_SOURCE_METRICS</code>: Records and emits metric data for all data\n sources in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_DATA_SOURCE_METRICS</code>: Records and emits metric data for data sources that\n have the <code>metricConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>operationLevelMetricsConfig</code>: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of times a specified GraphQL operation was called.</p>\n </li>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL\n operation.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID and operation name. You can set the value to <code>ENABLED</code>\n or <code>DISABLED</code>.</p>\n </li>\n </ol>"
4354+
"smithy.api#documentation": "<p>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. </p>\n <p>Enhanced metrics can be configured at the resolver, data source, and operation levels.\n <code>EnhancedMetricsConfig</code> contains three required parameters, each controlling one of these\n categories:</p>\n <ol>\n <li>\n <p>\n <code>resolverLevelMetricsBehavior</code>: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:</p>\n <ul>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred.</p>\n </li>\n <li>\n <p>Requests: The number of invocations that occurred during a request. </p>\n </li>\n <li>\n <p>Latency: The time to complete a resolver invocation.</p>\n </li>\n <li>\n <p>Cache hits: The number of cache hits during a request.</p>\n </li>\n <li>\n <p>Cache misses: The number of cache misses during a request.</p>\n </li>\n </ul>\n <p>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. <code>resolverLevelMetricsBehavior</code> accepts one of\n these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_RESOLVER_METRICS</code>: Records and emits metric data for all resolvers\n in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_RESOLVER_METRICS</code>: Records and emits metric data for resolvers that have the\n <code>metricsConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>dataSourceLevelMetricsBehavior</code>: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of invocations that occured during a request.</p>\n </li>\n <li>\n <p>Latency: The time to complete a data source invocation.</p>\n </li>\n <li>\n <p>Errors: The number of errors that occurred during a data source invocation.</p>\n </li>\n </ul>\n <p>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. <code>dataSourceLevelMetricsBehavior</code>\n accepts one of these values at a time:</p>\n <ul>\n <li>\n <p>\n <code>FULL_REQUEST_DATA_SOURCE_METRICS</code>: Records and emits metric data for all data\n sources in the request.</p>\n </li>\n <li>\n <p>\n <code>PER_DATA_SOURCE_METRICS</code>: Records and emits metric data for data sources that\n have the <code>metricsConfig</code> value set to <code>ENABLED</code>.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>operationLevelMetricsConfig</code>: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:</p>\n <ul>\n <li>\n <p>Requests: The number of times a specified GraphQL operation was called.</p>\n </li>\n <li>\n <p>GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL\n operation.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID and operation name. You can set the value to <code>ENABLED</code>\n or <code>DISABLED</code>.</p>\n </li>\n </ol>"
43554355
}
43564356
},
43574357
"com.amazonaws.appsync#EnvironmentVariableKey": {
@@ -8422,7 +8422,7 @@
84228422
"healthMetricsConfig": {
84238423
"target": "com.amazonaws.appsync#CacheHealthMetricsConfig",
84248424
"traits": {
8425-
"smithy.api#documentation": "<p>Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:</p>\n <ul>\n <li>\n <p>NetworkBandwidthOutAllowanceExceeded: The number of times a specified GraphQL operation was\n called.</p>\n </li>\n <li>\n <p>EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL\n operation.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID. You can set the value to <code>ENABLED</code> or\n <code>DISABLED</code>.</p>"
8425+
"smithy.api#documentation": "<p>Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:</p>\n <ul>\n <li>\n <p>NetworkBandwidthOutAllowanceExceeded: The network packets dropped because the throughput exceeded\n the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache\n configuration.</p>\n </li>\n <li>\n <p>EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is\n useful for diagnosing bottlenecks in a cache configuration.</p>\n </li>\n </ul>\n <p>Metrics will be recorded by API ID. You can set the value to <code>ENABLED</code> or\n <code>DISABLED</code>.</p>"
84268426
}
84278427
}
84288428
},

0 commit comments

Comments
 (0)