aws-sdk-appsync 1.90.0 → 1.92.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Aws::AppSync
54
54
  autoload :EndpointProvider, 'aws-sdk-appsync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-appsync/endpoints'
56
56
 
57
- GEM_VERSION = '1.90.0'
57
+ GEM_VERSION = '1.92.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -116,6 +116,60 @@ module Aws
116
116
  ) -> _AssociateSourceGraphqlApiResponseSuccess
117
117
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceGraphqlApiResponseSuccess
118
118
 
119
+ interface _CreateApiResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApiResponse]
121
+ def api: () -> Types::Api
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#create_api-instance_method
124
+ def create_api: (
125
+ name: ::String,
126
+ ?owner_contact: ::String,
127
+ ?tags: Hash[::String, ::String],
128
+ ?event_config: {
129
+ auth_providers: Array[
130
+ {
131
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
132
+ cognito_config: {
133
+ user_pool_id: ::String,
134
+ aws_region: ::String,
135
+ app_id_client_regex: ::String?
136
+ }?,
137
+ open_id_connect_config: {
138
+ issuer: ::String,
139
+ client_id: ::String?,
140
+ iat_ttl: ::Integer?,
141
+ auth_ttl: ::Integer?
142
+ }?,
143
+ lambda_authorizer_config: {
144
+ authorizer_result_ttl_in_seconds: ::Integer?,
145
+ authorizer_uri: ::String,
146
+ identity_validation_expression: ::String?
147
+ }?
148
+ },
149
+ ],
150
+ connection_auth_modes: Array[
151
+ {
152
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
153
+ },
154
+ ],
155
+ default_publish_auth_modes: Array[
156
+ {
157
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
158
+ },
159
+ ],
160
+ default_subscribe_auth_modes: Array[
161
+ {
162
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
163
+ },
164
+ ],
165
+ log_config: {
166
+ log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG"),
167
+ cloud_watch_logs_role_arn: ::String
168
+ }?
169
+ }
170
+ ) -> _CreateApiResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApiResponseSuccess
172
+
119
173
  interface _CreateApiCacheResponseSuccess
120
174
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateApiCacheResponse]
121
175
  def api_cache: () -> Types::ApiCache
@@ -144,6 +198,29 @@ module Aws
144
198
  ) -> _CreateApiKeyResponseSuccess
145
199
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApiKeyResponseSuccess
146
200
 
201
+ interface _CreateChannelNamespaceResponseSuccess
202
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelNamespaceResponse]
203
+ def channel_namespace: () -> Types::ChannelNamespace
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#create_channel_namespace-instance_method
206
+ def create_channel_namespace: (
207
+ api_id: ::String,
208
+ name: ::String,
209
+ ?subscribe_auth_modes: Array[
210
+ {
211
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
212
+ },
213
+ ],
214
+ ?publish_auth_modes: Array[
215
+ {
216
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
217
+ },
218
+ ],
219
+ ?code_handlers: ::String,
220
+ ?tags: Hash[::String, ::String]
221
+ ) -> _CreateChannelNamespaceResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelNamespaceResponseSuccess
223
+
147
224
  interface _CreateDataSourceResponseSuccess
148
225
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataSourceResponse]
149
226
  def data_source: () -> Types::DataSource
@@ -298,9 +375,9 @@ module Aws
298
375
  authorizer_uri: ::String,
299
376
  identity_validation_expression: ::String?
300
377
  },
301
- ?visibility: ("GLOBAL" | "PRIVATE"),
302
378
  ?api_type: ("GRAPHQL" | "MERGED"),
303
379
  ?merged_api_execution_role_arn: ::String,
380
+ ?visibility: ("GLOBAL" | "PRIVATE"),
304
381
  ?owner_contact: ::String,
305
382
  ?introspection_config: ("ENABLED" | "DISABLED"),
306
383
  ?query_depth_limit: ::Integer,
