aws-sdk-appsync 1.90.0 → 1.92.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.
@@ -17,6 +17,7 @@ module Aws::AppSync
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AdditionalAuthenticationProvider = Shapes::StructureShape.new(name: 'AdditionalAuthenticationProvider')
19
19
  AdditionalAuthenticationProviders = Shapes::ListShape.new(name: 'AdditionalAuthenticationProviders')
20
+ Api = Shapes::StructureShape.new(name: 'Api')
20
21
  ApiAssociation = Shapes::StructureShape.new(name: 'ApiAssociation')
21
22
  ApiCache = Shapes::StructureShape.new(name: 'ApiCache')
22
23
  ApiCacheStatus = Shapes::StringShape.new(name: 'ApiCacheStatus')
@@ -27,6 +28,8 @@ module Aws::AppSync
27
28
  ApiKeyValidityOutOfBoundsException = Shapes::StructureShape.new(name: 'ApiKeyValidityOutOfBoundsException')
28
29
  ApiKeys = Shapes::ListShape.new(name: 'ApiKeys')
29
30
  ApiLimitExceededException = Shapes::StructureShape.new(name: 'ApiLimitExceededException')
31
+ ApiName = Shapes::StringShape.new(name: 'ApiName')
32
+ Apis = Shapes::ListShape.new(name: 'Apis')
30
33
  AppSyncRuntime = Shapes::StructureShape.new(name: 'AppSyncRuntime')
31
34
  AssociateApiRequest = Shapes::StructureShape.new(name: 'AssociateApiRequest')
32
35
  AssociateApiResponse = Shapes::StructureShape.new(name: 'AssociateApiResponse')
@@ -35,6 +38,10 @@ module Aws::AppSync
35
38
  AssociateSourceGraphqlApiRequest = Shapes::StructureShape.new(name: 'AssociateSourceGraphqlApiRequest')
36
39
  AssociateSourceGraphqlApiResponse = Shapes::StructureShape.new(name: 'AssociateSourceGraphqlApiResponse')
37
40
  AssociationStatus = Shapes::StringShape.new(name: 'AssociationStatus')
41
+ AuthMode = Shapes::StructureShape.new(name: 'AuthMode')
42
+ AuthModes = Shapes::ListShape.new(name: 'AuthModes')
43
+ AuthProvider = Shapes::StructureShape.new(name: 'AuthProvider')
44
+ AuthProviders = Shapes::ListShape.new(name: 'AuthProviders')
38
45
  AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
39
46
  AuthorizationConfig = Shapes::StructureShape.new(name: 'AuthorizationConfig')
40
47
  AuthorizationType = Shapes::StringShape.new(name: 'AuthorizationType')
@@ -49,6 +56,8 @@ module Aws::AppSync
49
56
  CachingConfig = Shapes::StructureShape.new(name: 'CachingConfig')
50
57
  CachingKeys = Shapes::ListShape.new(name: 'CachingKeys')
51
58
  CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
59
+ ChannelNamespace = Shapes::StructureShape.new(name: 'ChannelNamespace')
60
+ ChannelNamespaces = Shapes::ListShape.new(name: 'ChannelNamespaces')
52
61
  Code = Shapes::StringShape.new(name: 'Code')
53
62
  CodeError = Shapes::StructureShape.new(name: 'CodeError')
54
63
  CodeErrorColumn = Shapes::IntegerShape.new(name: 'CodeErrorColumn')
@@ -56,15 +65,21 @@ module Aws::AppSync
56
65
  CodeErrorLocation = Shapes::StructureShape.new(name: 'CodeErrorLocation')
57
66
  CodeErrorSpan = Shapes::IntegerShape.new(name: 'CodeErrorSpan')
58
67
  CodeErrors = Shapes::ListShape.new(name: 'CodeErrors')
68
+ CognitoConfig = Shapes::StructureShape.new(name: 'CognitoConfig')
59
69
  CognitoUserPoolConfig = Shapes::StructureShape.new(name: 'CognitoUserPoolConfig')
60
70
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
61
71
  ConflictDetectionType = Shapes::StringShape.new(name: 'ConflictDetectionType')
72
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
62
73
  ConflictHandlerType = Shapes::StringShape.new(name: 'ConflictHandlerType')
63
74
  Context = Shapes::StringShape.new(name: 'Context')
64
75
  CreateApiCacheRequest = Shapes::StructureShape.new(name: 'CreateApiCacheRequest')
65
76
  CreateApiCacheResponse = Shapes::StructureShape.new(name: 'CreateApiCacheResponse')
66
77
  CreateApiKeyRequest = Shapes::StructureShape.new(name: 'CreateApiKeyRequest')
