aws-sdk-appsync 1.47.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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')
@@ -165,6 +186,8 @@ module Aws::AppSync
165
186
  UpdateApiKeyResponse = Shapes::StructureShape.new(name: 'UpdateApiKeyResponse')
166
187
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
167
188
  UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
189
+ UpdateDomainNameRequest = Shapes::StructureShape.new(name: 'UpdateDomainNameRequest')
190
+ UpdateDomainNameResponse = Shapes::StructureShape.new(name: 'UpdateDomainNameResponse')
168
191
  UpdateFunctionRequest = Shapes::StructureShape.new(name: 'UpdateFunctionRequest')
169
192
  UpdateFunctionResponse = Shapes::StructureShape.new(name: 'UpdateFunctionResponse')
170
193
  UpdateGraphqlApiRequest = Shapes::StructureShape.new(name: 'UpdateGraphqlApiRequest')
@@ -186,6 +209,12 @@ module Aws::AppSync
186
209
 
187
210
  AdditionalAuthenticationProviders.member = Shapes::ShapeRef.new(shape: AdditionalAuthenticationProvider)
188
211
 
212
+ ApiAssociation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
213
+ ApiAssociation.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
214
+ ApiAssociation.add_member(:association_status, Shapes::ShapeRef.new(shape: AssociationStatus, location_name: "associationStatus"))
215
+ ApiAssociation.add_member(:deployment_detail, Shapes::ShapeRef.new(shape: String, location_name: "deploymentDetail"))
216
+ ApiAssociation.struct_class = Types::ApiAssociation
217
+
189
218
  ApiCache.add_member(:ttl, Shapes::ShapeRef.new(shape: Long, location_name: "ttl"))
190
219
  ApiCache.add_member(:api_caching_behavior, Shapes::ShapeRef.new(shape: ApiCachingBehavior, location_name: "apiCachingBehavior"))
191
220
  ApiCache.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "transitEncryptionEnabled"))
@@ -211,6 +240,13 @@ module Aws::AppSync
211
240
  ApiLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
212
241
  ApiLimitExceededException.struct_class = Types::ApiLimitExceededException
213
242
 
243
+ AssociateApiRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
244
+ AssociateApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "apiId"))
245
+ AssociateApiRequest.struct_class = Types::AssociateApiRequest
246
+
247
+ AssociateApiResponse.add_member(:api_association, Shapes::ShapeRef.new(shape: ApiAssociation, location_name: "apiAssociation"))
248
+ AssociateApiResponse.struct_class = Types::AssociateApiResponse
249
+
214
250
  AuthorizationConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "authorizationType"))
215
251
  AuthorizationConfig.add_member(:aws_iam_config, Shapes::ShapeRef.new(shape: AwsIamConfig, location_name: "awsIamConfig"))
216
252
  AuthorizationConfig.struct_class = Types::AuthorizationConfig
@@ -271,6 +307,14 @@ module Aws::AppSync
271
307
  CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
272
308
  CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
273
309
 
310
+ CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
311
+ CreateDomainNameRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "certificateArn"))
312
+ CreateDomainNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
313
+ CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
314
+
315
+ CreateDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
316
+ CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
317
+
274
318
  CreateFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
275
319
  CreateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
276
320
  CreateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -353,6 +397,11 @@ module Aws::AppSync
353
397
 
354
398
  DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
355
399
 
400
+ DeleteDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
401
+ DeleteDomainNameRequest.struct_class = Types::DeleteDomainNameRequest
402
+
403
+ DeleteDomainNameResponse.struct_class = Types::DeleteDomainNameResponse
404
+
356
405
  DeleteFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
357
406
  DeleteFunctionRequest.add_member(:function_id, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "functionId"))
358
407
  DeleteFunctionRequest.struct_class = Types::DeleteFunctionRequest
@@ -382,6 +431,20 @@ module Aws::AppSync
382
431
  DeltaSyncConfig.add_member(:delta_sync_table_ttl, Shapes::ShapeRef.new(shape: Long, location_name: "deltaSyncTableTTL"))
383
432
  DeltaSyncConfig.struct_class = Types::DeltaSyncConfig
384
433
 
