aws-sdk-appsync 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-appsync.rb +47 -0
- data/lib/aws-sdk-appsync/client.rb +1304 -0
- data/lib/aws-sdk-appsync/client_api.rb +737 -0
- data/lib/aws-sdk-appsync/customizations.rb +0 -0
- data/lib/aws-sdk-appsync/errors.rb +14 -0
- data/lib/aws-sdk-appsync/resource.rb +23 -0
- data/lib/aws-sdk-appsync/types.rb +1474 -0
- metadata +82 -0
@@ -0,0 +1,737 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::AppSync
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ApiKey = Shapes::StructureShape.new(name: 'ApiKey')
|
15
|
+
ApiKeyLimitExceededException = Shapes::StructureShape.new(name: 'ApiKeyLimitExceededException')
|
16
|
+
ApiKeys = Shapes::ListShape.new(name: 'ApiKeys')
|
17
|
+
ApiLimitExceededException = Shapes::StructureShape.new(name: 'ApiLimitExceededException')
|
18
|
+
AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
|
19
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
20
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
21
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
22
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
23
|
+
CreateApiKeyRequest = Shapes::StructureShape.new(name: 'CreateApiKeyRequest')
|
24
|
+
CreateApiKeyResponse = Shapes::StructureShape.new(name: 'CreateApiKeyResponse')
|
25
|
+
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
26
|
+
CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
|
27
|
+
CreateGraphqlApiRequest = Shapes::StructureShape.new(name: 'CreateGraphqlApiRequest')
|
28
|
+
CreateGraphqlApiResponse = Shapes::StructureShape.new(name: 'CreateGraphqlApiResponse')
|
29
|
+
CreateResolverRequest = Shapes::StructureShape.new(name: 'CreateResolverRequest')
|
30
|
+
CreateResolverResponse = Shapes::StructureShape.new(name: 'CreateResolverResponse')
|
31
|
+
CreateTypeRequest = Shapes::StructureShape.new(name: 'CreateTypeRequest')
|
32
|
+
CreateTypeResponse = Shapes::StructureShape.new(name: 'CreateTypeResponse')
|
33
|
+
DataSource = Shapes::StructureShape.new(name: 'DataSource')
|
34
|
+
DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
|
35
|
+
DataSources = Shapes::ListShape.new(name: 'DataSources')
|
36
|
+
DefaultAction = Shapes::StringShape.new(name: 'DefaultAction')
|
37
|
+
DeleteApiKeyRequest = Shapes::StructureShape.new(name: 'DeleteApiKeyRequest')
|
38
|
+
DeleteApiKeyResponse = Shapes::StructureShape.new(name: 'DeleteApiKeyResponse')
|
39
|
+
DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
|
40
|
+
DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
|
41
|
+
DeleteGraphqlApiRequest = Shapes::StructureShape.new(name: 'DeleteGraphqlApiRequest')
|
42
|
+
DeleteGraphqlApiResponse = Shapes::StructureShape.new(name: 'DeleteGraphqlApiResponse')
|
43
|
+
DeleteResolverRequest = Shapes::StructureShape.new(name: 'DeleteResolverRequest')
|
44
|
+
DeleteResolverResponse = Shapes::StructureShape.new(name: 'DeleteResolverResponse')
|
45
|
+
DeleteTypeRequest = Shapes::StructureShape.new(name: 'DeleteTypeRequest')
|
46
|
+
DeleteTypeResponse = Shapes::StructureShape.new(name: 'DeleteTypeResponse')
|
47
|
+
DynamodbDataSourceConfig = Shapes::StructureShape.new(name: 'DynamodbDataSourceConfig')
|
48
|
+
ElasticsearchDataSourceConfig = Shapes::StructureShape.new(name: 'ElasticsearchDataSourceConfig')
|
49
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
50
|
+
GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
|
51
|
+
GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
|
52
|
+
GetGraphqlApiRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiRequest')
|
53
|
+
GetGraphqlApiResponse = Shapes::StructureShape.new(name: 'GetGraphqlApiResponse')
|
54
|
+
GetIntrospectionSchemaRequest = Shapes::StructureShape.new(name: 'GetIntrospectionSchemaRequest')
|
55
|
+
GetIntrospectionSchemaResponse = Shapes::StructureShape.new(name: 'GetIntrospectionSchemaResponse')
|
56
|
+
GetResolverRequest = Shapes::StructureShape.new(name: 'GetResolverRequest')
|
57
|
+
GetResolverResponse = Shapes::StructureShape.new(name: 'GetResolverResponse')
|
58
|
+
GetSchemaCreationStatusRequest = Shapes::StructureShape.new(name: 'GetSchemaCreationStatusRequest')
|
59
|
+
GetSchemaCreationStatusResponse = Shapes::StructureShape.new(name: 'GetSchemaCreationStatusResponse')
|
60
|
+
GetTypeRequest = Shapes::StructureShape.new(name: 'GetTypeRequest')
|
61
|
+
GetTypeResponse = Shapes::StructureShape.new(name: 'GetTypeResponse')
|
62
|
+
GraphQLSchemaException = Shapes::StructureShape.new(name: 'GraphQLSchemaException')
|
63
|
+
GraphqlApi = Shapes::StructureShape.new(name: 'GraphqlApi')
|
64
|
+
GraphqlApis = Shapes::ListShape.new(name: 'GraphqlApis')
|
65
|
+
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
66
|
+
LambdaDataSourceConfig = Shapes::StructureShape.new(name: 'LambdaDataSourceConfig')
|
67
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
68
|
+
ListApiKeysRequest = Shapes::StructureShape.new(name: 'ListApiKeysRequest')
|
69
|
+
ListApiKeysResponse = Shapes::StructureShape.new(name: 'ListApiKeysResponse')
|
70
|
+
ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
|
71
|
+
ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
|
72
|
+
ListGraphqlApisRequest = Shapes::StructureShape.new(name: 'ListGraphqlApisRequest')
|
73
|
+
ListGraphqlApisResponse = Shapes::StructureShape.new(name: 'ListGraphqlApisResponse')
|
74
|
+
ListResolversRequest = Shapes::StructureShape.new(name: 'ListResolversRequest')
|
75
|
+
ListResolversResponse = Shapes::StructureShape.new(name: 'ListResolversResponse')
|
76
|
+
ListTypesRequest = Shapes::StructureShape.new(name: 'ListTypesRequest')
|
77
|
+
ListTypesResponse = Shapes::StructureShape.new(name: 'ListTypesResponse')
|
78
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
79
|
+
MapOfStringToString = Shapes::MapShape.new(name: 'MapOfStringToString')
|
80
|
+
MappingTemplate = Shapes::StringShape.new(name: 'MappingTemplate')
|
81
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
82
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
83
|
+
OutputType = Shapes::StringShape.new(name: 'OutputType')
|
84
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
85
|
+
Resolver = Shapes::StructureShape.new(name: 'Resolver')
|
86
|
+
Resolvers = Shapes::ListShape.new(name: 'Resolvers')
|
87
|
+
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
88
|
+
SchemaStatus = Shapes::StringShape.new(name: 'SchemaStatus')
|
89
|
+
StartSchemaCreationRequest = Shapes::StructureShape.new(name: 'StartSchemaCreationRequest')
|
90
|
+
StartSchemaCreationResponse = Shapes::StructureShape.new(name: 'StartSchemaCreationResponse')
|
91
|
+
String = Shapes::StringShape.new(name: 'String')
|
92
|
+
Type = Shapes::StructureShape.new(name: 'Type')
|
93
|
+
TypeDefinitionFormat = Shapes::StringShape.new(name: 'TypeDefinitionFormat')
|
94
|
+
TypeList = Shapes::ListShape.new(name: 'TypeList')
|
95
|
+
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
96
|
+
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
97
|
+
UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
|
98
|
+
UpdateGraphqlApiRequest = Shapes::StructureShape.new(name: 'UpdateGraphqlApiRequest')
|
99
|
+
UpdateGraphqlApiResponse = Shapes::StructureShape.new(name: 'UpdateGraphqlApiResponse')
|
100
|
+
UpdateResolverRequest = Shapes::StructureShape.new(name: 'UpdateResolverRequest')
|
101
|
+
UpdateResolverResponse = Shapes::StructureShape.new(name: 'UpdateResolverResponse')
|
102
|
+
UpdateTypeRequest = Shapes::StructureShape.new(name: 'UpdateTypeRequest')
|
103
|
+
UpdateTypeResponse = Shapes::StructureShape.new(name: 'UpdateTypeResponse')
|
104
|
+
UserPoolConfig = Shapes::StructureShape.new(name: 'UserPoolConfig')
|
105
|
+
|
106
|
+
ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
107
|
+
ApiKey.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
108
|
+
ApiKey.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
|
109
|
+
ApiKey.struct_class = Types::ApiKey
|
110
|
+
|
111
|
+
ApiKeys.member = Shapes::ShapeRef.new(shape: ApiKey)
|
112
|
+
|
113
|
+
CreateApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
114
|
+
CreateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
115
|
+
CreateApiKeyRequest.struct_class = Types::CreateApiKeyRequest
|
116
|
+
|
117
|
+
CreateApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, location_name: "apiKey"))
|
118
|
+
CreateApiKeyResponse.struct_class = Types::CreateApiKeyResponse
|
119
|
+
|
120
|
+
CreateDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
121
|
+
CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
122
|
+
CreateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
123
|
+
CreateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "type"))
|
124
|
+
CreateDataSourceRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRoleArn"))
|
125
|
+
CreateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
|
126
|
+
CreateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
|
127
|
+
CreateDataSourceRequest.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
|
128
|
+
CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
|
129
|
+
|
130
|
+
CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
131
|
+
CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
|
132
|
+
|
133
|
+
CreateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
134
|
+
CreateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authenticationType"))
|
135
|
+
CreateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
|
136
|
+
CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
|
137
|
+
|
138
|
+
CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
|
139
|
+
CreateGraphqlApiResponse.struct_class = Types::CreateGraphqlApiResponse
|
140
|
+
|
141
|
+
CreateResolverRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
142
|
+
CreateResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
143
|
+
CreateResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "fieldName"))
|
144
|
+
CreateResolverRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "dataSourceName"))
|
145
|
+
CreateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "requestMappingTemplate"))
|
146
|
+
CreateResolverRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
147
|
+
CreateResolverRequest.struct_class = Types::CreateResolverRequest
|
148
|
+
|
149
|
+
CreateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
|
150
|
+
CreateResolverResponse.struct_class = Types::CreateResolverResponse
|
151
|
+
|
152
|
+
CreateTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
153
|
+
CreateTypeRequest.add_member(:definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "definition"))
|
154
|
+
CreateTypeRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location_name: "format"))
|
155
|
+
CreateTypeRequest.struct_class = Types::CreateTypeRequest
|
156
|
+
|
157
|
+
CreateTypeResponse.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
158
|
+
CreateTypeResponse.struct_class = Types::CreateTypeResponse
|
159
|
+
|
160
|
+
DataSource.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "dataSourceArn"))
|
161
|
+
DataSource.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
162
|
+
DataSource.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
163
|
+
DataSource.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "type"))
|
164
|
+
DataSource.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRoleArn"))
|
165
|
+
DataSource.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
|
166
|
+
DataSource.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
|
167
|
+
DataSource.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
|
168
|
+
DataSource.struct_class = Types::DataSource
|
169
|
+
|
170
|
+
DataSources.member = Shapes::ShapeRef.new(shape: DataSource)
|
171
|
+
|
172
|
+
DeleteApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
173
|
+
DeleteApiKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
|
174
|
+
DeleteApiKeyRequest.struct_class = Types::DeleteApiKeyRequest
|
175
|
+
|
176
|
+
DeleteApiKeyResponse.struct_class = Types::DeleteApiKeyResponse
|
177
|
+
|
178
|
+
DeleteDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
179
|
+
DeleteDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
|
180
|
+
DeleteDataSourceRequest.struct_class = Types::DeleteDataSourceRequest
|
181
|
+
|
182
|
+
DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
|
183
|
+
|
184
|
+
DeleteGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
185
|
+
DeleteGraphqlApiRequest.struct_class = Types::DeleteGraphqlApiRequest
|
186
|
+
|
187
|
+
DeleteGraphqlApiResponse.struct_class = Types::DeleteGraphqlApiResponse
|
188
|
+
|
189
|
+
DeleteResolverRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
190
|
+
DeleteResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
191
|
+
DeleteResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "fieldName"))
|
192
|
+
DeleteResolverRequest.struct_class = Types::DeleteResolverRequest
|
193
|
+
|
194
|
+
DeleteResolverResponse.struct_class = Types::DeleteResolverResponse
|
195
|
+
|
196
|
+
DeleteTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
197
|
+
DeleteTypeRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
198
|
+
DeleteTypeRequest.struct_class = Types::DeleteTypeRequest
|
199
|
+
|
200
|
+
DeleteTypeResponse.struct_class = Types::DeleteTypeResponse
|
201
|
+
|
202
|
+
DynamodbDataSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tableName"))
|
203
|
+
DynamodbDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
|
204
|
+
DynamodbDataSourceConfig.add_member(:use_caller_credentials, Shapes::ShapeRef.new(shape: Boolean, location_name: "useCallerCredentials"))
|
205
|
+
DynamodbDataSourceConfig.struct_class = Types::DynamodbDataSourceConfig
|
206
|
+
|
207
|
+
ElasticsearchDataSourceConfig.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpoint"))
|
208
|
+
ElasticsearchDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
|
209
|
+
ElasticsearchDataSourceConfig.struct_class = Types::ElasticsearchDataSourceConfig
|
210
|
+
|
211
|
+
GetDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
212
|
+
GetDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
|
213
|
+
GetDataSourceRequest.struct_class = Types::GetDataSourceRequest
|
214
|
+
|
215
|
+
GetDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
216
|
+
GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
|
217
|
+
|
218
|
+
GetGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
219
|
+
GetGraphqlApiRequest.struct_class = Types::GetGraphqlApiRequest
|
220
|
+
|
221
|
+
GetGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
|
222
|
+
GetGraphqlApiResponse.struct_class = Types::GetGraphqlApiResponse
|
223
|
+
|
224
|
+
GetIntrospectionSchemaRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
225
|
+
GetIntrospectionSchemaRequest.add_member(:format, Shapes::ShapeRef.new(shape: OutputType, required: true, location: "querystring", location_name: "format"))
|
226
|
+
GetIntrospectionSchemaRequest.struct_class = Types::GetIntrospectionSchemaRequest
|
227
|
+
|
228
|
+
GetIntrospectionSchemaResponse.add_member(:schema, Shapes::ShapeRef.new(shape: Blob, location_name: "schema"))
|
229
|
+
GetIntrospectionSchemaResponse.struct_class = Types::GetIntrospectionSchemaResponse
|
230
|
+
GetIntrospectionSchemaResponse[:payload] = :schema
|
231
|
+
GetIntrospectionSchemaResponse[:payload_member] = GetIntrospectionSchemaResponse.member(:schema)
|
232
|
+
|
233
|
+
GetResolverRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
234
|
+
GetResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
235
|
+
GetResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "fieldName"))
|
236
|
+
GetResolverRequest.struct_class = Types::GetResolverRequest
|
237
|
+
|
238
|
+
GetResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
|
239
|
+
GetResolverResponse.struct_class = Types::GetResolverResponse
|
240
|
+
|
241
|
+
GetSchemaCreationStatusRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
242
|
+
GetSchemaCreationStatusRequest.struct_class = Types::GetSchemaCreationStatusRequest
|
243
|
+
|
244
|
+
GetSchemaCreationStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: SchemaStatus, location_name: "status"))
|
245
|
+
GetSchemaCreationStatusResponse.add_member(:details, Shapes::ShapeRef.new(shape: String, location_name: "details"))
|
246
|
+
GetSchemaCreationStatusResponse.struct_class = Types::GetSchemaCreationStatusResponse
|
247
|
+
|
248
|
+
GetTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
249
|
+
GetTypeRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
250
|
+
GetTypeRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
|
251
|
+
GetTypeRequest.struct_class = Types::GetTypeRequest
|
252
|
+
|
253
|
+
GetTypeResponse.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
254
|
+
GetTypeResponse.struct_class = Types::GetTypeResponse
|
255
|
+
|
256
|
+
GraphqlApi.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
257
|
+
GraphqlApi.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
|
258
|
+
GraphqlApi.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
|
259
|
+
GraphqlApi.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
|
260
|
+
GraphqlApi.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
261
|
+
GraphqlApi.add_member(:uris, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "uris"))
|
262
|
+
GraphqlApi.struct_class = Types::GraphqlApi
|
263
|
+
|
264
|
+
GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
|
265
|
+
|
266
|
+
LambdaDataSourceConfig.add_member(:lambda_function_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "lambdaFunctionArn"))
|
267
|
+
LambdaDataSourceConfig.struct_class = Types::LambdaDataSourceConfig
|
268
|
+
|
269
|
+
ListApiKeysRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
270
|
+
ListApiKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
271
|
+
ListApiKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
272
|
+
ListApiKeysRequest.struct_class = Types::ListApiKeysRequest
|
273
|
+
|
274
|
+
ListApiKeysResponse.add_member(:api_keys, Shapes::ShapeRef.new(shape: ApiKeys, location_name: "apiKeys"))
|
275
|
+
ListApiKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
276
|
+
ListApiKeysResponse.struct_class = Types::ListApiKeysResponse
|
277
|
+
|
278
|
+
ListDataSourcesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
279
|
+
ListDataSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
280
|
+
ListDataSourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
281
|
+
ListDataSourcesRequest.struct_class = Types::ListDataSourcesRequest
|
282
|
+
|
283
|
+
ListDataSourcesResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSources, location_name: "dataSources"))
|
284
|
+
ListDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
285
|
+
ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
|
286
|
+
|
287
|
+
ListGraphqlApisRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
288
|
+
ListGraphqlApisRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
289
|
+
ListGraphqlApisRequest.struct_class = Types::ListGraphqlApisRequest
|
290
|
+
|
291
|
+
ListGraphqlApisResponse.add_member(:graphql_apis, Shapes::ShapeRef.new(shape: GraphqlApis, location_name: "graphqlApis"))
|
292
|
+
ListGraphqlApisResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
293
|
+
ListGraphqlApisResponse.struct_class = Types::ListGraphqlApisResponse
|
294
|
+
|
295
|
+
ListResolversRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
296
|
+
ListResolversRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "typeName"))
|
297
|
+
ListResolversRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
298
|
+
ListResolversRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
299
|
+
ListResolversRequest.struct_class = Types::ListResolversRequest
|
300
|
+
|
301
|
+
ListResolversResponse.add_member(:resolvers, Shapes::ShapeRef.new(shape: Resolvers, location_name: "resolvers"))
|
302
|
+
ListResolversResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
303
|
+
ListResolversResponse.struct_class = Types::ListResolversResponse
|
304
|
+
|
305
|
+
ListTypesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
306
|
+
ListTypesRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
|
307
|
+
ListTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
308
|
+
ListTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
309
|
+
ListTypesRequest.struct_class = Types::ListTypesRequest
|
310
|
+
|
311
|
+
ListTypesResponse.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "types"))
|
312
|
+
ListTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
313
|
+
ListTypesResponse.struct_class = Types::ListTypesResponse
|
314
|
+
|
315
|
+
MapOfStringToString.key = Shapes::ShapeRef.new(shape: String)
|
316
|
+
MapOfStringToString.value = Shapes::ShapeRef.new(shape: String)
|
317
|
+
|
318
|
+
Resolver.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "typeName"))
|
319
|
+
Resolver.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "fieldName"))
|
320
|
+
Resolver.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "dataSourceName"))
|
321
|
+
Resolver.add_member(:resolver_arn, Shapes::ShapeRef.new(shape: String, location_name: "resolverArn"))
|
322
|
+
Resolver.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "requestMappingTemplate"))
|
323
|
+
Resolver.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
324
|
+
Resolver.struct_class = Types::Resolver
|
325
|
+
|
326
|
+
Resolvers.member = Shapes::ShapeRef.new(shape: Resolver)
|
327
|
+
|
328
|
+
StartSchemaCreationRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
329
|
+
StartSchemaCreationRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "definition"))
|
330
|
+
StartSchemaCreationRequest.struct_class = Types::StartSchemaCreationRequest
|
331
|
+
|
332
|
+
StartSchemaCreationResponse.add_member(:status, Shapes::ShapeRef.new(shape: SchemaStatus, location_name: "status"))
|
333
|
+
StartSchemaCreationResponse.struct_class = Types::StartSchemaCreationResponse
|
334
|
+
|
335
|
+
Type.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
336
|
+
Type.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
337
|
+
Type.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
338
|
+
Type.add_member(:definition, Shapes::ShapeRef.new(shape: String, location_name: "definition"))
|
339
|
+
Type.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, location_name: "format"))
|
340
|
+
Type.struct_class = Types::Type
|
341
|
+
|
342
|
+
TypeList.member = Shapes::ShapeRef.new(shape: Type)
|
343
|
+
|
344
|
+
UpdateDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
345
|
+
UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
|
346
|
+
UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
347
|
+
UpdateDataSourceRequest.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "type"))
|
348
|
+
UpdateDataSourceRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRoleArn"))
|
349
|
+
UpdateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
|
350
|
+
UpdateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
|
351
|
+
UpdateDataSourceRequest.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
|
352
|
+
UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
|
353
|
+
|
354
|
+
UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
355
|
+
UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
|
356
|
+
|
357
|
+
UpdateGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
358
|
+
UpdateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
359
|
+
UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
|
360
|
+
UpdateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
|
361
|
+
UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
|
362
|
+
|
363
|
+
UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
|
364
|
+
UpdateGraphqlApiResponse.struct_class = Types::UpdateGraphqlApiResponse
|
365
|
+
|
366
|
+
UpdateResolverRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
367
|
+
UpdateResolverRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
368
|
+
UpdateResolverRequest.add_member(:field_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "fieldName"))
|
369
|
+
UpdateResolverRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "dataSourceName"))
|
370
|
+
UpdateResolverRequest.add_member(:request_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, required: true, location_name: "requestMappingTemplate"))
|
371
|
+
UpdateResolverRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
372
|
+
UpdateResolverRequest.struct_class = Types::UpdateResolverRequest
|
373
|
+
|
374
|
+
UpdateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
|
375
|
+
UpdateResolverResponse.struct_class = Types::UpdateResolverResponse
|
376
|
+
|
377
|
+
UpdateTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
378
|
+
UpdateTypeRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
|
379
|
+
UpdateTypeRequest.add_member(:definition, Shapes::ShapeRef.new(shape: String, location_name: "definition"))
|
380
|
+
UpdateTypeRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location_name: "format"))
|
381
|
+
UpdateTypeRequest.struct_class = Types::UpdateTypeRequest
|
382
|
+
|
383
|
+
UpdateTypeResponse.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
384
|
+
UpdateTypeResponse.struct_class = Types::UpdateTypeResponse
|
385
|
+
|
386
|
+
UserPoolConfig.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userPoolId"))
|
387
|
+
UserPoolConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
|
388
|
+
UserPoolConfig.add_member(:default_action, Shapes::ShapeRef.new(shape: DefaultAction, required: true, location_name: "defaultAction"))
|
389
|
+
UserPoolConfig.add_member(:app_id_client_regex, Shapes::ShapeRef.new(shape: String, location_name: "appIdClientRegex"))
|
390
|
+
UserPoolConfig.struct_class = Types::UserPoolConfig
|
391
|
+
|
392
|
+
|
393
|
+
# @api private
|
394
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
395
|
+
|
396
|
+
api.version = "2017-07-25"
|
397
|
+
|
398
|
+
api.metadata = {
|
399
|
+
"endpointPrefix" => "appsync",
|
400
|
+
"jsonVersion" => "1.1",
|
401
|
+
"protocol" => "rest-json",
|
402
|
+
"serviceFullName" => "AWS AppSync",
|
403
|
+
"signatureVersion" => "v4",
|
404
|
+
"signingName" => "appsync",
|
405
|
+
}
|
406
|
+
|
407
|
+
api.add_operation(:create_api_key, Seahorse::Model::Operation.new.tap do |o|
|
408
|
+
o.name = "CreateApiKey"
|
409
|
+
o.http_method = "POST"
|
410
|
+
o.http_request_uri = "/v1/apis/{apiId}/apikeys"
|
411
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApiKeyRequest)
|
412
|
+
o.output = Shapes::ShapeRef.new(shape: CreateApiKeyResponse)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: ApiKeyLimitExceededException)
|
420
|
+
end)
|
421
|
+
|
422
|
+
api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
|
423
|
+
o.name = "CreateDataSource"
|
424
|
+
o.http_method = "POST"
|
425
|
+
o.http_request_uri = "/v1/apis/{apiId}/datasources"
|
426
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDataSourceRequest)
|
427
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDataSourceResponse)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
433
|
+
end)
|
434
|
+
|
435
|
+
api.add_operation(:create_graphql_api, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "CreateGraphqlApi"
|
437
|
+
o.http_method = "POST"
|
438
|
+
o.http_request_uri = "/v1/apis"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGraphqlApiRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGraphqlApiResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
447
|
+
o.errors << Shapes::ShapeRef.new(shape: ApiLimitExceededException)
|
448
|
+
end)
|
449
|
+
|
450
|
+
api.add_operation(:create_resolver, Seahorse::Model::Operation.new.tap do |o|
|
451
|
+
o.name = "CreateResolver"
|
452
|
+
o.http_method = "POST"
|
453
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}/resolvers"
|
454
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResolverRequest)
|
455
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResolverResponse)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
460
|
+
end)
|
461
|
+
|
462
|
+
api.add_operation(:create_type, Seahorse::Model::Operation.new.tap do |o|
|
463
|
+
o.name = "CreateType"
|
464
|
+
o.http_method = "POST"
|
465
|
+
o.http_request_uri = "/v1/apis/{apiId}/types"
|
466
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTypeRequest)
|
467
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTypeResponse)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
473
|
+
end)
|
474
|
+
|
475
|
+
api.add_operation(:delete_api_key, Seahorse::Model::Operation.new.tap do |o|
|
476
|
+
o.name = "DeleteApiKey"
|
477
|
+
o.http_method = "DELETE"
|
478
|
+
o.http_request_uri = "/v1/apis/{apiId}/apikeys/{id}"
|
479
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApiKeyRequest)
|
480
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteApiKeyResponse)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
485
|
+
end)
|
486
|
+
|
487
|
+
api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
|
488
|
+
o.name = "DeleteDataSource"
|
489
|
+
o.http_method = "DELETE"
|
490
|
+
o.http_request_uri = "/v1/apis/{apiId}/datasources/{name}"
|
491
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDataSourceRequest)
|
492
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDataSourceResponse)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
498
|
+
end)
|
499
|
+
|
500
|
+
api.add_operation(:delete_graphql_api, Seahorse::Model::Operation.new.tap do |o|
|
501
|
+
o.name = "DeleteGraphqlApi"
|
502
|
+
o.http_method = "DELETE"
|
503
|
+
o.http_request_uri = "/v1/apis/{apiId}"
|
504
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGraphqlApiRequest)
|
505
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGraphqlApiResponse)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
511
|
+
end)
|
512
|
+
|
513
|
+
api.add_operation(:delete_resolver, Seahorse::Model::Operation.new.tap do |o|
|
514
|
+
o.name = "DeleteResolver"
|
515
|
+
o.http_method = "DELETE"
|
516
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
517
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResolverRequest)
|
518
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResolverResponse)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
523
|
+
end)
|
524
|
+
|
525
|
+
api.add_operation(:delete_type, Seahorse::Model::Operation.new.tap do |o|
|
526
|
+
o.name = "DeleteType"
|
527
|
+
o.http_method = "DELETE"
|
528
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}"
|
529
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTypeRequest)
|
530
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTypeResponse)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
536
|
+
end)
|
537
|
+
|
538
|
+
api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o|
|
539
|
+
o.name = "GetDataSource"
|
540
|
+
o.http_method = "GET"
|
541
|
+
o.http_request_uri = "/v1/apis/{apiId}/datasources/{name}"
|
542
|
+
o.input = Shapes::ShapeRef.new(shape: GetDataSourceRequest)
|
543
|
+
o.output = Shapes::ShapeRef.new(shape: GetDataSourceResponse)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
549
|
+
end)
|
550
|
+
|
551
|
+
api.add_operation(:get_graphql_api, Seahorse::Model::Operation.new.tap do |o|
|
552
|
+
o.name = "GetGraphqlApi"
|
553
|
+
o.http_method = "GET"
|
554
|
+
o.http_request_uri = "/v1/apis/{apiId}"
|
555
|
+
o.input = Shapes::ShapeRef.new(shape: GetGraphqlApiRequest)
|
556
|
+
o.output = Shapes::ShapeRef.new(shape: GetGraphqlApiResponse)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
561
|
+
end)
|
562
|
+
|
563
|
+
api.add_operation(:get_introspection_schema, Seahorse::Model::Operation.new.tap do |o|
|
564
|
+
o.name = "GetIntrospectionSchema"
|
565
|
+
o.http_method = "GET"
|
566
|
+
o.http_request_uri = "/v1/apis/{apiId}/schema"
|
567
|
+
o.input = Shapes::ShapeRef.new(shape: GetIntrospectionSchemaRequest)
|
568
|
+
o.output = Shapes::ShapeRef.new(shape: GetIntrospectionSchemaResponse)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: GraphQLSchemaException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
571
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
573
|
+
end)
|
574
|
+
|
575
|
+
api.add_operation(:get_resolver, Seahorse::Model::Operation.new.tap do |o|
|
576
|
+
o.name = "GetResolver"
|
577
|
+
o.http_method = "GET"
|
578
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
579
|
+
o.input = Shapes::ShapeRef.new(shape: GetResolverRequest)
|
580
|
+
o.output = Shapes::ShapeRef.new(shape: GetResolverResponse)
|
581
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
582
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
584
|
+
end)
|
585
|
+
|
586
|
+
api.add_operation(:get_schema_creation_status, Seahorse::Model::Operation.new.tap do |o|
|
587
|
+
o.name = "GetSchemaCreationStatus"
|
588
|
+
o.http_method = "GET"
|
589
|
+
o.http_request_uri = "/v1/apis/{apiId}/schemacreation"
|
590
|
+
o.input = Shapes::ShapeRef.new(shape: GetSchemaCreationStatusRequest)
|
591
|
+
o.output = Shapes::ShapeRef.new(shape: GetSchemaCreationStatusResponse)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
596
|
+
end)
|
597
|
+
|
598
|
+
api.add_operation(:get_type, Seahorse::Model::Operation.new.tap do |o|
|
599
|
+
o.name = "GetType"
|
600
|
+
o.http_method = "GET"
|
601
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}"
|
602
|
+
o.input = Shapes::ShapeRef.new(shape: GetTypeRequest)
|
603
|
+
o.output = Shapes::ShapeRef.new(shape: GetTypeResponse)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
609
|
+
end)
|
610
|
+
|
611
|
+
api.add_operation(:list_api_keys, Seahorse::Model::Operation.new.tap do |o|
|
612
|
+
o.name = "ListApiKeys"
|
613
|
+
o.http_method = "GET"
|
614
|
+
o.http_request_uri = "/v1/apis/{apiId}/apikeys"
|
615
|
+
o.input = Shapes::ShapeRef.new(shape: ListApiKeysRequest)
|
616
|
+
o.output = Shapes::ShapeRef.new(shape: ListApiKeysResponse)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
621
|
+
end)
|
622
|
+
|
623
|
+
api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
|
624
|
+
o.name = "ListDataSources"
|
625
|
+
o.http_method = "GET"
|
626
|
+
o.http_request_uri = "/v1/apis/{apiId}/datasources"
|
627
|
+
o.input = Shapes::ShapeRef.new(shape: ListDataSourcesRequest)
|
628
|
+
o.output = Shapes::ShapeRef.new(shape: ListDataSourcesResponse)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
633
|
+
end)
|
634
|
+
|
635
|
+
api.add_operation(:list_graphql_apis, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "ListGraphqlApis"
|
637
|
+
o.http_method = "GET"
|
638
|
+
o.http_request_uri = "/v1/apis"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: ListGraphqlApisRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: ListGraphqlApisResponse)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
644
|
+
end)
|
645
|
+
|
646
|
+
api.add_operation(:list_resolvers, Seahorse::Model::Operation.new.tap do |o|
|
647
|
+
o.name = "ListResolvers"
|
648
|
+
o.http_method = "GET"
|
649
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}/resolvers"
|
650
|
+
o.input = Shapes::ShapeRef.new(shape: ListResolversRequest)
|
651
|
+
o.output = Shapes::ShapeRef.new(shape: ListResolversResponse)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
653
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
656
|
+
end)
|
657
|
+
|
658
|
+
api.add_operation(:list_types, Seahorse::Model::Operation.new.tap do |o|
|
659
|
+
o.name = "ListTypes"
|
660
|
+
o.http_method = "GET"
|
661
|
+
o.http_request_uri = "/v1/apis/{apiId}/types"
|
662
|
+
o.input = Shapes::ShapeRef.new(shape: ListTypesRequest)
|
663
|
+
o.output = Shapes::ShapeRef.new(shape: ListTypesResponse)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
669
|
+
end)
|
670
|
+
|
671
|
+
api.add_operation(:start_schema_creation, Seahorse::Model::Operation.new.tap do |o|
|
672
|
+
o.name = "StartSchemaCreation"
|
673
|
+
o.http_method = "POST"
|
674
|
+
o.http_request_uri = "/v1/apis/{apiId}/schemacreation"
|
675
|
+
o.input = Shapes::ShapeRef.new(shape: StartSchemaCreationRequest)
|
676
|
+
o.output = Shapes::ShapeRef.new(shape: StartSchemaCreationResponse)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
682
|
+
end)
|
683
|
+
|
684
|
+
api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
|
685
|
+
o.name = "UpdateDataSource"
|
686
|
+
o.http_method = "POST"
|
687
|
+
o.http_request_uri = "/v1/apis/{apiId}/datasources/{name}"
|
688
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDataSourceRequest)
|
689
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDataSourceResponse)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
695
|
+
end)
|
696
|
+
|
697
|
+
api.add_operation(:update_graphql_api, Seahorse::Model::Operation.new.tap do |o|
|
698
|
+
o.name = "UpdateGraphqlApi"
|
699
|
+
o.http_method = "POST"
|
700
|
+
o.http_request_uri = "/v1/apis/{apiId}"
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateGraphqlApiRequest)
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateGraphqlApiResponse)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
708
|
+
end)
|
709
|
+
|
710
|
+
api.add_operation(:update_resolver, Seahorse::Model::Operation.new.tap do |o|
|
711
|
+
o.name = "UpdateResolver"
|
712
|
+
o.http_method = "POST"
|
713
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}"
|
714
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResolverRequest)
|
715
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResolverResponse)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
720
|
+
end)
|
721
|
+
|
722
|
+
api.add_operation(:update_type, Seahorse::Model::Operation.new.tap do |o|
|
723
|
+
o.name = "UpdateType"
|
724
|
+
o.http_method = "POST"
|
725
|
+
o.http_request_uri = "/v1/apis/{apiId}/types/{typeName}"
|
726
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTypeRequest)
|
727
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTypeResponse)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
733
|
+
end)
|
734
|
+
end
|
735
|
+
|
736
|
+
end
|
737
|
+
end
|