67
78
  CreateApiKeyResponse = Shapes::StructureShape.new(name: 'CreateApiKeyResponse')
79
+ CreateApiRequest = Shapes::StructureShape.new(name: 'CreateApiRequest')
80
+ CreateApiResponse = Shapes::StructureShape.new(name: 'CreateApiResponse')
81
+ CreateChannelNamespaceRequest = Shapes::StructureShape.new(name: 'CreateChannelNamespaceRequest')
82
+ CreateChannelNamespaceResponse = Shapes::StructureShape.new(name: 'CreateChannelNamespaceResponse')
68
83
  CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
69
84
  CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
70
85
  CreateDomainNameRequest = Shapes::StructureShape.new(name: 'CreateDomainNameRequest')
@@ -99,6 +114,10 @@ module Aws::AppSync
99
114
  DeleteApiCacheResponse = Shapes::StructureShape.new(name: 'DeleteApiCacheResponse')
100
115
  DeleteApiKeyRequest = Shapes::StructureShape.new(name: 'DeleteApiKeyRequest')
101
116
  DeleteApiKeyResponse = Shapes::StructureShape.new(name: 'DeleteApiKeyResponse')
117
+ DeleteApiRequest = Shapes::StructureShape.new(name: 'DeleteApiRequest')
118
+ DeleteApiResponse = Shapes::StructureShape.new(name: 'DeleteApiResponse')
119
+ DeleteChannelNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteChannelNamespaceRequest')
120
+ DeleteChannelNamespaceResponse = Shapes::StructureShape.new(name: 'DeleteChannelNamespaceResponse')
102
121
  DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
103
122
  DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
104
123
  DeleteDomainNameRequest = Shapes::StructureShape.new(name: 'DeleteDomainNameRequest')
@@ -137,6 +156,9 @@ module Aws::AppSync
137
156
  EvaluateMappingTemplateResponse = Shapes::StructureShape.new(name: 'EvaluateMappingTemplateResponse')
138
157
  EvaluationResult = Shapes::StringShape.new(name: 'EvaluationResult')
139
158
  EventBridgeDataSourceConfig = Shapes::StructureShape.new(name: 'EventBridgeDataSourceConfig')
159
+ EventConfig = Shapes::StructureShape.new(name: 'EventConfig')
160
+ EventLogConfig = Shapes::StructureShape.new(name: 'EventLogConfig')
161
+ EventLogLevel = Shapes::StringShape.new(name: 'EventLogLevel')
140
162
  FieldLogLevel = Shapes::StringShape.new(name: 'FieldLogLevel')
141
163
  FlushApiCacheRequest = Shapes::StructureShape.new(name: 'FlushApiCacheRequest')
142
164
  FlushApiCacheResponse = Shapes::StructureShape.new(name: 'FlushApiCacheResponse')
@@ -147,6 +169,10 @@ module Aws::AppSync
147
169
  GetApiAssociationResponse = Shapes::StructureShape.new(name: 'GetApiAssociationResponse')
148
170
  GetApiCacheRequest = Shapes::StructureShape.new(name: 'GetApiCacheRequest')
149
171
  GetApiCacheResponse = Shapes::StructureShape.new(name: 'GetApiCacheResponse')
172
+ GetApiRequest = Shapes::StructureShape.new(name: 'GetApiRequest')
173
+ GetApiResponse = Shapes::StructureShape.new(name: 'GetApiResponse')
174
+ GetChannelNamespaceRequest = Shapes::StructureShape.new(name: 'GetChannelNamespaceRequest')
175
+ GetChannelNamespaceResponse = Shapes::StructureShape.new(name: 'GetChannelNamespaceResponse')
150
176
  GetDataSourceIntrospectionRequest = Shapes::StructureShape.new(name: 'GetDataSourceIntrospectionRequest')
151
177
  GetDataSourceIntrospectionResponse = Shapes::StructureShape.new(name: 'GetDataSourceIntrospectionResponse')
152
178
  GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
@@ -183,6 +209,10 @@ module Aws::AppSync
183
209
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
184
210
  ListApiKeysRequest = Shapes::StructureShape.new(name: 'ListApiKeysRequest')
185
211
  ListApiKeysResponse = Shapes::StructureShape.new(name: 'ListApiKeysResponse')
212
+ ListApisRequest = Shapes::StructureShape.new(name: 'ListApisRequest')
213
+ ListApisResponse = Shapes::StructureShape.new(name: 'ListApisResponse')
214
+ ListChannelNamespacesRequest = Shapes::StructureShape.new(name: 'ListChannelNamespacesRequest')
215
+ ListChannelNamespacesResponse = Shapes::StructureShape.new(name: 'ListChannelNamespacesResponse')
186
216
  ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
