Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:
\n
\n
\n
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.
\n
\n
\n
EngineCPUUtilization: The CPU utilization (percentage) allocated to the Redis process. This is\n useful for diagnosing bottlenecks in a cache configuration.
\n
\n
\n
Metrics will be recorded by API ID. You can set the value to ENABLED or\n DISABLED.
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
\n
The following legacy instance types are available, but their use is discouraged:
Enables or disables enhanced data source metrics for specified data sources. Note that\n metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set\n to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to\n FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However,\n you can still set its value.
The maximum number of resolvers that can be invoked in a single request. The default value is 0\n (or unspecified), which will set the limit to 10000. When specified, the limit value can be\n between 1 and 10000. This field will produce a limit error if the operation falls out\n of bounds.
The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig\n won't be used unless the resolverLevelMetricsBehavior value is set to\n PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to\n FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you\n can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that\n metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set\n to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to\n FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However,\n you can still set its value.
Describes an OpenSearch data source configuration.
\n
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is\n deprecated. For new data sources, use OpenSearchServiceDataSourceConfig to specify an OpenSearch data source.
Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
\n
\n
\n
GraphQL errors: The number of GraphQL errors that occurred.
\n
\n
\n
Requests: The number of invocations that occurred during a request.
\n
\n
\n
Latency: The time to complete a resolver invocation.
\n
\n
\n
Cache hits: The number of cache hits during a request.
\n
\n
\n
Cache misses: The number of cache misses during a request.
\n
\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
\n
\n
\n FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the\n request.
\n
\n
\n
\n PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the\n metricConfig value set to ENABLED.
Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
\n
\n
\n
Requests: The number of invocations that occured during a request.
\n
\n
\n
Latency: The time to complete a data source invocation.
\n
\n
\n
Errors: The number of errors that occurred during a data source invocation.
\n
\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
\n
\n
\n FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources\n in the request.
\n
\n
\n
\n PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have the\n metricConfig 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.
\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
\n
\n resolverLevelMetricsBehavior: Controls how resolver metrics will be emitted to\n CloudWatch. Resolver metrics include:
\n
\n
\n
GraphQL errors: The number of GraphQL errors that occurred.
\n
\n
\n
Requests: The number of invocations that occurred during a request.
\n
\n
\n
Latency: The time to complete a resolver invocation.
\n
\n
\n
Cache hits: The number of cache hits during a request.
\n
\n
\n
Cache misses: The number of cache misses during a request.
\n
\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
\n
\n FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers\n in the request.
\n
\n
\n
\n PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have the\n metricConfig value set to ENABLED.
\n
\n
\n
\n
\n
\n dataSourceLevelMetricsBehavior: Controls how data source metrics will be emitted to\n CloudWatch. Data source metrics include:
\n
\n
\n
Requests: The number of invocations that occured during a request.
\n
\n
\n
Latency: The time to complete a data source invocation.
\n
\n
\n
Errors: The number of errors that occurred during a data source invocation.
\n
\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
\n
\n FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data\n sources in the request.
\n
\n
\n
\n PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that\n have the metricConfig value set to ENABLED.
\n
\n
\n
\n
\n
\n operationLevelMetricsConfig: Controls how operation metrics will be emitted to\n CloudWatch. Operation metrics include:
\n
\n
\n
Requests: The number of times a specified GraphQL operation was called.
\n
\n
\n
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL\n operation.
\n
\n
\n
Metrics will be recorded by API ID and operation name. You can set the value to ENABLED\n or DISABLED.
The maximum number of resolvers that can be invoked in a single request. The default value is 0\n (or unspecified), which will set the limit to 10000. When specified, the limit value can be\n between 1 and 10000. This field will produce a limit error if the operation falls out\n of bounds.
Creates a list of environmental variables in an API by its ID value.
\n
When creating an environmental variable, it must follow the constraints below:
\n
\n
\n
Both JavaScript and VTL templates support environmental variables.
\n
\n
\n
Environmental variables are not evaluated before function invocation.
\n
\n
\n
Environmental variables only support string values.
\n
\n
\n
Any defined value in an environmental variable is considered a string literal and not\n expanded.
\n
\n
\n
Variable evaluations should ideally be performed in the function code.
\n
\n
\n
When creating an environmental variable key-value pair, it must follow the additional constraints\n below:
\n
\n
\n
Keys must begin with a letter.
\n
\n
\n
Keys must be at least two characters long.
\n
\n
\n
Keys can only contain letters, numbers, and the underscore character (_).
\n
\n
\n
Values can be up to 512 characters long.
\n
\n
\n
You can configure up to 50 key-value pairs in a GraphQL API.
\n
\n
\n
You can create a list of environmental variables by adding it to the environmentVariables\n payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the\n PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.
",
+ "smithy.api#documentation": "
Creates a list of environmental variables in an API by its ID value.
\n
When creating an environmental variable, it must follow the constraints below:
\n
\n
\n
Both JavaScript and VTL templates support environmental variables.
\n
\n
\n
Environmental variables are not evaluated before function invocation.
\n
\n
\n
Environmental variables only support string values.
\n
\n
\n
Any defined value in an environmental variable is considered a string literal and not\n expanded.
\n
\n
\n
Variable evaluations should ideally be performed in the function code.
\n
\n
\n
When creating an environmental variable key-value pair, it must follow the additional constraints\n below:
\n
\n
\n
Keys must begin with a letter.
\n
\n
\n
Keys must be at least two characters long.
\n
\n
\n
Keys can only contain letters, numbers, and the underscore character (_).
\n
\n
\n
Values can be up to 512 characters long.
\n
\n
\n
You can configure up to 50 key-value pairs in a GraphQL API.
\n
\n
\n
You can create a list of environmental variables by adding it to the environmentVariables\n payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the\n PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.
The list of environmental variables to add to the API.
\n
When creating an environmental variable key-value pair, it must follow the additional constraints\n below:
\n
\n
\n
Keys must begin with a letter.
\n
\n
\n
Keys must be at least two characters long.
\n
\n
\n
Keys can only contain letters, numbers, and the underscore character (_).
\n
\n
\n
Values can be up to 512 characters long.
\n
\n
\n
You can configure up to 50 key-value pairs in a GraphQL API.
\n
\n
\n
You can create a list of environmental variables by adding it to the environmentVariables\n payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the\n PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.
",
+ "smithy.api#documentation": "
The list of environmental variables to add to the API.
\n
When creating an environmental variable key-value pair, it must follow the additional constraints\n below:
\n
\n
\n
Keys must begin with a letter.
\n
\n
\n
Keys must be at least two characters long.
\n
\n
\n
Keys can only contain letters, numbers, and the underscore character (_).
\n
\n
\n
Values can be up to 512 characters long.
\n
\n
\n
You can configure up to 50 key-value pairs in a GraphQL API.
\n
\n
\n
You can create a list of environmental variables by adding it to the environmentVariables\n payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the\n PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing\n environmental variable list of that API. This means the existing environmental variables will be lost. To avoid\n this, you must include all existing and new environmental variables in the list each time you call this\n action.
The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig\n won't be used unless the resolverLevelMetricsBehavior value is set to\n PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to\n FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you\n can still set its value.
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
\n
The following legacy instance types are available, but their use is discouraged:
Enables or disables enhanced data source metrics for specified data sources. Note that\n metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set\n to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to\n FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However,\n you can still set its value.
The maximum number of resolvers that can be invoked in a single request. The default value is 0\n (or unspecified), which will set the limit to 10000. When specified, the limit value can be\n between 1 and 10000. This field will produce a limit error if the operation falls out\n of bounds.
The resolver code that contains the request and response functions. When code is used, the\n runtime is required. The runtime value must be APPSYNC_JS.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig\n won't be used unless the resolverLevelMetricsBehavior value is set to\n PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to\n FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you\n can still set its value.
Publishes metric data points to Amazon CloudWatch. CloudWatch associates\n\t\t\tthe data points with the specified metric. If the specified metric does not exist,\n\t\t\tCloudWatch creates the metric. When CloudWatch creates a metric, it can\n\t\t\ttake up to fifteen minutes for the metric to appear in calls to ListMetrics.
\n
You can publish either individual data points in the Value field, or \n\t\tarrays of values and the number of times each value occurred during the period by using the \n\t\tValues and Counts fields in the MetricDatum structure. Using\n\t\tthe Values and Counts method enables you to publish up to 150 values per metric\n\t\t\twith one PutMetricData request, and\n\t\tsupports retrieving percentile statistics on this data.
\n
Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can \n\t\t\tsend a payload compressed by gzip. Each request\n\t\tis also limited to no more than 1000 different metrics.
\n
Although the Value parameter accepts numbers of type\n\t\t\tDouble, CloudWatch rejects values that are either too small\n\t\t\tor too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n\t\t\t-Infinity) are not supported.
\n
You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension\n\t\t\tconsists of a Name and Value pair. For more information about specifying dimensions, see Publishing Metrics in the\n\t\t\tAmazon CloudWatch User Guide.
\n
You specify the time stamp to be associated with each data point. You can specify\n\t\ttime stamps that are as much as two weeks before the current date, and as much as 2 hours after \n\t\tthe current day and time.
\n
Data points with time stamps from 24 hours ago or longer can take at least 48\n\t\t\thours to become available for GetMetricData or \n\t\t\tGetMetricStatistics from the time they \n\t\t\tare submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available\n\t\t\tfor for GetMetricData or \n\t\t\tGetMetricStatistics.
\n
CloudWatch needs raw data points to calculate percentile statistics. If you publish \n\t\t\tdata using a statistic set instead, you can only retrieve \n\t\t\tpercentile statistics for this data if one of the following conditions is true:
\n
\n
\n
The SampleCount value of the statistic set is 1 and Min,\n\t\t\t\t\tMax, and Sum are all equal.
\n
\n
\n
The Min and\n\t\t\t\t\tMax are equal, and Sum is equal to Min \n\t\t\t\t\tmultiplied by SampleCount.
\n
\n
"
+ "smithy.api#documentation": "
Publishes metric data points to Amazon CloudWatch. CloudWatch associates\n\t\t\tthe data points with the specified metric. If the specified metric does not exist,\n\t\t\tCloudWatch creates the metric. When CloudWatch creates a metric, it can\n\t\t\ttake up to fifteen minutes for the metric to appear in calls to ListMetrics.
\n
You can publish either individual data points in the Value field, or \n\t\tarrays of values and the number of times each value occurred during the period by using the \n\t\tValues and Counts fields in the MetricDatum structure. Using\n\t\tthe Values and Counts method enables you to publish up to 150 values per metric\n\t\t\twith one PutMetricData request, and\n\t\tsupports retrieving percentile statistics on this data.
\n
Each PutMetricData request is limited to 1 MB in size for HTTP POST requests. You can \n\t\t\tsend a payload compressed by gzip. Each request\n\t\tis also limited to no more than 1000 different metrics.
\n
Although the Value parameter accepts numbers of type\n\t\t\tDouble, CloudWatch rejects values that are either too small\n\t\t\tor too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,\n\t\t\t-Infinity) are not supported.
\n
You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension\n\t\t\tconsists of a Name and Value pair. For more information about specifying dimensions, see Publishing Metrics in the\n\t\t\tAmazon CloudWatch User Guide.
\n
You specify the time stamp to be associated with each data point. You can specify\n\t\ttime stamps that are as much as two weeks before the current date, and as much as 2 hours after \n\t\tthe current day and time.
\n
Data points with time stamps from 24 hours ago or longer can take at least 48\n\t\t\thours to become available for GetMetricData or \n\t\t\tGetMetricStatistics from the time they \n\t\t\tare submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available\n\t\t\tfor for GetMetricData or \n\t\t\tGetMetricStatistics.
\n
CloudWatch needs raw data points to calculate percentile statistics. If you publish \n\t\t\tdata using a statistic set instead, you can only retrieve \n\t\t\tpercentile statistics for this data if one of the following conditions is true:
\n
\n
\n
The SampleCount value of the statistic set is 1 and Min,\n\t\t\t\t\tMax, and Sum are all equal.
\n
\n
\n
The Min and\n\t\t\t\t\tMax are equal, and Sum is equal to Min \n\t\t\t\t\tmultiplied by SampleCount.
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.\n (true to enable, or false to disable.
"
+ "smithy.api#documentation": "
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.\n (true to enable, or false to disable.
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.\n (true to enable, or false to disable).
"
+ "smithy.api#documentation": "
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.\n (true to enable, or false to disable).
Execute an openCypher query. Currently, the SDK does not support parameterized queries. If you want to make a \n parameterized query call, you can use an HTTP request.
\n \n
\n Non-parametrized queries are not considered for plan caching. You can force plan caching with \n planCache=enabled. The plan cache will be reused only for the same exact query. Slight variations \n in the query will not be able to reuse the query plan cache.\n
\n ",
+ "smithy.api#documentation": "
Execute an openCypher query. Currently, the SDK does not support parameterized queries. If you want to make a \n parameterized query call, you can use an HTTP request.
\n
\n When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have a policy attached \n that allows one of the following IAM actions in that cluster, depending on the query:\n
\n
\n
\n
neptune-graph:ReadDataViaQuery
\n
\n
\n
neptune-graph:WriteDataViaQuery
\n
\n
\n
neptune-graph:DeleteDataViaQuery
\n
\n
\n \n
\n Non-parametrized queries are not considered for plan caching. You can force plan caching with \n planCache=enabled. The plan cache will be reused only for the same exact query. Slight variations \n in the query will not be able to reuse the query plan cache.\n
\n When invoking this operation in a Neptune Analytics cluster, the IAM user or role making the request must have the \n neptune-graph:GetQueryStatus IAM action attached.\n
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.\n (true to enable, or false to disable).
"
+ "smithy.api#documentation": "
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.\n (true to enable, or false to disable).
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.\n (true to enable, or false to disable.
"
+ "smithy.api#documentation": "
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated.\n (true to enable, or false to disable.
Whether the domain name is available for registering.
\n \n
You can register only domains designated as AVAILABLE.
\n \n
Valid values:
\n
\n
AVAILABLE
\n
\n
The domain name is available.
\n
\n
AVAILABLE_RESERVED
\n
\n
The domain name is reserved under specific conditions.
\n
\n
AVAILABLE_PREORDER
\n
\n
The domain name is available and can be preordered.
\n
\n
DONT_KNOW
\n
\n
The TLD registry didn't reply with a definitive answer about whether the\n\t\t\t\t\t\tdomain name is available. Route 53 can return this response for a variety of\n\t\t\t\t\t\treasons, for example, the registry is performing maintenance. Try again\n\t\t\t\t\t\tlater.
\n
\n
PENDING
\n
\n
The TLD registry didn't return a response in the expected amount of time.\n\t\t\t\t\t\tWhen the response is delayed, it usually takes just a few extra seconds. You\n\t\t\t\t\t\tcan resubmit the request immediately.
\n
\n
RESERVED
\n
\n
The domain name has been reserved for another person or\n\t\t\t\t\t\torganization.
\n
\n
UNAVAILABLE
\n
\n
The domain name is not available.
\n
\n
UNAVAILABLE_PREMIUM
\n
\n
The domain name is not available.
\n
\n
UNAVAILABLE_RESTRICTED
\n
\n
The domain name is forbidden.
\n
\n
"
+ "smithy.api#documentation": "
Whether the domain name is available for registering.
\n \n
You can register only domains designated as AVAILABLE.
\n \n
Valid values:
\n
\n
AVAILABLE
\n
\n
The domain name is available.
\n
\n
AVAILABLE_RESERVED
\n
\n
The domain name is reserved under specific conditions.
\n
\n
AVAILABLE_PREORDER
\n
\n
The domain name is available and can be preordered.
\n
\n
DONT_KNOW
\n
\n
The TLD registry didn't reply with a definitive answer about whether the\n\t\t\t\t\t\tdomain name is available. Route 53 can return this response for a variety of\n\t\t\t\t\t\treasons, for example, the registry is performing maintenance. Try again\n\t\t\t\t\t\tlater.
\n
\n
INVALID_NAME_FOR_TLD
\n
\n
The TLD isn't valid. For example, it can contain characters that aren't allowed.
\n
\n
PENDING
\n
\n
The TLD registry didn't return a response in the expected amount of time.\n\t\t\t\t\t\tWhen the response is delayed, it usually takes just a few extra seconds. You\n\t\t\t\t\t\tcan resubmit the request immediately.
\n
\n
RESERVED
\n
\n
The domain name has been reserved for another person or\n\t\t\t\t\t\torganization.
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
"
+ "smithy.api#documentation": "
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
"
+ "smithy.api#documentation": "
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
"
+ "smithy.api#documentation": "
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If the value is false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
Name of the registrar of the domain as identified in the registry. Domains with a\n\t\t\t.com, .net, or .org TLD are registered by Amazon Registrar. All other domains are\n\t\t\tregistered by our registrar associate, Gandi. The value for domains that are registered\n\t\t\tby Gandi is \"GANDI SAS\".
"
+ "smithy.api#documentation": "
Name of the registrar of the domain as identified in the registry.
Specifies whether contact information is concealed from WHOIS queries. If the value is\n\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\tAmazon Registrar or for our registrar associate,\n\t\tGandi. If the value is false, WHOIS queries return the\n\t\tinformation that you entered for the billing contact.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n \n
Default: true\n
"
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (the domain owner).
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n \n
Default: true\n
"
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (the domain owner).
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n \n
Default: true\n
"
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the billing contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Transfers a domain from another registrar to Amazon Route 53.
\n
For more information about transferring domains, see the following topics:
\n
\n
\n
For transfer requirements, a detailed procedure, and information about viewing\n\t\t\t\t\tthe status of a domain that you're transferring to Route 53, see Transferring Registration for a Domain to Amazon Route 53 in the\n\t\t\t\t\t\tAmazon Route 53 Developer Guide.
\n
\n
\n
For information about how to transfer a domain from one Amazon Web Services account to another, see TransferDomainToAnotherAwsAccount.
If the registrar for your domain is also the DNS service provider for the domain, we\n\t\t\thighly recommend that you transfer your DNS service to Route 53 or to another DNS\n\t\t\tservice provider before you transfer your registration. Some registrars provide free DNS\n\t\t\tservice when you purchase a domain registration. When you transfer the registration, the\n\t\t\tprevious registrar will not renew your domain registration and could end your DNS\n\t\t\tservice at any time.
\n \n
If the registrar for your domain is also the DNS service provider for the domain\n\t\t\t\tand you don't transfer DNS service to another provider, your website, email, and the\n\t\t\t\tweb applications associated with the domain might become unavailable.
\n \n
If the transfer is successful, this method returns an operation ID that you can use to\n\t\t\ttrack the progress and completion of the action. If the transfer doesn't complete\n\t\t\tsuccessfully, the domain registrant will be notified by email.
"
+ "smithy.api#documentation": "
Transfers a domain from another registrar to Amazon Route 53.
\n
For more information about transferring domains, see the following topics:
\n
\n
\n
For transfer requirements, a detailed procedure, and information about viewing\n\t\t\t\t\tthe status of a domain that you're transferring to Route 53, see Transferring Registration for a Domain to Amazon Route 53 in the\n\t\t\t\t\t\tAmazon Route 53 Developer Guide.
\n
\n
\n
For information about how to transfer a domain from one Amazon Web Services account to another, see TransferDomainToAnotherAwsAccount.
During the transfer of any country code top-level domains (ccTLDs) to Route 53, except for .cc and .tv, \n\t\t\tupdates to the owner contact are ignored and the owner contact data from the registry is used. \n\t\t\tYou can\n\t\t\tupdate the owner contact after the transfer is complete. For more information, see\n\t\t\tUpdateDomainContact.
\n \n
If the registrar for your domain is also the DNS service provider for the domain, we\n\t\t\thighly recommend that you transfer your DNS service to Route 53 or to another DNS\n\t\t\tservice provider before you transfer your registration. Some registrars provide free DNS\n\t\t\tservice when you purchase a domain registration. When you transfer the registration, the\n\t\t\tprevious registrar will not renew your domain registration and could end your DNS\n\t\t\tservice at any time.
\n \n
If the registrar for your domain is also the DNS service provider for the domain\n\t\t\t\tand you don't transfer DNS service to another provider, your website, email, and the\n\t\t\t\tweb applications associated with the domain might become unavailable.
\n \n
If the transfer is successful, this method returns an operation ID that you can use to\n\t\t\ttrack the progress and completion of the action. If the transfer doesn't complete\n\t\t\tsuccessfully, the domain registrant will be notified by email.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n \n
Default: true\n
"
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n \n
Default: true\n
"
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
\n\t\t\tWhether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the billing contact.\n\t\t
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n "
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the admin contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n "
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the registrant contact (domain owner).
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar (for .com, .net, and .org domains) or for our registrar associate,\n\t\t\tGandi (for all other TLDs). If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, registrant, and\n\t\t\t\ttechnical contacts.
\n "
+ "smithy.api#documentation": "
Whether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the technical contact.
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
\n\t\t\tWhether you want to conceal contact information from WHOIS queries. If you specify\n\t\t\ttrue, WHOIS (\"who is\") queries return contact information either for\n\t\t\tAmazon Registrar or for our registrar associate,\n\t\t\tGandi. If you specify false, WHOIS queries return the\n\t\t\tinformation that you entered for the billing contact.\n\t\t
\n \n
You must specify the same privacy setting for the administrative, billing, registrant, and\n\t\t\t\ttechnical contacts.
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
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.
EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
/// - On success, responds with [`CreateApiCacheOutput`](crate::operation::create_api_cache::CreateApiCacheOutput) with field(s):
/// - [`api_cache(Option)`](crate::operation::create_api_cache::CreateApiCacheOutput::api_cache):
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
metricsConfig can be ENABLED or DISABLED.
/// - On success, responds with [`CreateDataSourceOutput`](crate::operation::create_data_source::CreateDataSourceOutput) with field(s):
/// - [`data_source(Option)`](crate::operation::create_data_source::CreateDataSourceOutput::data_source):
Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
/// - On success, responds with [`CreateGraphqlApiOutput`](crate::operation::create_graphql_api::CreateGraphqlApiOutput) with field(s):
/// - [`graphql_api(Option)`](crate::operation::create_graphql_api::CreateGraphqlApiOutput::graphql_api):
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
metricsConfig can be ENABLED or DISABLED.
/// - On success, responds with [`CreateResolverOutput`](crate::operation::create_resolver::CreateResolverOutput) with field(s):
/// - [`resolver(Option)`](crate::operation::create_resolver::CreateResolverOutput::resolver):
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
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.
EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
/// - On success, responds with [`UpdateApiCacheOutput`](crate::operation::update_api_cache::UpdateApiCacheOutput) with field(s):
/// - [`api_cache(Option)`](crate::operation::update_api_cache::UpdateApiCacheOutput::api_cache):
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
metricsConfig can be ENABLED or DISABLED.
/// - On success, responds with [`UpdateDataSourceOutput`](crate::operation::update_data_source::UpdateDataSourceOutput) with field(s):
/// - [`data_source(Option)`](crate::operation::update_data_source::UpdateDataSourceOutput::data_source):
Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
/// - On success, responds with [`UpdateGraphqlApiOutput`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput) with field(s):
/// - [`graphql_api(Option)`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput::graphql_api):
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
metricsConfig can be ENABLED or DISABLED.
/// - On success, responds with [`UpdateResolverOutput`](crate::operation::update_resolver::UpdateResolverOutput) with field(s):
/// - [`resolver(Option)`](crate::operation::update_resolver::UpdateResolverOutput::resolver):
The updated Resolver object.
/// - On failure, responds with [`SdkError`](crate::operation::update_resolver::UpdateResolverError)
diff --git a/sdk/appsync/src/error_meta.rs b/sdk/appsync/src/error_meta.rs
index 0286eff21aaf..fe13057892dd 100644
--- a/sdk/appsync/src/error_meta.rs
+++ b/sdk/appsync/src/error_meta.rs
@@ -320,6 +320,7 @@ where
impl From for Error {
fn from(err: crate::operation::create_function::CreateFunctionError) -> Self {
match err {
+ crate::operation::create_function::CreateFunctionError::BadRequestException(inner) => Error::BadRequestException(inner),
crate::operation::create_function::CreateFunctionError::ConcurrentModificationException(inner) => {
Error::ConcurrentModificationException(inner)
}
@@ -539,6 +540,7 @@ where
impl From for Error {
fn from(err: crate::operation::delete_function::DeleteFunctionError) -> Self {
match err {
+ crate::operation::delete_function::DeleteFunctionError::BadRequestException(inner) => Error::BadRequestException(inner),
crate::operation::delete_function::DeleteFunctionError::ConcurrentModificationException(inner) => {
Error::ConcurrentModificationException(inner)
}
@@ -1862,6 +1864,7 @@ where
impl From for Error {
fn from(err: crate::operation::update_function::UpdateFunctionError) -> Self {
match err {
+ crate::operation::update_function::UpdateFunctionError::BadRequestException(inner) => Error::BadRequestException(inner),
crate::operation::update_function::UpdateFunctionError::ConcurrentModificationException(inner) => {
Error::ConcurrentModificationException(inner)
}
diff --git a/sdk/appsync/src/lib.rs b/sdk/appsync/src/lib.rs
index 2626598d838e..e841f7c44118 100644
--- a/sdk/appsync/src/lib.rs
+++ b/sdk/appsync/src/lib.rs
@@ -29,7 +29,7 @@
//! ```toml
//! [dependencies]
//! aws-config = { version = "1.1.5", features = ["behavior-version-latest"] }
-//! aws-sdk-appsync = "1.15.0"
+//! aws-sdk-appsync = "1.16.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
diff --git a/sdk/appsync/src/operation/create_api_cache/_create_api_cache_input.rs b/sdk/appsync/src/operation/create_api_cache/_create_api_cache_input.rs
index cdf645112361..53bed1af6147 100644
--- a/sdk/appsync/src/operation/create_api_cache/_create_api_cache_input.rs
+++ b/sdk/appsync/src/operation/create_api_cache/_create_api_cache_input.rs
@@ -59,6 +59,15 @@ pub struct CreateApiCacheInput {
///
R4_8XLARGE: A r4.8xlarge instance type.
///
pub r#type: ::std::option::Option,
+ ///
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.
+ ///
+ ///
EngineCPUUtilization: The number of GraphQL errors that occurred during a specified GraphQL operation.
+ ///
+ ///
Metrics will be recorded by API ID. You can set the value to ENABLED or DISABLED.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced data source metrics for specified data sources. Note that metricsConfig won't be used unless the dataSourceLevelMetricsBehavior value is set to PER_DATA_SOURCE_METRICS. If the dataSourceLevelMetricsBehavior is set to FULL_REQUEST_DATA_SOURCE_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.
+ ///
metricsConfig can be ENABLED or DISABLED.
+ pub fn get_metrics_config(&self) -> &::std::option::Option {
+ self.inner.get_metrics_config()
+ }
}
diff --git a/sdk/appsync/src/protocol_serde.rs b/sdk/appsync/src/protocol_serde.rs
index 9f4d035161a1..d70831db9a89 100644
--- a/sdk/appsync/src/protocol_serde.rs
+++ b/sdk/appsync/src/protocol_serde.rs
@@ -265,6 +265,8 @@ pub(crate) mod shape_dynamodb_data_source_config;
pub(crate) mod shape_elasticsearch_data_source_config;
+pub(crate) mod shape_enhanced_metrics_config;
+
pub(crate) mod shape_environment_variable_map;
pub(crate) mod shape_error_detail;
diff --git a/sdk/appsync/src/protocol_serde/shape_api_cache.rs b/sdk/appsync/src/protocol_serde/shape_api_cache.rs
index 3b4bea3a3caa..14b594d2e654 100644
--- a/sdk/appsync/src/protocol_serde/shape_api_cache.rs
+++ b/sdk/appsync/src/protocol_serde/shape_api_cache.rs
@@ -50,6 +50,13 @@ where
.transpose()?,
);
}
+ "healthMetricsConfig" => {
+ builder = builder.set_health_metrics_config(
+ ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?
+ .map(|s| s.to_unescaped().map(|u| crate::types::CacheHealthMetricsConfig::from(u.as_ref())))
+ .transpose()?,
+ );
+ }
_ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?,
},
other => {
diff --git a/sdk/appsync/src/protocol_serde/shape_create_api_cache_input.rs b/sdk/appsync/src/protocol_serde/shape_create_api_cache_input.rs
index 628072af5f49..96c71d6d56e1 100644
--- a/sdk/appsync/src/protocol_serde/shape_create_api_cache_input.rs
+++ b/sdk/appsync/src/protocol_serde/shape_create_api_cache_input.rs
@@ -9,17 +9,20 @@ pub fn ser_create_api_cache_input_input(
if let Some(var_2) = &input.at_rest_encryption_enabled {
object.key("atRestEncryptionEnabled").boolean(*var_2);
}
- if let Some(var_3) = &input.transit_encryption_enabled {
- object.key("transitEncryptionEnabled").boolean(*var_3);
+ if let Some(var_3) = &input.health_metrics_config {
+ object.key("healthMetricsConfig").string(var_3.as_str());
}
- if let Some(var_4) = &input.ttl {
+ if let Some(var_4) = &input.transit_encryption_enabled {
+ object.key("transitEncryptionEnabled").boolean(*var_4);
+ }
+ if let Some(var_5) = &input.ttl {
object.key("ttl").number(
#[allow(clippy::useless_conversion)]
- ::aws_smithy_types::Number::NegInt((*var_4).into()),
+ ::aws_smithy_types::Number::NegInt((*var_5).into()),
);
}
- if let Some(var_5) = &input.r#type {
- object.key("type").string(var_5.as_str());
+ if let Some(var_6) = &input.r#type {
+ object.key("type").string(var_6.as_str());
}
Ok(())
}
diff --git a/sdk/appsync/src/protocol_serde/shape_create_data_source_input.rs b/sdk/appsync/src/protocol_serde/shape_create_data_source_input.rs
index 893c78dd49b0..e34e1ccd4895 100644
--- a/sdk/appsync/src/protocol_serde/shape_create_data_source_input.rs
+++ b/sdk/appsync/src/protocol_serde/shape_create_data_source_input.rs
@@ -36,26 +36,29 @@ pub fn ser_create_data_source_input_input(
crate::protocol_serde::shape_lambda_data_source_config::ser_lambda_data_source_config(&mut object_11, var_10)?;
object_11.finish();
}
- if let Some(var_12) = &input.name {
- object.key("name").string(var_12.as_str());
+ if let Some(var_12) = &input.metrics_config {
+ object.key("metricsConfig").string(var_12.as_str());
}
- if let Some(var_13) = &input.open_search_service_config {
+ if let Some(var_13) = &input.name {
+ object.key("name").string(var_13.as_str());
+ }
+ if let Some(var_14) = &input.open_search_service_config {
#[allow(unused_mut)]
- let mut object_14 = object.key("openSearchServiceConfig").start_object();
- crate::protocol_serde::shape_open_search_service_data_source_config::ser_open_search_service_data_source_config(&mut object_14, var_13)?;
- object_14.finish();
+ let mut object_15 = object.key("openSearchServiceConfig").start_object();
+ crate::protocol_serde::shape_open_search_service_data_source_config::ser_open_search_service_data_source_config(&mut object_15, var_14)?;
+ object_15.finish();
}
- if let Some(var_15) = &input.relational_database_config {
+ if let Some(var_16) = &input.relational_database_config {
#[allow(unused_mut)]
- let mut object_16 = object.key("relationalDatabaseConfig").start_object();
- crate::protocol_serde::shape_relational_database_data_source_config::ser_relational_database_data_source_config(&mut object_16, var_15)?;
- object_16.finish();
+ let mut object_17 = object.key("relationalDatabaseConfig").start_object();
+ crate::protocol_serde::shape_relational_database_data_source_config::ser_relational_database_data_source_config(&mut object_17, var_16)?;
+ object_17.finish();
}
- if let Some(var_17) = &input.service_role_arn {
- object.key("serviceRoleArn").string(var_17.as_str());
+ if let Some(var_18) = &input.service_role_arn {
+ object.key("serviceRoleArn").string(var_18.as_str());
}
- if let Some(var_18) = &input.r#type {
- object.key("type").string(var_18.as_str());
+ if let Some(var_19) = &input.r#type {
+ object.key("type").string(var_19.as_str());
}
Ok(())
}
diff --git a/sdk/appsync/src/protocol_serde/shape_create_function.rs b/sdk/appsync/src/protocol_serde/shape_create_function.rs
index 802b3a19f76c..b7b875a9f8e4 100644
--- a/sdk/appsync/src/protocol_serde/shape_create_function.rs
+++ b/sdk/appsync/src/protocol_serde/shape_create_function.rs
@@ -17,6 +17,21 @@ pub fn de_create_function_http_error(
let _error_message = generic.message().map(|msg| msg.to_owned());
Err(match error_code {
+ "BadRequestException" => crate::operation::create_function::CreateFunctionError::BadRequestException({
+ #[allow(unused_mut)]
+ let mut tmp = {
+ #[allow(unused_mut)]
+ let mut output = crate::types::error::builders::BadRequestExceptionBuilder::default();
+ output = crate::protocol_serde::shape_bad_request_exception::de_bad_request_exception_json_err(_response_body, output)
+ .map_err(crate::operation::create_function::CreateFunctionError::unhandled)?;
+ let output = output.meta(generic);
+ output.build()
+ };
+ if tmp.message.is_none() {
+ tmp.message = _error_message;
+ }
+ tmp
+ }),
"ConcurrentModificationException" => crate::operation::create_function::CreateFunctionError::ConcurrentModificationException({
#[allow(unused_mut)]
let mut tmp = {
diff --git a/sdk/appsync/src/protocol_serde/shape_create_graphql_api_input.rs b/sdk/appsync/src/protocol_serde/shape_create_graphql_api_input.rs
index 64f8e3b32d60..14bdcd011024 100644
--- a/sdk/appsync/src/protocol_serde/shape_create_graphql_api_input.rs
+++ b/sdk/appsync/src/protocol_serde/shape_create_graphql_api_input.rs
@@ -21,69 +21,75 @@ pub fn ser_create_graphql_api_input_input(
if let Some(var_6) = &input.authentication_type {
object.key("authenticationType").string(var_6.as_str());
}
- if let Some(var_7) = &input.introspection_config {
- object.key("introspectionConfig").string(var_7.as_str());
- }
- if let Some(var_8) = &input.lambda_authorizer_config {
+ if let Some(var_7) = &input.enhanced_metrics_config {
#[allow(unused_mut)]
- let mut object_9 = object.key("lambdaAuthorizerConfig").start_object();
- crate::protocol_serde::shape_lambda_authorizer_config::ser_lambda_authorizer_config(&mut object_9, var_8)?;
- object_9.finish();
+ let mut object_8 = object.key("enhancedMetricsConfig").start_object();
+ crate::protocol_serde::shape_enhanced_metrics_config::ser_enhanced_metrics_config(&mut object_8, var_7)?;
+ object_8.finish();
+ }
+ if let Some(var_9) = &input.introspection_config {
+ object.key("introspectionConfig").string(var_9.as_str());
}
- if let Some(var_10) = &input.log_config {
+ if let Some(var_10) = &input.lambda_authorizer_config {
#[allow(unused_mut)]
- let mut object_11 = object.key("logConfig").start_object();
- crate::protocol_serde::shape_log_config::ser_log_config(&mut object_11, var_10)?;
+ let mut object_11 = object.key("lambdaAuthorizerConfig").start_object();
+ crate::protocol_serde::shape_lambda_authorizer_config::ser_lambda_authorizer_config(&mut object_11, var_10)?;
object_11.finish();
}
- if let Some(var_12) = &input.merged_api_execution_role_arn {
- object.key("mergedApiExecutionRoleArn").string(var_12.as_str());
+ if let Some(var_12) = &input.log_config {
+ #[allow(unused_mut)]
+ let mut object_13 = object.key("logConfig").start_object();
+ crate::protocol_serde::shape_log_config::ser_log_config(&mut object_13, var_12)?;
+ object_13.finish();
+ }
+ if let Some(var_14) = &input.merged_api_execution_role_arn {
+ object.key("mergedApiExecutionRoleArn").string(var_14.as_str());
}
- if let Some(var_13) = &input.name {
- object.key("name").string(var_13.as_str());
+ if let Some(var_15) = &input.name {
+ object.key("name").string(var_15.as_str());
}
- if let Some(var_14) = &input.open_id_connect_config {
+ if let Some(var_16) = &input.open_id_connect_config {
#[allow(unused_mut)]
- let mut object_15 = object.key("openIDConnectConfig").start_object();
- crate::protocol_serde::shape_open_id_connect_config::ser_open_id_connect_config(&mut object_15, var_14)?;
- object_15.finish();
+ let mut object_17 = object.key("openIDConnectConfig").start_object();
+ crate::protocol_serde::shape_open_id_connect_config::ser_open_id_connect_config(&mut object_17, var_16)?;
+ object_17.finish();
}
- if let Some(var_16) = &input.owner_contact {
- object.key("ownerContact").string(var_16.as_str());
+ if let Some(var_18) = &input.owner_contact {
+ object.key("ownerContact").string(var_18.as_str());
}
- if let Some(var_17) = &input.query_depth_limit {
+ if let Some(var_19) = &input.query_depth_limit {
object.key("queryDepthLimit").number(
#[allow(clippy::useless_conversion)]
- ::aws_smithy_types::Number::NegInt((*var_17).into()),
+ ::aws_smithy_types::Number::NegInt((*var_19).into()),
);
}
- if let Some(var_18) = &input.resolver_count_limit {
+ if let Some(var_20) = &input.resolver_count_limit {
object.key("resolverCountLimit").number(
#[allow(clippy::useless_conversion)]
- ::aws_smithy_types::Number::NegInt((*var_18).into()),
+ ::aws_smithy_types::Number::NegInt((*var_20).into()),
);
}
- if let Some(var_19) = &input.tags {
+ if let Some(var_21) = &input.tags {
#[allow(unused_mut)]
- let mut object_20 = object.key("tags").start_object();
- for (key_21, value_22) in var_19 {
+ let mut object_22 = object.key("tags").start_object();
+ for (key_23, value_24) in var_21 {
{
- object_20.key(key_21.as_str()).string(value_22.as_str());
+ object_22.key(key_23.as_str()).string(value_24.as_str());
}
}
- object_20.finish();
+ object_22.finish();
}
- if let Some(var_23) = &input.user_pool_config {
+ if let Some(var_25) = &input.user_pool_config {
#[allow(unused_mut)]
- let mut object_24 = object.key("userPoolConfig").start_object();
- crate::protocol_serde::shape_user_pool_config::ser_user_pool_config(&mut object_24, var_23)?;
- object_24.finish();
+ let mut object_26 = object.key("userPoolConfig").start_object();
+ crate::protocol_serde::shape_user_pool_config::ser_user_pool_config(&mut object_26, var_25)?;
+ object_26.finish();
}
- if let Some(var_25) = &input.visibility {
- object.key("visibility").string(var_25.as_str());
+ if let Some(var_27) = &input.visibility {
+ object.key("visibility").string(var_27.as_str());
}
- if let Some(var_26) = &input.xray_enabled {
- object.key("xrayEnabled").boolean(*var_26);
+ if let Some(var_28) = &input.xray_enabled {
+ object.key("xrayEnabled").boolean(*var_28);
}
Ok(())
}
diff --git a/sdk/appsync/src/protocol_serde/shape_create_resolver_input.rs b/sdk/appsync/src/protocol_serde/shape_create_resolver_input.rs
index 89e56fad6186..3503ed9859f8 100644
--- a/sdk/appsync/src/protocol_serde/shape_create_resolver_input.rs
+++ b/sdk/appsync/src/protocol_serde/shape_create_resolver_input.rs
@@ -27,29 +27,32 @@ pub fn ser_create_resolver_input_input(
::aws_smithy_types::Number::NegInt((*var_7).into()),
);
}
- if let Some(var_8) = &input.pipeline_config {
+ if let Some(var_8) = &input.metrics_config {
+ object.key("metricsConfig").string(var_8.as_str());
+ }
+ if let Some(var_9) = &input.pipeline_config {
#[allow(unused_mut)]
- let mut object_9 = object.key("pipelineConfig").start_object();
- crate::protocol_serde::shape_pipeline_config::ser_pipeline_config(&mut object_9, var_8)?;
- object_9.finish();
+ let mut object_10 = object.key("pipelineConfig").start_object();
+ crate::protocol_serde::shape_pipeline_config::ser_pipeline_config(&mut object_10, var_9)?;
+ object_10.finish();
}
- if let Some(var_10) = &input.request_mapping_template {
- object.key("requestMappingTemplate").string(var_10.as_str());
+ if let Some(var_11) = &input.request_mapping_template {
+ object.key("requestMappingTemplate").string(var_11.as_str());
}
- if let Some(var_11) = &input.response_mapping_template {
- object.key("responseMappingTemplate").string(var_11.as_str());
+ if let Some(var_12) = &input.response_mapping_template {
+ object.key("responseMappingTemplate").string(var_12.as_str());
}
- if let Some(var_12) = &input.runtime {
+ if let Some(var_13) = &input.runtime {
#[allow(unused_mut)]
- let mut object_13 = object.key("runtime").start_object();
- crate::protocol_serde::shape_app_sync_runtime::ser_app_sync_runtime(&mut object_13, var_12)?;
- object_13.finish();
+ let mut object_14 = object.key("runtime").start_object();
+ crate::protocol_serde::shape_app_sync_runtime::ser_app_sync_runtime(&mut object_14, var_13)?;
+ object_14.finish();
}
- if let Some(var_14) = &input.sync_config {
+ if let Some(var_15) = &input.sync_config {
#[allow(unused_mut)]
- let mut object_15 = object.key("syncConfig").start_object();
- crate::protocol_serde::shape_sync_config::ser_sync_config(&mut object_15, var_14)?;
- object_15.finish();
+ let mut object_16 = object.key("syncConfig").start_object();
+ crate::protocol_serde::shape_sync_config::ser_sync_config(&mut object_16, var_15)?;
+ object_16.finish();
}
Ok(())
}
diff --git a/sdk/appsync/src/protocol_serde/shape_data_source.rs b/sdk/appsync/src/protocol_serde/shape_data_source.rs
index 8b643ebd14ca..c8f81a34b189 100644
--- a/sdk/appsync/src/protocol_serde/shape_data_source.rs
+++ b/sdk/appsync/src/protocol_serde/shape_data_source.rs
@@ -87,6 +87,13 @@ where
crate::protocol_serde::shape_event_bridge_data_source_config::de_event_bridge_data_source_config(tokens)?,
);
}
+ "metricsConfig" => {
+ builder = builder.set_metrics_config(
+ ::aws_smithy_json::deserialize::token::expect_string_or_null(tokens.next())?
+ .map(|s| s.to_unescaped().map(|u| crate::types::DataSourceLevelMetricsConfig::from(u.as_ref())))
+ .transpose()?,
+ );
+ }
_ => ::aws_smithy_json::deserialize::token::skip_value(tokens)?,
},
other => {
diff --git a/sdk/appsync/src/protocol_serde/shape_delete_function.rs b/sdk/appsync/src/protocol_serde/shape_delete_function.rs
index a7f8c0f42931..7934dbbcb2f7 100644
--- a/sdk/appsync/src/protocol_serde/shape_delete_function.rs
+++ b/sdk/appsync/src/protocol_serde/shape_delete_function.rs
@@ -17,6 +17,21 @@ pub fn de_delete_function_http_error(
let _error_message = generic.message().map(|msg| msg.to_owned());
Err(match error_code {
+ "BadRequestException" => crate::operation::delete_function::DeleteFunctionError::BadRequestException({
+ #[allow(unused_mut)]
+ let mut tmp = {
+ #[allow(unused_mut)]
+ let mut output = crate::types::error::builders::BadRequestExceptionBuilder::default();
+ output = crate::protocol_serde::shape_bad_request_exception::de_bad_request_exception_json_err(_response_body, output)
+ .map_err(crate::operation::delete_function::DeleteFunctionError::unhandled)?;
+ let output = output.meta(generic);
+ output.build()
+ };
+ if tmp.message.is_none() {
+ tmp.message = _error_message;
+ }
+ tmp
+ }),
"ConcurrentModificationException" => crate::operation::delete_function::DeleteFunctionError::ConcurrentModificationException({
#[allow(unused_mut)]
let mut tmp = {
diff --git a/sdk/appsync/src/protocol_serde/shape_enhanced_metrics_config.rs b/sdk/appsync/src/protocol_serde/shape_enhanced_metrics_config.rs
new file mode 100644
index 000000000000..b70b60a18706
--- /dev/null
+++ b/sdk/appsync/src/protocol_serde/shape_enhanced_metrics_config.rs
@@ -0,0 +1,78 @@
+// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
+pub fn ser_enhanced_metrics_config(
+ object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
+ input: &crate::types::EnhancedMetricsConfig,
+) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
+ {
+ object
+ .key("resolverLevelMetricsBehavior")
+ .string(input.resolver_level_metrics_behavior.as_str());
+ }
+ {
+ object
+ .key("dataSourceLevelMetricsBehavior")
+ .string(input.data_source_level_metrics_behavior.as_str());
+ }
+ {
+ object
+ .key("operationLevelMetricsConfig")
+ .string(input.operation_level_metrics_config.as_str());
+ }
+ Ok(())
+}
+
+pub(crate) fn de_enhanced_metrics_config<'a, I>(
+ tokens: &mut ::std::iter::Peekable,
+) -> Result