434
+ DisassociateApiRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
435
+ DisassociateApiRequest.struct_class = Types::DisassociateApiRequest
436
+
437
+ DisassociateApiResponse.struct_class = Types::DisassociateApiResponse
438
+
439
+ DomainNameConfig.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
440
+ DomainNameConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
441
+ DomainNameConfig.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
442
+ DomainNameConfig.add_member(:appsync_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "appsyncDomainName"))
443
+ DomainNameConfig.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "hostedZoneId"))
444
+ DomainNameConfig.struct_class = Types::DomainNameConfig
445
+
446
+ DomainNameConfigs.member = Shapes::ShapeRef.new(shape: DomainNameConfig)
447
+
385
448
  DynamodbDataSourceConfig.add_member(:table_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "tableName"))
386
449
  DynamodbDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
387
450
  DynamodbDataSourceConfig.add_member(:use_caller_credentials, Shapes::ShapeRef.new(shape: Boolean, location_name: "useCallerCredentials"))
@@ -413,6 +476,12 @@ module Aws::AppSync
413
476
 
414
477
  FunctionsIds.member = Shapes::ShapeRef.new(shape: String)
415
478
 
479
+ GetApiAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
480
+ GetApiAssociationRequest.struct_class = Types::GetApiAssociationRequest
481
+
482
+ GetApiAssociationResponse.add_member(:api_association, Shapes::ShapeRef.new(shape: ApiAssociation, location_name: "apiAssociation"))
483
+ GetApiAssociationResponse.struct_class = Types::GetApiAssociationResponse
484
+
416
485
  GetApiCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
417
486
  GetApiCacheRequest.struct_class = Types::GetApiCacheRequest
418
487
 
@@ -426,6 +495,12 @@ module Aws::AppSync
426
495
  GetDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
427
496
  GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
428
497
 
498
+ GetDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
499
+ GetDomainNameRequest.struct_class = Types::GetDomainNameRequest
500
+
501
+ GetDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
502
+ GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
503
+
429
504
  GetFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
430
505
  GetFunctionRequest.add_member(:function_id, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "functionId"))
431
506
  GetFunctionRequest.struct_class = Types::GetFunctionRequest
@@ -531,6 +606,14 @@ module Aws::AppSync
531
606
  ListDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
532
607
  ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
533
608
 
609
+ ListDomainNamesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
610
+ ListDomainNamesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
611
+ ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
612
+
613
+ ListDomainNamesResponse.add_member(:domain_name_configs, Shapes::ShapeRef.new(shape: DomainNameConfigs, location_name: "domainNameConfigs"))
614
+ ListDomainNamesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
615
+ ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
616
+
534
617
  ListFunctionsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
535
618
  ListFunctionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
536
619
  ListFunctionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -708,6 +791,13 @@ module Aws::AppSync
708
791
  UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
709
792
  UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
710
793
 
794
+ UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
795
+ UpdateDomainNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
796
+ UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
797
+
798
+ UpdateDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
799
+ UpdateDomainNameResponse.struct_class = Types::UpdateDomainNameResponse
800
+
711
801
  UpdateFunctionRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
712
802
  UpdateFunctionRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
713
803
  UpdateFunctionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -785,6 +875,18 @@ module Aws::AppSync
785
875
  "uid" => "appsync-2017-07-25",
786
876
  }
787
877
 
878
+ api.add_operation(:associate_api, Seahorse::Model::Operation.new.tap do |o|
879
+ o.name = "AssociateApi"
880
+ o.http_method = "POST"
881
+ o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
882
+ o.input = Shapes::ShapeRef.new(shape: AssociateApiRequest)
883
+ o.output = Shapes::ShapeRef.new(shape: AssociateApiResponse)
884
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
885
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
886
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
887
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
888
+ end)
889
+
788
890
  api.add_operation(:create_api_cache, Seahorse::Model::Operation.new.tap do |o|
789
891
  o.name = "CreateApiCache"
790
892
  o.http_method = "POST"
@@ -827,6 +929,17 @@ module Aws::AppSync
827
929
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
828
930
  end)
829
931
 
932
+ api.add_operation(:create_domain_name, Seahorse::Model::Operation.new.tap do |o|
933
+ o.name = "CreateDomainName"
934
+ o.http_method = "POST"
935
+ o.http_request_uri = "/v1/domainnames"
936
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
937
+ o.output = Shapes::ShapeRef.new(shape: CreateDomainNameResponse)
938
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
939
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
940
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
941
+ end)
942
+
830
943
  api.add_operation(:create_function, Seahorse::Model::Operation.new.tap do |o|
831
944
  o.name = "CreateFunction"
832
945
  o.http_method = "POST"
@@ -916,6 +1029,19 @@ module Aws::AppSync
916
1029
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
917
1030
  end)
918
1031
 