187
217
  ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
188
218
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
@@ -211,11 +241,13 @@ module Aws::AppSync
211
241
  MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
212
242
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
213
243
  MergeType = Shapes::StringShape.new(name: 'MergeType')
244
+ Namespace = Shapes::StringShape.new(name: 'Namespace')
214
245
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
215
246
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
216
247
  OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
217
248
  OperationLevelMetricsConfig = Shapes::StringShape.new(name: 'OperationLevelMetricsConfig')
218
249
  OutputType = Shapes::StringShape.new(name: 'OutputType')
250
+ OwnerContact = Shapes::StringShape.new(name: 'OwnerContact')
219
251
  Ownership = Shapes::StringShape.new(name: 'Ownership')
220
252
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
221
253
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
@@ -239,6 +271,7 @@ module Aws::AppSync
239
271
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
240
272
  RuntimeName = Shapes::StringShape.new(name: 'RuntimeName')
241
273
  SchemaStatus = Shapes::StringShape.new(name: 'SchemaStatus')
274
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
242
275
  SourceApiAssociation = Shapes::StructureShape.new(name: 'SourceApiAssociation')
243
276
  SourceApiAssociationConfig = Shapes::StructureShape.new(name: 'SourceApiAssociationConfig')
244
277
  SourceApiAssociationStatus = Shapes::StringShape.new(name: 'SourceApiAssociationStatus')
@@ -260,6 +293,7 @@ module Aws::AppSync
260
293
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
261
294
  TagValue = Shapes::StringShape.new(name: 'TagValue')
262
295
  Template = Shapes::StringShape.new(name: 'Template')
296
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
263
297
  Type = Shapes::StructureShape.new(name: 'Type')
264
298
  TypeDefinitionFormat = Shapes::StringShape.new(name: 'TypeDefinitionFormat')
265
299
  TypeList = Shapes::ListShape.new(name: 'TypeList')
@@ -270,6 +304,10 @@ module Aws::AppSync
270
304
  UpdateApiCacheResponse = Shapes::StructureShape.new(name: 'UpdateApiCacheResponse')
271
305
  UpdateApiKeyRequest = Shapes::StructureShape.new(name: 'UpdateApiKeyRequest')
272
306
  UpdateApiKeyResponse = Shapes::StructureShape.new(name: 'UpdateApiKeyResponse')
307
+ UpdateApiRequest = Shapes::StructureShape.new(name: 'UpdateApiRequest')
308
+ UpdateApiResponse = Shapes::StructureShape.new(name: 'UpdateApiResponse')
309
+ UpdateChannelNamespaceRequest = Shapes::StructureShape.new(name: 'UpdateChannelNamespaceRequest')
310
+ UpdateChannelNamespaceResponse = Shapes::StructureShape.new(name: 'UpdateChannelNamespaceResponse')
273
311
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
274
312
  UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
275
313
  UpdateDomainNameRequest = Shapes::StructureShape.new(name: 'UpdateDomainNameRequest')
@@ -297,6 +335,18 @@ module Aws::AppSync
297
335
 
298
336
  AdditionalAuthenticationProviders.member = Shapes::ShapeRef.new(shape: AdditionalAuthenticationProvider)
299
337
 
338
+ Api.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
339
+ Api.add_member(:name, Shapes::ShapeRef.new(shape: ApiName, location_name: "name"))
340
+ Api.add_member(:owner_contact, Shapes::ShapeRef.new(shape: OwnerContact, location_name: "ownerContact"))
341
+ Api.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
342
+ Api.add_member(:dns, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "dns"))
343
+ Api.add_member(:api_arn, Shapes::ShapeRef.new(shape: String, location_name: "apiArn"))
344
+ Api.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
345
+ Api.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
346
+ Api.add_member(:waf_web_acl_arn, Shapes::ShapeRef.new(shape: String, location_name: "wafWebAclArn"))
347
+ Api.add_member(:event_config, Shapes::ShapeRef.new(shape: EventConfig, location_name: "eventConfig"))
348
+ Api.struct_class = Types::Api
349
+
300
350
  ApiAssociation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
301
351
  ApiAssociation.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
302
352
  ApiAssociation.add_member(:association_status, Shapes::ShapeRef.new(shape: AssociationStatus, location_name: "associationStatus"))
@@ -329,6 +379,8 @@ module Aws::AppSync
329
379
  ApiLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
330
380
  ApiLimitExceededException.struct_class = Types::ApiLimitExceededException