@@ -362,6 +439,15 @@ module Aws
362
439
  ) -> _CreateTypeResponseSuccess
363
440
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTypeResponseSuccess
364
441
 
442
+ interface _DeleteApiResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApiResponse]
444
+ end
445
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#delete_api-instance_method
446
+ def delete_api: (
447
+ api_id: ::String
448
+ ) -> _DeleteApiResponseSuccess
449
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApiResponseSuccess
450
+
365
451
  interface _DeleteApiCacheResponseSuccess
366
452
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApiCacheResponse]
367
453
  end
@@ -381,6 +467,16 @@ module Aws
381
467
  ) -> _DeleteApiKeyResponseSuccess
382
468
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApiKeyResponseSuccess
383
469
 
470
+ interface _DeleteChannelNamespaceResponseSuccess
471
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelNamespaceResponse]
472
+ end
473
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#delete_channel_namespace-instance_method
474
+ def delete_channel_namespace: (
475
+ api_id: ::String,
476
+ name: ::String
477
+ ) -> _DeleteChannelNamespaceResponseSuccess
478
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelNamespaceResponseSuccess
479
+
384
480
  interface _DeleteDataSourceResponseSuccess
385
481
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataSourceResponse]
386
482
  end
@@ -509,6 +605,16 @@ module Aws
509
605
  ) -> _FlushApiCacheResponseSuccess
510
606
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FlushApiCacheResponseSuccess
511
607
 
608
+ interface _GetApiResponseSuccess
609
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApiResponse]
610
+ def api: () -> Types::Api
611
+ end
612
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#get_api-instance_method
613
+ def get_api: (
614
+ api_id: ::String
615
+ ) -> _GetApiResponseSuccess
616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApiResponseSuccess
617
+
512
618
  interface _GetApiAssociationResponseSuccess
513
619
  include ::Seahorse::Client::_ResponseSuccess[Types::GetApiAssociationResponse]
514
620
  def api_association: () -> Types::ApiAssociation
@@ -529,6 +635,17 @@ module Aws
529
635
  ) -> _GetApiCacheResponseSuccess
530
636
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApiCacheResponseSuccess
531
637
 
638
+ interface _GetChannelNamespaceResponseSuccess
639
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChannelNamespaceResponse]
640
+ def channel_namespace: () -> Types::ChannelNamespace
641
+ end
642
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#get_channel_namespace-instance_method
643
+ def get_channel_namespace: (
644
+ api_id: ::String,
645
+ name: ::String
646
+ ) -> _GetChannelNamespaceResponseSuccess
647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelNamespaceResponseSuccess
648
+
532
649
  interface _GetDataSourceResponseSuccess
533
650
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDataSourceResponse]
534
651
  def data_source: () -> Types::DataSource
@@ -668,6 +785,31 @@ module Aws
668
785
  ) -> _ListApiKeysResponseSuccess
669
786
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApiKeysResponseSuccess
670
787
 
788
+ interface _ListApisResponseSuccess
789
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApisResponse]
790
+ def apis: () -> ::Array[Types::Api]
791
+ def next_token: () -> ::String
792
+ end
793
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#list_apis-instance_method
794
+ def list_apis: (
795
+ ?next_token: ::String,
796
+ ?max_results: ::Integer
797
+ ) -> _ListApisResponseSuccess
798
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApisResponseSuccess
799
+
800
+ interface _ListChannelNamespacesResponseSuccess
801
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelNamespacesResponse]
802
+ def channel_namespaces: () -> ::Array[Types::ChannelNamespace]
803
+ def next_token: () -> ::String
804
+ end
805
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#list_channel_namespaces-instance_method
806
+ def list_channel_namespaces: (
807
+ api_id: ::String,
808
+ ?next_token: ::String,
809
+ ?max_results: ::Integer
810
+ ) -> _ListChannelNamespacesResponseSuccess
811
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelNamespacesResponseSuccess
812
+
671
813
  interface _ListDataSourcesResponseSuccess
