aws-sdk-appsync 1.69.0 → 1.71.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1 -0
- data/lib/aws-sdk-appsync/types.rb +120 -3
- data/lib/aws-sdk-appsync.rb +1 -1
- data/sig/client.rbs +1093 -0
- data/sig/errors.rbs +51 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +1231 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6adfec1e46b0031e223eb53db69ce1cef7debab9ea310566aad11e74d2f13f1e
|
4
|
+
data.tar.gz: 1dd0e4eb50b103c6f04599a49c6b74c8c2c6bf6829fd85c6f84f00657027b89e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76954a4afb6bc4df8b8822eed23ae39d249ee8fbe23b5b48d6965f91539840ec0cc34f83300ca0f733463520ca64d4ef8df67af14ebd48a85c5335981859f2f2
|
7
|
+
data.tar.gz: d9c5118760316d8bddd7d072958bd65e00a0b900b6ac09f86c945cc62bb04bc26bc3007cdf0a811f8b1a66e42ba9d5f58b1edefe0b54878df88d67ed229650c3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2024-01-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.70.0 (2023-12-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds additional configurations on GraphQL APIs for limits on query depth, resolver count, and introspection
|
13
|
+
|
4
14
|
1.69.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.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.71.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"))
|
@@ -14,6 +14,7 @@ module Aws::AppSync
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::AppSync::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -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
|