331
381
 
382
+ Apis.member = Shapes::ShapeRef.new(shape: Api)
383
+
332
384
  AppSyncRuntime.add_member(:name, Shapes::ShapeRef.new(shape: RuntimeName, required: true, location_name: "name"))
333
385
  AppSyncRuntime.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "runtimeVersion"))
334
386
  AppSyncRuntime.struct_class = Types::AppSyncRuntime
@@ -358,6 +410,19 @@ module Aws::AppSync
358
410
  AssociateSourceGraphqlApiResponse.add_member(:source_api_association, Shapes::ShapeRef.new(shape: SourceApiAssociation, location_name: "sourceApiAssociation"))
359
411
  AssociateSourceGraphqlApiResponse.struct_class = Types::AssociateSourceGraphqlApiResponse
360
412
 
413
+ AuthMode.add_member(:auth_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authType"))
414
+ AuthMode.struct_class = Types::AuthMode
415
+
416
+ AuthModes.member = Shapes::ShapeRef.new(shape: AuthMode)
417
+
418
+ AuthProvider.add_member(:auth_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authType"))
419
+ AuthProvider.add_member(:cognito_config, Shapes::ShapeRef.new(shape: CognitoConfig, location_name: "cognitoConfig"))
420
+ AuthProvider.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
421
+ AuthProvider.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
422
+ AuthProvider.struct_class = Types::AuthProvider
423
+
424
+ AuthProviders.member = Shapes::ShapeRef.new(shape: AuthProvider)
425
+
361
426
  AuthorizationConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "authorizationType"))
362
427
  AuthorizationConfig.add_member(:aws_iam_config, Shapes::ShapeRef.new(shape: AwsIamConfig, location_name: "awsIamConfig"))
363
428
  AuthorizationConfig.struct_class = Types::AuthorizationConfig
@@ -380,6 +445,19 @@ module Aws::AppSync
380
445
 
381
446
  CachingKeys.member = Shapes::ShapeRef.new(shape: String)
382
447
 
448
+ ChannelNamespace.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
449
+ ChannelNamespace.add_member(:name, Shapes::ShapeRef.new(shape: Namespace, location_name: "name"))
450
+ ChannelNamespace.add_member(:subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "subscribeAuthModes"))
451
+ ChannelNamespace.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
452
+ ChannelNamespace.add_member(:code_handlers, Shapes::ShapeRef.new(shape: Code, location_name: "codeHandlers"))
453
+ ChannelNamespace.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
454
+ ChannelNamespace.add_member(:channel_namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "channelNamespaceArn"))
455
+ ChannelNamespace.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
456
+ ChannelNamespace.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
457
+ ChannelNamespace.struct_class = Types::ChannelNamespace
458
+
459
+ ChannelNamespaces.member = Shapes::ShapeRef.new(shape: ChannelNamespace)
460
+
383
461
  CodeError.add_member(:error_type, Shapes::ShapeRef.new(shape: String, location_name: "errorType"))
384
462
  CodeError.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
385
463
  CodeError.add_member(:location, Shapes::ShapeRef.new(shape: CodeErrorLocation, location_name: "location"))
@@ -392,6 +470,11 @@ module Aws::AppSync
392
470
 
393
471
  CodeErrors.member = Shapes::ShapeRef.new(shape: CodeError)
394
472
 
473
+ CognitoConfig.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userPoolId"))
474
+ CognitoConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
475
+ CognitoConfig.add_member(:app_id_client_regex, Shapes::ShapeRef.new(shape: String, location_name: "appIdClientRegex"))
476
+ CognitoConfig.struct_class = Types::CognitoConfig
477
+
395
478
  CognitoUserPoolConfig.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userPoolId"))
396
479
  CognitoUserPoolConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
397
480
  CognitoUserPoolConfig.add_member(:app_id_client_regex, Shapes::ShapeRef.new(shape: String, location_name: "appIdClientRegex"))
@@ -400,6 +483,9 @@ module Aws::AppSync
400
483
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
401
484
  ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
402
485
 
486
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
487
+ ConflictException.struct_class = Types::ConflictException
488
+
403
489
  CreateApiCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
404
490
  CreateApiCacheRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ttl"))
405
491
  CreateApiCacheRequest.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "transitEncryptionEnabled"))
@@ -420,6 +506,26 @@ module Aws::AppSync
420
506
  CreateApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, location_name: "apiKey"))
421
507
  CreateApiKeyResponse.struct_class = Types::CreateApiKeyResponse
422
508
 
