aws-sdk-appsync 1.71.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +242 -1
- data/lib/aws-sdk-appsync/client_api.rb +77 -0
- data/lib/aws-sdk-appsync/endpoints.rb +28 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-appsync/types.rb +374 -12
- data/lib/aws-sdk-appsync.rb +1 -1
- data/sig/client.rbs +45 -8
- data/sig/types.rbs +40 -0
- metadata +2 -2
@@ -173,6 +173,23 @@ module Aws::AppSync
|
|
173
173
|
# * **FAILED**: The instance has failed creation.
|
174
174
|
# @return [String]
|
175
175
|
#
|
176
|
+
# @!attribute [rw] health_metrics_config
|
177
|
+
# Controls how cache health metrics will be emitted to CloudWatch.
|
178
|
+
# Cache health metrics include:
|
179
|
+
#
|
180
|
+
# * NetworkBandwidthOutAllowanceExceeded: The network packets dropped
|
181
|
+
# because the throughput exceeded the aggregated bandwidth limit.
|
182
|
+
# This is useful for diagnosing bottlenecks in a cache
|
183
|
+
# configuration.
|
184
|
+
#
|
185
|
+
# * EngineCPUUtilization: The CPU utilization (percentage) allocated
|
186
|
+
# to the Redis process. This is useful for diagnosing bottlenecks in
|
187
|
+
# a cache configuration.
|
188
|
+
#
|
189
|
+
# Metrics will be recorded by API ID. You can set the value to
|
190
|
+
# `ENABLED` or `DISABLED`.
|
191
|
+
# @return [String]
|
192
|
+
#
|
176
193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiCache AWS API Documentation
|
177
194
|
#
|
178
195
|
class ApiCache < Struct.new(
|
@@ -181,7 +198,8 @@ module Aws::AppSync
|
|
181
198
|
:transit_encryption_enabled,
|
182
199
|
:at_rest_encryption_enabled,
|
183
200
|
:type,
|
184
|
-
:status
|
201
|
+
:status,
|
202
|
+
:health_metrics_config)
|
185
203
|
SENSITIVE = []
|
186
204
|
include Aws::Structure
|
187
205
|
end
|
@@ -727,6 +745,20 @@ module Aws::AppSync
|
|
727
745
|
# * **R4\_8XLARGE**: A r4.8xlarge instance type.
|
728
746
|
# @return [String]
|
729
747
|
#
|
748
|
+
# @!attribute [rw] health_metrics_config
|
749
|
+
# Controls how cache health metrics will be emitted to CloudWatch.
|
750
|
+
# Cache health metrics include:
|
751
|
+
#
|
752
|
+
# * NetworkBandwidthOutAllowanceExceeded: The number of times a
|
753
|
+
# specified GraphQL operation was called.
|
754
|
+
#
|
755
|
+
# * EngineCPUUtilization: The number of GraphQL errors that occurred
|
756
|
+
# during a specified GraphQL operation.
|
757
|
+
#
|
758
|
+
# Metrics will be recorded by API ID. You can set the value to
|
759
|
+
# `ENABLED` or `DISABLED`.
|
760
|
+
# @return [String]
|
761
|
+
#
|
730
762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCacheRequest AWS API Documentation
|
731
763
|
#
|
732
764
|
class CreateApiCacheRequest < Struct.new(
|
@@ -735,7 +767,8 @@ module Aws::AppSync
|
|
735
767
|
:transit_encryption_enabled,
|
736
768
|
:at_rest_encryption_enabled,
|
737
769
|
:api_caching_behavior,
|
738
|
-
:type
|
770
|
+
:type,
|
771
|
+
:health_metrics_config)
|
739
772
|
SENSITIVE = []
|
740
773
|
include Aws::Structure
|
741
774
|
end
|
@@ -846,6 +879,18 @@ module Aws::AppSync
|
|
846
879
|
# Amazon EventBridge settings.
|
847
880
|
# @return [Types::EventBridgeDataSourceConfig]
|
848
881
|
#
|
882
|
+
# @!attribute [rw] metrics_config
|
883
|
+
# Enables or disables enhanced data source metrics for specified data
|
884
|
+
# sources. Note that `metricsConfig` won't be used unless the
|
885
|
+
# `dataSourceLevelMetricsBehavior` value is set to
|
886
|
+
# `PER_DATA_SOURCE_METRICS`. If the `dataSourceLevelMetricsBehavior`
|
887
|
+
# is set to `FULL_REQUEST_DATA_SOURCE_METRICS` instead,
|
888
|
+
# `metricsConfig` will be ignored. However, you can still set its
|
889
|
+
# value.
|
890
|
+
#
|
891
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
892
|
+
# @return [String]
|
893
|
+
#
|
849
894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest AWS API Documentation
|
850
895
|
#
|
851
896
|
class CreateDataSourceRequest < Struct.new(
|
@@ -860,7 +905,8 @@ module Aws::AppSync
|
|
860
905
|
:open_search_service_config,
|
861
906
|
:http_config,
|
862
907
|
:relational_database_config,
|
863
|
-
:event_bridge_config
|
908
|
+
:event_bridge_config,
|
909
|
+
:metrics_config)
|
864
910
|
SENSITIVE = []
|
865
911
|
include Aws::Structure
|
866
912
|
end
|
@@ -1099,6 +1145,10 @@ module Aws::AppSync
|
|
1099
1145
|
# operation falls out of bounds.
|
1100
1146
|
# @return [Integer]
|
1101
1147
|
#
|
1148
|
+
# @!attribute [rw] enhanced_metrics_config
|
1149
|
+
# The `enhancedMetricsConfig` object.
|
1150
|
+
# @return [Types::EnhancedMetricsConfig]
|
1151
|
+
#
|
1102
1152
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
1103
1153
|
#
|
1104
1154
|
class CreateGraphqlApiRequest < Struct.new(
|
@@ -1117,7 +1167,8 @@ module Aws::AppSync
|
|
1117
1167
|
:owner_contact,
|
1118
1168
|
:introspection_config,
|
1119
1169
|
:query_depth_limit,
|
1120
|
-
:resolver_count_limit
|
1170
|
+
:resolver_count_limit,
|
1171
|
+
:enhanced_metrics_config)
|
1121
1172
|
SENSITIVE = []
|
1122
1173
|
include Aws::Structure
|
1123
1174
|
end
|
@@ -1208,6 +1259,17 @@ module Aws::AppSync
|
|
1208
1259
|
# `runtime` value must be `APPSYNC_JS`.
|
1209
1260
|
# @return [String]
|
1210
1261
|
#
|
1262
|
+
# @!attribute [rw] metrics_config
|
1263
|
+
# Enables or disables enhanced resolver metrics for specified
|
1264
|
+
# resolvers. Note that `metricsConfig` won't be used unless the
|
1265
|
+
# `resolverLevelMetricsBehavior` value is set to
|
1266
|
+
# `PER_RESOLVER_METRICS`. If the `resolverLevelMetricsBehavior` is set
|
1267
|
+
# to `FULL_REQUEST_RESOLVER_METRICS` instead, `metricsConfig` will be
|
1268
|
+
# ignored. However, you can still set its value.
|
1269
|
+
#
|
1270
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
1271
|
+
# @return [String]
|
1272
|
+
#
|
1211
1273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest AWS API Documentation
|
1212
1274
|
#
|
1213
1275
|
class CreateResolverRequest < Struct.new(
|
@@ -1223,7 +1285,8 @@ module Aws::AppSync
|
|
1223
1285
|
:caching_config,
|
1224
1286
|
:max_batch_size,
|
1225
1287
|
:runtime,
|
1226
|
-
:code
|
1288
|
+
:code,
|
1289
|
+
:metrics_config)
|
1227
1290
|
SENSITIVE = []
|
1228
1291
|
include Aws::Structure
|
1229
1292
|
end
|
@@ -1356,6 +1419,18 @@ module Aws::AppSync
|
|
1356
1419
|
# Amazon EventBridge settings.
|
1357
1420
|
# @return [Types::EventBridgeDataSourceConfig]
|
1358
1421
|
#
|
1422
|
+
# @!attribute [rw] metrics_config
|
1423
|
+
# Enables or disables enhanced data source metrics for specified data
|
1424
|
+
# sources. Note that `metricsConfig` won't be used unless the
|
1425
|
+
# `dataSourceLevelMetricsBehavior` value is set to
|
1426
|
+
# `PER_DATA_SOURCE_METRICS`. If the `dataSourceLevelMetricsBehavior`
|
1427
|
+
# is set to `FULL_REQUEST_DATA_SOURCE_METRICS` instead,
|
1428
|
+
# `metricsConfig` will be ignored. However, you can still set its
|
1429
|
+
# value.
|
1430
|
+
#
|
1431
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
1432
|
+
# @return [String]
|
1433
|
+
#
|
1359
1434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource AWS API Documentation
|
1360
1435
|
#
|
1361
1436
|
class DataSource < Struct.new(
|
@@ -1370,7 +1445,8 @@ module Aws::AppSync
|
|
1370
1445
|
:open_search_service_config,
|
1371
1446
|
:http_config,
|
1372
1447
|
:relational_database_config,
|
1373
|
-
:event_bridge_config
|
1448
|
+
:event_bridge_config,
|
1449
|
+
:metrics_config)
|
1374
1450
|
SENSITIVE = []
|
1375
1451
|
include Aws::Structure
|
1376
1452
|
end
|
@@ -1895,6 +1971,150 @@ module Aws::AppSync
|
|
1895
1971
|
include Aws::Structure
|
1896
1972
|
end
|
1897
1973
|
|
1974
|
+
# Enables and controls the enhanced metrics feature. Enhanced metrics
|
1975
|
+
# emit granular data on API usage and performance such as AppSync
|
1976
|
+
# request and error counts, latency, and cache hits/misses. All enhanced
|
1977
|
+
# metric data is sent to your CloudWatch account, and you can configure
|
1978
|
+
# the types of data that will be sent.
|
1979
|
+
#
|
1980
|
+
# Enhanced metrics can be configured at the resolver, data source, and
|
1981
|
+
# operation levels. `EnhancedMetricsConfig` contains three required
|
1982
|
+
# parameters, each controlling one of these categories:
|
1983
|
+
#
|
1984
|
+
# 1. `resolverLevelMetricsBehavior`: Controls how resolver metrics will
|
1985
|
+
# be emitted to CloudWatch. Resolver metrics include:
|
1986
|
+
#
|
1987
|
+
# * GraphQL errors: The number of GraphQL errors that occurred.
|
1988
|
+
#
|
1989
|
+
# * Requests: The number of invocations that occurred during a
|
1990
|
+
# request.
|
1991
|
+
#
|
1992
|
+
# * Latency: The time to complete a resolver invocation.
|
1993
|
+
#
|
1994
|
+
# * Cache hits: The number of cache hits during a request.
|
1995
|
+
#
|
1996
|
+
# * Cache misses: The number of cache misses during a request.
|
1997
|
+
#
|
1998
|
+
# These metrics can be emitted to CloudWatch per resolver or for all
|
1999
|
+
# resolvers in the request. Metrics will be recorded by API ID and
|
2000
|
+
# resolver name. `resolverLevelMetricsBehavior` accepts one of these
|
2001
|
+
# values at a time:
|
2002
|
+
#
|
2003
|
+
# * `FULL_REQUEST_RESOLVER_METRICS`: Records and emits metric data
|
2004
|
+
# for all resolvers in the request.
|
2005
|
+
#
|
2006
|
+
# * `PER_RESOLVER_METRICS`: Records and emits metric data for
|
2007
|
+
# resolvers that have the `metricConfig` value set to `ENABLED`.
|
2008
|
+
#
|
2009
|
+
# 2. `dataSourceLevelMetricsBehavior`: Controls how data source metrics
|
2010
|
+
# will be emitted to CloudWatch. Data source metrics include:
|
2011
|
+
#
|
2012
|
+
# * Requests: The number of invocations that occured during a
|
2013
|
+
# request.
|
2014
|
+
#
|
2015
|
+
# * Latency: The time to complete a data source invocation.
|
2016
|
+
#
|
2017
|
+
# * Errors: The number of errors that occurred during a data source
|
2018
|
+
# invocation.
|
2019
|
+
#
|
2020
|
+
# These metrics can be emitted to CloudWatch per data source or for
|
2021
|
+
# all data sources in the request. Metrics will be recorded by API
|
2022
|
+
# ID and data source name. `dataSourceLevelMetricsBehavior` accepts
|
2023
|
+
# one of these values at a time:
|
2024
|
+
#
|
2025
|
+
# * `FULL_REQUEST_DATA_SOURCE_METRICS`: Records and emits metric
|
2026
|
+
# data for all data sources in the request.
|
2027
|
+
#
|
2028
|
+
# * `PER_DATA_SOURCE_METRICS`: Records and emits metric data for
|
2029
|
+
# data sources that have the `metricConfig` value set to
|
2030
|
+
# `ENABLED`.
|
2031
|
+
#
|
2032
|
+
# 3. `operationLevelMetricsConfig`: Controls how operation metrics will
|
2033
|
+
# be emitted to CloudWatch. Operation metrics include:
|
2034
|
+
#
|
2035
|
+
# * Requests: The number of times a specified GraphQL operation was
|
2036
|
+
# called.
|
2037
|
+
#
|
2038
|
+
# * GraphQL errors: The number of GraphQL errors that occurred
|
2039
|
+
# during a specified GraphQL operation.
|
2040
|
+
#
|
2041
|
+
# Metrics will be recorded by API ID and operation name. You can set
|
2042
|
+
# the value to `ENABLED` or `DISABLED`.
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] resolver_level_metrics_behavior
|
2045
|
+
# Controls how resolver metrics will be emitted to CloudWatch.
|
2046
|
+
# Resolver metrics include:
|
2047
|
+
#
|
2048
|
+
# * GraphQL errors: The number of GraphQL errors that occurred.
|
2049
|
+
#
|
2050
|
+
# * Requests: The number of invocations that occurred during a
|
2051
|
+
# request.
|
2052
|
+
#
|
2053
|
+
# * Latency: The time to complete a resolver invocation.
|
2054
|
+
#
|
2055
|
+
# * Cache hits: The number of cache hits during a request.
|
2056
|
+
#
|
2057
|
+
# * Cache misses: The number of cache misses during a request.
|
2058
|
+
#
|
2059
|
+
# These metrics can be emitted to CloudWatch per resolver or for all
|
2060
|
+
# resolvers in the request. Metrics will be recorded by API ID and
|
2061
|
+
# resolver name. `resolverLevelMetricsBehavior` accepts one of these
|
2062
|
+
# values at a time:
|
2063
|
+
#
|
2064
|
+
# * `FULL_REQUEST_RESOLVER_METRICS`: Records and emits metric data for
|
2065
|
+
# all resolvers in the request.
|
2066
|
+
#
|
2067
|
+
# * `PER_RESOLVER_METRICS`: Records and emits metric data for
|
2068
|
+
# resolvers that have the `metricConfig` value set to `ENABLED`.
|
2069
|
+
# @return [String]
|
2070
|
+
#
|
2071
|
+
# @!attribute [rw] data_source_level_metrics_behavior
|
2072
|
+
# Controls how data source metrics will be emitted to CloudWatch. Data
|
2073
|
+
# source metrics include:
|
2074
|
+
#
|
2075
|
+
# * Requests: The number of invocations that occured during a request.
|
2076
|
+
#
|
2077
|
+
# * Latency: The time to complete a data source invocation.
|
2078
|
+
#
|
2079
|
+
# * Errors: The number of errors that occurred during a data source
|
2080
|
+
# invocation.
|
2081
|
+
#
|
2082
|
+
# These metrics can be emitted to CloudWatch per data source or for
|
2083
|
+
# all data sources in the request. Metrics will be recorded by API ID
|
2084
|
+
# and data source name. `dataSourceLevelMetricsBehavior` accepts one
|
2085
|
+
# of these values at a time:
|
2086
|
+
#
|
2087
|
+
# * `FULL_REQUEST_DATA_SOURCE_METRICS`: Records and emits metric data
|
2088
|
+
# for all data sources in the request.
|
2089
|
+
#
|
2090
|
+
# * `PER_DATA_SOURCE_METRICS`: Records and emits metric data for data
|
2091
|
+
# sources that have the `metricConfig` value set to `ENABLED`.
|
2092
|
+
# @return [String]
|
2093
|
+
#
|
2094
|
+
# @!attribute [rw] operation_level_metrics_config
|
2095
|
+
# Controls how operation metrics will be emitted to CloudWatch.
|
2096
|
+
# Operation metrics include:
|
2097
|
+
#
|
2098
|
+
# * Requests: The number of times a specified GraphQL operation was
|
2099
|
+
# called.
|
2100
|
+
#
|
2101
|
+
# * GraphQL errors: The number of GraphQL errors that occurred during
|
2102
|
+
# a specified GraphQL operation.
|
2103
|
+
#
|
2104
|
+
# Metrics will be recorded by API ID and operation name. You can set
|
2105
|
+
# the value to `ENABLED` or `DISABLED`.
|
2106
|
+
# @return [String]
|
2107
|
+
#
|
2108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EnhancedMetricsConfig AWS API Documentation
|
2109
|
+
#
|
2110
|
+
class EnhancedMetricsConfig < Struct.new(
|
2111
|
+
:resolver_level_metrics_behavior,
|
2112
|
+
:data_source_level_metrics_behavior,
|
2113
|
+
:operation_level_metrics_config)
|
2114
|
+
SENSITIVE = []
|
2115
|
+
include Aws::Structure
|
2116
|
+
end
|
2117
|
+
|
1898
2118
|
# Contains the list of errors generated. When using JavaScript, this
|
1899
2119
|
# will apply to the request or response function evaluation.
|
1900
2120
|
#
|
@@ -2348,6 +2568,32 @@ module Aws::AppSync
|
|
2348
2568
|
include Aws::Structure
|
2349
2569
|
end
|
2350
2570
|
|
2571
|
+
# @!attribute [rw] api_id
|
2572
|
+
# The ID of the API from which the environmental variable list will be
|
2573
|
+
# retrieved.
|
2574
|
+
# @return [String]
|
2575
|
+
#
|
2576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariablesRequest AWS API Documentation
|
2577
|
+
#
|
2578
|
+
class GetGraphqlApiEnvironmentVariablesRequest < Struct.new(
|
2579
|
+
:api_id)
|
2580
|
+
SENSITIVE = []
|
2581
|
+
include Aws::Structure
|
2582
|
+
end
|
2583
|
+
|
2584
|
+
# @!attribute [rw] environment_variables
|
2585
|
+
# The payload containing each environmental variable in the `"key" :
|
2586
|
+
# "value"` format.
|
2587
|
+
# @return [Hash<String,String>]
|
2588
|
+
#
|
2589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariablesResponse AWS API Documentation
|
2590
|
+
#
|
2591
|
+
class GetGraphqlApiEnvironmentVariablesResponse < Struct.new(
|
2592
|
+
:environment_variables)
|
2593
|
+
SENSITIVE = []
|
2594
|
+
include Aws::Structure
|
2595
|
+
end
|
2596
|
+
|
2351
2597
|
# @!attribute [rw] api_id
|
2352
2598
|
# The API ID for the GraphQL API.
|
2353
2599
|
# @return [String]
|
@@ -2688,6 +2934,10 @@ module Aws::AppSync
|
|
2688
2934
|
# operation falls out of bounds.
|
2689
2935
|
# @return [Integer]
|
2690
2936
|
#
|
2937
|
+
# @!attribute [rw] enhanced_metrics_config
|
2938
|
+
# The `enhancedMetricsConfig` object.
|
2939
|
+
# @return [Types::EnhancedMetricsConfig]
|
2940
|
+
#
|
2691
2941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
2692
2942
|
#
|
2693
2943
|
class GraphqlApi < Struct.new(
|
@@ -2712,7 +2962,8 @@ module Aws::AppSync
|
|
2712
2962
|
:owner_contact,
|
2713
2963
|
:introspection_config,
|
2714
2964
|
:query_depth_limit,
|
2715
|
-
:resolver_count_limit
|
2965
|
+
:resolver_count_limit,
|
2966
|
+
:enhanced_metrics_config)
|
2716
2967
|
SENSITIVE = []
|
2717
2968
|
include Aws::Structure
|
2718
2969
|
end
|
@@ -3448,6 +3699,60 @@ module Aws::AppSync
|
|
3448
3699
|
include Aws::Structure
|
3449
3700
|
end
|
3450
3701
|
|
3702
|
+
# @!attribute [rw] api_id
|
3703
|
+
# The ID of the API to which the environmental variable list will be
|
3704
|
+
# written.
|
3705
|
+
# @return [String]
|
3706
|
+
#
|
3707
|
+
# @!attribute [rw] environment_variables
|
3708
|
+
# The list of environmental variables to add to the API.
|
3709
|
+
#
|
3710
|
+
# When creating an environmental variable key-value pair, it must
|
3711
|
+
# follow the additional constraints below:
|
3712
|
+
#
|
3713
|
+
# * Keys must begin with a letter.
|
3714
|
+
#
|
3715
|
+
# * Keys must be at least two characters long.
|
3716
|
+
#
|
3717
|
+
# * Keys can only contain letters, numbers, and the underscore
|
3718
|
+
# character (\_).
|
3719
|
+
#
|
3720
|
+
# * Values can be up to 512 characters long.
|
3721
|
+
#
|
3722
|
+
# * You can configure up to 50 key-value pairs in a GraphQL API.
|
3723
|
+
#
|
3724
|
+
# You can create a list of environmental variables by adding it to the
|
3725
|
+
# `environmentVariables` payload as a list in the format
|
3726
|
+
# `\{"key1":"value1","key2":"value2", …\}`. Note that each call of the
|
3727
|
+
# `PutGraphqlApiEnvironmentVariables` action will result in the
|
3728
|
+
# overwriting of the existing environmental variable list of that API.
|
3729
|
+
# This means the existing environmental variables will be lost. To
|
3730
|
+
# avoid this, you must include all existing and new environmental
|
3731
|
+
# variables in the list each time you call this action.
|
3732
|
+
# @return [Hash<String,String>]
|
3733
|
+
#
|
3734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariablesRequest AWS API Documentation
|
3735
|
+
#
|
3736
|
+
class PutGraphqlApiEnvironmentVariablesRequest < Struct.new(
|
3737
|
+
:api_id,
|
3738
|
+
:environment_variables)
|
3739
|
+
SENSITIVE = []
|
3740
|
+
include Aws::Structure
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# @!attribute [rw] environment_variables
|
3744
|
+
# The payload containing each environmental variable in the `"key" :
|
3745
|
+
# "value"` format.
|
3746
|
+
# @return [Hash<String,String>]
|
3747
|
+
#
|
3748
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariablesResponse AWS API Documentation
|
3749
|
+
#
|
3750
|
+
class PutGraphqlApiEnvironmentVariablesResponse < Struct.new(
|
3751
|
+
:environment_variables)
|
3752
|
+
SENSITIVE = []
|
3753
|
+
include Aws::Structure
|
3754
|
+
end
|
3755
|
+
|
3451
3756
|
# Contains the metadata required to introspect the RDS cluster.
|
3452
3757
|
#
|
3453
3758
|
# @!attribute [rw] resource_arn
|
@@ -3605,6 +3910,17 @@ module Aws::AppSync
|
|
3605
3910
|
# `runtime` value must be `APPSYNC_JS`.
|
3606
3911
|
# @return [String]
|
3607
3912
|
#
|
3913
|
+
# @!attribute [rw] metrics_config
|
3914
|
+
# Enables or disables enhanced resolver metrics for specified
|
3915
|
+
# resolvers. Note that `metricsConfig` won't be used unless the
|
3916
|
+
# `resolverLevelMetricsBehavior` value is set to
|
3917
|
+
# `PER_RESOLVER_METRICS`. If the `resolverLevelMetricsBehavior` is set
|
3918
|
+
# to `FULL_REQUEST_RESOLVER_METRICS` instead, `metricsConfig` will be
|
3919
|
+
# ignored. However, you can still set its value.
|
3920
|
+
#
|
3921
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
3922
|
+
# @return [String]
|
3923
|
+
#
|
3608
3924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver AWS API Documentation
|
3609
3925
|
#
|
3610
3926
|
class Resolver < Struct.new(
|
@@ -3620,7 +3936,8 @@ module Aws::AppSync
|
|
3620
3936
|
:caching_config,
|
3621
3937
|
:max_batch_size,
|
3622
3938
|
:runtime,
|
3623
|
-
:code
|
3939
|
+
:code,
|
3940
|
+
:metrics_config)
|
3624
3941
|
SENSITIVE = []
|
3625
3942
|
include Aws::Structure
|
3626
3943
|
end
|
@@ -4079,13 +4396,28 @@ module Aws::AppSync
|
|
4079
4396
|
# * **R4\_8XLARGE**: A r4.8xlarge instance type.
|
4080
4397
|
# @return [String]
|
4081
4398
|
#
|
4399
|
+
# @!attribute [rw] health_metrics_config
|
4400
|
+
# Controls how cache health metrics will be emitted to CloudWatch.
|
4401
|
+
# Cache health metrics include:
|
4402
|
+
#
|
4403
|
+
# * NetworkBandwidthOutAllowanceExceeded: The number of times a
|
4404
|
+
# specified GraphQL operation was called.
|
4405
|
+
#
|
4406
|
+
# * EngineCPUUtilization: The number of GraphQL errors that occurred
|
4407
|
+
# during a specified GraphQL operation.
|
4408
|
+
#
|
4409
|
+
# Metrics will be recorded by API ID. You can set the value to
|
4410
|
+
# `ENABLED` or `DISABLED`.
|
4411
|
+
# @return [String]
|
4412
|
+
#
|
4082
4413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCacheRequest AWS API Documentation
|
4083
4414
|
#
|
4084
4415
|
class UpdateApiCacheRequest < Struct.new(
|
4085
4416
|
:api_id,
|
4086
4417
|
:ttl,
|
4087
4418
|
:api_caching_behavior,
|
4088
|
-
:type
|
4419
|
+
:type,
|
4420
|
+
:health_metrics_config)
|
4089
4421
|
SENSITIVE = []
|
4090
4422
|
include Aws::Structure
|
4091
4423
|
end
|
@@ -4198,6 +4530,18 @@ module Aws::AppSync
|
|
4198
4530
|
# The new Amazon EventBridge settings.
|
4199
4531
|
# @return [Types::EventBridgeDataSourceConfig]
|
4200
4532
|
#
|
4533
|
+
# @!attribute [rw] metrics_config
|
4534
|
+
# Enables or disables enhanced data source metrics for specified data
|
4535
|
+
# sources. Note that `metricsConfig` won't be used unless the
|
4536
|
+
# `dataSourceLevelMetricsBehavior` value is set to
|
4537
|
+
# `PER_DATA_SOURCE_METRICS`. If the `dataSourceLevelMetricsBehavior`
|
4538
|
+
# is set to `FULL_REQUEST_DATA_SOURCE_METRICS` instead,
|
4539
|
+
# `metricsConfig` will be ignored. However, you can still set its
|
4540
|
+
# value.
|
4541
|
+
#
|
4542
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
4543
|
+
# @return [String]
|
4544
|
+
#
|
4201
4545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest AWS API Documentation
|
4202
4546
|
#
|
4203
4547
|
class UpdateDataSourceRequest < Struct.new(
|
@@ -4212,7 +4556,8 @@ module Aws::AppSync
|
|
4212
4556
|
:open_search_service_config,
|
4213
4557
|
:http_config,
|
4214
4558
|
:relational_database_config,
|
4215
|
-
:event_bridge_config
|
4559
|
+
:event_bridge_config,
|
4560
|
+
:metrics_config)
|
4216
4561
|
SENSITIVE = []
|
4217
4562
|
include Aws::Structure
|
4218
4563
|
end
|
@@ -4438,6 +4783,10 @@ module Aws::AppSync
|
|
4438
4783
|
# operation falls out of bounds.
|
4439
4784
|
# @return [Integer]
|
4440
4785
|
#
|
4786
|
+
# @!attribute [rw] enhanced_metrics_config
|
4787
|
+
# The `enhancedMetricsConfig` object.
|
4788
|
+
# @return [Types::EnhancedMetricsConfig]
|
4789
|
+
#
|
4441
4790
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
4442
4791
|
#
|
4443
4792
|
class UpdateGraphqlApiRequest < Struct.new(
|
@@ -4454,7 +4803,8 @@ module Aws::AppSync
|
|
4454
4803
|
:owner_contact,
|
4455
4804
|
:introspection_config,
|
4456
4805
|
:query_depth_limit,
|
4457
|
-
:resolver_count_limit
|
4806
|
+
:resolver_count_limit,
|
4807
|
+
:enhanced_metrics_config)
|
4458
4808
|
SENSITIVE = []
|
4459
4809
|
include Aws::Structure
|
4460
4810
|
end
|
@@ -4545,6 +4895,17 @@ module Aws::AppSync
|
|
4545
4895
|
# `runtime` value must be `APPSYNC_JS`.
|
4546
4896
|
# @return [String]
|
4547
4897
|
#
|
4898
|
+
# @!attribute [rw] metrics_config
|
4899
|
+
# Enables or disables enhanced resolver metrics for specified
|
4900
|
+
# resolvers. Note that `metricsConfig` won't be used unless the
|
4901
|
+
# `resolverLevelMetricsBehavior` value is set to
|
4902
|
+
# `PER_RESOLVER_METRICS`. If the `resolverLevelMetricsBehavior` is set
|
4903
|
+
# to `FULL_REQUEST_RESOLVER_METRICS` instead, `metricsConfig` will be
|
4904
|
+
# ignored. However, you can still set its value.
|
4905
|
+
#
|
4906
|
+
# `metricsConfig` can be `ENABLED` or `DISABLED`.
|
4907
|
+
# @return [String]
|
4908
|
+
#
|
4548
4909
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest AWS API Documentation
|
4549
4910
|
#
|
4550
4911
|
class UpdateResolverRequest < Struct.new(
|
@@ -4560,7 +4921,8 @@ module Aws::AppSync
|
|
4560
4921
|
:caching_config,
|
4561
4922
|
:max_batch_size,
|
4562
4923
|
:runtime,
|
4563
|
-
:code
|
4924
|
+
:code,
|
4925
|
+
:metrics_config)
|
4564
4926
|
SENSITIVE = []
|
4565
4927
|
include Aws::Structure
|
4566
4928
|
end
|