1032
+ api.add_operation(:delete_domain_name, Seahorse::Model::Operation.new.tap do |o|
1033
+ o.name = "DeleteDomainName"
1034
+ o.http_method = "DELETE"
1035
+ o.http_request_uri = "/v1/domainnames/{domainName}"
1036
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
1037
+ o.output = Shapes::ShapeRef.new(shape: DeleteDomainNameResponse)
1038
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1043
+ end)
1044
+
919
1045
  api.add_operation(:delete_function, Seahorse::Model::Operation.new.tap do |o|
920
1046
  o.name = "DeleteFunction"
921
1047
  o.http_method = "DELETE"
@@ -967,6 +1093,19 @@ module Aws::AppSync
967
1093
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
968
1094
  end)
969
1095
 
1096
+ api.add_operation(:disassociate_api, Seahorse::Model::Operation.new.tap do |o|
1097
+ o.name = "DisassociateApi"
1098
+ o.http_method = "DELETE"
1099
+ o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
1100
+ o.input = Shapes::ShapeRef.new(shape: DisassociateApiRequest)
1101
+ o.output = Shapes::ShapeRef.new(shape: DisassociateApiResponse)
1102
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1104
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1107
+ end)
1108
+
970
1109
  api.add_operation(:flush_api_cache, Seahorse::Model::Operation.new.tap do |o|
971
1110
  o.name = "FlushApiCache"
972
1111
  o.http_method = "DELETE"
@@ -980,6 +1119,18 @@ module Aws::AppSync
980
1119
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
981
1120
  end)
982
1121
 
1122
+ api.add_operation(:get_api_association, Seahorse::Model::Operation.new.tap do |o|
1123
+ o.name = "GetApiAssociation"
1124
+ o.http_method = "GET"
1125
+ o.http_request_uri = "/v1/domainnames/{domainName}/apiassociation"
1126
+ o.input = Shapes::ShapeRef.new(shape: GetApiAssociationRequest)
1127
+ o.output = Shapes::ShapeRef.new(shape: GetApiAssociationResponse)
1128
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1132
+ end)
1133
+
983
1134
  api.add_operation(:get_api_cache, Seahorse::Model::Operation.new.tap do |o|
984
1135
  o.name = "GetApiCache"
985
1136
  o.http_method = "GET"
@@ -1006,6 +1157,18 @@ module Aws::AppSync
1006
1157
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1007
1158
  end)
1008
1159
 
1160
+ api.add_operation(:get_domain_name, Seahorse::Model::Operation.new.tap do |o|
1161
+ o.name = "GetDomainName"
1162
+ o.http_method = "GET"
1163
+ o.http_request_uri = "/v1/domainnames/{domainName}"
1164
+ o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
1165
+ o.output = Shapes::ShapeRef.new(shape: GetDomainNameResponse)
1166
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1167
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1170
+ end)
1171
+
1009
1172
  api.add_operation(:get_function, Seahorse::Model::Operation.new.tap do |o|
1010
1173
  o.name = "GetFunction"
1011
1174
  o.http_method = "GET"
@@ -1102,6 +1265,17 @@ module Aws::AppSync
1102
1265
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1103
1266
  end)
1104
1267
 
1268
+ api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
1269
+ o.name = "ListDomainNames"
1270
+ o.http_method = "GET"
1271
+ o.http_request_uri = "/v1/domainnames"
1272
+ o.input = Shapes::ShapeRef.new(shape: ListDomainNamesRequest)
1273
+ o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
1274
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1276
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1277
+ end)
1278
+
1105
1279
  api.add_operation(:list_functions, Seahorse::Model::Operation.new.tap do |o|
1106
1280
  o.name = "ListFunctions"
1107
1281
  o.http_method = "GET"
@@ -1257,6 +1431,19 @@ module Aws::AppSync
1257
1431
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1258
1432
  end)
1259
1433
 
1434
+ api.add_operation(:update_domain_name, Seahorse::Model::Operation.new.tap do |o|
1435
+ o.name = "UpdateDomainName"
1436
+ o.http_method = "POST"
1437
+ o.http_request_uri = "/v1/domainnames/{domainName}"
1438
+ o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
1439
+ o.output = Shapes::ShapeRef.new(shape: UpdateDomainNameResponse)
1440
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1445
+ end)
1446
+
1260
1447
  api.add_operation(:update_function, Seahorse::Model::Operation.new.tap do |o|
1261
1448
  o.name = "UpdateFunction"
1262
1449
  o.http_method = "POST"