509
+ CreateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiName, required: true, location_name: "name"))
510
+ CreateApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
511
+ CreateApiRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
512
+ CreateApiRequest.add_member(:event_config, Shapes::ShapeRef.new(shape: EventConfig, location_name: "eventConfig"))
513
+ CreateApiRequest.struct_class = Types::CreateApiRequest
514
+
515
+ CreateApiResponse.add_member(:api, Shapes::ShapeRef.new(shape: Api, location_name: "api"))
516
+ CreateApiResponse.struct_class = Types::CreateApiResponse
517
+
518
+ CreateChannelNamespaceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
519
+ CreateChannelNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "name"))
520
+ CreateChannelNamespaceRequest.add_member(:subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "subscribeAuthModes"))
521
+ CreateChannelNamespaceRequest.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
522
+ CreateChannelNamespaceRequest.add_member(:code_handlers, Shapes::ShapeRef.new(shape: Code, location_name: "codeHandlers"))
523
+ CreateChannelNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
524
+ CreateChannelNamespaceRequest.struct_class = Types::CreateChannelNamespaceRequest
525
+
526
+ CreateChannelNamespaceResponse.add_member(:channel_namespace, Shapes::ShapeRef.new(shape: ChannelNamespace, location_name: "channelNamespace"))
527
+ CreateChannelNamespaceResponse.struct_class = Types::CreateChannelNamespaceResponse
528
+
423
529
  CreateDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
424
530
  CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
425
531
  CreateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -471,9 +577,9 @@ module Aws::AppSync
471
577
  CreateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
472
578
  CreateGraphqlApiRequest.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
473
579
  CreateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
474
- CreateGraphqlApiRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: GraphQLApiVisibility, location_name: "visibility"))
475
580
  CreateGraphqlApiRequest.add_member(:api_type, Shapes::ShapeRef.new(shape: GraphQLApiType, location_name: "apiType"))
476
581
  CreateGraphqlApiRequest.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
582
+ CreateGraphqlApiRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: GraphQLApiVisibility, location_name: "visibility"))
477
583
  CreateGraphqlApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
478
584
  CreateGraphqlApiRequest.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
479
585
  CreateGraphqlApiRequest.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
@@ -575,6 +681,17 @@ module Aws::AppSync
575
681
 
576
682
  DeleteApiKeyResponse.struct_class = Types::DeleteApiKeyResponse
577
683
 
684
+ DeleteApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
685
+ DeleteApiRequest.struct_class = Types::DeleteApiRequest
686
+
687
+ DeleteApiResponse.struct_class = Types::DeleteApiResponse
688
+
689
+ DeleteChannelNamespaceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
690
+ DeleteChannelNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "name"))
691
+ DeleteChannelNamespaceRequest.struct_class = Types::DeleteChannelNamespaceRequest
692
+
693
+ DeleteChannelNamespaceResponse.struct_class = Types::DeleteChannelNamespaceResponse
694
+
578
695
  DeleteDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
579
696
  DeleteDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
580
697
  DeleteDataSourceRequest.struct_class = Types::DeleteDataSourceRequest
@@ -692,6 +809,17 @@ module Aws::AppSync
692
809
  EventBridgeDataSourceConfig.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eventBusArn"))
693
810
  EventBridgeDataSourceConfig.struct_class = Types::EventBridgeDataSourceConfig
694
811
 
812
+ EventConfig.add_member(:auth_providers, Shapes::ShapeRef.new(shape: AuthProviders, required: true, location_name: "authProviders"))
813
+ EventConfig.add_member(:connection_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, required: true, location_name: "connectionAuthModes"))
814
+ EventConfig.add_member(:default_publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, required: true, location_name: "defaultPublishAuthModes"))
815
+ EventConfig.add_member(:default_subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, required: true, location_name: "defaultSubscribeAuthModes"))
816
+ EventConfig.add_member(:log_config, Shapes::ShapeRef.new(shape: EventLogConfig, location_name: "logConfig"))
817
+ EventConfig.struct_class = Types::EventConfig
818
+
819
+ EventLogConfig.add_member(:log_level, Shapes::ShapeRef.new(shape: EventLogLevel, required: true, location_name: "logLevel"))
820
+ EventLogConfig.add_member(:cloud_watch_logs_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cloudWatchLogsRoleArn"))
821
+ EventLogConfig.struct_class = Types::EventLogConfig
822
+
695
823
  FlushApiCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
696
824
  FlushApiCacheRequest.struct_class = Types::FlushApiCacheRequest
697
825
 
@@ -727,6 +855,19 @@ module Aws::AppSync
727
855
  GetApiCacheResponse.add_member(:api_cache, Shapes::ShapeRef.new(shape: ApiCache, location_name: "apiCache"))
728
856
  GetApiCacheResponse.struct_class = Types::GetApiCacheResponse
729
857
 
858
+ GetApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
859
+ GetApiRequest.struct_class = Types::GetApiRequest
860
+
861
+ GetApiResponse.add_member(:api, Shapes::ShapeRef.new(shape: Api, location_name: "api"))
862
+ GetApiResponse.struct_class = Types::GetApiResponse
863
+
864
+ GetChannelNamespaceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
865
+ GetChannelNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "name"))
866
+ GetChannelNamespaceRequest.struct_class = Types::GetChannelNamespaceRequest
867
+
868
+ GetChannelNamespaceResponse.add_member(:channel_namespace, Shapes::ShapeRef.new(shape: ChannelNamespace, location_name: "channelNamespace"))
869
+ GetChannelNamespaceResponse.struct_class = Types::GetChannelNamespaceResponse
870
+
730
871
  GetDataSourceIntrospectionRequest.add_member(:introspection_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "introspectionId"))