672
814
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSourcesResponse]
673
815
  def data_sources: () -> ::Array[Types::DataSource]
@@ -869,6 +1011,60 @@ module Aws
869
1011
  ) -> _UntagResourceResponseSuccess
870
1012
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
871
1013
 
1014
+ interface _UpdateApiResponseSuccess
1015
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApiResponse]
1016
+ def api: () -> Types::Api
1017
+ end
1018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#update_api-instance_method
1019
+ def update_api: (
1020
+ api_id: ::String,
1021
+ name: ::String,
1022
+ ?owner_contact: ::String,
1023
+ ?event_config: {
1024
+ auth_providers: Array[
1025
+ {
1026
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
1027
+ cognito_config: {
1028
+ user_pool_id: ::String,
1029
+ aws_region: ::String,
1030
+ app_id_client_regex: ::String?
1031
+ }?,
1032
+ open_id_connect_config: {
1033
+ issuer: ::String,
1034
+ client_id: ::String?,
1035
+ iat_ttl: ::Integer?,
1036
+ auth_ttl: ::Integer?
1037
+ }?,
1038
+ lambda_authorizer_config: {
1039
+ authorizer_result_ttl_in_seconds: ::Integer?,
1040
+ authorizer_uri: ::String,
1041
+ identity_validation_expression: ::String?
1042
+ }?
1043
+ },
1044
+ ],
1045
+ connection_auth_modes: Array[
1046
+ {
1047
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1048
+ },
1049
+ ],
1050
+ default_publish_auth_modes: Array[
1051
+ {
1052
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1053
+ },
1054
+ ],
1055
+ default_subscribe_auth_modes: Array[
1056
+ {
1057
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1058
+ },
1059
+ ],
1060
+ log_config: {
1061
+ log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG"),
1062
+ cloud_watch_logs_role_arn: ::String
1063
+ }?
1064
+ }
1065
+ ) -> _UpdateApiResponseSuccess
1066
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiResponseSuccess
1067
+
872
1068
  interface _UpdateApiCacheResponseSuccess
873
1069
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApiCacheResponse]
874
1070
  def api_cache: () -> Types::ApiCache
@@ -896,6 +1092,28 @@ module Aws
896
1092
  ) -> _UpdateApiKeyResponseSuccess
897
1093
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiKeyResponseSuccess
898
1094
 
1095
+ interface _UpdateChannelNamespaceResponseSuccess
1096
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelNamespaceResponse]
1097
+ def channel_namespace: () -> Types::ChannelNamespace
1098
+ end
1099
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#update_channel_namespace-instance_method
1100
+ def update_channel_namespace: (
1101
+ api_id: ::String,
1102
+ name: ::String,
1103
+ ?subscribe_auth_modes: Array[
1104
+ {
1105
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1106
+ },
1107
+ ],
1108
+ ?publish_auth_modes: Array[
1109
+ {
1110
+ auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1111
+ },
1112
+ ],
1113
+ ?code_handlers: ::String
1114
+ ) -> _UpdateChannelNamespaceResponseSuccess
1115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelNamespaceResponseSuccess
1116
+
899
1117
  interface _UpdateDataSourceResponseSuccess
900
1118
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataSourceResponse]
901
1119
  def data_source: () -> Types::DataSource
@@ -1010,7 +1228,7 @@ module Aws
1010
1228
  cloud_watch_logs_role_arn: ::String,
1011
1229
  exclude_verbose_content: bool?
1012
1230
  },
