aws-resource-validator-appsync 2.0.0__py3-none-any.whl
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.
- aws_resource_validator/pydantic_models/appsync/__init__.py +430 -0
- aws_resource_validator/pydantic_models/appsync/_manifest.json +219 -0
- aws_resource_validator/pydantic_models/appsync/appsync_classes.py +1504 -0
- aws_resource_validator/pydantic_models/appsync/appsync_constants.py +549 -0
- aws_resource_validator_appsync-2.0.0.dist-info/METADATA +32 -0
- aws_resource_validator_appsync-2.0.0.dist-info/RECORD +7 -0
- aws_resource_validator_appsync-2.0.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1504 @@
|
|
|
1
|
+
# This file is auto-generated by aws_resource_validator.generator.pipeline_b.
|
|
2
|
+
# Do not edit manually; run `arv-generate pipeline-b` to refresh it.
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from decimal import Decimal
|
|
5
|
+
from typing import (
|
|
6
|
+
Any,
|
|
7
|
+
Callable,
|
|
8
|
+
Dict,
|
|
9
|
+
FrozenSet,
|
|
10
|
+
IO,
|
|
11
|
+
List,
|
|
12
|
+
Literal,
|
|
13
|
+
Mapping,
|
|
14
|
+
Optional,
|
|
15
|
+
Sequence,
|
|
16
|
+
Set,
|
|
17
|
+
Tuple,
|
|
18
|
+
Type,
|
|
19
|
+
Union,
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient
|
|
23
|
+
from botocore.response import StreamingBody
|
|
24
|
+
from pydantic import Field
|
|
25
|
+
|
|
26
|
+
from aws_resource_validator.core.base_validator_model import BaseValidatorModel, EventStream
|
|
27
|
+
from aws_resource_validator.pydantic_models.appsync.appsync_constants import * # noqa: F401,F403
|
|
28
|
+
|
|
29
|
+
# Optional boto3 symbols — imported lazily so services that don't need them
|
|
30
|
+
# aren't forced to pull in boto3 at import time.
|
|
31
|
+
try:
|
|
32
|
+
from boto3.dynamodb.conditions import ConditionBase # noqa: F401
|
|
33
|
+
except ImportError: # pragma: no cover
|
|
34
|
+
ConditionBase = Any # type: ignore[assignment,misc]
|
|
35
|
+
try:
|
|
36
|
+
from boto3.s3.transfer import TransferConfig # noqa: F401
|
|
37
|
+
except ImportError: # pragma: no cover
|
|
38
|
+
TransferConfig = Any # type: ignore[assignment,misc]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class CognitoUserPoolConfigTypeDef(BaseValidatorModel):
|
|
42
|
+
userPoolId: str
|
|
43
|
+
awsRegion: str
|
|
44
|
+
appIdClientRegex: Optional[str] = None
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class LambdaAuthorizerConfigTypeDef(BaseValidatorModel):
|
|
48
|
+
authorizerUri: str
|
|
49
|
+
authorizerResultTtlInSeconds: Optional[int] = None
|
|
50
|
+
identityValidationExpression: Optional[str] = None
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class OpenIDConnectConfigTypeDef(BaseValidatorModel):
|
|
54
|
+
issuer: str
|
|
55
|
+
clientId: Optional[str] = None
|
|
56
|
+
iatTTL: Optional[int] = None
|
|
57
|
+
authTTL: Optional[int] = None
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class ApiAssociationTypeDef(BaseValidatorModel):
|
|
61
|
+
domainName: Optional[str] = None
|
|
62
|
+
apiId: Optional[str] = None
|
|
63
|
+
associationStatus: Optional[AssociationStatusType] = None
|
|
64
|
+
deploymentDetail: Optional[str] = None
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class ApiCacheTypeDef(BaseValidatorModel):
|
|
68
|
+
ttl: Optional[int] = None
|
|
69
|
+
apiCachingBehavior: Optional[ApiCachingBehaviorType] = None
|
|
70
|
+
transitEncryptionEnabled: Optional[bool] = None
|
|
71
|
+
atRestEncryptionEnabled: Optional[bool] = None
|
|
72
|
+
type: Optional[ApiCacheTypeType] = None
|
|
73
|
+
status: Optional[ApiCacheStatusType] = None
|
|
74
|
+
healthMetricsConfig: Optional[CacheHealthMetricsConfigType] = None
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class ApiKeyTypeDef(BaseValidatorModel):
|
|
78
|
+
id: Optional[str] = None
|
|
79
|
+
description: Optional[str] = None
|
|
80
|
+
expires: Optional[int] = None
|
|
81
|
+
deletes: Optional[int] = None
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class AppSyncRuntimeTypeDef(BaseValidatorModel):
|
|
85
|
+
name: Literal["APPSYNC_JS"]
|
|
86
|
+
runtimeVersion: str
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# This class is the input for the 'associate_api' function.
|
|
90
|
+
class AssociateApiRequestTypeDef(BaseValidatorModel):
|
|
91
|
+
domainName: str
|
|
92
|
+
apiId: str
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class ResponseMetadataTypeDef(BaseValidatorModel):
|
|
96
|
+
RequestId: str
|
|
97
|
+
HTTPStatusCode: int
|
|
98
|
+
HTTPHeaders: Dict[str, str]
|
|
99
|
+
RetryAttempts: int
|
|
100
|
+
HostId: Optional[str] = None
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class SourceApiAssociationConfigTypeDef(BaseValidatorModel):
|
|
104
|
+
mergeType: Optional[MergeTypeType] = None
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class AuthModeTypeDef(BaseValidatorModel):
|
|
108
|
+
authType: AuthenticationTypeType
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class CognitoConfigTypeDef(BaseValidatorModel):
|
|
112
|
+
userPoolId: str
|
|
113
|
+
awsRegion: str
|
|
114
|
+
appIdClientRegex: Optional[str] = None
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
class AwsIamConfigTypeDef(BaseValidatorModel):
|
|
118
|
+
signingRegion: Optional[str] = None
|
|
119
|
+
signingServiceName: Optional[str] = None
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
BlobTypeDef = Union[IO[Any], StreamingBody, bytes, str]
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class CachingConfigOutputTypeDef(BaseValidatorModel):
|
|
126
|
+
ttl: int
|
|
127
|
+
cachingKeys: Optional[List[str]] = None
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class CachingConfigTypeDef(BaseValidatorModel):
|
|
131
|
+
ttl: int
|
|
132
|
+
cachingKeys: Optional[List[str]] = None
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
class CodeErrorLocationTypeDef(BaseValidatorModel):
|
|
136
|
+
line: Optional[int] = None
|
|
137
|
+
column: Optional[int] = None
|
|
138
|
+
span: Optional[int] = None
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
# This class is the input for the 'create_api_cache' function.
|
|
142
|
+
class CreateApiCacheRequestTypeDef(BaseValidatorModel):
|
|
143
|
+
apiId: str
|
|
144
|
+
ttl: int
|
|
145
|
+
apiCachingBehavior: ApiCachingBehaviorType
|
|
146
|
+
type: ApiCacheTypeType
|
|
147
|
+
transitEncryptionEnabled: Optional[bool] = None
|
|
148
|
+
atRestEncryptionEnabled: Optional[bool] = None
|
|
149
|
+
healthMetricsConfig: Optional[CacheHealthMetricsConfigType] = None
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
# This class is the input for the 'create_api_key' function.
|
|
153
|
+
class CreateApiKeyRequestTypeDef(BaseValidatorModel):
|
|
154
|
+
apiId: str
|
|
155
|
+
description: Optional[str] = None
|
|
156
|
+
expires: Optional[int] = None
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class ElasticsearchDataSourceConfigTypeDef(BaseValidatorModel):
|
|
160
|
+
endpoint: str
|
|
161
|
+
awsRegion: str
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class EventBridgeDataSourceConfigTypeDef(BaseValidatorModel):
|
|
165
|
+
eventBusArn: str
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class LambdaDataSourceConfigTypeDef(BaseValidatorModel):
|
|
169
|
+
lambdaFunctionArn: str
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
class OpenSearchServiceDataSourceConfigTypeDef(BaseValidatorModel):
|
|
173
|
+
endpoint: str
|
|
174
|
+
awsRegion: str
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
# This class is the input for the 'create_domain_name' function.
|
|
178
|
+
class CreateDomainNameRequestTypeDef(BaseValidatorModel):
|
|
179
|
+
domainName: str
|
|
180
|
+
certificateArn: str
|
|
181
|
+
description: Optional[str] = None
|
|
182
|
+
tags: Optional[Dict[str, str]] = None
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
class DomainNameConfigTypeDef(BaseValidatorModel):
|
|
186
|
+
domainName: Optional[str] = None
|
|
187
|
+
description: Optional[str] = None
|
|
188
|
+
certificateArn: Optional[str] = None
|
|
189
|
+
appsyncDomainName: Optional[str] = None
|
|
190
|
+
hostedZoneId: Optional[str] = None
|
|
191
|
+
tags: Optional[Dict[str, str]] = None
|
|
192
|
+
domainNameArn: Optional[str] = None
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
class EnhancedMetricsConfigTypeDef(BaseValidatorModel):
|
|
196
|
+
resolverLevelMetricsBehavior: ResolverLevelMetricsBehaviorType
|
|
197
|
+
dataSourceLevelMetricsBehavior: DataSourceLevelMetricsBehaviorType
|
|
198
|
+
operationLevelMetricsConfig: OperationLevelMetricsConfigType
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
class LogConfigTypeDef(BaseValidatorModel):
|
|
202
|
+
fieldLogLevel: FieldLogLevelType
|
|
203
|
+
cloudWatchLogsRoleArn: str
|
|
204
|
+
excludeVerboseContent: Optional[bool] = None
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
class UserPoolConfigTypeDef(BaseValidatorModel):
|
|
208
|
+
userPoolId: str
|
|
209
|
+
awsRegion: str
|
|
210
|
+
defaultAction: DefaultActionType
|
|
211
|
+
appIdClientRegex: Optional[str] = None
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
# This class is the input for the 'create_type' function.
|
|
215
|
+
class CreateTypeRequestTypeDef(BaseValidatorModel):
|
|
216
|
+
apiId: str
|
|
217
|
+
definition: str
|
|
218
|
+
format: TypeDefinitionFormatType
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
class TypeTypeDef(BaseValidatorModel):
|
|
222
|
+
name: Optional[str] = None
|
|
223
|
+
description: Optional[str] = None
|
|
224
|
+
arn: Optional[str] = None
|
|
225
|
+
definition: Optional[str] = None
|
|
226
|
+
format: Optional[TypeDefinitionFormatType] = None
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class DataSourceIntrospectionModelFieldTypeTypeDef(BaseValidatorModel):
|
|
230
|
+
kind: Optional[str] = None
|
|
231
|
+
name: Optional[str] = None
|
|
232
|
+
type: Optional[Dict[str, Any]] = None
|
|
233
|
+
values: Optional[List[str]] = None
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
class DataSourceIntrospectionModelIndexTypeDef(BaseValidatorModel):
|
|
237
|
+
name: Optional[str] = None
|
|
238
|
+
fields: Optional[List[str]] = None
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
class DeleteApiCacheRequestTypeDef(BaseValidatorModel):
|
|
242
|
+
apiId: str
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
class DeleteApiKeyRequestTypeDef(BaseValidatorModel):
|
|
246
|
+
apiId: str
|
|
247
|
+
id: str
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class DeleteApiRequestTypeDef(BaseValidatorModel):
|
|
251
|
+
apiId: str
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class DeleteChannelNamespaceRequestTypeDef(BaseValidatorModel):
|
|
255
|
+
apiId: str
|
|
256
|
+
name: str
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
class DeleteDataSourceRequestTypeDef(BaseValidatorModel):
|
|
260
|
+
apiId: str
|
|
261
|
+
name: str
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
class DeleteDomainNameRequestTypeDef(BaseValidatorModel):
|
|
265
|
+
domainName: str
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
class DeleteFunctionRequestTypeDef(BaseValidatorModel):
|
|
269
|
+
apiId: str
|
|
270
|
+
functionId: str
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
class DeleteGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
274
|
+
apiId: str
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
class DeleteResolverRequestTypeDef(BaseValidatorModel):
|
|
278
|
+
apiId: str
|
|
279
|
+
typeName: str
|
|
280
|
+
fieldName: str
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class DeleteTypeRequestTypeDef(BaseValidatorModel):
|
|
284
|
+
apiId: str
|
|
285
|
+
typeName: str
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
class DeltaSyncConfigTypeDef(BaseValidatorModel):
|
|
289
|
+
baseTableTTL: Optional[int] = None
|
|
290
|
+
deltaSyncTableName: Optional[str] = None
|
|
291
|
+
deltaSyncTableTTL: Optional[int] = None
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
class DisassociateApiRequestTypeDef(BaseValidatorModel):
|
|
295
|
+
domainName: str
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
# This class is the input for the 'disassociate_merged_graphql_api' function.
|
|
299
|
+
class DisassociateMergedGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
300
|
+
sourceApiIdentifier: str
|
|
301
|
+
associationId: str
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
# This class is the input for the 'disassociate_source_graphql_api' function.
|
|
305
|
+
class DisassociateSourceGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
306
|
+
mergedApiIdentifier: str
|
|
307
|
+
associationId: str
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class ErrorDetailTypeDef(BaseValidatorModel):
|
|
311
|
+
message: Optional[str] = None
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
# This class is the input for the 'evaluate_mapping_template' function.
|
|
315
|
+
class EvaluateMappingTemplateRequestTypeDef(BaseValidatorModel):
|
|
316
|
+
template: str
|
|
317
|
+
context: str
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class EventLogConfigTypeDef(BaseValidatorModel):
|
|
321
|
+
logLevel: EventLogLevelType
|
|
322
|
+
cloudWatchLogsRoleArn: str
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
class FlushApiCacheRequestTypeDef(BaseValidatorModel):
|
|
326
|
+
apiId: str
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# This class is the input for the 'get_api_association' function.
|
|
330
|
+
class GetApiAssociationRequestTypeDef(BaseValidatorModel):
|
|
331
|
+
domainName: str
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
# This class is the input for the 'get_api_cache' function.
|
|
335
|
+
class GetApiCacheRequestTypeDef(BaseValidatorModel):
|
|
336
|
+
apiId: str
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
# This class is the input for the 'get_api' function.
|
|
340
|
+
class GetApiRequestTypeDef(BaseValidatorModel):
|
|
341
|
+
apiId: str
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
# This class is the input for the 'get_channel_namespace' function.
|
|
345
|
+
class GetChannelNamespaceRequestTypeDef(BaseValidatorModel):
|
|
346
|
+
apiId: str
|
|
347
|
+
name: str
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
# This class is the input for the 'get_data_source_introspection' function.
|
|
351
|
+
class GetDataSourceIntrospectionRequestTypeDef(BaseValidatorModel):
|
|
352
|
+
introspectionId: str
|
|
353
|
+
includeModelsSDL: Optional[bool] = None
|
|
354
|
+
nextToken: Optional[str] = None
|
|
355
|
+
maxResults: Optional[int] = None
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
# This class is the input for the 'get_data_source' function.
|
|
359
|
+
class GetDataSourceRequestTypeDef(BaseValidatorModel):
|
|
360
|
+
apiId: str
|
|
361
|
+
name: str
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
# This class is the input for the 'get_domain_name' function.
|
|
365
|
+
class GetDomainNameRequestTypeDef(BaseValidatorModel):
|
|
366
|
+
domainName: str
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
# This class is the input for the 'get_function' function.
|
|
370
|
+
class GetFunctionRequestTypeDef(BaseValidatorModel):
|
|
371
|
+
apiId: str
|
|
372
|
+
functionId: str
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
# This class is the input for the 'get_graphql_api_environment_variables' function.
|
|
376
|
+
class GetGraphqlApiEnvironmentVariablesRequestTypeDef(BaseValidatorModel):
|
|
377
|
+
apiId: str
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
# This class is the input for the 'get_graphql_api' function.
|
|
381
|
+
class GetGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
382
|
+
apiId: str
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
# This class is the input for the 'get_introspection_schema' function.
|
|
386
|
+
class GetIntrospectionSchemaRequestTypeDef(BaseValidatorModel):
|
|
387
|
+
apiId: str
|
|
388
|
+
format: OutputTypeType
|
|
389
|
+
includeDirectives: Optional[bool] = None
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
# This class is the input for the 'get_resolver' function.
|
|
393
|
+
class GetResolverRequestTypeDef(BaseValidatorModel):
|
|
394
|
+
apiId: str
|
|
395
|
+
typeName: str
|
|
396
|
+
fieldName: str
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
# This class is the input for the 'get_schema_creation_status' function.
|
|
400
|
+
class GetSchemaCreationStatusRequestTypeDef(BaseValidatorModel):
|
|
401
|
+
apiId: str
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
# This class is the input for the 'get_source_api_association' function.
|
|
405
|
+
class GetSourceApiAssociationRequestTypeDef(BaseValidatorModel):
|
|
406
|
+
mergedApiIdentifier: str
|
|
407
|
+
associationId: str
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
# This class is the input for the 'get_type' function.
|
|
411
|
+
class GetTypeRequestTypeDef(BaseValidatorModel):
|
|
412
|
+
apiId: str
|
|
413
|
+
typeName: str
|
|
414
|
+
format: TypeDefinitionFormatType
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class LambdaConfigTypeDef(BaseValidatorModel):
|
|
418
|
+
invokeType: Optional[InvokeTypeType] = None
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class LambdaConflictHandlerConfigTypeDef(BaseValidatorModel):
|
|
422
|
+
lambdaConflictHandlerArn: Optional[str] = None
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PaginatorConfigTypeDef(BaseValidatorModel):
|
|
426
|
+
MaxItems: Optional[int] = None
|
|
427
|
+
PageSize: Optional[int] = None
|
|
428
|
+
StartingToken: Optional[str] = None
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
# This class is the input for the 'list_api_keys' function.
|
|
432
|
+
class ListApiKeysRequestTypeDef(BaseValidatorModel):
|
|
433
|
+
apiId: str
|
|
434
|
+
nextToken: Optional[str] = None
|
|
435
|
+
maxResults: Optional[int] = None
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
# This class is the input for the 'list_apis' function.
|
|
439
|
+
class ListApisRequestTypeDef(BaseValidatorModel):
|
|
440
|
+
nextToken: Optional[str] = None
|
|
441
|
+
maxResults: Optional[int] = None
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
# This class is the input for the 'list_channel_namespaces' function.
|
|
445
|
+
class ListChannelNamespacesRequestTypeDef(BaseValidatorModel):
|
|
446
|
+
apiId: str
|
|
447
|
+
nextToken: Optional[str] = None
|
|
448
|
+
maxResults: Optional[int] = None
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
# This class is the input for the 'list_data_sources' function.
|
|
452
|
+
class ListDataSourcesRequestTypeDef(BaseValidatorModel):
|
|
453
|
+
apiId: str
|
|
454
|
+
nextToken: Optional[str] = None
|
|
455
|
+
maxResults: Optional[int] = None
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
# This class is the input for the 'list_domain_names' function.
|
|
459
|
+
class ListDomainNamesRequestTypeDef(BaseValidatorModel):
|
|
460
|
+
nextToken: Optional[str] = None
|
|
461
|
+
maxResults: Optional[int] = None
|
|
462
|
+
|
|
463
|
+
|
|
464
|
+
# This class is the input for the 'list_functions' function.
|
|
465
|
+
class ListFunctionsRequestTypeDef(BaseValidatorModel):
|
|
466
|
+
apiId: str
|
|
467
|
+
nextToken: Optional[str] = None
|
|
468
|
+
maxResults: Optional[int] = None
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
# This class is the input for the 'list_graphql_apis' function.
|
|
472
|
+
class ListGraphqlApisRequestTypeDef(BaseValidatorModel):
|
|
473
|
+
nextToken: Optional[str] = None
|
|
474
|
+
maxResults: Optional[int] = None
|
|
475
|
+
apiType: Optional[GraphQLApiTypeType] = None
|
|
476
|
+
owner: Optional[OwnershipType] = None
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
# This class is the input for the 'list_resolvers_by_function' function.
|
|
480
|
+
class ListResolversByFunctionRequestTypeDef(BaseValidatorModel):
|
|
481
|
+
apiId: str
|
|
482
|
+
functionId: str
|
|
483
|
+
nextToken: Optional[str] = None
|
|
484
|
+
maxResults: Optional[int] = None
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
# This class is the input for the 'list_resolvers' function.
|
|
488
|
+
class ListResolversRequestTypeDef(BaseValidatorModel):
|
|
489
|
+
apiId: str
|
|
490
|
+
typeName: str
|
|
491
|
+
nextToken: Optional[str] = None
|
|
492
|
+
maxResults: Optional[int] = None
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
# This class is the input for the 'list_source_api_associations' function.
|
|
496
|
+
class ListSourceApiAssociationsRequestTypeDef(BaseValidatorModel):
|
|
497
|
+
apiId: str
|
|
498
|
+
nextToken: Optional[str] = None
|
|
499
|
+
maxResults: Optional[int] = None
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class SourceApiAssociationSummaryTypeDef(BaseValidatorModel):
|
|
503
|
+
associationId: Optional[str] = None
|
|
504
|
+
associationArn: Optional[str] = None
|
|
505
|
+
sourceApiId: Optional[str] = None
|
|
506
|
+
sourceApiArn: Optional[str] = None
|
|
507
|
+
mergedApiId: Optional[str] = None
|
|
508
|
+
mergedApiArn: Optional[str] = None
|
|
509
|
+
description: Optional[str] = None
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
# This class is the input for the 'list_tags_for_resource' function.
|
|
513
|
+
class ListTagsForResourceRequestTypeDef(BaseValidatorModel):
|
|
514
|
+
resourceArn: str
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
# This class is the input for the 'list_types_by_association' function.
|
|
518
|
+
class ListTypesByAssociationRequestTypeDef(BaseValidatorModel):
|
|
519
|
+
mergedApiIdentifier: str
|
|
520
|
+
associationId: str
|
|
521
|
+
format: TypeDefinitionFormatType
|
|
522
|
+
nextToken: Optional[str] = None
|
|
523
|
+
maxResults: Optional[int] = None
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
# This class is the input for the 'list_types' function.
|
|
527
|
+
class ListTypesRequestTypeDef(BaseValidatorModel):
|
|
528
|
+
apiId: str
|
|
529
|
+
format: TypeDefinitionFormatType
|
|
530
|
+
nextToken: Optional[str] = None
|
|
531
|
+
maxResults: Optional[int] = None
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
class PipelineConfigOutputTypeDef(BaseValidatorModel):
|
|
535
|
+
functions: Optional[List[str]] = None
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
class PipelineConfigTypeDef(BaseValidatorModel):
|
|
539
|
+
functions: Optional[List[str]] = None
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
# This class is the input for the 'put_graphql_api_environment_variables' function.
|
|
543
|
+
class PutGraphqlApiEnvironmentVariablesRequestTypeDef(BaseValidatorModel):
|
|
544
|
+
apiId: str
|
|
545
|
+
environmentVariables: Dict[str, str]
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
class RdsDataApiConfigTypeDef(BaseValidatorModel):
|
|
549
|
+
resourceArn: str
|
|
550
|
+
secretArn: str
|
|
551
|
+
databaseName: str
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
class RdsHttpEndpointConfigTypeDef(BaseValidatorModel):
|
|
555
|
+
awsRegion: Optional[str] = None
|
|
556
|
+
dbClusterIdentifier: Optional[str] = None
|
|
557
|
+
databaseName: Optional[str] = None
|
|
558
|
+
schema: Optional[str] = None
|
|
559
|
+
awsSecretStoreArn: Optional[str] = None
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
# This class is the input for the 'start_schema_merge' function.
|
|
563
|
+
class StartSchemaMergeRequestTypeDef(BaseValidatorModel):
|
|
564
|
+
associationId: str
|
|
565
|
+
mergedApiIdentifier: str
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class TagResourceRequestTypeDef(BaseValidatorModel):
|
|
569
|
+
resourceArn: str
|
|
570
|
+
tags: Dict[str, str]
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
class UntagResourceRequestTypeDef(BaseValidatorModel):
|
|
574
|
+
resourceArn: str
|
|
575
|
+
tagKeys: List[str]
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
# This class is the input for the 'update_api_cache' function.
|
|
579
|
+
class UpdateApiCacheRequestTypeDef(BaseValidatorModel):
|
|
580
|
+
apiId: str
|
|
581
|
+
ttl: int
|
|
582
|
+
apiCachingBehavior: ApiCachingBehaviorType
|
|
583
|
+
type: ApiCacheTypeType
|
|
584
|
+
healthMetricsConfig: Optional[CacheHealthMetricsConfigType] = None
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
# This class is the input for the 'update_api_key' function.
|
|
588
|
+
class UpdateApiKeyRequestTypeDef(BaseValidatorModel):
|
|
589
|
+
apiId: str
|
|
590
|
+
id: str
|
|
591
|
+
description: Optional[str] = None
|
|
592
|
+
expires: Optional[int] = None
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
# This class is the input for the 'update_domain_name' function.
|
|
596
|
+
class UpdateDomainNameRequestTypeDef(BaseValidatorModel):
|
|
597
|
+
domainName: str
|
|
598
|
+
description: Optional[str] = None
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
# This class is the input for the 'update_type' function.
|
|
602
|
+
class UpdateTypeRequestTypeDef(BaseValidatorModel):
|
|
603
|
+
apiId: str
|
|
604
|
+
typeName: str
|
|
605
|
+
format: TypeDefinitionFormatType
|
|
606
|
+
definition: Optional[str] = None
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class AdditionalAuthenticationProviderTypeDef(BaseValidatorModel):
|
|
610
|
+
authenticationType: Optional[AuthenticationTypeType] = None
|
|
611
|
+
openIDConnectConfig: Optional[OpenIDConnectConfigTypeDef] = None
|
|
612
|
+
userPoolConfig: Optional[CognitoUserPoolConfigTypeDef] = None
|
|
613
|
+
lambdaAuthorizerConfig: Optional[LambdaAuthorizerConfigTypeDef] = None
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
# This class is the input for the 'evaluate_code' function.
|
|
617
|
+
class EvaluateCodeRequestTypeDef(BaseValidatorModel):
|
|
618
|
+
runtime: AppSyncRuntimeTypeDef
|
|
619
|
+
code: str
|
|
620
|
+
context: str
|
|
621
|
+
function: Optional[str] = None
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
# This class is the output for the 'associate_api' function.
|
|
625
|
+
class AssociateApiResponseTypeDef(BaseValidatorModel):
|
|
626
|
+
apiAssociation: ApiAssociationTypeDef
|
|
627
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
# This class is the output for the 'create_api_cache' function.
|
|
631
|
+
class CreateApiCacheResponseTypeDef(BaseValidatorModel):
|
|
632
|
+
apiCache: ApiCacheTypeDef
|
|
633
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
# This class is the output for the 'create_api_key' function.
|
|
637
|
+
class CreateApiKeyResponseTypeDef(BaseValidatorModel):
|
|
638
|
+
apiKey: ApiKeyTypeDef
|
|
639
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
# This class is the output for the 'disassociate_merged_graphql_api' function.
|
|
643
|
+
class DisassociateMergedGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
644
|
+
sourceApiAssociationStatus: SourceApiAssociationStatusType
|
|
645
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
# This class is the output for the 'disassociate_source_graphql_api' function.
|
|
649
|
+
class DisassociateSourceGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
650
|
+
sourceApiAssociationStatus: SourceApiAssociationStatusType
|
|
651
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
# This class is the output for the 'get_api_association' function.
|
|
655
|
+
class GetApiAssociationResponseTypeDef(BaseValidatorModel):
|
|
656
|
+
apiAssociation: ApiAssociationTypeDef
|
|
657
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
# This class is the output for the 'get_api_cache' function.
|
|
661
|
+
class GetApiCacheResponseTypeDef(BaseValidatorModel):
|
|
662
|
+
apiCache: ApiCacheTypeDef
|
|
663
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
# This class is the output for the 'get_graphql_api_environment_variables' function.
|
|
667
|
+
class GetGraphqlApiEnvironmentVariablesResponseTypeDef(BaseValidatorModel):
|
|
668
|
+
environmentVariables: Dict[str, str]
|
|
669
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
# This class is the output for the 'get_introspection_schema' function.
|
|
673
|
+
class GetIntrospectionSchemaResponseTypeDef(BaseValidatorModel):
|
|
674
|
+
schema: StreamingBody
|
|
675
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
# This class is the output for the 'get_schema_creation_status' function.
|
|
679
|
+
class GetSchemaCreationStatusResponseTypeDef(BaseValidatorModel):
|
|
680
|
+
status: SchemaStatusType
|
|
681
|
+
details: str
|
|
682
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
# This class is the output for the 'list_api_keys' function.
|
|
686
|
+
class ListApiKeysResponseTypeDef(BaseValidatorModel):
|
|
687
|
+
apiKeys: List[ApiKeyTypeDef]
|
|
688
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
689
|
+
nextToken: Optional[str] = None
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
# This class is the output for the 'list_tags_for_resource' function.
|
|
693
|
+
class ListTagsForResourceResponseTypeDef(BaseValidatorModel):
|
|
694
|
+
tags: Dict[str, str]
|
|
695
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
# This class is the output for the 'put_graphql_api_environment_variables' function.
|
|
699
|
+
class PutGraphqlApiEnvironmentVariablesResponseTypeDef(BaseValidatorModel):
|
|
700
|
+
environmentVariables: Dict[str, str]
|
|
701
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
# This class is the output for the 'start_data_source_introspection' function.
|
|
705
|
+
class StartDataSourceIntrospectionResponseTypeDef(BaseValidatorModel):
|
|
706
|
+
introspectionId: str
|
|
707
|
+
introspectionStatus: DataSourceIntrospectionStatusType
|
|
708
|
+
introspectionStatusDetail: str
|
|
709
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
# This class is the output for the 'start_schema_creation' function.
|
|
713
|
+
class StartSchemaCreationResponseTypeDef(BaseValidatorModel):
|
|
714
|
+
status: SchemaStatusType
|
|
715
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
# This class is the output for the 'start_schema_merge' function.
|
|
719
|
+
class StartSchemaMergeResponseTypeDef(BaseValidatorModel):
|
|
720
|
+
sourceApiAssociationStatus: SourceApiAssociationStatusType
|
|
721
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
# This class is the output for the 'update_api_cache' function.
|
|
725
|
+
class UpdateApiCacheResponseTypeDef(BaseValidatorModel):
|
|
726
|
+
apiCache: ApiCacheTypeDef
|
|
727
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
# This class is the output for the 'update_api_key' function.
|
|
731
|
+
class UpdateApiKeyResponseTypeDef(BaseValidatorModel):
|
|
732
|
+
apiKey: ApiKeyTypeDef
|
|
733
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
# This class is the input for the 'associate_merged_graphql_api' function.
|
|
737
|
+
class AssociateMergedGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
738
|
+
sourceApiIdentifier: str
|
|
739
|
+
mergedApiIdentifier: str
|
|
740
|
+
description: Optional[str] = None
|
|
741
|
+
sourceApiAssociationConfig: Optional[SourceApiAssociationConfigTypeDef] = None
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
# This class is the input for the 'associate_source_graphql_api' function.
|
|
745
|
+
class AssociateSourceGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
746
|
+
mergedApiIdentifier: str
|
|
747
|
+
sourceApiIdentifier: str
|
|
748
|
+
description: Optional[str] = None
|
|
749
|
+
sourceApiAssociationConfig: Optional[SourceApiAssociationConfigTypeDef] = None
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
class SourceApiAssociationTypeDef(BaseValidatorModel):
|
|
753
|
+
associationId: Optional[str] = None
|
|
754
|
+
associationArn: Optional[str] = None
|
|
755
|
+
sourceApiId: Optional[str] = None
|
|
756
|
+
sourceApiArn: Optional[str] = None
|
|
757
|
+
mergedApiArn: Optional[str] = None
|
|
758
|
+
mergedApiId: Optional[str] = None
|
|
759
|
+
description: Optional[str] = None
|
|
760
|
+
sourceApiAssociationConfig: Optional[SourceApiAssociationConfigTypeDef] = None
|
|
761
|
+
sourceApiAssociationStatus: Optional[SourceApiAssociationStatusType] = None
|
|
762
|
+
sourceApiAssociationStatusDetail: Optional[str] = None
|
|
763
|
+
lastSuccessfulMergeDate: Optional[datetime] = None
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
# This class is the input for the 'update_source_api_association' function.
|
|
767
|
+
class UpdateSourceApiAssociationRequestTypeDef(BaseValidatorModel):
|
|
768
|
+
associationId: str
|
|
769
|
+
mergedApiIdentifier: str
|
|
770
|
+
description: Optional[str] = None
|
|
771
|
+
sourceApiAssociationConfig: Optional[SourceApiAssociationConfigTypeDef] = None
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
class AuthProviderTypeDef(BaseValidatorModel):
|
|
775
|
+
authType: AuthenticationTypeType
|
|
776
|
+
cognitoConfig: Optional[CognitoConfigTypeDef] = None
|
|
777
|
+
openIDConnectConfig: Optional[OpenIDConnectConfigTypeDef] = None
|
|
778
|
+
lambdaAuthorizerConfig: Optional[LambdaAuthorizerConfigTypeDef] = None
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
class AuthorizationConfigTypeDef(BaseValidatorModel):
|
|
782
|
+
authorizationType: Literal["AWS_IAM"]
|
|
783
|
+
awsIamConfig: Optional[AwsIamConfigTypeDef] = None
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
# This class is the input for the 'start_schema_creation' function.
|
|
787
|
+
class StartSchemaCreationRequestTypeDef(BaseValidatorModel):
|
|
788
|
+
apiId: str
|
|
789
|
+
definition: BlobTypeDef
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
CachingConfigUnionTypeDef = Union[CachingConfigOutputTypeDef, CachingConfigTypeDef]
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
class CodeErrorTypeDef(BaseValidatorModel):
|
|
796
|
+
errorType: Optional[str] = None
|
|
797
|
+
value: Optional[str] = None
|
|
798
|
+
location: Optional[CodeErrorLocationTypeDef] = None
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
# This class is the output for the 'create_domain_name' function.
|
|
802
|
+
class CreateDomainNameResponseTypeDef(BaseValidatorModel):
|
|
803
|
+
domainNameConfig: DomainNameConfigTypeDef
|
|
804
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
# This class is the output for the 'get_domain_name' function.
|
|
808
|
+
class GetDomainNameResponseTypeDef(BaseValidatorModel):
|
|
809
|
+
domainNameConfig: DomainNameConfigTypeDef
|
|
810
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
# This class is the output for the 'list_domain_names' function.
|
|
814
|
+
class ListDomainNamesResponseTypeDef(BaseValidatorModel):
|
|
815
|
+
domainNameConfigs: List[DomainNameConfigTypeDef]
|
|
816
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
817
|
+
nextToken: Optional[str] = None
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
# This class is the output for the 'update_domain_name' function.
|
|
821
|
+
class UpdateDomainNameResponseTypeDef(BaseValidatorModel):
|
|
822
|
+
domainNameConfig: DomainNameConfigTypeDef
|
|
823
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
# This class is the output for the 'create_type' function.
|
|
827
|
+
class CreateTypeResponseTypeDef(BaseValidatorModel):
|
|
828
|
+
type: TypeTypeDef
|
|
829
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
# This class is the output for the 'get_type' function.
|
|
833
|
+
class GetTypeResponseTypeDef(BaseValidatorModel):
|
|
834
|
+
type: TypeTypeDef
|
|
835
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
# This class is the output for the 'list_types_by_association' function.
|
|
839
|
+
class ListTypesByAssociationResponseTypeDef(BaseValidatorModel):
|
|
840
|
+
types: List[TypeTypeDef]
|
|
841
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
842
|
+
nextToken: Optional[str] = None
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
# This class is the output for the 'list_types' function.
|
|
846
|
+
class ListTypesResponseTypeDef(BaseValidatorModel):
|
|
847
|
+
types: List[TypeTypeDef]
|
|
848
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
849
|
+
nextToken: Optional[str] = None
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
# This class is the output for the 'update_type' function.
|
|
853
|
+
class UpdateTypeResponseTypeDef(BaseValidatorModel):
|
|
854
|
+
type: TypeTypeDef
|
|
855
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
class DataSourceIntrospectionModelFieldTypeDef(BaseValidatorModel):
|
|
859
|
+
name: Optional[str] = None
|
|
860
|
+
type: Optional[DataSourceIntrospectionModelFieldTypeTypeDef] = None
|
|
861
|
+
length: Optional[int] = None
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class DynamodbDataSourceConfigTypeDef(BaseValidatorModel):
|
|
865
|
+
tableName: str
|
|
866
|
+
awsRegion: str
|
|
867
|
+
useCallerCredentials: Optional[bool] = None
|
|
868
|
+
deltaSyncConfig: Optional[DeltaSyncConfigTypeDef] = None
|
|
869
|
+
versioned: Optional[bool] = None
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
# This class is the output for the 'evaluate_mapping_template' function.
|
|
873
|
+
class EvaluateMappingTemplateResponseTypeDef(BaseValidatorModel):
|
|
874
|
+
evaluationResult: str
|
|
875
|
+
error: ErrorDetailTypeDef
|
|
876
|
+
logs: List[str]
|
|
877
|
+
stash: str
|
|
878
|
+
outErrors: str
|
|
879
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
class IntegrationTypeDef(BaseValidatorModel):
|
|
883
|
+
dataSourceName: str
|
|
884
|
+
lambdaConfig: Optional[LambdaConfigTypeDef] = None
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
class SyncConfigTypeDef(BaseValidatorModel):
|
|
888
|
+
conflictHandler: Optional[ConflictHandlerTypeType] = None
|
|
889
|
+
conflictDetection: Optional[ConflictDetectionTypeType] = None
|
|
890
|
+
lambdaConflictHandlerConfig: Optional[LambdaConflictHandlerConfigTypeDef] = None
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
class ListApiKeysRequestPaginateTypeDef(BaseValidatorModel):
|
|
894
|
+
apiId: str
|
|
895
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
class ListApisRequestPaginateTypeDef(BaseValidatorModel):
|
|
899
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
class ListChannelNamespacesRequestPaginateTypeDef(BaseValidatorModel):
|
|
903
|
+
apiId: str
|
|
904
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
class ListDataSourcesRequestPaginateTypeDef(BaseValidatorModel):
|
|
908
|
+
apiId: str
|
|
909
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
class ListDomainNamesRequestPaginateTypeDef(BaseValidatorModel):
|
|
913
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
class ListFunctionsRequestPaginateTypeDef(BaseValidatorModel):
|
|
917
|
+
apiId: str
|
|
918
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
class ListGraphqlApisRequestPaginateTypeDef(BaseValidatorModel):
|
|
922
|
+
apiType: Optional[GraphQLApiTypeType] = None
|
|
923
|
+
owner: Optional[OwnershipType] = None
|
|
924
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
class ListResolversByFunctionRequestPaginateTypeDef(BaseValidatorModel):
|
|
928
|
+
apiId: str
|
|
929
|
+
functionId: str
|
|
930
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
class ListResolversRequestPaginateTypeDef(BaseValidatorModel):
|
|
934
|
+
apiId: str
|
|
935
|
+
typeName: str
|
|
936
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
class ListSourceApiAssociationsRequestPaginateTypeDef(BaseValidatorModel):
|
|
940
|
+
apiId: str
|
|
941
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
class ListTypesByAssociationRequestPaginateTypeDef(BaseValidatorModel):
|
|
945
|
+
mergedApiIdentifier: str
|
|
946
|
+
associationId: str
|
|
947
|
+
format: TypeDefinitionFormatType
|
|
948
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
class ListTypesRequestPaginateTypeDef(BaseValidatorModel):
|
|
952
|
+
apiId: str
|
|
953
|
+
format: TypeDefinitionFormatType
|
|
954
|
+
PaginationConfig: Optional[PaginatorConfigTypeDef] = None
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
# This class is the output for the 'list_source_api_associations' function.
|
|
958
|
+
class ListSourceApiAssociationsResponseTypeDef(BaseValidatorModel):
|
|
959
|
+
sourceApiAssociationSummaries: List[SourceApiAssociationSummaryTypeDef]
|
|
960
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
961
|
+
nextToken: Optional[str] = None
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
PipelineConfigUnionTypeDef = Union[PipelineConfigOutputTypeDef, PipelineConfigTypeDef]
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
# This class is the input for the 'start_data_source_introspection' function.
|
|
968
|
+
class StartDataSourceIntrospectionRequestTypeDef(BaseValidatorModel):
|
|
969
|
+
rdsDataApiConfig: Optional[RdsDataApiConfigTypeDef] = None
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
class RelationalDatabaseDataSourceConfigTypeDef(BaseValidatorModel):
|
|
973
|
+
relationalDatabaseSourceType: Optional[Literal["RDS_HTTP_ENDPOINT"]] = None
|
|
974
|
+
rdsHttpEndpointConfig: Optional[RdsHttpEndpointConfigTypeDef] = None
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
# This class is the input for the 'create_graphql_api' function.
|
|
978
|
+
class CreateGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
979
|
+
name: str
|
|
980
|
+
authenticationType: AuthenticationTypeType
|
|
981
|
+
logConfig: Optional[LogConfigTypeDef] = None
|
|
982
|
+
userPoolConfig: Optional[UserPoolConfigTypeDef] = None
|
|
983
|
+
openIDConnectConfig: Optional[OpenIDConnectConfigTypeDef] = None
|
|
984
|
+
tags: Optional[Dict[str, str]] = None
|
|
985
|
+
additionalAuthenticationProviders: Optional[List[AdditionalAuthenticationProviderTypeDef]] = None
|
|
986
|
+
xrayEnabled: Optional[bool] = None
|
|
987
|
+
lambdaAuthorizerConfig: Optional[LambdaAuthorizerConfigTypeDef] = None
|
|
988
|
+
apiType: Optional[GraphQLApiTypeType] = None
|
|
989
|
+
mergedApiExecutionRoleArn: Optional[str] = None
|
|
990
|
+
visibility: Optional[GraphQLApiVisibilityType] = None
|
|
991
|
+
ownerContact: Optional[str] = None
|
|
992
|
+
introspectionConfig: Optional[GraphQLApiIntrospectionConfigType] = None
|
|
993
|
+
queryDepthLimit: Optional[int] = None
|
|
994
|
+
resolverCountLimit: Optional[int] = None
|
|
995
|
+
enhancedMetricsConfig: Optional[EnhancedMetricsConfigTypeDef] = None
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
class GraphqlApiTypeDef(BaseValidatorModel):
|
|
999
|
+
name: Optional[str] = None
|
|
1000
|
+
apiId: Optional[str] = None
|
|
1001
|
+
authenticationType: Optional[AuthenticationTypeType] = None
|
|
1002
|
+
logConfig: Optional[LogConfigTypeDef] = None
|
|
1003
|
+
userPoolConfig: Optional[UserPoolConfigTypeDef] = None
|
|
1004
|
+
openIDConnectConfig: Optional[OpenIDConnectConfigTypeDef] = None
|
|
1005
|
+
arn: Optional[str] = None
|
|
1006
|
+
uris: Optional[Dict[str, str]] = None
|
|
1007
|
+
tags: Optional[Dict[str, str]] = None
|
|
1008
|
+
additionalAuthenticationProviders: Optional[List[AdditionalAuthenticationProviderTypeDef]] = None
|
|
1009
|
+
xrayEnabled: Optional[bool] = None
|
|
1010
|
+
wafWebAclArn: Optional[str] = None
|
|
1011
|
+
lambdaAuthorizerConfig: Optional[LambdaAuthorizerConfigTypeDef] = None
|
|
1012
|
+
dns: Optional[Dict[str, str]] = None
|
|
1013
|
+
visibility: Optional[GraphQLApiVisibilityType] = None
|
|
1014
|
+
apiType: Optional[GraphQLApiTypeType] = None
|
|
1015
|
+
mergedApiExecutionRoleArn: Optional[str] = None
|
|
1016
|
+
owner: Optional[str] = None
|
|
1017
|
+
ownerContact: Optional[str] = None
|
|
1018
|
+
introspectionConfig: Optional[GraphQLApiIntrospectionConfigType] = None
|
|
1019
|
+
queryDepthLimit: Optional[int] = None
|
|
1020
|
+
resolverCountLimit: Optional[int] = None
|
|
1021
|
+
enhancedMetricsConfig: Optional[EnhancedMetricsConfigTypeDef] = None
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
# This class is the input for the 'update_graphql_api' function.
|
|
1025
|
+
class UpdateGraphqlApiRequestTypeDef(BaseValidatorModel):
|
|
1026
|
+
apiId: str
|
|
1027
|
+
name: str
|
|
1028
|
+
authenticationType: AuthenticationTypeType
|
|
1029
|
+
logConfig: Optional[LogConfigTypeDef] = None
|
|
1030
|
+
userPoolConfig: Optional[UserPoolConfigTypeDef] = None
|
|
1031
|
+
openIDConnectConfig: Optional[OpenIDConnectConfigTypeDef] = None
|
|
1032
|
+
additionalAuthenticationProviders: Optional[List[AdditionalAuthenticationProviderTypeDef]] = None
|
|
1033
|
+
xrayEnabled: Optional[bool] = None
|
|
1034
|
+
lambdaAuthorizerConfig: Optional[LambdaAuthorizerConfigTypeDef] = None
|
|
1035
|
+
mergedApiExecutionRoleArn: Optional[str] = None
|
|
1036
|
+
ownerContact: Optional[str] = None
|
|
1037
|
+
introspectionConfig: Optional[GraphQLApiIntrospectionConfigType] = None
|
|
1038
|
+
queryDepthLimit: Optional[int] = None
|
|
1039
|
+
resolverCountLimit: Optional[int] = None
|
|
1040
|
+
enhancedMetricsConfig: Optional[EnhancedMetricsConfigTypeDef] = None
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
# This class is the output for the 'associate_merged_graphql_api' function.
|
|
1044
|
+
class AssociateMergedGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
1045
|
+
sourceApiAssociation: SourceApiAssociationTypeDef
|
|
1046
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
# This class is the output for the 'associate_source_graphql_api' function.
|
|
1050
|
+
class AssociateSourceGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
1051
|
+
sourceApiAssociation: SourceApiAssociationTypeDef
|
|
1052
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
# This class is the output for the 'get_source_api_association' function.
|
|
1056
|
+
class GetSourceApiAssociationResponseTypeDef(BaseValidatorModel):
|
|
1057
|
+
sourceApiAssociation: SourceApiAssociationTypeDef
|
|
1058
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
# This class is the output for the 'update_source_api_association' function.
|
|
1062
|
+
class UpdateSourceApiAssociationResponseTypeDef(BaseValidatorModel):
|
|
1063
|
+
sourceApiAssociation: SourceApiAssociationTypeDef
|
|
1064
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
class EventConfigOutputTypeDef(BaseValidatorModel):
|
|
1068
|
+
authProviders: List[AuthProviderTypeDef]
|
|
1069
|
+
connectionAuthModes: List[AuthModeTypeDef]
|
|
1070
|
+
defaultPublishAuthModes: List[AuthModeTypeDef]
|
|
1071
|
+
defaultSubscribeAuthModes: List[AuthModeTypeDef]
|
|
1072
|
+
logConfig: Optional[EventLogConfigTypeDef] = None
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
class EventConfigTypeDef(BaseValidatorModel):
|
|
1076
|
+
authProviders: List[AuthProviderTypeDef]
|
|
1077
|
+
connectionAuthModes: List[AuthModeTypeDef]
|
|
1078
|
+
defaultPublishAuthModes: List[AuthModeTypeDef]
|
|
1079
|
+
defaultSubscribeAuthModes: List[AuthModeTypeDef]
|
|
1080
|
+
logConfig: Optional[EventLogConfigTypeDef] = None
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
class HttpDataSourceConfigTypeDef(BaseValidatorModel):
|
|
1084
|
+
endpoint: Optional[str] = None
|
|
1085
|
+
authorizationConfig: Optional[AuthorizationConfigTypeDef] = None
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
class EvaluateCodeErrorDetailTypeDef(BaseValidatorModel):
|
|
1089
|
+
message: Optional[str] = None
|
|
1090
|
+
codeErrors: Optional[List[CodeErrorTypeDef]] = None
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
class DataSourceIntrospectionModelTypeDef(BaseValidatorModel):
|
|
1094
|
+
name: Optional[str] = None
|
|
1095
|
+
fields: Optional[List[DataSourceIntrospectionModelFieldTypeDef]] = None
|
|
1096
|
+
primaryKey: Optional[DataSourceIntrospectionModelIndexTypeDef] = None
|
|
1097
|
+
indexes: Optional[List[DataSourceIntrospectionModelIndexTypeDef]] = None
|
|
1098
|
+
sdl: Optional[str] = None
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
class HandlerConfigTypeDef(BaseValidatorModel):
|
|
1102
|
+
behavior: HandlerBehaviorType
|
|
1103
|
+
integration: IntegrationTypeDef
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
# This class is the input for the 'create_function' function.
|
|
1107
|
+
class CreateFunctionRequestTypeDef(BaseValidatorModel):
|
|
1108
|
+
apiId: str
|
|
1109
|
+
name: str
|
|
1110
|
+
dataSourceName: str
|
|
1111
|
+
description: Optional[str] = None
|
|
1112
|
+
requestMappingTemplate: Optional[str] = None
|
|
1113
|
+
responseMappingTemplate: Optional[str] = None
|
|
1114
|
+
functionVersion: Optional[str] = None
|
|
1115
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1116
|
+
maxBatchSize: Optional[int] = None
|
|
1117
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1118
|
+
code: Optional[str] = None
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
class FunctionConfigurationTypeDef(BaseValidatorModel):
|
|
1122
|
+
functionId: Optional[str] = None
|
|
1123
|
+
functionArn: Optional[str] = None
|
|
1124
|
+
name: Optional[str] = None
|
|
1125
|
+
description: Optional[str] = None
|
|
1126
|
+
dataSourceName: Optional[str] = None
|
|
1127
|
+
requestMappingTemplate: Optional[str] = None
|
|
1128
|
+
responseMappingTemplate: Optional[str] = None
|
|
1129
|
+
functionVersion: Optional[str] = None
|
|
1130
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1131
|
+
maxBatchSize: Optional[int] = None
|
|
1132
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1133
|
+
code: Optional[str] = None
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
class ResolverTypeDef(BaseValidatorModel):
|
|
1137
|
+
typeName: Optional[str] = None
|
|
1138
|
+
fieldName: Optional[str] = None
|
|
1139
|
+
dataSourceName: Optional[str] = None
|
|
1140
|
+
resolverArn: Optional[str] = None
|
|
1141
|
+
requestMappingTemplate: Optional[str] = None
|
|
1142
|
+
responseMappingTemplate: Optional[str] = None
|
|
1143
|
+
kind: Optional[ResolverKindType] = None
|
|
1144
|
+
pipelineConfig: Optional[PipelineConfigOutputTypeDef] = None
|
|
1145
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1146
|
+
cachingConfig: Optional[CachingConfigOutputTypeDef] = None
|
|
1147
|
+
maxBatchSize: Optional[int] = None
|
|
1148
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1149
|
+
code: Optional[str] = None
|
|
1150
|
+
metricsConfig: Optional[ResolverLevelMetricsConfigType] = None
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
# This class is the input for the 'update_function' function.
|
|
1154
|
+
class UpdateFunctionRequestTypeDef(BaseValidatorModel):
|
|
1155
|
+
apiId: str
|
|
1156
|
+
name: str
|
|
1157
|
+
functionId: str
|
|
1158
|
+
dataSourceName: str
|
|
1159
|
+
description: Optional[str] = None
|
|
1160
|
+
requestMappingTemplate: Optional[str] = None
|
|
1161
|
+
responseMappingTemplate: Optional[str] = None
|
|
1162
|
+
functionVersion: Optional[str] = None
|
|
1163
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1164
|
+
maxBatchSize: Optional[int] = None
|
|
1165
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1166
|
+
code: Optional[str] = None
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
# This class is the input for the 'create_resolver' function.
|
|
1170
|
+
class CreateResolverRequestTypeDef(BaseValidatorModel):
|
|
1171
|
+
apiId: str
|
|
1172
|
+
typeName: str
|
|
1173
|
+
fieldName: str
|
|
1174
|
+
dataSourceName: Optional[str] = None
|
|
1175
|
+
requestMappingTemplate: Optional[str] = None
|
|
1176
|
+
responseMappingTemplate: Optional[str] = None
|
|
1177
|
+
kind: Optional[ResolverKindType] = None
|
|
1178
|
+
pipelineConfig: Optional[PipelineConfigUnionTypeDef] = None
|
|
1179
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1180
|
+
cachingConfig: Optional[CachingConfigUnionTypeDef] = None
|
|
1181
|
+
maxBatchSize: Optional[int] = None
|
|
1182
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1183
|
+
code: Optional[str] = None
|
|
1184
|
+
metricsConfig: Optional[ResolverLevelMetricsConfigType] = None
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
# This class is the input for the 'update_resolver' function.
|
|
1188
|
+
class UpdateResolverRequestTypeDef(BaseValidatorModel):
|
|
1189
|
+
apiId: str
|
|
1190
|
+
typeName: str
|
|
1191
|
+
fieldName: str
|
|
1192
|
+
dataSourceName: Optional[str] = None
|
|
1193
|
+
requestMappingTemplate: Optional[str] = None
|
|
1194
|
+
responseMappingTemplate: Optional[str] = None
|
|
1195
|
+
kind: Optional[ResolverKindType] = None
|
|
1196
|
+
pipelineConfig: Optional[PipelineConfigUnionTypeDef] = None
|
|
1197
|
+
syncConfig: Optional[SyncConfigTypeDef] = None
|
|
1198
|
+
cachingConfig: Optional[CachingConfigUnionTypeDef] = None
|
|
1199
|
+
maxBatchSize: Optional[int] = None
|
|
1200
|
+
runtime: Optional[AppSyncRuntimeTypeDef] = None
|
|
1201
|
+
code: Optional[str] = None
|
|
1202
|
+
metricsConfig: Optional[ResolverLevelMetricsConfigType] = None
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
# This class is the output for the 'create_graphql_api' function.
|
|
1206
|
+
class CreateGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
1207
|
+
graphqlApi: GraphqlApiTypeDef
|
|
1208
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
# This class is the output for the 'get_graphql_api' function.
|
|
1212
|
+
class GetGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
1213
|
+
graphqlApi: GraphqlApiTypeDef
|
|
1214
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
# This class is the output for the 'list_graphql_apis' function.
|
|
1218
|
+
class ListGraphqlApisResponseTypeDef(BaseValidatorModel):
|
|
1219
|
+
graphqlApis: List[GraphqlApiTypeDef]
|
|
1220
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1221
|
+
nextToken: Optional[str] = None
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
# This class is the output for the 'update_graphql_api' function.
|
|
1225
|
+
class UpdateGraphqlApiResponseTypeDef(BaseValidatorModel):
|
|
1226
|
+
graphqlApi: GraphqlApiTypeDef
|
|
1227
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
class ApiTypeDef(BaseValidatorModel):
|
|
1231
|
+
apiId: Optional[str] = None
|
|
1232
|
+
name: Optional[str] = None
|
|
1233
|
+
ownerContact: Optional[str] = None
|
|
1234
|
+
tags: Optional[Dict[str, str]] = None
|
|
1235
|
+
dns: Optional[Dict[str, str]] = None
|
|
1236
|
+
apiArn: Optional[str] = None
|
|
1237
|
+
created: Optional[datetime] = None
|
|
1238
|
+
xrayEnabled: Optional[bool] = None
|
|
1239
|
+
wafWebAclArn: Optional[str] = None
|
|
1240
|
+
eventConfig: Optional[EventConfigOutputTypeDef] = None
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
EventConfigUnionTypeDef = Union[EventConfigOutputTypeDef, EventConfigTypeDef]
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
# This class is the input for the 'create_data_source' function.
|
|
1247
|
+
class CreateDataSourceRequestTypeDef(BaseValidatorModel):
|
|
1248
|
+
apiId: str
|
|
1249
|
+
name: str
|
|
1250
|
+
type: DataSourceTypeType
|
|
1251
|
+
description: Optional[str] = None
|
|
1252
|
+
serviceRoleArn: Optional[str] = None
|
|
1253
|
+
dynamodbConfig: Optional[DynamodbDataSourceConfigTypeDef] = None
|
|
1254
|
+
lambdaConfig: Optional[LambdaDataSourceConfigTypeDef] = None
|
|
1255
|
+
elasticsearchConfig: Optional[ElasticsearchDataSourceConfigTypeDef] = None
|
|
1256
|
+
openSearchServiceConfig: Optional[OpenSearchServiceDataSourceConfigTypeDef] = None
|
|
1257
|
+
httpConfig: Optional[HttpDataSourceConfigTypeDef] = None
|
|
1258
|
+
relationalDatabaseConfig: Optional[RelationalDatabaseDataSourceConfigTypeDef] = None
|
|
1259
|
+
eventBridgeConfig: Optional[EventBridgeDataSourceConfigTypeDef] = None
|
|
1260
|
+
metricsConfig: Optional[DataSourceLevelMetricsConfigType] = None
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
class DataSourceTypeDef(BaseValidatorModel):
|
|
1264
|
+
dataSourceArn: Optional[str] = None
|
|
1265
|
+
name: Optional[str] = None
|
|
1266
|
+
description: Optional[str] = None
|
|
1267
|
+
type: Optional[DataSourceTypeType] = None
|
|
1268
|
+
serviceRoleArn: Optional[str] = None
|
|
1269
|
+
dynamodbConfig: Optional[DynamodbDataSourceConfigTypeDef] = None
|
|
1270
|
+
lambdaConfig: Optional[LambdaDataSourceConfigTypeDef] = None
|
|
1271
|
+
elasticsearchConfig: Optional[ElasticsearchDataSourceConfigTypeDef] = None
|
|
1272
|
+
openSearchServiceConfig: Optional[OpenSearchServiceDataSourceConfigTypeDef] = None
|
|
1273
|
+
httpConfig: Optional[HttpDataSourceConfigTypeDef] = None
|
|
1274
|
+
relationalDatabaseConfig: Optional[RelationalDatabaseDataSourceConfigTypeDef] = None
|
|
1275
|
+
eventBridgeConfig: Optional[EventBridgeDataSourceConfigTypeDef] = None
|
|
1276
|
+
metricsConfig: Optional[DataSourceLevelMetricsConfigType] = None
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
# This class is the input for the 'update_data_source' function.
|
|
1280
|
+
class UpdateDataSourceRequestTypeDef(BaseValidatorModel):
|
|
1281
|
+
apiId: str
|
|
1282
|
+
name: str
|
|
1283
|
+
type: DataSourceTypeType
|
|
1284
|
+
description: Optional[str] = None
|
|
1285
|
+
serviceRoleArn: Optional[str] = None
|
|
1286
|
+
dynamodbConfig: Optional[DynamodbDataSourceConfigTypeDef] = None
|
|
1287
|
+
lambdaConfig: Optional[LambdaDataSourceConfigTypeDef] = None
|
|
1288
|
+
elasticsearchConfig: Optional[ElasticsearchDataSourceConfigTypeDef] = None
|
|
1289
|
+
openSearchServiceConfig: Optional[OpenSearchServiceDataSourceConfigTypeDef] = None
|
|
1290
|
+
httpConfig: Optional[HttpDataSourceConfigTypeDef] = None
|
|
1291
|
+
relationalDatabaseConfig: Optional[RelationalDatabaseDataSourceConfigTypeDef] = None
|
|
1292
|
+
eventBridgeConfig: Optional[EventBridgeDataSourceConfigTypeDef] = None
|
|
1293
|
+
metricsConfig: Optional[DataSourceLevelMetricsConfigType] = None
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
# This class is the output for the 'evaluate_code' function.
|
|
1297
|
+
class EvaluateCodeResponseTypeDef(BaseValidatorModel):
|
|
1298
|
+
evaluationResult: str
|
|
1299
|
+
error: EvaluateCodeErrorDetailTypeDef
|
|
1300
|
+
logs: List[str]
|
|
1301
|
+
stash: str
|
|
1302
|
+
outErrors: str
|
|
1303
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
class DataSourceIntrospectionResultTypeDef(BaseValidatorModel):
|
|
1307
|
+
models: Optional[List[DataSourceIntrospectionModelTypeDef]] = None
|
|
1308
|
+
nextToken: Optional[str] = None
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
class HandlerConfigsTypeDef(BaseValidatorModel):
|
|
1312
|
+
onPublish: Optional[HandlerConfigTypeDef] = None
|
|
1313
|
+
onSubscribe: Optional[HandlerConfigTypeDef] = None
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
# This class is the output for the 'create_function' function.
|
|
1317
|
+
class CreateFunctionResponseTypeDef(BaseValidatorModel):
|
|
1318
|
+
functionConfiguration: FunctionConfigurationTypeDef
|
|
1319
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
# This class is the output for the 'get_function' function.
|
|
1323
|
+
class GetFunctionResponseTypeDef(BaseValidatorModel):
|
|
1324
|
+
functionConfiguration: FunctionConfigurationTypeDef
|
|
1325
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
# This class is the output for the 'list_functions' function.
|
|
1329
|
+
class ListFunctionsResponseTypeDef(BaseValidatorModel):
|
|
1330
|
+
functions: List[FunctionConfigurationTypeDef]
|
|
1331
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1332
|
+
nextToken: Optional[str] = None
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
# This class is the output for the 'update_function' function.
|
|
1336
|
+
class UpdateFunctionResponseTypeDef(BaseValidatorModel):
|
|
1337
|
+
functionConfiguration: FunctionConfigurationTypeDef
|
|
1338
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
# This class is the output for the 'create_resolver' function.
|
|
1342
|
+
class CreateResolverResponseTypeDef(BaseValidatorModel):
|
|
1343
|
+
resolver: ResolverTypeDef
|
|
1344
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
# This class is the output for the 'get_resolver' function.
|
|
1348
|
+
class GetResolverResponseTypeDef(BaseValidatorModel):
|
|
1349
|
+
resolver: ResolverTypeDef
|
|
1350
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
# This class is the output for the 'list_resolvers_by_function' function.
|
|
1354
|
+
class ListResolversByFunctionResponseTypeDef(BaseValidatorModel):
|
|
1355
|
+
resolvers: List[ResolverTypeDef]
|
|
1356
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1357
|
+
nextToken: Optional[str] = None
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
# This class is the output for the 'list_resolvers' function.
|
|
1361
|
+
class ListResolversResponseTypeDef(BaseValidatorModel):
|
|
1362
|
+
resolvers: List[ResolverTypeDef]
|
|
1363
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1364
|
+
nextToken: Optional[str] = None
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
# This class is the output for the 'update_resolver' function.
|
|
1368
|
+
class UpdateResolverResponseTypeDef(BaseValidatorModel):
|
|
1369
|
+
resolver: ResolverTypeDef
|
|
1370
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
# This class is the output for the 'create_api' function.
|
|
1374
|
+
class CreateApiResponseTypeDef(BaseValidatorModel):
|
|
1375
|
+
api: ApiTypeDef
|
|
1376
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
# This class is the output for the 'get_api' function.
|
|
1380
|
+
class GetApiResponseTypeDef(BaseValidatorModel):
|
|
1381
|
+
api: ApiTypeDef
|
|
1382
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
# This class is the output for the 'list_apis' function.
|
|
1386
|
+
class ListApisResponseTypeDef(BaseValidatorModel):
|
|
1387
|
+
apis: List[ApiTypeDef]
|
|
1388
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1389
|
+
nextToken: Optional[str] = None
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
# This class is the output for the 'update_api' function.
|
|
1393
|
+
class UpdateApiResponseTypeDef(BaseValidatorModel):
|
|
1394
|
+
api: ApiTypeDef
|
|
1395
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
# This class is the input for the 'create_api' function.
|
|
1399
|
+
class CreateApiRequestTypeDef(BaseValidatorModel):
|
|
1400
|
+
name: str
|
|
1401
|
+
eventConfig: EventConfigUnionTypeDef
|
|
1402
|
+
ownerContact: Optional[str] = None
|
|
1403
|
+
tags: Optional[Dict[str, str]] = None
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
# This class is the input for the 'update_api' function.
|
|
1407
|
+
class UpdateApiRequestTypeDef(BaseValidatorModel):
|
|
1408
|
+
apiId: str
|
|
1409
|
+
name: str
|
|
1410
|
+
eventConfig: EventConfigUnionTypeDef
|
|
1411
|
+
ownerContact: Optional[str] = None
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
# This class is the output for the 'create_data_source' function.
|
|
1415
|
+
class CreateDataSourceResponseTypeDef(BaseValidatorModel):
|
|
1416
|
+
dataSource: DataSourceTypeDef
|
|
1417
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
# This class is the output for the 'get_data_source' function.
|
|
1421
|
+
class GetDataSourceResponseTypeDef(BaseValidatorModel):
|
|
1422
|
+
dataSource: DataSourceTypeDef
|
|
1423
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
# This class is the output for the 'list_data_sources' function.
|
|
1427
|
+
class ListDataSourcesResponseTypeDef(BaseValidatorModel):
|
|
1428
|
+
dataSources: List[DataSourceTypeDef]
|
|
1429
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1430
|
+
nextToken: Optional[str] = None
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
# This class is the output for the 'update_data_source' function.
|
|
1434
|
+
class UpdateDataSourceResponseTypeDef(BaseValidatorModel):
|
|
1435
|
+
dataSource: DataSourceTypeDef
|
|
1436
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
# This class is the output for the 'get_data_source_introspection' function.
|
|
1440
|
+
class GetDataSourceIntrospectionResponseTypeDef(BaseValidatorModel):
|
|
1441
|
+
introspectionId: str
|
|
1442
|
+
introspectionStatus: DataSourceIntrospectionStatusType
|
|
1443
|
+
introspectionStatusDetail: str
|
|
1444
|
+
introspectionResult: DataSourceIntrospectionResultTypeDef
|
|
1445
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class ChannelNamespaceTypeDef(BaseValidatorModel):
|
|
1449
|
+
apiId: Optional[str] = None
|
|
1450
|
+
name: Optional[str] = None
|
|
1451
|
+
subscribeAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1452
|
+
publishAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1453
|
+
codeHandlers: Optional[str] = None
|
|
1454
|
+
tags: Optional[Dict[str, str]] = None
|
|
1455
|
+
channelNamespaceArn: Optional[str] = None
|
|
1456
|
+
created: Optional[datetime] = None
|
|
1457
|
+
lastModified: Optional[datetime] = None
|
|
1458
|
+
handlerConfigs: Optional[HandlerConfigsTypeDef] = None
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
# This class is the input for the 'create_channel_namespace' function.
|
|
1462
|
+
class CreateChannelNamespaceRequestTypeDef(BaseValidatorModel):
|
|
1463
|
+
apiId: str
|
|
1464
|
+
name: str
|
|
1465
|
+
subscribeAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1466
|
+
publishAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1467
|
+
codeHandlers: Optional[str] = None
|
|
1468
|
+
tags: Optional[Dict[str, str]] = None
|
|
1469
|
+
handlerConfigs: Optional[HandlerConfigsTypeDef] = None
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
# This class is the input for the 'update_channel_namespace' function.
|
|
1473
|
+
class UpdateChannelNamespaceRequestTypeDef(BaseValidatorModel):
|
|
1474
|
+
apiId: str
|
|
1475
|
+
name: str
|
|
1476
|
+
subscribeAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1477
|
+
publishAuthModes: Optional[List[AuthModeTypeDef]] = None
|
|
1478
|
+
codeHandlers: Optional[str] = None
|
|
1479
|
+
handlerConfigs: Optional[HandlerConfigsTypeDef] = None
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
# This class is the output for the 'create_channel_namespace' function.
|
|
1483
|
+
class CreateChannelNamespaceResponseTypeDef(BaseValidatorModel):
|
|
1484
|
+
channelNamespace: ChannelNamespaceTypeDef
|
|
1485
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
# This class is the output for the 'get_channel_namespace' function.
|
|
1489
|
+
class GetChannelNamespaceResponseTypeDef(BaseValidatorModel):
|
|
1490
|
+
channelNamespace: ChannelNamespaceTypeDef
|
|
1491
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
# This class is the output for the 'list_channel_namespaces' function.
|
|
1495
|
+
class ListChannelNamespacesResponseTypeDef(BaseValidatorModel):
|
|
1496
|
+
channelNamespaces: List[ChannelNamespaceTypeDef]
|
|
1497
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1498
|
+
nextToken: Optional[str] = None
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
# This class is the output for the 'update_channel_namespace' function.
|
|
1502
|
+
class UpdateChannelNamespaceResponseTypeDef(BaseValidatorModel):
|
|
1503
|
+
channelNamespace: ChannelNamespaceTypeDef
|
|
1504
|
+
ResponseMetadata: ResponseMetadataTypeDef
|