731
872
  GetDataSourceIntrospectionRequest.add_member(:include_models_sdl, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeModelsSDL"))
732
873
  GetDataSourceIntrospectionRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -871,6 +1012,23 @@ module Aws::AppSync
871
1012
  ListApiKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
872
1013
  ListApiKeysResponse.struct_class = Types::ListApiKeysResponse
873
1014
 
1015
+ ListApisRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1016
+ ListApisRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1017
+ ListApisRequest.struct_class = Types::ListApisRequest
1018
+
1019
+ ListApisResponse.add_member(:apis, Shapes::ShapeRef.new(shape: Apis, location_name: "apis"))
1020
+ ListApisResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1021
+ ListApisResponse.struct_class = Types::ListApisResponse
1022
+
1023
+ ListChannelNamespacesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1024
+ ListChannelNamespacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1025
+ ListChannelNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1026
+ ListChannelNamespacesRequest.struct_class = Types::ListChannelNamespacesRequest
1027
+
1028
+ ListChannelNamespacesResponse.add_member(:channel_namespaces, Shapes::ShapeRef.new(shape: ChannelNamespaces, location_name: "channelNamespaces"))
1029
+ ListChannelNamespacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1030
+ ListChannelNamespacesResponse.struct_class = Types::ListChannelNamespacesResponse
1031
+
874
1032
  ListDataSourcesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
875
1033
  ListDataSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
876
1034
  ListDataSourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1030,6 +1188,9 @@ module Aws::AppSync
1030
1188
 
1031
1189
  Resolvers.member = Shapes::ShapeRef.new(shape: Resolver)
1032
1190
 
1191
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1192
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1193
+
1033
1194
  SourceApiAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
1034
1195
  SourceApiAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: String, location_name: "associationArn"))
1035
1196
  SourceApiAssociation.add_member(:source_api_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiId"))
@@ -1132,6 +1293,25 @@ module Aws::AppSync
1132
1293
  UpdateApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, location_name: "apiKey"))
1133
1294
  UpdateApiKeyResponse.struct_class = Types::UpdateApiKeyResponse
1134
1295
 
1296
+ UpdateApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1297
+ UpdateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApiName, required: true, location_name: "name"))
1298
+ UpdateApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
1299
+ UpdateApiRequest.add_member(:event_config, Shapes::ShapeRef.new(shape: EventConfig, location_name: "eventConfig"))
1300
+ UpdateApiRequest.struct_class = Types::UpdateApiRequest
1301
+
1302
+ UpdateApiResponse.add_member(:api, Shapes::ShapeRef.new(shape: Api, location_name: "api"))
1303
+ UpdateApiResponse.struct_class = Types::UpdateApiResponse
1304
+
1305
+ UpdateChannelNamespaceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1306
+ UpdateChannelNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Namespace, required: true, location: "uri", location_name: "name"))
1307
+ UpdateChannelNamespaceRequest.add_member(:subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "subscribeAuthModes"))
1308
+ UpdateChannelNamespaceRequest.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
1309
+ UpdateChannelNamespaceRequest.add_member(:code_handlers, Shapes::ShapeRef.new(shape: Code, location_name: "codeHandlers"))
1310
+ UpdateChannelNamespaceRequest.struct_class = Types::UpdateChannelNamespaceRequest
1311
+
1312
+ UpdateChannelNamespaceResponse.add_member(:channel_namespace, Shapes::ShapeRef.new(shape: ChannelNamespace, location_name: "channelNamespace"))
1313
+ UpdateChannelNamespaceResponse.struct_class = Types::UpdateChannelNamespaceResponse
1314
+
1135
1315
  UpdateDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1136
