aws-sdk-appsync 1.47.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +375 -78
- data/lib/aws-sdk-appsync/client_api.rb +194 -0
- data/lib/aws-sdk-appsync/types.rb +577 -201
- data/lib/aws-sdk-appsync.rb +2 -2
- metadata +4 -4
@@ -16,6 +16,7 @@ module Aws::AppSync
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AdditionalAuthenticationProvider = Shapes::StructureShape.new(name: 'AdditionalAuthenticationProvider')
|
18
18
|
AdditionalAuthenticationProviders = Shapes::ListShape.new(name: 'AdditionalAuthenticationProviders')
|
19
|
+
ApiAssociation = Shapes::StructureShape.new(name: 'ApiAssociation')
|
19
20
|
ApiCache = Shapes::StructureShape.new(name: 'ApiCache')
|
20
21
|
ApiCacheStatus = Shapes::StringShape.new(name: 'ApiCacheStatus')
|
21
22
|
ApiCacheType = Shapes::StringShape.new(name: 'ApiCacheType')
|
@@ -25,6 +26,9 @@ module Aws::AppSync
|
|
25
26
|
ApiKeyValidityOutOfBoundsException = Shapes::StructureShape.new(name: 'ApiKeyValidityOutOfBoundsException')
|
26
27
|
ApiKeys = Shapes::ListShape.new(name: 'ApiKeys')
|
27
28
|
ApiLimitExceededException = Shapes::StructureShape.new(name: 'ApiLimitExceededException')
|
29
|
+
AssociateApiRequest = Shapes::StructureShape.new(name: 'AssociateApiRequest')
|
30
|
+
AssociateApiResponse = Shapes::StructureShape.new(name: 'AssociateApiResponse')
|
31
|
+
AssociationStatus = Shapes::StringShape.new(name: 'AssociationStatus')
|
28
32
|
AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
|
29
33
|
AuthorizationConfig = Shapes::StructureShape.new(name: 'AuthorizationConfig')
|
30
34
|
AuthorizationType = Shapes::StringShape.new(name: 'AuthorizationType')
|
@@ -35,6 +39,7 @@ module Aws::AppSync
|
|
35
39
|
BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
|
36
40
|
CachingConfig = Shapes::StructureShape.new(name: 'CachingConfig')
|
37
41
|
CachingKeys = Shapes::ListShape.new(name: 'CachingKeys')
|
42
|
+
CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
|
38
43
|
CognitoUserPoolConfig = Shapes::StructureShape.new(name: 'CognitoUserPoolConfig')
|
39
44
|
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
40
45
|
ConflictDetectionType = Shapes::StringShape.new(name: 'ConflictDetectionType')
|
@@ -45,6 +50,8 @@ module Aws::AppSync
|
|
45
50
|
CreateApiKeyResponse = Shapes::StructureShape.new(name: 'CreateApiKeyResponse')
|
46
51
|
CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
|
47
52
|
CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
|
53
|
+
CreateDomainNameRequest = Shapes::StructureShape.new(name: 'CreateDomainNameRequest')
|
54
|
+
CreateDomainNameResponse = Shapes::StructureShape.new(name: 'CreateDomainNameResponse')
|
48
55
|
CreateFunctionRequest = Shapes::StructureShape.new(name: 'CreateFunctionRequest')
|
49
56
|
CreateFunctionResponse = Shapes::StructureShape.new(name: 'CreateFunctionResponse')
|
50
57
|
CreateGraphqlApiRequest = Shapes::StructureShape.new(name: 'CreateGraphqlApiRequest')
|
@@ -63,6 +70,8 @@ module Aws::AppSync
|
|
63
70
|
DeleteApiKeyResponse = Shapes::StructureShape.new(name: 'DeleteApiKeyResponse')
|
64
71
|
DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
|
65
72
|
DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
|
73
|
+
DeleteDomainNameRequest = Shapes::StructureShape.new(name: 'DeleteDomainNameRequest')
|
74
|
+
DeleteDomainNameResponse = Shapes::StructureShape.new(name: 'DeleteDomainNameResponse')
|
66
75
|
DeleteFunctionRequest = Shapes::StructureShape.new(name: 'DeleteFunctionRequest')
|
67
76
|
DeleteFunctionResponse = Shapes::StructureShape.new(name: 'DeleteFunctionResponse')
|
68
77
|
DeleteGraphqlApiRequest = Shapes::StructureShape.new(name: 'DeleteGraphqlApiRequest')
|
@@ -72,6 +81,12 @@ module Aws::AppSync
|
|
72
81
|
DeleteTypeRequest = Shapes::StructureShape.new(name: 'DeleteTypeRequest')
|
73
82
|
DeleteTypeResponse = Shapes::StructureShape.new(name: 'DeleteTypeResponse')
|
74
83
|
DeltaSyncConfig = Shapes::StructureShape.new(name: 'DeltaSyncConfig')
|
84
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
85
|
+
DisassociateApiRequest = Shapes::StructureShape.new(name: 'DisassociateApiRequest')
|
86
|
+
DisassociateApiResponse = Shapes::StructureShape.new(name: 'DisassociateApiResponse')
|
87
|
+
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
88
|
+
DomainNameConfig = Shapes::StructureShape.new(name: 'DomainNameConfig')
|
89
|
+
DomainNameConfigs = Shapes::ListShape.new(name: 'DomainNameConfigs')
|
75
90
|
DynamodbDataSourceConfig = Shapes::StructureShape.new(name: 'DynamodbDataSourceConfig')
|
76
91
|
ElasticsearchDataSourceConfig = Shapes::StructureShape.new(name: 'ElasticsearchDataSourceConfig')
|
77
92
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -81,10 +96,14 @@ module Aws::AppSync
|
|
81
96
|
FunctionConfiguration = Shapes::StructureShape.new(name: 'FunctionConfiguration')
|
82
97
|
Functions = Shapes::ListShape.new(name: 'Functions')
|
83
98
|
FunctionsIds = Shapes::ListShape.new(name: 'FunctionsIds')
|
99
|
+
GetApiAssociationRequest = Shapes::StructureShape.new(name: 'GetApiAssociationRequest')
|
100
|
+
GetApiAssociationResponse = Shapes::StructureShape.new(name: 'GetApiAssociationResponse')
|
84
101
|
GetApiCacheRequest = Shapes::StructureShape.new(name: 'GetApiCacheRequest')
|
85
102
|
GetApiCacheResponse = Shapes::StructureShape.new(name: 'GetApiCacheResponse')
|
86
103
|
GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
|
87
104
|
GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
|
105
|
+
GetDomainNameRequest = Shapes::StructureShape.new(name: 'GetDomainNameRequest')
|
106
|
+
GetDomainNameResponse = Shapes::StructureShape.new(name: 'GetDomainNameResponse')
|
88
107
|
GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
|
89
108
|
GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
|
90
109
|
GetGraphqlApiRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiRequest')
|
@@ -110,6 +129,8 @@ module Aws::AppSync
|
|
110
129
|
ListApiKeysResponse = Shapes::StructureShape.new(name: 'ListApiKeysResponse')
|
111
130
|
ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
|
112
131
|
ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
|
132
|
+
ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
|
133
|
+
ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
|
113
134
|
ListFunctionsRequest = Shapes::StructureShape.new(name: 'ListFunctionsRequest')
|
114
135
|
ListFunctionsResponse = Shapes::StructureShape.new(name: 'ListFunctionsResponse')
|
115
136
|
ListGraphqlApisRequest = Shapes::StructureShape.new(name: 'ListGraphqlApisRequest')
|
@@ -126,6 +147,7 @@ module Aws::AppSync
|
|
126
147
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
127
148
|
MapOfStringToString = Shapes::MapShape.new(name: 'MapOfStringToString')
|
128
149
|
MappingTemplate = Shapes::StringShape.new(name: 'MappingTemplate')
|
150
|
+
MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
|
129
151
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
130
152
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
131
153
|
OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
|
@@ -165,6 +187,8 @@ module Aws::AppSync
|
|
165
187
|
UpdateApiKeyResponse = Shapes::StructureShape.new(name: 'UpdateApiKeyResponse')
|
166
188
|
UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
|
167
189
|
UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
|
190
|
+
UpdateDomainNameRequest = Shapes::StructureShape.new(name: 'UpdateDomainNameRequest')
|
191
|
+
UpdateDomainNameResponse = Shapes::StructureShape.new(name: 'UpdateDomainNameResponse')
|
168
192
|
UpdateFunctionRequest = Shapes::StructureShape.new(name: 'UpdateFunctionRequest')
|
169
193
|
UpdateFunctionResponse = Shapes::StructureShape.new(name: 'UpdateFunctionResponse')
|
170
194
|
UpdateGraphqlApiRequest = Shapes::StructureShape.new(name: 'UpdateGraphqlApiRequest')
|
@@ -186,6 +210,12 @@ module Aws::AppSync
|
|
186
210
|
|
187
211
|
AdditionalAuthenticationProviders.member = Shapes::ShapeRef.new(shape: AdditionalAuthenticationProvider)
|
188
212
|
|
213
|
+
ApiAssociation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
|
214
|
+
ApiAssociation.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
|
215
|
+
ApiAssociation.add_member(:association_status, Shapes::ShapeRef.new(shape: AssociationStatus, location_name: "associationStatus"))
|
216
|
+
ApiAssociation.add_member(:deployment_detail, Shapes::ShapeRef.new(shape: String, location_name: "deploymentDetail"))
|
217
|
+
ApiAssociation.struct_class = Types::ApiAssociation
|
218
|
+
|
189
219
|
ApiCache.add_member(:ttl, Shapes::ShapeRef.new(shape: Long, location_name: "ttl"))
|
190
220
|
ApiCache.add_member(:api_caching_behavior, Shapes::ShapeRef.new(shape: ApiCachingBehavior, location_name: "apiCachingBehavior"))
|
191
221
|
ApiCache.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "transitEncryptionEnabled"))
|
@@ -211,6 +241,13 @@ module Aws::AppSync
|
|
211
241
|
ApiLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
212
242
|
ApiLimitExceededException.struct_class = Types::ApiLimitExceededException
|
213
243
|
|
244
|
+
AssociateApiRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
245
|
+
AssociateApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "apiId"))
|
246
|
+
AssociateApiRequest.struct_class = Types::AssociateApiRequest
|
247
|
+
|
248
|
+
AssociateApiResponse.add_member(:api_association, Shapes::ShapeRef.new(shape: ApiAssociation, location_name: "apiAssociation"))
|
249
|
+
AssociateApiResponse.struct_class = Types::AssociateApiResponse
|
250
|
+
|
214
251
|
AuthorizationConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "authorizationType"))
|
215
252
|
AuthorizationConfig.add_member(:aws_iam_config, Shapes::ShapeRef.new(shape: AwsIamConfig, location_name: "awsIamConfig"))
|
216
253
|
AuthorizationConfig.struct_class = Types::AuthorizationConfig
|
@@ -271,6 +308,14 @@ module Aws::AppSync
|
|
271
308
|
CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
272
309
|
CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
|
273
310
|
|
311
|
+
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
|
312
|
+
CreateDomainNameRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "certificateArn"))
|
313
|
+
CreateDomainNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
314
|
+
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
315
|
+
|
316
|
+
CreateDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
|
317
|
+
CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
|
318
|
+
|
274
319
|
CreateFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
275
320
|
CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
276
321
|
CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
@@ -279,6 +324,7 @@ module Aws::AppSync
|
|
279
324
|
CreateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
280
325
|
CreateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
|
281
326
|
CreateFunctionRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
327
|
+
CreateFunctionRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
282
328
|
CreateFunctionRequest.struct_class = Types::CreateFunctionRequest
|
283
329
|
|
284
330
|
CreateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
|
@@ -308,6 +354,7 @@ module Aws::AppSync
|
|
308
354
|
CreateResolverRequest.add_member(:pipeline_config, Shapes::ShapeRef.new(shape: PipelineConfig, location_name: "pipelineConfig"))
|
309
355
|
CreateResolverRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
310
356
|
CreateResolverRequest.add_member(:caching_config, Shapes::ShapeRef.new(shape: CachingConfig, location_name: "cachingConfig"))
|
357
|
+
CreateResolverRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
311
358
|
CreateResolverRequest.struct_class = Types::CreateResolverRequest
|
312
359
|
|
313
360
|
CreateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
|
@@ -353,6 +400,11 @@ module Aws::AppSync
|
|
353
400
|
|
354
401
|
DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
|
355
402
|
|
403
|
+
DeleteDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
404
|
+
DeleteDomainNameRequest.struct_class = Types::DeleteDomainNameRequest
|
405
|
+
|
406
|
+
DeleteDomainNameResponse.struct_class = Types::DeleteDomainNameResponse
|
407
|
+
|
356
408
|
DeleteFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
357
409
|
DeleteFunctionRequest.add_member(:function_id, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "functionId"))
|
358
410
|
DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
|
@@ -382,6 +434,20 @@ module Aws::AppSync
|
|
382
434
|
DeltaSyncConfig.add_member(:delta_sync_table_ttl, Shapes::ShapeRef.new(shape: Long, location_name: "deltaSyncTableTTL"))
|
383
435
|
DeltaSyncConfig.struct_class = Types::DeltaSyncConfig
|
384
436
|
|
437
|
+
DisassociateApiRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
438
|
+
DisassociateApiRequest.struct_class = Types::DisassociateApiRequest
|
439
|
+
|
440
|
+
DisassociateApiResponse.struct_class = Types::DisassociateApiResponse
|
441
|
+
|
442
|
+
DomainNameConfig.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
|
443
|
+
DomainNameConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
444
|
+
DomainNameConfig.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
445
|
+
DomainNameConfig.add_member(:appsync_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "appsyncDomainName"))
|
446
|
+
DomainNameConfig.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "hostedZoneId"))
|
447
|
+
DomainNameConfig.struct_class = Types::DomainNameConfig
|
448
|
+
|
449
|
+
DomainNameConfigs.member = Shapes::ShapeRef.new(shape: DomainNameConfig)
|
450
|
+
|
385
451
|
DynamodbDataSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tableName"))
|
386
452
|
DynamodbDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
|
387
453
|
DynamodbDataSourceConfig.add_member(:use_caller_credentials, Shapes::ShapeRef.new(shape: Boolean, location_name: "useCallerCredentials"))
|
@@ -407,12 +473,19 @@ module Aws::AppSync
|
|
407
473
|
FunctionConfiguration.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
408
474
|
FunctionConfiguration.add_member(:function_version, Shapes::ShapeRef.new(shape: String, location_name: "functionVersion"))
|
409
475
|
FunctionConfiguration.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
476
|
+
FunctionConfiguration.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
410
477
|
FunctionConfiguration.struct_class = Types::FunctionConfiguration
|
411
478
|
|
412
479
|
Functions.member = Shapes::ShapeRef.new(shape: FunctionConfiguration)
|
413
480
|
|
414
481
|
FunctionsIds.member = Shapes::ShapeRef.new(shape: String)
|
415
482
|
|
483
|
+
GetApiAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
484
|
+
GetApiAssociationRequest.struct_class = Types::GetApiAssociationRequest
|
485
|
+
|
486
|
+
GetApiAssociationResponse.add_member(:api_association, Shapes::ShapeRef.new(shape: ApiAssociation, location_name: "apiAssociation"))
|
487
|
+
GetApiAssociationResponse.struct_class = Types::GetApiAssociationResponse
|
488
|
+
|
416
489
|
GetApiCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
417
490
|
GetApiCacheRequest.struct_class = Types::GetApiCacheRequest
|
418
491
|
|
@@ -426,6 +499,12 @@ module Aws::AppSync
|
|
426
499
|
GetDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
427
500
|
GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
|
428
501
|
|
502
|
+
GetDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
503
|
+
GetDomainNameRequest.struct_class = Types::GetDomainNameRequest
|
504
|
+
|
505
|
+
GetDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
|
506
|
+
GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
|
507
|
+
|
429
508
|
GetFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
430
509
|
GetFunctionRequest.add_member(:function_id, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "functionId"))
|
431
510
|
GetFunctionRequest.struct_class = Types::GetFunctionRequest
|
@@ -531,6 +610,14 @@ module Aws::AppSync
|
|
531
610
|
ListDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
532
611
|
ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
|
533
612
|
|
613
|
+
ListDomainNamesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
614
|
+
ListDomainNamesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
615
|
+
ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
|
616
|
+
|
617
|
+
ListDomainNamesResponse.add_member(:domain_name_configs, Shapes::ShapeRef.new(shape: DomainNameConfigs, location_name: "domainNameConfigs"))
|
618
|
+
ListDomainNamesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
619
|
+
ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
|
620
|
+
|
534
621
|
ListFunctionsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
535
622
|
ListFunctionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
536
623
|
ListFunctionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
@@ -629,6 +716,7 @@ module Aws::AppSync
|
|
629
716
|
Resolver.add_member(:pipeline_config, Shapes::ShapeRef.new(shape: PipelineConfig, location_name: "pipelineConfig"))
|
630
717
|
Resolver.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
631
718
|
Resolver.add_member(:caching_config, Shapes::ShapeRef.new(shape: CachingConfig, location_name: "cachingConfig"))
|
719
|
+
Resolver.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
632
720
|
Resolver.struct_class = Types::Resolver
|
633
721
|
|
634
722
|
Resolvers.member = Shapes::ShapeRef.new(shape: Resolver)
|
@@ -708,6 +796,13 @@ module Aws::AppSync
|
|
708
796
|
UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
709
797
|
UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
|
710
798
|
|
799
|
+
UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
800
|
+
UpdateDomainNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
801
|
+
UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
|
802
|
+
|
803
|
+
UpdateDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
|
804
|
+
UpdateDomainNameResponse.struct_class = Types::UpdateDomainNameResponse
|
805
|
+
|
711
806
|
UpdateFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
|
712
807
|
UpdateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
713
808
|
UpdateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
@@ -717,6 +812,7 @@ module Aws::AppSync
|
|
717
812
|
UpdateFunctionRequest.add_member(:response_mapping_template, Shapes::ShapeRef.new(shape: MappingTemplate, location_name: "responseMappingTemplate"))
|
718
813
|
UpdateFunctionRequest.add_member(:function_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "functionVersion"))
|
719
814
|
UpdateFunctionRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
815
|
+
UpdateFunctionRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
720
816
|
UpdateFunctionRequest.struct_class = Types::UpdateFunctionRequest
|
721
817
|
|
722
818
|
UpdateFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
|
@@ -746,6 +842,7 @@ module Aws::AppSync
|
|
746
842
|
UpdateResolverRequest.add_member(:pipeline_config, Shapes::ShapeRef.new(shape: PipelineConfig, location_name: "pipelineConfig"))
|
747
843
|
UpdateResolverRequest.add_member(:sync_config, Shapes::ShapeRef.new(shape: SyncConfig, location_name: "syncConfig"))
|
748
844
|
UpdateResolverRequest.add_member(:caching_config, Shapes::ShapeRef.new(shape: CachingConfig, location_name: "cachingConfig"))
|
845
|
+
UpdateResolverRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
|
749
846
|
UpdateResolverRequest.struct_class = Types::UpdateResolverRequest
|
750
847
|
|
751
848
|
UpdateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
|
@@ -785,6 +882,18 @@ module Aws::AppSync
|
|
785
882
|
"uid" => "appsync-2017-07-25",
|
786
883
|
}
|
787
884
|
|
885
|
+
api.add_operation(:associate_api, Seahorse::Model::Operation.new.tap do |o|
|
886
|
+
o.name = "AssociateApi"
|
887
|
+
o.http_method = "POST"
|
888
|
+
o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
|
889
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateApiRequest)
|
890
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateApiResponse)
|
891
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
895
|
+
end)
|
896
|
+
|
788
897
|
api.add_operation(:create_api_cache, Seahorse::Model::Operation.new.tap do |o|
|
789
898
|
o.name = "CreateApiCache"
|
790
899
|
o.http_method = "POST"
|
@@ -827,6 +936,17 @@ module Aws::AppSync
|
|
827
936
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
828
937
|
end)
|
829
938
|
|
939
|
+
api.add_operation(:create_domain_name, Seahorse::Model::Operation.new.tap do |o|
|
940
|
+
o.name = "CreateDomainName"
|
941
|
+
o.http_method = "POST"
|
942
|
+
o.http_request_uri = "/v1/domainnames"
|
943
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
|
944
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDomainNameResponse)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
948
|
+
end)
|
949
|
+
|
830
950
|
api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
|
831
951
|
o.name = "CreateFunction"
|
832
952
|
o.http_method = "POST"
|
@@ -916,6 +1036,19 @@ module Aws::AppSync
|
|
916
1036
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
917
1037
|
end)
|
918
1038
|
|
1039
|
+
api.add_operation(:delete_domain_name, Seahorse::Model::Operation.new.tap do |o|
|
1040
|
+
o.name = "DeleteDomainName"
|
1041
|
+
o.http_method = "DELETE"
|
1042
|
+
o.http_request_uri = "/v1/domainnames/{domainName}"
|
1043
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
|
1044
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDomainNameResponse)
|
1045
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1046
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1050
|
+
end)
|
1051
|
+
|
919
1052
|
api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
|
920
1053
|
o.name = "DeleteFunction"
|
921
1054
|
o.http_method = "DELETE"
|
@@ -967,6 +1100,19 @@ module Aws::AppSync
|
|
967
1100
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
968
1101
|
end)
|
969
1102
|
|
1103
|
+
api.add_operation(:disassociate_api, Seahorse::Model::Operation.new.tap do |o|
|
1104
|
+
o.name = "DisassociateApi"
|
1105
|
+
o.http_method = "DELETE"
|
1106
|
+
o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
|
1107
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateApiRequest)
|
1108
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateApiResponse)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1110
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1111
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1112
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1113
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1114
|
+
end)
|
1115
|
+
|
970
1116
|
api.add_operation(:flush_api_cache, Seahorse::Model::Operation.new.tap do |o|
|
971
1117
|
o.name = "FlushApiCache"
|
972
1118
|
o.http_method = "DELETE"
|
@@ -980,6 +1126,18 @@ module Aws::AppSync
|
|
980
1126
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
981
1127
|
end)
|
982
1128
|
|
1129
|
+
api.add_operation(:get_api_association, Seahorse::Model::Operation.new.tap do |o|
|
1130
|
+
o.name = "GetApiAssociation"
|
1131
|
+
o.http_method = "GET"
|
1132
|
+
o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
|
1133
|
+
o.input = Shapes::ShapeRef.new(shape: GetApiAssociationRequest)
|
1134
|
+
o.output = Shapes::ShapeRef.new(shape: GetApiAssociationResponse)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1136
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1137
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1138
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1139
|
+
end)
|
1140
|
+
|
983
1141
|
api.add_operation(:get_api_cache, Seahorse::Model::Operation.new.tap do |o|
|
984
1142
|
o.name = "GetApiCache"
|
985
1143
|
o.http_method = "GET"
|
@@ -1006,6 +1164,18 @@ module Aws::AppSync
|
|
1006
1164
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1007
1165
|
end)
|
1008
1166
|
|
1167
|
+
api.add_operation(:get_domain_name, Seahorse::Model::Operation.new.tap do |o|
|
1168
|
+
o.name = "GetDomainName"
|
1169
|
+
o.http_method = "GET"
|
1170
|
+
o.http_request_uri = "/v1/domainnames/{domainName}"
|
1171
|
+
o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
|
1172
|
+
o.output = Shapes::ShapeRef.new(shape: GetDomainNameResponse)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1177
|
+
end)
|
1178
|
+
|
1009
1179
|
api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
|
1010
1180
|
o.name = "GetFunction"
|
1011
1181
|
o.http_method = "GET"
|
@@ -1102,6 +1272,17 @@ module Aws::AppSync
|
|
1102
1272
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1103
1273
|
end)
|
1104
1274
|
|
1275
|
+
api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
|
1276
|
+
o.name = "ListDomainNames"
|
1277
|
+
o.http_method = "GET"
|
1278
|
+
o.http_request_uri = "/v1/domainnames"
|
1279
|
+
o.input = Shapes::ShapeRef.new(shape: ListDomainNamesRequest)
|
1280
|
+
o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1284
|
+
end)
|
1285
|
+
|
1105
1286
|
api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
|
1106
1287
|
o.name = "ListFunctions"
|
1107
1288
|
o.http_method = "GET"
|
@@ -1257,6 +1438,19 @@ module Aws::AppSync
|
|
1257
1438
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1258
1439
|
end)
|
1259
1440
|
|
1441
|
+
api.add_operation(:update_domain_name, Seahorse::Model::Operation.new.tap do |o|
|
1442
|
+
o.name = "UpdateDomainName"
|
1443
|
+
o.http_method = "POST"
|
1444
|
+
o.http_request_uri = "/v1/domainnames/{domainName}"
|
1445
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
|
1446
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDomainNameResponse)
|
1447
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1448
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1449
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
1450
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1451
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1452
|
+
end)
|
1453
|
+
|
1260
1454
|
api.add_operation(:update_function, Seahorse::Model::Operation.new.tap do |o|
|
1261
1455
|
o.name = "UpdateFunction"
|
1262
1456
|
o.http_method = "POST"
|