1013
- authentication_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
1231
+ ?authentication_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"),
1014
1232
  ?user_pool_config: {
1015
1233
  user_pool_id: ::String,
1016
1234
  aws_region: ::String,
data/sig/errors.rbs CHANGED
@@ -31,6 +31,9 @@ module Aws
31
31
  class ConcurrentModificationException < ::Aws::Errors::ServiceError
32
32
  def message: () -> ::String
33
33
  end
34
+ class ConflictException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ end
34
37
  class GraphQLSchemaException < ::Aws::Errors::ServiceError
35
38
  def message: () -> ::String
36
39
  end
@@ -43,6 +46,9 @@ module Aws
43
46
  class NotFoundException < ::Aws::Errors::ServiceError
44
47
  def message: () -> ::String
45
48
  end
49
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
50
+ def message: () -> ::String
51
+ end
46
52
  class UnauthorizedException < ::Aws::Errors::ServiceError
47
53
  def message: () -> ::String
48
54
  end
data/sig/types.rbs CHANGED
@@ -21,6 +21,20 @@ module Aws::AppSync
21
21
  SENSITIVE: []
22
22
  end
23
23
 
24
+ class Api
25
+ attr_accessor api_id: ::String
26
+ attr_accessor name: ::String
27
+ attr_accessor owner_contact: ::String
28
+ attr_accessor tags: ::Hash[::String, ::String]
29
+ attr_accessor dns: ::Hash[::String, ::String]
30
+ attr_accessor api_arn: ::String
31
+ attr_accessor created: ::Time
32
+ attr_accessor xray_enabled: bool
33
+ attr_accessor waf_web_acl_arn: ::String
34
+ attr_accessor event_config: Types::EventConfig
35
+ SENSITIVE: []
36
+ end
37
+
24
38
  class ApiAssociation
25
39
  attr_accessor domain_name: ::String
26
40
  attr_accessor api_id: ::String
@@ -106,6 +120,19 @@ module Aws::AppSync
106
120
  SENSITIVE: []
107
121
  end
108
122
 
123
+ class AuthMode
124
+ attr_accessor auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class AuthProvider
129
+ attr_accessor auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
130
+ attr_accessor cognito_config: Types::CognitoConfig
131
+ attr_accessor open_id_connect_config: Types::OpenIDConnectConfig
132
+ attr_accessor lambda_authorizer_config: Types::LambdaAuthorizerConfig
133
+ SENSITIVE: []
134
+ end
135
+
109
136
  class AuthorizationConfig
110
137
  attr_accessor authorization_type: ("AWS_IAM")
111
138
  attr_accessor aws_iam_config: Types::AwsIamConfig
@@ -136,6 +163,19 @@ module Aws::AppSync
136
163
  SENSITIVE: []
137
164
  end
138
165
 
166
+ class ChannelNamespace
167
+ attr_accessor api_id: ::String
168
+ attr_accessor name: ::String
169
+ attr_accessor subscribe_auth_modes: ::Array[Types::AuthMode]
170
+ attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
171
+ attr_accessor code_handlers: ::String
172
+ attr_accessor tags: ::Hash[::String, ::String]
173
+ attr_accessor channel_namespace_arn: ::String
174
+ attr_accessor created: ::Time
175
+ attr_accessor last_modified: ::Time
176
+ SENSITIVE: []
177
+ end
178
+
139
179
  class CodeError
140
180
  attr_accessor error_type: ::String
141
181
  attr_accessor value: ::String
@@ -150,6 +190,13 @@ module Aws::AppSync
150
190
  SENSITIVE: []
151
191
  end
152
192
 
193
+ class CognitoConfig
194
+ attr_accessor user_pool_id: ::String
195
+ attr_accessor aws_region: ::String
196
+ attr_accessor app_id_client_regex: ::String
197
+ SENSITIVE: []
198
+ end
199
+
153
200
  class CognitoUserPoolConfig
154
201
  attr_accessor user_pool_id: ::String
155
202
  attr_accessor aws_region: ::String
@@ -162,6 +209,11 @@ module Aws::AppSync
162
209
  SENSITIVE: []
163
210
  end
164
211
 
212
+ class ConflictException
213
+ attr_accessor message: ::String
214
+ SENSITIVE: []
215
+ end
216
+
165
217
  class CreateApiCacheRequest
166
218
  attr_accessor api_id: ::String
167
219
  attr_accessor ttl: ::Integer
@@ -190,6 +242,34 @@ module Aws::AppSync
190
242
  SENSITIVE: []
191
243
  end
192
244
 
245
+ class CreateApiRequest
246
+ attr_accessor name: ::String
247
+ attr_accessor owner_contact: ::String
248
+ attr_accessor tags: ::Hash[::String, ::String]
249
+ attr_accessor event_config: Types::EventConfig
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class CreateApiResponse
254
+ attr_accessor api: Types::Api
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class CreateChannelNamespaceRequest
259
+ attr_accessor api_id: ::String
260
+ attr_accessor name: ::String
261
+ attr_accessor subscribe_auth_modes: ::Array[Types::AuthMode]
262
+ attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
263
+ attr_accessor code_handlers: ::String
264
+ attr_accessor tags: ::Hash[::String, ::String]
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class CreateChannelNamespaceResponse
269
+ attr_accessor channel_namespace: Types::ChannelNamespace
270
+ SENSITIVE: []
271
+ end
272
+
193
273
  class CreateDataSourceRequest
194
274
  attr_accessor api_id: ::String
195
275
  attr_accessor name: ::String
@@ -254,9 +334,9 @@ module Aws::AppSync
254
334
  attr_accessor additional_authentication_providers: ::Array[Types::AdditionalAuthenticationProvider]
255
335
  attr_accessor xray_enabled: bool
256
336
  attr_accessor lambda_authorizer_config: Types::LambdaAuthorizerConfig
257
- attr_accessor visibility: ("GLOBAL" | "PRIVATE")
258
337
  attr_accessor api_type: ("GRAPHQL" | "MERGED")
259
338
  attr_accessor merged_api_execution_role_arn: ::String
339
+ attr_accessor visibility: ("GLOBAL" | "PRIVATE")
260
340
  attr_accessor owner_contact: ::String
261
341
  attr_accessor introspection_config: ("ENABLED" | "DISABLED")
262
342
  attr_accessor query_depth_limit: ::Integer
@@ -375,6 +455,23 @@ module Aws::AppSync
375
455
  class DeleteApiKeyResponse < Aws::EmptyStructure
376
456
  end
377
457
 
458
+ class DeleteApiRequest
459
+ attr_accessor api_id: ::String
460
+ SENSITIVE: []
461
+ end
462
+
463
+ class DeleteApiResponse < Aws::EmptyStructure
464
+ end
465
+
466
+ class DeleteChannelNamespaceRequest
467
+ attr_accessor api_id: ::String
468
+ attr_accessor name: ::String
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class DeleteChannelNamespaceResponse < Aws::EmptyStructure
473
+ end
474
+
378
475
  class DeleteDataSourceRequest
379
476
  attr_accessor api_id: ::String
380
477
  attr_accessor name: ::String
@@ -540,6 +637,21 @@ module Aws::AppSync
540
637
  SENSITIVE: []
541
638
  end
542
639
 
640
+ class EventConfig
641
+ attr_accessor auth_providers: ::Array[Types::AuthProvider]
642
+ attr_accessor connection_auth_modes: ::Array[Types::AuthMode]
643
+ attr_accessor default_publish_auth_modes: ::Array[Types::AuthMode]
644
+ attr_accessor default_subscribe_auth_modes: ::Array[Types::AuthMode]
645
+ attr_accessor log_config: Types::EventLogConfig
646
+ SENSITIVE: []
647
+ end
648
+
649
+ class EventLogConfig
650
+ attr_accessor log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG")
651
+ attr_accessor cloud_watch_logs_role_arn: ::String
652
+ SENSITIVE: []
653
+ end
654
+
543
655
  class FlushApiCacheRequest
544
656
  attr_accessor api_id: ::String
545
657
  SENSITIVE: []
@@ -584,6 +696,27 @@ module Aws::AppSync
584
696
  SENSITIVE: []
585
697
  end
586
698
 
699
+ class GetApiRequest
700
+ attr_accessor api_id: ::String
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class GetApiResponse
705
+ attr_accessor api: Types::Api
706
+ SENSITIVE: []
707
+ end
708
+
709
+ class GetChannelNamespaceRequest
710
+ attr_accessor api_id: ::String
711
+ attr_accessor name: ::String
712
+ SENSITIVE: []
713
+ end
714
+
715
+ class GetChannelNamespaceResponse
716
+ attr_accessor channel_namespace: Types::ChannelNamespace
717
+ SENSITIVE: []
718
+ end
719
+
587
720
  class GetDataSourceIntrospectionRequest
588
721
  attr_accessor introspection_id: ::String
589
722
  attr_accessor include_models_sdl: bool
@@ -788,6 +921,31 @@ module Aws::AppSync
788
921
  SENSITIVE: []
789
922
  end
790
923
 
924
+ class ListApisRequest
925
+ attr_accessor next_token: ::String
926
+ attr_accessor max_results: ::Integer
927
+ SENSITIVE: []
928
+ end
929
+
930
+ class ListApisResponse
931
+ attr_accessor apis: ::Array[Types::Api]
932
+ attr_accessor next_token: ::String
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class ListChannelNamespacesRequest
937
+ attr_accessor api_id: ::String
938
+ attr_accessor next_token: ::String
939
+ attr_accessor max_results: ::Integer
940
+ SENSITIVE: []
941
+ end
942
+
943
+ class ListChannelNamespacesResponse
944
+ attr_accessor channel_namespaces: ::Array[Types::ChannelNamespace]
945
+ attr_accessor next_token: ::String
946
+ SENSITIVE: []
947
+ end
948
+
791
949
  class ListDataSourcesRequest
792
950
  attr_accessor api_id: ::String
793
951
  attr_accessor next_token: ::String
@@ -1002,6 +1160,11 @@ module Aws::AppSync
1002
1160
  SENSITIVE: []
1003
1161
  end
1004
1162
 
1163
+ class ServiceQuotaExceededException
1164
+ attr_accessor message: ::String
1165
+ SENSITIVE: []
1166
+ end
1167
+
1005
1168
  class SourceApiAssociation
1006
1169
  attr_accessor association_id: ::String
1007
1170
  attr_accessor association_arn: ::String
@@ -1133,6 +1296,33 @@ module Aws::AppSync
1133
1296
  SENSITIVE: []
1134
1297
  end
1135
1298
 
1299
+ class UpdateApiRequest
1300
+ attr_accessor api_id: ::String
1301
+ attr_accessor name: ::String
1302
+ attr_accessor owner_contact: ::String
1303
+ attr_accessor event_config: Types::EventConfig
1304
+ SENSITIVE: []
1305
+ end
1306
+
1307
+ class UpdateApiResponse
1308
+ attr_accessor api: Types::Api
1309
+ SENSITIVE: []
1310
+ end
1311
+
1312
+ class UpdateChannelNamespaceRequest
1313
+ attr_accessor api_id: ::String
1314
+ attr_accessor name: ::String
1315
+ attr_accessor subscribe_auth_modes: ::Array[Types::AuthMode]
1316
+ attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
1317
+ attr_accessor code_handlers: ::String
1318
+ SENSITIVE: []
1319
+ end
1320
+
1321
+ class UpdateChannelNamespaceResponse
1322
+ attr_accessor channel_namespace: Types::ChannelNamespace
1323
+ SENSITIVE: []
1324
+ end
1325
+
1136
1326
  class UpdateDataSourceRequest
1137
1327
  attr_accessor api_id: ::String
1138
1328
  attr_accessor name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.90.0
4
+ version: 1.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core