1316
  UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
1137
1317
  UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -1177,7 +1357,7 @@ module Aws::AppSync
1177
1357
  UpdateGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
1178
1358
  UpdateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
1179
1359
  UpdateGraphqlApiRequest.add_member(:log_config, Shapes::ShapeRef.new(shape: LogConfig, location_name: "logConfig"))
1180
- UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authenticationType"))
1360
+ UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
1181
1361
  UpdateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
1182
1362
  UpdateGraphqlApiRequest.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
1183
1363
  UpdateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
@@ -1298,6 +1478,19 @@ module Aws::AppSync
1298
1478
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1299
1479
  end)
1300
1480
 
1481
+ api.add_operation(:create_api, Seahorse::Model::Operation.new.tap do |o|
1482
+ o.name = "CreateApi"
1483
+ o.http_method = "POST"
1484
+ o.http_request_uri = "/v2/apis"
1485
+ o.input = Shapes::ShapeRef.new(shape: CreateApiRequest)
1486
+ o.output = Shapes::ShapeRef.new(shape: CreateApiResponse)
1487
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1492
+ end)
1493
+
1301
1494
  api.add_operation(:create_api_cache, Seahorse::Model::Operation.new.tap do |o|
1302
1495
  o.name = "CreateApiCache"
1303
1496
  o.http_method = "POST"
@@ -1327,6 +1520,21 @@ module Aws::AppSync
1327
1520
  o.errors << Shapes::ShapeRef.new(shape: ApiKeyValidityOutOfBoundsException)
1328
1521
  end)
1329
1522
 
1523
+ api.add_operation(:create_channel_namespace, Seahorse::Model::Operation.new.tap do |o|
1524
+ o.name = "CreateChannelNamespace"
1525
+ o.http_method = "POST"
1526
+ o.http_request_uri = "/v2/apis/{apiId}/channelNamespaces"
1527
+ o.input = Shapes::ShapeRef.new(shape: CreateChannelNamespaceRequest)
1528
+ o.output = Shapes::ShapeRef.new(shape: CreateChannelNamespaceResponse)
1529
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1534
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1536
+ end)
1537
+
1330
1538
  api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
1331
1539
  o.name = "CreateDataSource"
1332
1540
  o.http_method = "POST"
@@ -1404,6 +1612,20 @@ module Aws::AppSync
1404
1612
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1405
1613
  end)
1406
1614
 
1615
+ api.add_operation(:delete_api, Seahorse::Model::Operation.new.tap do |o|
1616
+ o.name = "DeleteApi"
1617
+ o.http_method = "DELETE"
1618
+ o.http_request_uri = "/v2/apis/{apiId}"
1619
+ o.input = Shapes::ShapeRef.new(shape: DeleteApiRequest)
1620
+ o.output = Shapes::ShapeRef.new(shape: DeleteApiResponse)
1621
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1624
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1625
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1626
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1627
+ end)
1628
+
1407
1629
  api.add_operation(:delete_api_cache, Seahorse::Model::Operation.new.tap do |o|
1408
1630
  o.name = "DeleteApiCache"
1409
1631
  o.http_method = "DELETE"
@@ -1429,6 +1651,20 @@ module Aws::AppSync
1429
1651
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1430
1652
  end)
1431
1653
 
1654
+ api.add_operation(:delete_channel_namespace, Seahorse::Model::Operation.new.tap do |o|
1655
+ o.name = "DeleteChannelNamespace"
1656
+ o.http_method = "DELETE"
1657
+ o.http_request_uri = "/v2/apis/{apiId}/channelNamespaces/{name}"
1658
+ o.input = Shapes::ShapeRef.new(shape: DeleteChannelNamespaceRequest)
1659
+ o.output = Shapes::ShapeRef.new(shape: DeleteChannelNamespaceResponse)
1660
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1662
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1666
+ end)
1667
+
1432
1668
  api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
1433
1669
  o.name = "DeleteDataSource"
1434
1670
  o.http_method = "DELETE"
@@ -1582,6 +1818,19 @@ module Aws::AppSync
1582
1818
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1583
1819
  end)
1584
1820
 
1821
+ api.add_operation(:get_api, Seahorse::Model::Operation.new.tap do |o|
1822
+ o.name = "GetApi"
1823
+ o.http_method = "GET"
1824
+ o.http_request_uri = "/v2/apis/{apiId}"
1825
+ o.input = Shapes::ShapeRef.new(shape: GetApiRequest)
1826
+ o.output = Shapes::ShapeRef.new(shape: GetApiResponse)
1827
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1828
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1831
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1832
+ end)
1833
+
1585
1834
  api.add_operation(:get_api_association, Seahorse::Model::Operation.new.tap do |o|
1586
1835
  o.name = "GetApiAssociation"
1587
1836
  o.http_method = "GET"
@@ -1607,6 +1856,19 @@ module Aws::AppSync
1607
1856
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1608
1857
  end)
