aws-sdk-appsync 1.68.0 → 1.70.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 +85 -1
- data/lib/aws-sdk-appsync/client_api.rb +12 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +3 -2
- data/lib/aws-sdk-appsync/types.rb +120 -3
- data/lib/aws-sdk-appsync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e3c13699726336270b912bfdeb162a2d44a0497093e5ecf981969d38c745fbe
|
4
|
+
data.tar.gz: 11dd1b08794cbb936d6e05fab873f7a834e5a7b472c7c4239c5d6a17a785cfe9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e546c54c18cffb4a7ca1e78410f536e2e5b34a6150bcf9d8a6613b665b41829a2798f20124e262337435ce105f671ddc6200dc9f89476e5f349dcb753fe1b2c
|
7
|
+
data.tar.gz: 4eecaa6fc64665ce779ecf96d038ca24a7e1da5dfe0739a0ed8b27acd2b9333a4625b7159c3ec2e45b2813571159ffde7ce0e691edd18d324cbcab59cd98fae7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2023-12-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds additional configurations on GraphQL APIs for limits on query depth, resolver count, and introspection
|
8
|
+
|
9
|
+
1.69.0 (2023-11-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.68.0 (2023-11-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -1032,6 +1032,39 @@ module Aws::AppSync
|
|
1032
1032
|
# This field accepts any string input with a length of 0 - 256
|
1033
1033
|
# characters.
|
1034
1034
|
#
|
1035
|
+
# @option params [String] :introspection_config
|
1036
|
+
# Sets the value of the GraphQL API to enable (`ENABLED`) or disable
|
1037
|
+
# (`DISABLED`) introspection. If no value is provided, the introspection
|
1038
|
+
# configuration will be set to `ENABLED` by default. This field will
|
1039
|
+
# produce an error if the operation attempts to use the introspection
|
1040
|
+
# feature while this field is disabled.
|
1041
|
+
#
|
1042
|
+
# For more information about introspection, see [GraphQL
|
1043
|
+
# introspection][1].
|
1044
|
+
#
|
1045
|
+
#
|
1046
|
+
#
|
1047
|
+
# [1]: https://graphql.org/learn/introspection/
|
1048
|
+
#
|
1049
|
+
# @option params [Integer] :query_depth_limit
|
1050
|
+
# The maximum depth a query can have in a single request. Depth refers
|
1051
|
+
# to the amount of nested levels allowed in the body of query. The
|
1052
|
+
# default value is `0` (or unspecified), which indicates there's no
|
1053
|
+
# depth limit. If you set a limit, it can be between `1` and `75` nested
|
1054
|
+
# levels. This field will produce a limit error if the operation falls
|
1055
|
+
# out of bounds.
|
1056
|
+
#
|
1057
|
+
# Note that fields can still be set to nullable or non-nullable. If a
|
1058
|
+
# non-nullable field produces an error, the error will be thrown upwards
|
1059
|
+
# to the first nullable field available.
|
1060
|
+
#
|
1061
|
+
# @option params [Integer] :resolver_count_limit
|
1062
|
+
# The maximum number of resolvers that can be invoked in a single
|
1063
|
+
# request. The default value is `0` (or unspecified), which will set the
|
1064
|
+
# limit to `10000`. When specified, the limit value can be between `1`
|
1065
|
+
# and `10000`. This field will produce a limit error if the operation
|
1066
|
+
# falls out of bounds.
|
1067
|
+
#
|
1035
1068
|
# @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1036
1069
|
#
|
1037
1070
|
# * {Types::CreateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
|
@@ -1092,6 +1125,9 @@ module Aws::AppSync
|
|
1092
1125
|
# api_type: "GRAPHQL", # accepts GRAPHQL, MERGED
|
1093
1126
|
# merged_api_execution_role_arn: "String",
|
1094
1127
|
# owner_contact: "String",
|
1128
|
+
# introspection_config: "ENABLED", # accepts ENABLED, DISABLED
|
1129
|
+
# query_depth_limit: 1,
|
1130
|
+
# resolver_count_limit: 1,
|
1095
1131
|
# })
|
1096
1132
|
#
|
1097
1133
|
# @example Response structure
|
@@ -1139,6 +1175,9 @@ module Aws::AppSync
|
|
1139
1175
|
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
1140
1176
|
# resp.graphql_api.owner #=> String
|
1141
1177
|
# resp.graphql_api.owner_contact #=> String
|
1178
|
+
# resp.graphql_api.introspection_config #=> String, one of "ENABLED", "DISABLED"
|
1179
|
+
# resp.graphql_api.query_depth_limit #=> Integer
|
1180
|
+
# resp.graphql_api.resolver_count_limit #=> Integer
|
1142
1181
|
#
|
1143
1182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
|
1144
1183
|
#
|
@@ -2099,6 +2138,9 @@ module Aws::AppSync
|
|
2099
2138
|
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
2100
2139
|
# resp.graphql_api.owner #=> String
|
2101
2140
|
# resp.graphql_api.owner_contact #=> String
|
2141
|
+
# resp.graphql_api.introspection_config #=> String, one of "ENABLED", "DISABLED"
|
2142
|
+
# resp.graphql_api.query_depth_limit #=> Integer
|
2143
|
+
# resp.graphql_api.resolver_count_limit #=> Integer
|
2102
2144
|
#
|
2103
2145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
|
2104
2146
|
#
|
@@ -2609,6 +2651,9 @@ module Aws::AppSync
|
|
2609
2651
|
# resp.graphql_apis[0].merged_api_execution_role_arn #=> String
|
2610
2652
|
# resp.graphql_apis[0].owner #=> String
|
2611
2653
|
# resp.graphql_apis[0].owner_contact #=> String
|
2654
|
+
# resp.graphql_apis[0].introspection_config #=> String, one of "ENABLED", "DISABLED"
|
2655
|
+
# resp.graphql_apis[0].query_depth_limit #=> Integer
|
2656
|
+
# resp.graphql_apis[0].resolver_count_limit #=> Integer
|
2612
2657
|
# resp.next_token #=> String
|
2613
2658
|
#
|
2614
2659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
|
@@ -3556,6 +3601,39 @@ module Aws::AppSync
|
|
3556
3601
|
# This field accepts any string input with a length of 0 - 256
|
3557
3602
|
# characters.
|
3558
3603
|
#
|
3604
|
+
# @option params [String] :introspection_config
|
3605
|
+
# Sets the value of the GraphQL API to enable (`ENABLED`) or disable
|
3606
|
+
# (`DISABLED`) introspection. If no value is provided, the introspection
|
3607
|
+
# configuration will be set to `ENABLED` by default. This field will
|
3608
|
+
# produce an error if the operation attempts to use the introspection
|
3609
|
+
# feature while this field is disabled.
|
3610
|
+
#
|
3611
|
+
# For more information about introspection, see [GraphQL
|
3612
|
+
# introspection][1].
|
3613
|
+
#
|
3614
|
+
#
|
3615
|
+
#
|
3616
|
+
# [1]: https://graphql.org/learn/introspection/
|
3617
|
+
#
|
3618
|
+
# @option params [Integer] :query_depth_limit
|
3619
|
+
# The maximum depth a query can have in a single request. Depth refers
|
3620
|
+
# to the amount of nested levels allowed in the body of query. The
|
3621
|
+
# default value is `0` (or unspecified), which indicates there's no
|
3622
|
+
# depth limit. If you set a limit, it can be between `1` and `75` nested
|
3623
|
+
# levels. This field will produce a limit error if the operation falls
|
3624
|
+
# out of bounds.
|
3625
|
+
#
|
3626
|
+
# Note that fields can still be set to nullable or non-nullable. If a
|
3627
|
+
# non-nullable field produces an error, the error will be thrown upwards
|
3628
|
+
# to the first nullable field available.
|
3629
|
+
#
|
3630
|
+
# @option params [Integer] :resolver_count_limit
|
3631
|
+
# The maximum number of resolvers that can be invoked in a single
|
3632
|
+
# request. The default value is `0` (or unspecified), which will set the
|
3633
|
+
# limit to `10000`. When specified, the limit value can be between `1`
|
3634
|
+
# and `10000`. This field will produce a limit error if the operation
|
3635
|
+
# falls out of bounds.
|
3636
|
+
#
|
3559
3637
|
# @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3560
3638
|
#
|
3561
3639
|
# * {Types::UpdateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
|
@@ -3612,6 +3690,9 @@ module Aws::AppSync
|
|
3612
3690
|
# },
|
3613
3691
|
# merged_api_execution_role_arn: "String",
|
3614
3692
|
# owner_contact: "String",
|
3693
|
+
# introspection_config: "ENABLED", # accepts ENABLED, DISABLED
|
3694
|
+
# query_depth_limit: 1,
|
3695
|
+
# resolver_count_limit: 1,
|
3615
3696
|
# })
|
3616
3697
|
#
|
3617
3698
|
# @example Response structure
|
@@ -3659,6 +3740,9 @@ module Aws::AppSync
|
|
3659
3740
|
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
3660
3741
|
# resp.graphql_api.owner #=> String
|
3661
3742
|
# resp.graphql_api.owner_contact #=> String
|
3743
|
+
# resp.graphql_api.introspection_config #=> String, one of "ENABLED", "DISABLED"
|
3744
|
+
# resp.graphql_api.query_depth_limit #=> Integer
|
3745
|
+
# resp.graphql_api.resolver_count_limit #=> Integer
|
3662
3746
|
#
|
3663
3747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
|
3664
3748
|
#
|
@@ -3914,7 +3998,7 @@ module Aws::AppSync
|
|
3914
3998
|
params: params,
|
3915
3999
|
config: config)
|
3916
4000
|
context[:gem_name] = 'aws-sdk-appsync'
|
3917
|
-
context[:gem_version] = '1.
|
4001
|
+
context[:gem_version] = '1.70.0'
|
3918
4002
|
Seahorse::Client::Request.new(handlers, context)
|
3919
4003
|
end
|
3920
4004
|
|
@@ -159,6 +159,7 @@ module Aws::AppSync
|
|
159
159
|
GetSourceApiAssociationResponse = Shapes::StructureShape.new(name: 'GetSourceApiAssociationResponse')
|
160
160
|
GetTypeRequest = Shapes::StructureShape.new(name: 'GetTypeRequest')
|
161
161
|
GetTypeResponse = Shapes::StructureShape.new(name: 'GetTypeResponse')
|
162
|
+
GraphQLApiIntrospectionConfig = Shapes::StringShape.new(name: 'GraphQLApiIntrospectionConfig')
|
162
163
|
GraphQLApiType = Shapes::StringShape.new(name: 'GraphQLApiType')
|
163
164
|
GraphQLApiVisibility = Shapes::StringShape.new(name: 'GraphQLApiVisibility')
|
164
165
|
GraphQLSchemaException = Shapes::StructureShape.new(name: 'GraphQLSchemaException')
|
@@ -207,6 +208,7 @@ module Aws::AppSync
|
|
207
208
|
Ownership = Shapes::StringShape.new(name: 'Ownership')
|
208
209
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
209
210
|
PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
|
211
|
+
QueryDepthLimit = Shapes::IntegerShape.new(name: 'QueryDepthLimit')
|
210
212
|
RdsDataApiConfig = Shapes::StructureShape.new(name: 'RdsDataApiConfig')
|
211
213
|
RdsDataApiConfigDatabaseName = Shapes::StringShape.new(name: 'RdsDataApiConfigDatabaseName')
|
212
214
|
RdsDataApiConfigResourceArn = Shapes::StringShape.new(name: 'RdsDataApiConfigResourceArn')
|
@@ -215,6 +217,7 @@ module Aws::AppSync
|
|
215
217
|
RelationalDatabaseDataSourceConfig = Shapes::StructureShape.new(name: 'RelationalDatabaseDataSourceConfig')
|
216
218
|
RelationalDatabaseSourceType = Shapes::StringShape.new(name: 'RelationalDatabaseSourceType')
|
217
219
|
Resolver = Shapes::StructureShape.new(name: 'Resolver')
|
220
|
+
ResolverCountLimit = Shapes::IntegerShape.new(name: 'ResolverCountLimit')
|
218
221
|
ResolverKind = Shapes::StringShape.new(name: 'ResolverKind')
|
219
222
|
Resolvers = Shapes::ListShape.new(name: 'Resolvers')
|
220
223
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
@@ -454,6 +457,9 @@ module Aws::AppSync
|
|
454
457
|
CreateGraphqlApiRequest.add_member(:api_type, Shapes::ShapeRef.new(shape: GraphQLApiType, location_name: "apiType"))
|
455
458
|
CreateGraphqlApiRequest.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
|
456
459
|
CreateGraphqlApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
|
460
|
+
CreateGraphqlApiRequest.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
|
461
|
+
CreateGraphqlApiRequest.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
|
462
|
+
CreateGraphqlApiRequest.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
|
457
463
|
CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
|
458
464
|
|
459
465
|
CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
|
@@ -792,6 +798,9 @@ module Aws::AppSync
|
|
792
798
|
GraphqlApi.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
|
793
799
|
GraphqlApi.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "owner"))
|
794
800
|
GraphqlApi.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
|
801
|
+
GraphqlApi.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
|
802
|
+
GraphqlApi.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
|
803
|
+
GraphqlApi.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
|
795
804
|
GraphqlApi.struct_class = Types::GraphqlApi
|
796
805
|
|
797
806
|
GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
|
@@ -1130,6 +1139,9 @@ module Aws::AppSync
|
|
1130
1139
|
UpdateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
|
1131
1140
|
UpdateGraphqlApiRequest.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
|
1132
1141
|
UpdateGraphqlApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
|
1142
|
+
UpdateGraphqlApiRequest.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
|
1143
|
+
UpdateGraphqlApiRequest.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
|
1144
|
+
UpdateGraphqlApiRequest.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
|
1133
1145
|
UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
|
1134
1146
|
|
1135
1147
|
UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
|
@@ -25,16 +25,17 @@ module Aws::AppSync
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -1063,6 +1063,42 @@ module Aws::AppSync
|
|
1063
1063
|
# characters.
|
1064
1064
|
# @return [String]
|
1065
1065
|
#
|
1066
|
+
# @!attribute [rw] introspection_config
|
1067
|
+
# Sets the value of the GraphQL API to enable (`ENABLED`) or disable
|
1068
|
+
# (`DISABLED`) introspection. If no value is provided, the
|
1069
|
+
# introspection configuration will be set to `ENABLED` by default.
|
1070
|
+
# This field will produce an error if the operation attempts to use
|
1071
|
+
# the introspection feature while this field is disabled.
|
1072
|
+
#
|
1073
|
+
# For more information about introspection, see [GraphQL
|
1074
|
+
# introspection][1].
|
1075
|
+
#
|
1076
|
+
#
|
1077
|
+
#
|
1078
|
+
# [1]: https://graphql.org/learn/introspection/
|
1079
|
+
# @return [String]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] query_depth_limit
|
1082
|
+
# The maximum depth a query can have in a single request. Depth refers
|
1083
|
+
# to the amount of nested levels allowed in the body of query. The
|
1084
|
+
# default value is `0` (or unspecified), which indicates there's no
|
1085
|
+
# depth limit. If you set a limit, it can be between `1` and `75`
|
1086
|
+
# nested levels. This field will produce a limit error if the
|
1087
|
+
# operation falls out of bounds.
|
1088
|
+
#
|
1089
|
+
# Note that fields can still be set to nullable or non-nullable. If a
|
1090
|
+
# non-nullable field produces an error, the error will be thrown
|
1091
|
+
# upwards to the first nullable field available.
|
1092
|
+
# @return [Integer]
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] resolver_count_limit
|
1095
|
+
# The maximum number of resolvers that can be invoked in a single
|
1096
|
+
# request. The default value is `0` (or unspecified), which will set
|
1097
|
+
# the limit to `10000`. When specified, the limit value can be between
|
1098
|
+
# `1` and `10000`. This field will produce a limit error if the
|
1099
|
+
# operation falls out of bounds.
|
1100
|
+
# @return [Integer]
|
1101
|
+
#
|
1066
1102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
1067
1103
|
#
|
1068
1104
|
class CreateGraphqlApiRequest < Struct.new(
|
@@ -1078,7 +1114,10 @@ module Aws::AppSync
|
|
1078
1114
|
:visibility,
|
1079
1115
|
:api_type,
|
1080
1116
|
:merged_api_execution_role_arn,
|
1081
|
-
:owner_contact
|
1117
|
+
:owner_contact,
|
1118
|
+
:introspection_config,
|
1119
|
+
:query_depth_limit,
|
1120
|
+
:resolver_count_limit)
|
1082
1121
|
SENSITIVE = []
|
1083
1122
|
include Aws::Structure
|
1084
1123
|
end
|
@@ -2613,6 +2652,42 @@ module Aws::AppSync
|
|
2613
2652
|
# characters.
|
2614
2653
|
# @return [String]
|
2615
2654
|
#
|
2655
|
+
# @!attribute [rw] introspection_config
|
2656
|
+
# Sets the value of the GraphQL API to enable (`ENABLED`) or disable
|
2657
|
+
# (`DISABLED`) introspection. If no value is provided, the
|
2658
|
+
# introspection configuration will be set to `ENABLED` by default.
|
2659
|
+
# This field will produce an error if the operation attempts to use
|
2660
|
+
# the introspection feature while this field is disabled.
|
2661
|
+
#
|
2662
|
+
# For more information about introspection, see [GraphQL
|
2663
|
+
# introspection][1].
|
2664
|
+
#
|
2665
|
+
#
|
2666
|
+
#
|
2667
|
+
# [1]: https://graphql.org/learn/introspection/
|
2668
|
+
# @return [String]
|
2669
|
+
#
|
2670
|
+
# @!attribute [rw] query_depth_limit
|
2671
|
+
# The maximum depth a query can have in a single request. Depth refers
|
2672
|
+
# to the amount of nested levels allowed in the body of query. The
|
2673
|
+
# default value is `0` (or unspecified), which indicates there's no
|
2674
|
+
# depth limit. If you set a limit, it can be between `1` and `75`
|
2675
|
+
# nested levels. This field will produce a limit error if the
|
2676
|
+
# operation falls out of bounds.
|
2677
|
+
#
|
2678
|
+
# Note that fields can still be set to nullable or non-nullable. If a
|
2679
|
+
# non-nullable field produces an error, the error will be thrown
|
2680
|
+
# upwards to the first nullable field available.
|
2681
|
+
# @return [Integer]
|
2682
|
+
#
|
2683
|
+
# @!attribute [rw] resolver_count_limit
|
2684
|
+
# The maximum number of resolvers that can be invoked in a single
|
2685
|
+
# request. The default value is `0` (or unspecified), which will set
|
2686
|
+
# the limit to `10000`. When specified, the limit value can be between
|
2687
|
+
# `1` and `10000`. This field will produce a limit error if the
|
2688
|
+
# operation falls out of bounds.
|
2689
|
+
# @return [Integer]
|
2690
|
+
#
|
2616
2691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
2617
2692
|
#
|
2618
2693
|
class GraphqlApi < Struct.new(
|
@@ -2634,7 +2709,10 @@ module Aws::AppSync
|
|
2634
2709
|
:api_type,
|
2635
2710
|
:merged_api_execution_role_arn,
|
2636
2711
|
:owner,
|
2637
|
-
:owner_contact
|
2712
|
+
:owner_contact,
|
2713
|
+
:introspection_config,
|
2714
|
+
:query_depth_limit,
|
2715
|
+
:resolver_count_limit)
|
2638
2716
|
SENSITIVE = []
|
2639
2717
|
include Aws::Structure
|
2640
2718
|
end
|
@@ -4324,6 +4402,42 @@ module Aws::AppSync
|
|
4324
4402
|
# characters.
|
4325
4403
|
# @return [String]
|
4326
4404
|
#
|
4405
|
+
# @!attribute [rw] introspection_config
|
4406
|
+
# Sets the value of the GraphQL API to enable (`ENABLED`) or disable
|
4407
|
+
# (`DISABLED`) introspection. If no value is provided, the
|
4408
|
+
# introspection configuration will be set to `ENABLED` by default.
|
4409
|
+
# This field will produce an error if the operation attempts to use
|
4410
|
+
# the introspection feature while this field is disabled.
|
4411
|
+
#
|
4412
|
+
# For more information about introspection, see [GraphQL
|
4413
|
+
# introspection][1].
|
4414
|
+
#
|
4415
|
+
#
|
4416
|
+
#
|
4417
|
+
# [1]: https://graphql.org/learn/introspection/
|
4418
|
+
# @return [String]
|
4419
|
+
#
|
4420
|
+
# @!attribute [rw] query_depth_limit
|
4421
|
+
# The maximum depth a query can have in a single request. Depth refers
|
4422
|
+
# to the amount of nested levels allowed in the body of query. The
|
4423
|
+
# default value is `0` (or unspecified), which indicates there's no
|
4424
|
+
# depth limit. If you set a limit, it can be between `1` and `75`
|
4425
|
+
# nested levels. This field will produce a limit error if the
|
4426
|
+
# operation falls out of bounds.
|
4427
|
+
#
|
4428
|
+
# Note that fields can still be set to nullable or non-nullable. If a
|
4429
|
+
# non-nullable field produces an error, the error will be thrown
|
4430
|
+
# upwards to the first nullable field available.
|
4431
|
+
# @return [Integer]
|
4432
|
+
#
|
4433
|
+
# @!attribute [rw] resolver_count_limit
|
4434
|
+
# The maximum number of resolvers that can be invoked in a single
|
4435
|
+
# request. The default value is `0` (or unspecified), which will set
|
4436
|
+
# the limit to `10000`. When specified, the limit value can be between
|
4437
|
+
# `1` and `10000`. This field will produce a limit error if the
|
4438
|
+
# operation falls out of bounds.
|
4439
|
+
# @return [Integer]
|
4440
|
+
#
|
4327
4441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
4328
4442
|
#
|
4329
4443
|
class UpdateGraphqlApiRequest < Struct.new(
|
@@ -4337,7 +4451,10 @@ module Aws::AppSync
|
|
4337
4451
|
:xray_enabled,
|
4338
4452
|
:lambda_authorizer_config,
|
4339
4453
|
:merged_api_execution_role_arn,
|
4340
|
-
:owner_contact
|
4454
|
+
:owner_contact,
|
4455
|
+
:introspection_config,
|
4456
|
+
:query_depth_limit,
|
4457
|
+
:resolver_count_limit)
|
4341
4458
|
SENSITIVE = []
|
4342
4459
|
include Aws::Structure
|
4343
4460
|
end
|
data/lib/aws-sdk-appsync.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|