1609
1858
 
1859
+ api.add_operation(:get_channel_namespace, Seahorse::Model::Operation.new.tap do |o|
1860
+ o.name = "GetChannelNamespace"
1861
+ o.http_method = "GET"
1862
+ o.http_request_uri = "/v2/apis/{apiId}/channelNamespaces/{name}"
1863
+ o.input = Shapes::ShapeRef.new(shape: GetChannelNamespaceRequest)
1864
+ o.output = Shapes::ShapeRef.new(shape: GetChannelNamespaceResponse)
1865
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1870
+ end)
1871
+
1610
1872
  api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o|
1611
1873
  o.name = "GetDataSource"
1612
1874
  o.http_method = "GET"
@@ -1758,6 +2020,41 @@ module Aws::AppSync
1758
2020
  )
1759
2021
  end)
1760
2022
 
2023
+ api.add_operation(:list_apis, Seahorse::Model::Operation.new.tap do |o|
2024
+ o.name = "ListApis"
2025
+ o.http_method = "GET"
2026
+ o.http_request_uri = "/v2/apis"
2027
+ o.input = Shapes::ShapeRef.new(shape: ListApisRequest)
2028
+ o.output = Shapes::ShapeRef.new(shape: ListApisResponse)
2029
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2030
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2031
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2032
+ o[:pager] = Aws::Pager.new(
2033
+ limit_key: "max_results",
2034
+ tokens: {
2035
+ "next_token" => "next_token"
2036
+ }
2037
+ )
2038
+ end)
2039
+
2040
+ api.add_operation(:list_channel_namespaces, Seahorse::Model::Operation.new.tap do |o|
2041
+ o.name = "ListChannelNamespaces"
2042
+ o.http_method = "GET"
2043
+ o.http_request_uri = "/v2/apis/{apiId}/channelNamespaces"
2044
+ o.input = Shapes::ShapeRef.new(shape: ListChannelNamespacesRequest)
2045
+ o.output = Shapes::ShapeRef.new(shape: ListChannelNamespacesResponse)
2046
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2047
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2048
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2049
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2050
+ o[:pager] = Aws::Pager.new(
2051
+ limit_key: "max_results",
2052
+ tokens: {
2053
+ "next_token" => "next_token"
2054
+ }
2055
+ )
2056
+ end)
2057
+
1761
2058
  api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
1762
2059
  o.name = "ListDataSources"
1763
2060
  o.http_method = "GET"
@@ -2014,6 +2311,20 @@ module Aws::AppSync
2014
2311
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2015
2312
  end)
2016
2313
 
2314
+ api.add_operation(:update_api, Seahorse::Model::Operation.new.tap do |o|
2315
+ o.name = "UpdateApi"
2316
+ o.http_method = "POST"
2317
+ o.http_request_uri = "/v2/apis/{apiId}"
2318
+ o.input = Shapes::ShapeRef.new(shape: UpdateApiRequest)
2319
+ o.output = Shapes::ShapeRef.new(shape: UpdateApiResponse)
2320
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2321
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2322
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2323
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2324
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2325
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2326
+ end)
2327
+
2017
2328
  api.add_operation(:update_api_cache, Seahorse::Model::Operation.new.tap do |o|
2018
2329
  o.name = "UpdateApiCache"
2019
2330
  o.http_method = "POST"
@@ -2041,6 +2352,20 @@ module Aws::AppSync
2041
2352
  o.errors << Shapes::ShapeRef.new(shape: ApiKeyValidityOutOfBoundsException)
2042
2353
  end)
2043
2354
 
2355
+ api.add_operation(:update_channel_namespace, Seahorse::Model::Operation.new.tap do |o|
2356
+ o.name = "UpdateChannelNamespace"
2357
+ o.http_method = "POST"
2358
+ o.http_request_uri = "/v2/apis/{apiId}/channelNamespaces/{name}"
2359
+ o.input = Shapes::ShapeRef.new(shape: UpdateChannelNamespaceRequest)
2360
+ o.output = Shapes::ShapeRef.new(shape: UpdateChannelNamespaceResponse)
2361
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2362
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2363
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2364
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2365
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2366
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2367
+ end)
2368
+
2044
2369
  api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
2045
2370
  o.name = "UpdateDataSource"
2046
2371
  o.http_method = "POST"