aws-sdk-appsync 1.47.0 → 1.51.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +375 -78
- data/lib/aws-sdk-appsync/client_api.rb +194 -0
- data/lib/aws-sdk-appsync/types.rb +577 -201
- data/lib/aws-sdk-appsync.rb +2 -2
- metadata +4 -4
@@ -10,7 +10,7 @@
|
|
10
10
|
module Aws::AppSync
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# You
|
13
|
+
# You don't have access to perform this operation on this resource.
|
14
14
|
#
|
15
15
|
# @!attribute [rw] message
|
16
16
|
# @return [String]
|
@@ -49,12 +49,12 @@ module Aws::AppSync
|
|
49
49
|
# }
|
50
50
|
#
|
51
51
|
# @!attribute [rw] authentication_type
|
52
|
-
# The authentication type: API key, Identity and Access Management
|
53
|
-
# OIDC, Amazon Cognito user pools, or
|
52
|
+
# The authentication type: API key, Identity and Access Management
|
53
|
+
# (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
|
54
54
|
# @return [String]
|
55
55
|
#
|
56
56
|
# @!attribute [rw] open_id_connect_config
|
57
|
-
# The
|
57
|
+
# The OIDC configuration.
|
58
58
|
# @return [Types::OpenIDConnectConfig]
|
59
59
|
#
|
60
60
|
# @!attribute [rw] user_pool_config
|
@@ -62,7 +62,7 @@ module Aws::AppSync
|
|
62
62
|
# @return [Types::CognitoUserPoolConfig]
|
63
63
|
#
|
64
64
|
# @!attribute [rw] lambda_authorizer_config
|
65
|
-
# Configuration for
|
65
|
+
# Configuration for Lambda function authorization.
|
66
66
|
# @return [Types::LambdaAuthorizerConfig]
|
67
67
|
#
|
68
68
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider AWS API Documentation
|
@@ -76,12 +76,50 @@ module Aws::AppSync
|
|
76
76
|
include Aws::Structure
|
77
77
|
end
|
78
78
|
|
79
|
+
# Describes an `ApiAssociation` object.
|
80
|
+
#
|
81
|
+
# @!attribute [rw] domain_name
|
82
|
+
# The domain name.
|
83
|
+
# @return [String]
|
84
|
+
#
|
85
|
+
# @!attribute [rw] api_id
|
86
|
+
# The API ID.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] association_status
|
90
|
+
# Identifies the status of an association.
|
91
|
+
#
|
92
|
+
# * **PROCESSING**\: The API association is being created. You cannot
|
93
|
+
# modify association requests during processing.
|
94
|
+
#
|
95
|
+
# * **SUCCESS**\: The API association was successful. You can modify
|
96
|
+
# associations after success.
|
97
|
+
#
|
98
|
+
# * **FAILED**\: The API association has failed. You can modify
|
99
|
+
# associations after failure.
|
100
|
+
# @return [String]
|
101
|
+
#
|
102
|
+
# @!attribute [rw] deployment_detail
|
103
|
+
# Details about the last deployment status.
|
104
|
+
# @return [String]
|
105
|
+
#
|
106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiAssociation AWS API Documentation
|
107
|
+
#
|
108
|
+
class ApiAssociation < Struct.new(
|
109
|
+
:domain_name,
|
110
|
+
:api_id,
|
111
|
+
:association_status,
|
112
|
+
:deployment_detail)
|
113
|
+
SENSITIVE = []
|
114
|
+
include Aws::Structure
|
115
|
+
end
|
116
|
+
|
79
117
|
# The `ApiCache` object.
|
80
118
|
#
|
81
119
|
# @!attribute [rw] ttl
|
82
120
|
# TTL in seconds for cache entries.
|
83
121
|
#
|
84
|
-
# Valid values are
|
122
|
+
# Valid values are 1–3,600 seconds.
|
85
123
|
# @return [Integer]
|
86
124
|
#
|
87
125
|
# @!attribute [rw] api_caching_behavior
|
@@ -94,12 +132,12 @@ module Aws::AppSync
|
|
94
132
|
# @return [String]
|
95
133
|
#
|
96
134
|
# @!attribute [rw] transit_encryption_enabled
|
97
|
-
# Transit encryption flag when connecting to cache.
|
98
|
-
#
|
135
|
+
# Transit encryption flag when connecting to cache. You cannot update
|
136
|
+
# this setting after creation.
|
99
137
|
# @return [Boolean]
|
100
138
|
#
|
101
139
|
# @!attribute [rw] at_rest_encryption_enabled
|
102
|
-
# At
|
140
|
+
# At-rest encryption flag for cache. You cannot update this setting
|
103
141
|
# after creation.
|
104
142
|
# @return [Boolean]
|
105
143
|
#
|
@@ -176,10 +214,10 @@ module Aws::AppSync
|
|
176
214
|
# Customers invoke AppSync GraphQL API operations with API keys as an
|
177
215
|
# identity mechanism. There are two key versions:
|
178
216
|
#
|
179
|
-
# **da1**\:
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
217
|
+
# **da1**\: We introduced this version at launch in November 2017. These
|
218
|
+
# keys always expire after 7 days. Amazon DynamoDB TTL manages key
|
219
|
+
# expiration. These keys ceased to be valid after February 21, 2018, and
|
220
|
+
# they should no longer be used.
|
183
221
|
#
|
184
222
|
# * `ListApiKeys` returns the expiration time in milliseconds.
|
185
223
|
#
|
@@ -189,13 +227,12 @@ module Aws::AppSync
|
|
189
227
|
#
|
190
228
|
# * `DeleteApiKey` deletes the item from the table.
|
191
229
|
#
|
192
|
-
# * Expiration is stored in
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# 2018.
|
230
|
+
# * Expiration is stored in DynamoDB as milliseconds. This results in a
|
231
|
+
# bug where keys are not automatically deleted because DynamoDB
|
232
|
+
# expects the TTL to be stored in seconds. As a one-time action, we
|
233
|
+
# deleted these keys from the table on February 21, 2018.
|
197
234
|
#
|
198
|
-
# **da2**\:
|
235
|
+
# **da2**\: We introduced this version in February 2018 when AppSync
|
199
236
|
# added support to extend key expiration.
|
200
237
|
#
|
201
238
|
# * `ListApiKeys` returns the expiration time and deletion time in
|
@@ -206,17 +243,18 @@ module Aws::AppSync
|
|
206
243
|
#
|
207
244
|
# * `UpdateApiKey` returns the expiration time and and deletion time in
|
208
245
|
# seconds and accepts a user-provided expiration time in seconds.
|
209
|
-
# Expired API keys are kept for 60 days after the expiration time.
|
210
|
-
# expiration time
|
246
|
+
# Expired API keys are kept for 60 days after the expiration time. You
|
247
|
+
# can update the key expiration time as long as the key isn't
|
248
|
+
# deleted.
|
211
249
|
#
|
212
250
|
# * `DeleteApiKey` deletes the item from the table.
|
213
251
|
#
|
214
|
-
# * Expiration is stored in
|
215
|
-
#
|
216
|
-
#
|
252
|
+
# * Expiration is stored in DynamoDB as seconds. After the expiration
|
253
|
+
# time, using the key to authenticate will fail. However, you can
|
254
|
+
# reinstate the key before deletion.
|
217
255
|
#
|
218
|
-
# * Deletion is stored in
|
219
|
-
#
|
256
|
+
# * Deletion is stored in DynamoDB as seconds. The key is deleted after
|
257
|
+
# deletion time.
|
220
258
|
#
|
221
259
|
# @!attribute [rw] id
|
222
260
|
# The API key ID.
|
@@ -288,7 +326,44 @@ module Aws::AppSync
|
|
288
326
|
include Aws::Structure
|
289
327
|
end
|
290
328
|
|
291
|
-
#
|
329
|
+
# @note When making an API call, you may pass AssociateApiRequest
|
330
|
+
# data as a hash:
|
331
|
+
#
|
332
|
+
# {
|
333
|
+
# domain_name: "DomainName", # required
|
334
|
+
# api_id: "String", # required
|
335
|
+
# }
|
336
|
+
#
|
337
|
+
# @!attribute [rw] domain_name
|
338
|
+
# The domain name.
|
339
|
+
# @return [String]
|
340
|
+
#
|
341
|
+
# @!attribute [rw] api_id
|
342
|
+
# The API ID.
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApiRequest AWS API Documentation
|
346
|
+
#
|
347
|
+
class AssociateApiRequest < Struct.new(
|
348
|
+
:domain_name,
|
349
|
+
:api_id)
|
350
|
+
SENSITIVE = []
|
351
|
+
include Aws::Structure
|
352
|
+
end
|
353
|
+
|
354
|
+
# @!attribute [rw] api_association
|
355
|
+
# The `ApiAssociation` object.
|
356
|
+
# @return [Types::ApiAssociation]
|
357
|
+
#
|
358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApiResponse AWS API Documentation
|
359
|
+
#
|
360
|
+
class AssociateApiResponse < Struct.new(
|
361
|
+
:api_association)
|
362
|
+
SENSITIVE = []
|
363
|
+
include Aws::Structure
|
364
|
+
end
|
365
|
+
|
366
|
+
# The authorization configuration in case the HTTP endpoint requires
|
292
367
|
# authorization.
|
293
368
|
#
|
294
369
|
# @note When making an API call, you may pass AuthorizationConfig
|
@@ -303,15 +378,16 @@ module Aws::AppSync
|
|
303
378
|
# }
|
304
379
|
#
|
305
380
|
# @!attribute [rw] authorization_type
|
306
|
-
# The authorization type
|
381
|
+
# The authorization type that the HTTP endpoint requires.
|
307
382
|
#
|
308
|
-
# * **AWS\_IAM**\: The authorization type is
|
383
|
+
# * **AWS\_IAM**\: The authorization type is Signature Version 4
|
384
|
+
# (SigV4).
|
309
385
|
#
|
310
386
|
# ^
|
311
387
|
# @return [String]
|
312
388
|
#
|
313
389
|
# @!attribute [rw] aws_iam_config
|
314
|
-
# The Identity and Access Management settings.
|
390
|
+
# The Identity and Access Management (IAM) settings.
|
315
391
|
# @return [Types::AwsIamConfig]
|
316
392
|
#
|
317
393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AuthorizationConfig AWS API Documentation
|
@@ -323,7 +399,7 @@ module Aws::AppSync
|
|
323
399
|
include Aws::Structure
|
324
400
|
end
|
325
401
|
|
326
|
-
# The Identity and Access Management configuration.
|
402
|
+
# The Identity and Access Management (IAM) configuration.
|
327
403
|
#
|
328
404
|
# @note When making an API call, you may pass AwsIamConfig
|
329
405
|
# data as a hash:
|
@@ -334,12 +410,11 @@ module Aws::AppSync
|
|
334
410
|
# }
|
335
411
|
#
|
336
412
|
# @!attribute [rw] signing_region
|
337
|
-
# The signing
|
413
|
+
# The signing Amazon Web Services Region for IAM authorization.
|
338
414
|
# @return [String]
|
339
415
|
#
|
340
416
|
# @!attribute [rw] signing_service_name
|
341
|
-
# The signing service name for
|
342
|
-
# authorization.
|
417
|
+
# The signing service name for IAM authorization.
|
343
418
|
# @return [String]
|
344
419
|
#
|
345
420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AwsIamConfig AWS API Documentation
|
@@ -365,7 +440,7 @@ module Aws::AppSync
|
|
365
440
|
include Aws::Structure
|
366
441
|
end
|
367
442
|
|
368
|
-
# The caching configuration for a resolver that has caching
|
443
|
+
# The caching configuration for a resolver that has caching activated.
|
369
444
|
#
|
370
445
|
# @note When making an API call, you may pass CachingConfig
|
371
446
|
# data as a hash:
|
@@ -376,13 +451,13 @@ module Aws::AppSync
|
|
376
451
|
# }
|
377
452
|
#
|
378
453
|
# @!attribute [rw] ttl
|
379
|
-
# The TTL in seconds for a resolver that has caching
|
454
|
+
# The TTL in seconds for a resolver that has caching activated.
|
380
455
|
#
|
381
|
-
# Valid values are
|
456
|
+
# Valid values are 1–3,600 seconds.
|
382
457
|
# @return [Integer]
|
383
458
|
#
|
384
459
|
# @!attribute [rw] caching_keys
|
385
|
-
# The caching keys for a resolver that has caching
|
460
|
+
# The caching keys for a resolver that has caching activated.
|
386
461
|
#
|
387
462
|
# Valid values are entries from the `$context.arguments`,
|
388
463
|
# `$context.source`, and `$context.identity` maps.
|
@@ -460,22 +535,22 @@ module Aws::AppSync
|
|
460
535
|
# }
|
461
536
|
#
|
462
537
|
# @!attribute [rw] api_id
|
463
|
-
# The GraphQL API
|
538
|
+
# The GraphQL API ID.
|
464
539
|
# @return [String]
|
465
540
|
#
|
466
541
|
# @!attribute [rw] ttl
|
467
542
|
# TTL in seconds for cache entries.
|
468
543
|
#
|
469
|
-
# Valid values are
|
544
|
+
# Valid values are 1–3,600 seconds.
|
470
545
|
# @return [Integer]
|
471
546
|
#
|
472
547
|
# @!attribute [rw] transit_encryption_enabled
|
473
|
-
# Transit encryption flag when connecting to cache.
|
474
|
-
#
|
548
|
+
# Transit encryption flag when connecting to cache. You cannot update
|
549
|
+
# this setting after creation.
|
475
550
|
# @return [Boolean]
|
476
551
|
#
|
477
552
|
# @!attribute [rw] at_rest_encryption_enabled
|
478
|
-
# At
|
553
|
+
# At-rest encryption flag for cache. You cannot update this setting
|
479
554
|
# after creation.
|
480
555
|
# @return [Boolean]
|
481
556
|
#
|
@@ -574,10 +649,10 @@ module Aws::AppSync
|
|
574
649
|
# @return [String]
|
575
650
|
#
|
576
651
|
# @!attribute [rw] expires
|
577
|
-
#
|
578
|
-
# date is represented as seconds since the epoch, rounded down to
|
579
|
-
# nearest hour. The default value for this parameter is 7 days
|
580
|
-
# creation time. For more information, see .
|
652
|
+
# From the creation time, the time after which the API key expires.
|
653
|
+
# The date is represented as seconds since the epoch, rounded down to
|
654
|
+
# the nearest hour. The default value for this parameter is 7 days
|
655
|
+
# from creation time. For more information, see .
|
581
656
|
# @return [Integer]
|
582
657
|
#
|
583
658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest AWS API Documentation
|
@@ -672,8 +747,9 @@ module Aws::AppSync
|
|
672
747
|
# @return [String]
|
673
748
|
#
|
674
749
|
# @!attribute [rw] service_role_arn
|
675
|
-
# The Identity and Access Management service role
|
676
|
-
# source. The system assumes this
|
750
|
+
# The Identity and Access Management (IAM) service role Amazon
|
751
|
+
# Resource Name (ARN) for the data source. The system assumes this
|
752
|
+
# role when accessing the data source.
|
677
753
|
# @return [String]
|
678
754
|
#
|
679
755
|
# @!attribute [rw] dynamodb_config
|
@@ -681,7 +757,7 @@ module Aws::AppSync
|
|
681
757
|
# @return [Types::DynamodbDataSourceConfig]
|
682
758
|
#
|
683
759
|
# @!attribute [rw] lambda_config
|
684
|
-
#
|
760
|
+
# Lambda settings.
|
685
761
|
# @return [Types::LambdaDataSourceConfig]
|
686
762
|
#
|
687
763
|
# @!attribute [rw] elasticsearch_config
|
@@ -735,6 +811,51 @@ module Aws::AppSync
|
|
735
811
|
include Aws::Structure
|
736
812
|
end
|
737
813
|
|
814
|
+
# @note When making an API call, you may pass CreateDomainNameRequest
|
815
|
+
# data as a hash:
|
816
|
+
#
|
817
|
+
# {
|
818
|
+
# domain_name: "DomainName", # required
|
819
|
+
# certificate_arn: "CertificateArn", # required
|
820
|
+
# description: "Description",
|
821
|
+
# }
|
822
|
+
#
|
823
|
+
# @!attribute [rw] domain_name
|
824
|
+
# The domain name.
|
825
|
+
# @return [String]
|
826
|
+
#
|
827
|
+
# @!attribute [rw] certificate_arn
|
828
|
+
# The Amazon Resource Name (ARN) of the certificate. This can be an
|
829
|
+
# Certificate Manager (ACM) certificate or an Identity and Access
|
830
|
+
# Management (IAM) server certificate.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] description
|
834
|
+
# A description of the `DomainName`.
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainNameRequest AWS API Documentation
|
838
|
+
#
|
839
|
+
class CreateDomainNameRequest < Struct.new(
|
840
|
+
:domain_name,
|
841
|
+
:certificate_arn,
|
842
|
+
:description)
|
843
|
+
SENSITIVE = []
|
844
|
+
include Aws::Structure
|
845
|
+
end
|
846
|
+
|
847
|
+
# @!attribute [rw] domain_name_config
|
848
|
+
# The configuration for the `DomainName`.
|
849
|
+
# @return [Types::DomainNameConfig]
|
850
|
+
#
|
851
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainNameResponse AWS API Documentation
|
852
|
+
#
|
853
|
+
class CreateDomainNameResponse < Struct.new(
|
854
|
+
:domain_name_config)
|
855
|
+
SENSITIVE = []
|
856
|
+
include Aws::Structure
|
857
|
+
end
|
858
|
+
|
738
859
|
# @note When making an API call, you may pass CreateFunctionRequest
|
739
860
|
# data as a hash:
|
740
861
|
#
|
@@ -753,6 +874,7 @@ module Aws::AppSync
|
|
753
874
|
# lambda_conflict_handler_arn: "String",
|
754
875
|
# },
|
755
876
|
# },
|
877
|
+
# max_batch_size: 1,
|
756
878
|
# }
|
757
879
|
#
|
758
880
|
# @!attribute [rw] api_id
|
@@ -781,18 +903,21 @@ module Aws::AppSync
|
|
781
903
|
# @return [String]
|
782
904
|
#
|
783
905
|
# @!attribute [rw] function_version
|
784
|
-
# The `version` of the request mapping template. Currently the
|
906
|
+
# The `version` of the request mapping template. Currently, the
|
785
907
|
# supported value is 2018-05-29.
|
786
908
|
# @return [String]
|
787
909
|
#
|
788
910
|
# @!attribute [rw] sync_config
|
789
911
|
# Describes a Sync configuration for a resolver.
|
790
912
|
#
|
791
|
-
#
|
792
|
-
#
|
793
|
-
# invoked.
|
913
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
914
|
+
# to use when the resolver is invoked.
|
794
915
|
# @return [Types::SyncConfig]
|
795
916
|
#
|
917
|
+
# @!attribute [rw] max_batch_size
|
918
|
+
# The maximum batching size for a resolver.
|
919
|
+
# @return [Integer]
|
920
|
+
#
|
796
921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
|
797
922
|
#
|
798
923
|
class CreateFunctionRequest < Struct.new(
|
@@ -803,7 +928,8 @@ module Aws::AppSync
|
|
803
928
|
:request_mapping_template,
|
804
929
|
:response_mapping_template,
|
805
930
|
:function_version,
|
806
|
-
:sync_config
|
931
|
+
:sync_config,
|
932
|
+
:max_batch_size)
|
807
933
|
SENSITIVE = []
|
808
934
|
include Aws::Structure
|
809
935
|
end
|
@@ -884,8 +1010,8 @@ module Aws::AppSync
|
|
884
1010
|
# @return [Types::LogConfig]
|
885
1011
|
#
|
886
1012
|
# @!attribute [rw] authentication_type
|
887
|
-
# The authentication type: API key, Identity and Access Management
|
888
|
-
# OIDC, Amazon Cognito user pools, or
|
1013
|
+
# The authentication type: API key, Identity and Access Management
|
1014
|
+
# (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
|
889
1015
|
# @return [String]
|
890
1016
|
#
|
891
1017
|
# @!attribute [rw] user_pool_config
|
@@ -893,7 +1019,7 @@ module Aws::AppSync
|
|
893
1019
|
# @return [Types::UserPoolConfig]
|
894
1020
|
#
|
895
1021
|
# @!attribute [rw] open_id_connect_config
|
896
|
-
# The
|
1022
|
+
# The OIDC configuration.
|
897
1023
|
# @return [Types::OpenIDConnectConfig]
|
898
1024
|
#
|
899
1025
|
# @!attribute [rw] tags
|
@@ -906,12 +1032,11 @@ module Aws::AppSync
|
|
906
1032
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
907
1033
|
#
|
908
1034
|
# @!attribute [rw] xray_enabled
|
909
|
-
# A flag indicating whether to
|
910
|
-
# `GraphqlApi`.
|
1035
|
+
# A flag indicating whether to use X-Ray tracing for the `GraphqlApi`.
|
911
1036
|
# @return [Boolean]
|
912
1037
|
#
|
913
1038
|
# @!attribute [rw] lambda_authorizer_config
|
914
|
-
# Configuration for
|
1039
|
+
# Configuration for Lambda function authorization.
|
915
1040
|
# @return [Types::LambdaAuthorizerConfig]
|
916
1041
|
#
|
917
1042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
@@ -967,6 +1092,7 @@ module Aws::AppSync
|
|
967
1092
|
# ttl: 1,
|
968
1093
|
# caching_keys: ["String"],
|
969
1094
|
# },
|
1095
|
+
# max_batch_size: 1,
|
970
1096
|
# }
|
971
1097
|
#
|
972
1098
|
# @!attribute [rw] api_id
|
@@ -986,32 +1112,32 @@ module Aws::AppSync
|
|
986
1112
|
# @return [String]
|
987
1113
|
#
|
988
1114
|
# @!attribute [rw] request_mapping_template
|
989
|
-
# The mapping template to
|
1115
|
+
# The mapping template to use for requests.
|
990
1116
|
#
|
991
1117
|
# A resolver uses a request mapping template to convert a GraphQL
|
992
1118
|
# expression into a format that a data source can understand. Mapping
|
993
1119
|
# templates are written in Apache Velocity Template Language (VTL).
|
994
1120
|
#
|
995
|
-
# VTL request mapping templates are optional when using
|
1121
|
+
# VTL request mapping templates are optional when using an Lambda data
|
996
1122
|
# source. For all other data sources, VTL request and response mapping
|
997
1123
|
# templates are required.
|
998
1124
|
# @return [String]
|
999
1125
|
#
|
1000
1126
|
# @!attribute [rw] response_mapping_template
|
1001
|
-
# The mapping template to
|
1127
|
+
# The mapping template to use for responses from the data source.
|
1002
1128
|
# @return [String]
|
1003
1129
|
#
|
1004
1130
|
# @!attribute [rw] kind
|
1005
1131
|
# The resolver type.
|
1006
1132
|
#
|
1007
1133
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
1008
|
-
# resolver type.
|
1009
|
-
#
|
1134
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
1135
|
+
# against a single data source.
|
1010
1136
|
#
|
1011
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
1012
|
-
#
|
1013
|
-
# You can use a pipeline resolver to
|
1014
|
-
# multiple data sources.
|
1137
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
1138
|
+
# resolver to invoke a series of `Function` objects in a serial
|
1139
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
1140
|
+
# against multiple data sources.
|
1015
1141
|
# @return [String]
|
1016
1142
|
#
|
1017
1143
|
# @!attribute [rw] pipeline_config
|
@@ -1019,13 +1145,17 @@ module Aws::AppSync
|
|
1019
1145
|
# @return [Types::PipelineConfig]
|
1020
1146
|
#
|
1021
1147
|
# @!attribute [rw] sync_config
|
1022
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
1148
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
1023
1149
|
# @return [Types::SyncConfig]
|
1024
1150
|
#
|
1025
1151
|
# @!attribute [rw] caching_config
|
1026
1152
|
# The caching configuration for the resolver.
|
1027
1153
|
# @return [Types::CachingConfig]
|
1028
1154
|
#
|
1155
|
+
# @!attribute [rw] max_batch_size
|
1156
|
+
# The maximum batching size for a resolver.
|
1157
|
+
# @return [Integer]
|
1158
|
+
#
|
1029
1159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest AWS API Documentation
|
1030
1160
|
#
|
1031
1161
|
class CreateResolverRequest < Struct.new(
|
@@ -1038,7 +1168,8 @@ module Aws::AppSync
|
|
1038
1168
|
:kind,
|
1039
1169
|
:pipeline_config,
|
1040
1170
|
:sync_config,
|
1041
|
-
:caching_config
|
1171
|
+
:caching_config,
|
1172
|
+
:max_batch_size)
|
1042
1173
|
SENSITIVE = []
|
1043
1174
|
include Aws::Structure
|
1044
1175
|
end
|
@@ -1108,7 +1239,7 @@ module Aws::AppSync
|
|
1108
1239
|
# Describes a data source.
|
1109
1240
|
#
|
1110
1241
|
# @!attribute [rw] data_source_arn
|
1111
|
-
# The data source ARN.
|
1242
|
+
# The data source Amazon Resource Name (ARN).
|
1112
1243
|
# @return [String]
|
1113
1244
|
#
|
1114
1245
|
# @!attribute [rw] name
|
@@ -1122,8 +1253,7 @@ module Aws::AppSync
|
|
1122
1253
|
# @!attribute [rw] type
|
1123
1254
|
# The type of the data source.
|
1124
1255
|
#
|
1125
|
-
# * **AWS\_LAMBDA**\: The data source is an
|
1126
|
-
# function.
|
1256
|
+
# * **AWS\_LAMBDA**\: The data source is an Lambda function.
|
1127
1257
|
#
|
1128
1258
|
# * **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
|
1129
1259
|
# table.
|
@@ -1134,10 +1264,10 @@ module Aws::AppSync
|
|
1134
1264
|
# * **AMAZON\_OPENSEARCH\_SERVICE**\: The data source is an Amazon
|
1135
1265
|
# OpenSearch Service domain.
|
1136
1266
|
#
|
1137
|
-
# * **NONE**\: There is no data source.
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1267
|
+
# * **NONE**\: There is no data source. Use this type when you want to
|
1268
|
+
# invoke a GraphQL operation without connecting to a data source,
|
1269
|
+
# such as when you're performing data transformation with resolvers
|
1270
|
+
# or invoking a subscription from a mutation.
|
1141
1271
|
#
|
1142
1272
|
# * **HTTP**\: The data source is an HTTP endpoint.
|
1143
1273
|
#
|
@@ -1146,16 +1276,17 @@ module Aws::AppSync
|
|
1146
1276
|
# @return [String]
|
1147
1277
|
#
|
1148
1278
|
# @!attribute [rw] service_role_arn
|
1149
|
-
# The Identity and Access Management service role
|
1150
|
-
# source. The system assumes this
|
1279
|
+
# The Identity and Access Management (IAM) service role Amazon
|
1280
|
+
# Resource Name (ARN) for the data source. The system assumes this
|
1281
|
+
# role when accessing the data source.
|
1151
1282
|
# @return [String]
|
1152
1283
|
#
|
1153
1284
|
# @!attribute [rw] dynamodb_config
|
1154
|
-
#
|
1285
|
+
# DynamoDB settings.
|
1155
1286
|
# @return [Types::DynamodbDataSourceConfig]
|
1156
1287
|
#
|
1157
1288
|
# @!attribute [rw] lambda_config
|
1158
|
-
#
|
1289
|
+
# Lambda settings.
|
1159
1290
|
# @return [Types::LambdaDataSourceConfig]
|
1160
1291
|
#
|
1161
1292
|
# @!attribute [rw] elasticsearch_config
|
@@ -1277,6 +1408,29 @@ module Aws::AppSync
|
|
1277
1408
|
#
|
1278
1409
|
class DeleteDataSourceResponse < Aws::EmptyStructure; end
|
1279
1410
|
|
1411
|
+
# @note When making an API call, you may pass DeleteDomainNameRequest
|
1412
|
+
# data as a hash:
|
1413
|
+
#
|
1414
|
+
# {
|
1415
|
+
# domain_name: "DomainName", # required
|
1416
|
+
# }
|
1417
|
+
#
|
1418
|
+
# @!attribute [rw] domain_name
|
1419
|
+
# The domain name.
|
1420
|
+
# @return [String]
|
1421
|
+
#
|
1422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainNameRequest AWS API Documentation
|
1423
|
+
#
|
1424
|
+
class DeleteDomainNameRequest < Struct.new(
|
1425
|
+
:domain_name)
|
1426
|
+
SENSITIVE = []
|
1427
|
+
include Aws::Structure
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainNameResponse AWS API Documentation
|
1431
|
+
#
|
1432
|
+
class DeleteDomainNameResponse < Aws::EmptyStructure; end
|
1433
|
+
|
1280
1434
|
# @note When making an API call, you may pass DeleteFunctionRequest
|
1281
1435
|
# data as a hash:
|
1282
1436
|
#
|
@@ -1405,7 +1559,7 @@ module Aws::AppSync
|
|
1405
1559
|
# }
|
1406
1560
|
#
|
1407
1561
|
# @!attribute [rw] base_table_ttl
|
1408
|
-
# The number of minutes an Item is stored in the
|
1562
|
+
# The number of minutes that an Item is stored in the data source.
|
1409
1563
|
# @return [Integer]
|
1410
1564
|
#
|
1411
1565
|
# @!attribute [rw] delta_sync_table_name
|
@@ -1413,8 +1567,8 @@ module Aws::AppSync
|
|
1413
1567
|
# @return [String]
|
1414
1568
|
#
|
1415
1569
|
# @!attribute [rw] delta_sync_table_ttl
|
1416
|
-
# The number of minutes a Delta Sync log entry is stored in the
|
1417
|
-
# Sync table.
|
1570
|
+
# The number of minutes that a Delta Sync log entry is stored in the
|
1571
|
+
# Delta Sync table.
|
1418
1572
|
# @return [Integer]
|
1419
1573
|
#
|
1420
1574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeltaSyncConfig AWS API Documentation
|
@@ -1427,6 +1581,65 @@ module Aws::AppSync
|
|
1427
1581
|
include Aws::Structure
|
1428
1582
|
end
|
1429
1583
|
|
1584
|
+
# @note When making an API call, you may pass DisassociateApiRequest
|
1585
|
+
# data as a hash:
|
1586
|
+
#
|
1587
|
+
# {
|
1588
|
+
# domain_name: "DomainName", # required
|
1589
|
+
# }
|
1590
|
+
#
|
1591
|
+
# @!attribute [rw] domain_name
|
1592
|
+
# The domain name.
|
1593
|
+
# @return [String]
|
1594
|
+
#
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApiRequest AWS API Documentation
|
1596
|
+
#
|
1597
|
+
class DisassociateApiRequest < Struct.new(
|
1598
|
+
:domain_name)
|
1599
|
+
SENSITIVE = []
|
1600
|
+
include Aws::Structure
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApiResponse AWS API Documentation
|
1604
|
+
#
|
1605
|
+
class DisassociateApiResponse < Aws::EmptyStructure; end
|
1606
|
+
|
1607
|
+
# Describes a configuration for a custom domain.
|
1608
|
+
#
|
1609
|
+
# @!attribute [rw] domain_name
|
1610
|
+
# The domain name.
|
1611
|
+
# @return [String]
|
1612
|
+
#
|
1613
|
+
# @!attribute [rw] description
|
1614
|
+
# A description of the `DomainName` configuration.
|
1615
|
+
# @return [String]
|
1616
|
+
#
|
1617
|
+
# @!attribute [rw] certificate_arn
|
1618
|
+
# The Amazon Resource Name (ARN) of the certificate. This can be an
|
1619
|
+
# Certificate Manager (ACM) certificate or an Identity and Access
|
1620
|
+
# Management (IAM) server certificate.
|
1621
|
+
# @return [String]
|
1622
|
+
#
|
1623
|
+
# @!attribute [rw] appsync_domain_name
|
1624
|
+
# The domain name that AppSync provides.
|
1625
|
+
# @return [String]
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] hosted_zone_id
|
1628
|
+
# The ID of your Amazon Route 53 hosted zone.
|
1629
|
+
# @return [String]
|
1630
|
+
#
|
1631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DomainNameConfig AWS API Documentation
|
1632
|
+
#
|
1633
|
+
class DomainNameConfig < Struct.new(
|
1634
|
+
:domain_name,
|
1635
|
+
:description,
|
1636
|
+
:certificate_arn,
|
1637
|
+
:appsync_domain_name,
|
1638
|
+
:hosted_zone_id)
|
1639
|
+
SENSITIVE = []
|
1640
|
+
include Aws::Structure
|
1641
|
+
end
|
1642
|
+
|
1430
1643
|
# Describes an Amazon DynamoDB data source configuration.
|
1431
1644
|
#
|
1432
1645
|
# @note When making an API call, you may pass DynamodbDataSourceConfig
|
@@ -1457,7 +1670,7 @@ module Aws::AppSync
|
|
1457
1670
|
# @return [Boolean]
|
1458
1671
|
#
|
1459
1672
|
# @!attribute [rw] delta_sync_config
|
1460
|
-
# The `DeltaSyncConfig` for a versioned
|
1673
|
+
# The `DeltaSyncConfig` for a versioned data source.
|
1461
1674
|
# @return [Types::DeltaSyncConfig]
|
1462
1675
|
#
|
1463
1676
|
# @!attribute [rw] versioned
|
@@ -1536,7 +1749,7 @@ module Aws::AppSync
|
|
1536
1749
|
#
|
1537
1750
|
class FlushApiCacheResponse < Aws::EmptyStructure; end
|
1538
1751
|
|
1539
|
-
# A function is a reusable entity.
|
1752
|
+
# A function is a reusable entity. You can use multiple functions to
|
1540
1753
|
# compose the resolver logic.
|
1541
1754
|
#
|
1542
1755
|
# @!attribute [rw] function_id
|
@@ -1544,7 +1757,7 @@ module Aws::AppSync
|
|
1544
1757
|
# @return [String]
|
1545
1758
|
#
|
1546
1759
|
# @!attribute [rw] function_arn
|
1547
|
-
# The ARN of the `Function` object.
|
1760
|
+
# The Amazon Resource Name (ARN) of the `Function` object.
|
1548
1761
|
# @return [String]
|
1549
1762
|
#
|
1550
1763
|
# @!attribute [rw] name
|
@@ -1569,18 +1782,21 @@ module Aws::AppSync
|
|
1569
1782
|
# @return [String]
|
1570
1783
|
#
|
1571
1784
|
# @!attribute [rw] function_version
|
1572
|
-
# The version of the request mapping template. Currently only the
|
1785
|
+
# The version of the request mapping template. Currently, only the
|
1573
1786
|
# 2018-05-29 version of the template is supported.
|
1574
1787
|
# @return [String]
|
1575
1788
|
#
|
1576
1789
|
# @!attribute [rw] sync_config
|
1577
1790
|
# Describes a Sync configuration for a resolver.
|
1578
1791
|
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
# invoked.
|
1792
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
1793
|
+
# to use when the resolver is invoked.
|
1582
1794
|
# @return [Types::SyncConfig]
|
1583
1795
|
#
|
1796
|
+
# @!attribute [rw] max_batch_size
|
1797
|
+
# The maximum batching size for a resolver.
|
1798
|
+
# @return [Integer]
|
1799
|
+
#
|
1584
1800
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration AWS API Documentation
|
1585
1801
|
#
|
1586
1802
|
class FunctionConfiguration < Struct.new(
|
@@ -1592,7 +1808,39 @@ module Aws::AppSync
|
|
1592
1808
|
:request_mapping_template,
|
1593
1809
|
:response_mapping_template,
|
1594
1810
|
:function_version,
|
1595
|
-
:sync_config
|
1811
|
+
:sync_config,
|
1812
|
+
:max_batch_size)
|
1813
|
+
SENSITIVE = []
|
1814
|
+
include Aws::Structure
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
# @note When making an API call, you may pass GetApiAssociationRequest
|
1818
|
+
# data as a hash:
|
1819
|
+
#
|
1820
|
+
# {
|
1821
|
+
# domain_name: "DomainName", # required
|
1822
|
+
# }
|
1823
|
+
#
|
1824
|
+
# @!attribute [rw] domain_name
|
1825
|
+
# The domain name.
|
1826
|
+
# @return [String]
|
1827
|
+
#
|
1828
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociationRequest AWS API Documentation
|
1829
|
+
#
|
1830
|
+
class GetApiAssociationRequest < Struct.new(
|
1831
|
+
:domain_name)
|
1832
|
+
SENSITIVE = []
|
1833
|
+
include Aws::Structure
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# @!attribute [rw] api_association
|
1837
|
+
# The `ApiAssociation` object.
|
1838
|
+
# @return [Types::ApiAssociation]
|
1839
|
+
#
|
1840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociationResponse AWS API Documentation
|
1841
|
+
#
|
1842
|
+
class GetApiAssociationResponse < Struct.new(
|
1843
|
+
:api_association)
|
1596
1844
|
SENSITIVE = []
|
1597
1845
|
include Aws::Structure
|
1598
1846
|
end
|
@@ -1669,6 +1917,37 @@ module Aws::AppSync
|
|
1669
1917
|
include Aws::Structure
|
1670
1918
|
end
|
1671
1919
|
|
1920
|
+
# @note When making an API call, you may pass GetDomainNameRequest
|
1921
|
+
# data as a hash:
|
1922
|
+
#
|
1923
|
+
# {
|
1924
|
+
# domain_name: "DomainName", # required
|
1925
|
+
# }
|
1926
|
+
#
|
1927
|
+
# @!attribute [rw] domain_name
|
1928
|
+
# The domain name.
|
1929
|
+
# @return [String]
|
1930
|
+
#
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainNameRequest AWS API Documentation
|
1932
|
+
#
|
1933
|
+
class GetDomainNameRequest < Struct.new(
|
1934
|
+
:domain_name)
|
1935
|
+
SENSITIVE = []
|
1936
|
+
include Aws::Structure
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# @!attribute [rw] domain_name_config
|
1940
|
+
# The configuration for the `DomainName`.
|
1941
|
+
# @return [Types::DomainNameConfig]
|
1942
|
+
#
|
1943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainNameResponse AWS API Documentation
|
1944
|
+
#
|
1945
|
+
class GetDomainNameResponse < Struct.new(
|
1946
|
+
:domain_name_config)
|
1947
|
+
SENSITIVE = []
|
1948
|
+
include Aws::Structure
|
1949
|
+
end
|
1950
|
+
|
1672
1951
|
# @note When making an API call, you may pass GetFunctionRequest
|
1673
1952
|
# data as a hash:
|
1674
1953
|
#
|
@@ -1952,7 +2231,7 @@ module Aws::AppSync
|
|
1952
2231
|
# @return [Types::OpenIDConnectConfig]
|
1953
2232
|
#
|
1954
2233
|
# @!attribute [rw] arn
|
1955
|
-
# The ARN.
|
2234
|
+
# The Amazon Resource Name (ARN).
|
1956
2235
|
# @return [String]
|
1957
2236
|
#
|
1958
2237
|
# @!attribute [rw] uris
|
@@ -1969,17 +2248,17 @@ module Aws::AppSync
|
|
1969
2248
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
1970
2249
|
#
|
1971
2250
|
# @!attribute [rw] xray_enabled
|
1972
|
-
# A flag
|
2251
|
+
# A flag indicating whether to use X-Ray tracing for this
|
1973
2252
|
# `GraphqlApi`.
|
1974
2253
|
# @return [Boolean]
|
1975
2254
|
#
|
1976
2255
|
# @!attribute [rw] waf_web_acl_arn
|
1977
|
-
# The ARN of the WAF ACL associated with this
|
1978
|
-
# exists.
|
2256
|
+
# The ARN of the WAF access control list (ACL) associated with this
|
2257
|
+
# `GraphqlApi`, if one exists.
|
1979
2258
|
# @return [String]
|
1980
2259
|
#
|
1981
2260
|
# @!attribute [rw] lambda_authorizer_config
|
1982
|
-
# Configuration for
|
2261
|
+
# Configuration for Lambda function authorization.
|
1983
2262
|
# @return [Types::LambdaAuthorizerConfig]
|
1984
2263
|
#
|
1985
2264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
@@ -2019,14 +2298,14 @@ module Aws::AppSync
|
|
2019
2298
|
# }
|
2020
2299
|
#
|
2021
2300
|
# @!attribute [rw] endpoint
|
2022
|
-
# The HTTP URL endpoint. You can either
|
2301
|
+
# The HTTP URL endpoint. You can specify either the domain name or IP,
|
2023
2302
|
# and port combination, and the URL scheme must be HTTP or HTTPS. If
|
2024
|
-
#
|
2025
|
-
# HTTP endpoint and port 443 for HTTPS endpoints.
|
2303
|
+
# you don't specify the port, AppSync uses the default port 80 for
|
2304
|
+
# the HTTP endpoint and port 443 for HTTPS endpoints.
|
2026
2305
|
# @return [String]
|
2027
2306
|
#
|
2028
2307
|
# @!attribute [rw] authorization_config
|
2029
|
-
# The authorization
|
2308
|
+
# The authorization configuration in case the HTTP endpoint requires
|
2030
2309
|
# authorization.
|
2031
2310
|
# @return [Types::AuthorizationConfig]
|
2032
2311
|
#
|
@@ -2052,10 +2331,9 @@ module Aws::AppSync
|
|
2052
2331
|
include Aws::Structure
|
2053
2332
|
end
|
2054
2333
|
|
2055
|
-
# A `LambdaAuthorizerConfig`
|
2056
|
-
#
|
2057
|
-
#
|
2058
|
-
# configured at a time.
|
2334
|
+
# A `LambdaAuthorizerConfig` specifies how to authorize AppSync API
|
2335
|
+
# access when using the `AWS_LAMBDA` authorizer mode. Be aware that an
|
2336
|
+
# AppSync API can have only one Lambda authorizer configured at a time.
|
2059
2337
|
#
|
2060
2338
|
# @note When making an API call, you may pass LambdaAuthorizerConfig
|
2061
2339
|
# data as a hash:
|
@@ -2074,13 +2352,14 @@ module Aws::AppSync
|
|
2074
2352
|
# @return [Integer]
|
2075
2353
|
#
|
2076
2354
|
# @!attribute [rw] authorizer_uri
|
2077
|
-
# The ARN of the Lambda function to be called
|
2078
|
-
#
|
2355
|
+
# The Amazon Resource Name (ARN) of the Lambda function to be called
|
2356
|
+
# for authorization. This can be a standard Lambda ARN, a version ARN
|
2357
|
+
# (`.../v3`), or an alias ARN.
|
2079
2358
|
#
|
2080
|
-
#
|
2081
|
-
# policy assigned to it. When configuring Lambda
|
2082
|
-
#
|
2083
|
-
# CLI, run the following:
|
2359
|
+
# **Note**\: This Lambda function must have the following
|
2360
|
+
# resource-based policy assigned to it. When configuring Lambda
|
2361
|
+
# authorizers in the console, this is done for you. To use the Command
|
2362
|
+
# Line Interface (CLI), run the following:
|
2084
2363
|
#
|
2085
2364
|
# `aws lambda add-permission --function-name
|
2086
2365
|
# "arn:aws:lambda:us-east-2:111122223333:function:my-function"
|
@@ -2103,7 +2382,7 @@ module Aws::AppSync
|
|
2103
2382
|
include Aws::Structure
|
2104
2383
|
end
|
2105
2384
|
|
2106
|
-
# The `LambdaConflictHandlerConfig` object when configuring LAMBDA as
|
2385
|
+
# The `LambdaConflictHandlerConfig` object when configuring `LAMBDA` as
|
2107
2386
|
# the Conflict Handler.
|
2108
2387
|
#
|
2109
2388
|
# @note When making an API call, you may pass LambdaConflictHandlerConfig
|
@@ -2114,7 +2393,8 @@ module Aws::AppSync
|
|
2114
2393
|
# }
|
2115
2394
|
#
|
2116
2395
|
# @!attribute [rw] lambda_conflict_handler_arn
|
2117
|
-
# The
|
2396
|
+
# The Amazon Resource Name (ARN) for the Lambda function to use as the
|
2397
|
+
# Conflict Handler.
|
2118
2398
|
# @return [String]
|
2119
2399
|
#
|
2120
2400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaConflictHandlerConfig AWS API Documentation
|
@@ -2125,7 +2405,7 @@ module Aws::AppSync
|
|
2125
2405
|
include Aws::Structure
|
2126
2406
|
end
|
2127
2407
|
|
2128
|
-
# Describes an
|
2408
|
+
# Describes an Lambda data source configuration.
|
2129
2409
|
#
|
2130
2410
|
# @note When making an API call, you may pass LambdaDataSourceConfig
|
2131
2411
|
# data as a hash:
|
@@ -2135,7 +2415,7 @@ module Aws::AppSync
|
|
2135
2415
|
# }
|
2136
2416
|
#
|
2137
2417
|
# @!attribute [rw] lambda_function_arn
|
2138
|
-
# The ARN for the Lambda function.
|
2418
|
+
# The Amazon Resource Name (ARN) for the Lambda function.
|
2139
2419
|
# @return [String]
|
2140
2420
|
#
|
2141
2421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig AWS API Documentation
|
@@ -2174,12 +2454,12 @@ module Aws::AppSync
|
|
2174
2454
|
#
|
2175
2455
|
# @!attribute [rw] next_token
|
2176
2456
|
# An identifier that was returned from the previous call to this
|
2177
|
-
# operation, which can
|
2457
|
+
# operation, which you can use to return the next set of items in the
|
2178
2458
|
# list.
|
2179
2459
|
# @return [String]
|
2180
2460
|
#
|
2181
2461
|
# @!attribute [rw] max_results
|
2182
|
-
# The maximum number of results you want the request to return.
|
2462
|
+
# The maximum number of results that you want the request to return.
|
2183
2463
|
# @return [Integer]
|
2184
2464
|
#
|
2185
2465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest AWS API Documentation
|
@@ -2197,7 +2477,7 @@ module Aws::AppSync
|
|
2197
2477
|
# @return [Array<Types::ApiKey>]
|
2198
2478
|
#
|
2199
2479
|
# @!attribute [rw] next_token
|
2200
|
-
# An identifier to
|
2480
|
+
# An identifier to pass in the next request to this operation to
|
2201
2481
|
# return the next set of items in the list.
|
2202
2482
|
# @return [String]
|
2203
2483
|
#
|
@@ -2225,12 +2505,12 @@ module Aws::AppSync
|
|
2225
2505
|
#
|
2226
2506
|
# @!attribute [rw] next_token
|
2227
2507
|
# An identifier that was returned from the previous call to this
|
2228
|
-
# operation, which can
|
2508
|
+
# operation, which you can use to return the next set of items in the
|
2229
2509
|
# list.
|
2230
2510
|
# @return [String]
|
2231
2511
|
#
|
2232
2512
|
# @!attribute [rw] max_results
|
2233
|
-
# The maximum number of results you want the request to return.
|
2513
|
+
# The maximum number of results that you want the request to return.
|
2234
2514
|
# @return [Integer]
|
2235
2515
|
#
|
2236
2516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest AWS API Documentation
|
@@ -2248,7 +2528,7 @@ module Aws::AppSync
|
|
2248
2528
|
# @return [Array<Types::DataSource>]
|
2249
2529
|
#
|
2250
2530
|
# @!attribute [rw] next_token
|
2251
|
-
# An identifier to
|
2531
|
+
# An identifier to pass in the next request to this operation to
|
2252
2532
|
# return the next set of items in the list.
|
2253
2533
|
# @return [String]
|
2254
2534
|
#
|
@@ -2261,6 +2541,48 @@ module Aws::AppSync
|
|
2261
2541
|
include Aws::Structure
|
2262
2542
|
end
|
2263
2543
|
|
2544
|
+
# @note When making an API call, you may pass ListDomainNamesRequest
|
2545
|
+
# data as a hash:
|
2546
|
+
#
|
2547
|
+
# {
|
2548
|
+
# next_token: "PaginationToken",
|
2549
|
+
# max_results: 1,
|
2550
|
+
# }
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] next_token
|
2553
|
+
# The API token.
|
2554
|
+
# @return [String]
|
2555
|
+
#
|
2556
|
+
# @!attribute [rw] max_results
|
2557
|
+
# The maximum number of results that you want the request to return.
|
2558
|
+
# @return [Integer]
|
2559
|
+
#
|
2560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesRequest AWS API Documentation
|
2561
|
+
#
|
2562
|
+
class ListDomainNamesRequest < Struct.new(
|
2563
|
+
:next_token,
|
2564
|
+
:max_results)
|
2565
|
+
SENSITIVE = []
|
2566
|
+
include Aws::Structure
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
# @!attribute [rw] domain_name_configs
|
2570
|
+
# Lists configurations for multiple domain names.
|
2571
|
+
# @return [Array<Types::DomainNameConfig>]
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] next_token
|
2574
|
+
# The API token.
|
2575
|
+
# @return [String]
|
2576
|
+
#
|
2577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesResponse AWS API Documentation
|
2578
|
+
#
|
2579
|
+
class ListDomainNamesResponse < Struct.new(
|
2580
|
+
:domain_name_configs,
|
2581
|
+
:next_token)
|
2582
|
+
SENSITIVE = []
|
2583
|
+
include Aws::Structure
|
2584
|
+
end
|
2585
|
+
|
2264
2586
|
# @note When making an API call, you may pass ListFunctionsRequest
|
2265
2587
|
# data as a hash:
|
2266
2588
|
#
|
@@ -2276,12 +2598,12 @@ module Aws::AppSync
|
|
2276
2598
|
#
|
2277
2599
|
# @!attribute [rw] next_token
|
2278
2600
|
# An identifier that was returned from the previous call to this
|
2279
|
-
# operation, which can
|
2601
|
+
# operation, which you can use to return the next set of items in the
|
2280
2602
|
# list.
|
2281
2603
|
# @return [String]
|
2282
2604
|
#
|
2283
2605
|
# @!attribute [rw] max_results
|
2284
|
-
# The maximum number of results you want the request to return.
|
2606
|
+
# The maximum number of results that you want the request to return.
|
2285
2607
|
# @return [Integer]
|
2286
2608
|
#
|
2287
2609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctionsRequest AWS API Documentation
|
@@ -2300,7 +2622,7 @@ module Aws::AppSync
|
|
2300
2622
|
#
|
2301
2623
|
# @!attribute [rw] next_token
|
2302
2624
|
# An identifier that was returned from the previous call to this
|
2303
|
-
# operation, which can
|
2625
|
+
# operation, which you can use to return the next set of items in the
|
2304
2626
|
# list.
|
2305
2627
|
# @return [String]
|
2306
2628
|
#
|
@@ -2323,12 +2645,12 @@ module Aws::AppSync
|
|
2323
2645
|
#
|
2324
2646
|
# @!attribute [rw] next_token
|
2325
2647
|
# An identifier that was returned from the previous call to this
|
2326
|
-
# operation, which can
|
2648
|
+
# operation, which you can use to return the next set of items in the
|
2327
2649
|
# list.
|
2328
2650
|
# @return [String]
|
2329
2651
|
#
|
2330
2652
|
# @!attribute [rw] max_results
|
2331
|
-
# The maximum number of results you want the request to return.
|
2653
|
+
# The maximum number of results that you want the request to return.
|
2332
2654
|
# @return [Integer]
|
2333
2655
|
#
|
2334
2656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest AWS API Documentation
|
@@ -2345,7 +2667,7 @@ module Aws::AppSync
|
|
2345
2667
|
# @return [Array<Types::GraphqlApi>]
|
2346
2668
|
#
|
2347
2669
|
# @!attribute [rw] next_token
|
2348
|
-
# An identifier to
|
2670
|
+
# An identifier to pass in the next request to this operation to
|
2349
2671
|
# return the next set of items in the list.
|
2350
2672
|
# @return [String]
|
2351
2673
|
#
|
@@ -2373,7 +2695,7 @@ module Aws::AppSync
|
|
2373
2695
|
# @return [String]
|
2374
2696
|
#
|
2375
2697
|
# @!attribute [rw] function_id
|
2376
|
-
# The
|
2698
|
+
# The function ID.
|
2377
2699
|
# @return [String]
|
2378
2700
|
#
|
2379
2701
|
# @!attribute [rw] next_token
|
@@ -2383,7 +2705,7 @@ module Aws::AppSync
|
|
2383
2705
|
# @return [String]
|
2384
2706
|
#
|
2385
2707
|
# @!attribute [rw] max_results
|
2386
|
-
# The maximum number of results you want the request to return.
|
2708
|
+
# The maximum number of results that you want the request to return.
|
2387
2709
|
# @return [Integer]
|
2388
2710
|
#
|
2389
2711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunctionRequest AWS API Documentation
|
@@ -2402,7 +2724,7 @@ module Aws::AppSync
|
|
2402
2724
|
# @return [Array<Types::Resolver>]
|
2403
2725
|
#
|
2404
2726
|
# @!attribute [rw] next_token
|
2405
|
-
# An identifier that can
|
2727
|
+
# An identifier that you can use to return the next set of items in
|
2406
2728
|
# the list.
|
2407
2729
|
# @return [String]
|
2408
2730
|
#
|
@@ -2435,12 +2757,12 @@ module Aws::AppSync
|
|
2435
2757
|
#
|
2436
2758
|
# @!attribute [rw] next_token
|
2437
2759
|
# An identifier that was returned from the previous call to this
|
2438
|
-
# operation, which can
|
2760
|
+
# operation, which you can use to return the next set of items in the
|
2439
2761
|
# list.
|
2440
2762
|
# @return [String]
|
2441
2763
|
#
|
2442
2764
|
# @!attribute [rw] max_results
|
2443
|
-
# The maximum number of results you want the request to return.
|
2765
|
+
# The maximum number of results that you want the request to return.
|
2444
2766
|
# @return [Integer]
|
2445
2767
|
#
|
2446
2768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest AWS API Documentation
|
@@ -2459,7 +2781,7 @@ module Aws::AppSync
|
|
2459
2781
|
# @return [Array<Types::Resolver>]
|
2460
2782
|
#
|
2461
2783
|
# @!attribute [rw] next_token
|
2462
|
-
# An identifier to
|
2784
|
+
# An identifier to pass in the next request to this operation to
|
2463
2785
|
# return the next set of items in the list.
|
2464
2786
|
# @return [String]
|
2465
2787
|
#
|
@@ -2480,7 +2802,7 @@ module Aws::AppSync
|
|
2480
2802
|
# }
|
2481
2803
|
#
|
2482
2804
|
# @!attribute [rw] resource_arn
|
2483
|
-
# The `GraphqlApi` ARN.
|
2805
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2484
2806
|
# @return [String]
|
2485
2807
|
#
|
2486
2808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceRequest AWS API Documentation
|
@@ -2523,12 +2845,12 @@ module Aws::AppSync
|
|
2523
2845
|
#
|
2524
2846
|
# @!attribute [rw] next_token
|
2525
2847
|
# An identifier that was returned from the previous call to this
|
2526
|
-
# operation, which can
|
2848
|
+
# operation, which you can use to return the next set of items in the
|
2527
2849
|
# list.
|
2528
2850
|
# @return [String]
|
2529
2851
|
#
|
2530
2852
|
# @!attribute [rw] max_results
|
2531
|
-
# The maximum number of results you want the request to return.
|
2853
|
+
# The maximum number of results that you want the request to return.
|
2532
2854
|
# @return [Integer]
|
2533
2855
|
#
|
2534
2856
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest AWS API Documentation
|
@@ -2547,7 +2869,7 @@ module Aws::AppSync
|
|
2547
2869
|
# @return [Array<Types::Type>]
|
2548
2870
|
#
|
2549
2871
|
# @!attribute [rw] next_token
|
2550
|
-
# An identifier to
|
2872
|
+
# An identifier to pass in the next request to this operation to
|
2551
2873
|
# return the next set of items in the list.
|
2552
2874
|
# @return [String]
|
2553
2875
|
#
|
@@ -2560,7 +2882,7 @@ module Aws::AppSync
|
|
2560
2882
|
include Aws::Structure
|
2561
2883
|
end
|
2562
2884
|
|
2563
|
-
# The CloudWatch Logs configuration.
|
2885
|
+
# The Amazon CloudWatch Logs configuration.
|
2564
2886
|
#
|
2565
2887
|
# @note When making an API call, you may pass LogConfig
|
2566
2888
|
# data as a hash:
|
@@ -2596,8 +2918,8 @@ module Aws::AppSync
|
|
2596
2918
|
# @return [String]
|
2597
2919
|
#
|
2598
2920
|
# @!attribute [rw] cloud_watch_logs_role_arn
|
2599
|
-
# The service role that AppSync
|
2600
|
-
#
|
2921
|
+
# The service role that AppSync assumes to publish to CloudWatch logs
|
2922
|
+
# in your account.
|
2601
2923
|
# @return [String]
|
2602
2924
|
#
|
2603
2925
|
# @!attribute [rw] exclude_verbose_content
|
@@ -2630,7 +2952,7 @@ module Aws::AppSync
|
|
2630
2952
|
include Aws::Structure
|
2631
2953
|
end
|
2632
2954
|
|
2633
|
-
# Describes an OpenID Connect configuration.
|
2955
|
+
# Describes an OpenID Connect (OIDC) configuration.
|
2634
2956
|
#
|
2635
2957
|
# @note When making an API call, you may pass OpenIDConnectConfig
|
2636
2958
|
# data as a hash:
|
@@ -2643,25 +2965,25 @@ module Aws::AppSync
|
|
2643
2965
|
# }
|
2644
2966
|
#
|
2645
2967
|
# @!attribute [rw] issuer
|
2646
|
-
# The issuer for the
|
2647
|
-
#
|
2968
|
+
# The issuer for the OIDC configuration. The issuer returned by
|
2969
|
+
# discovery must exactly match the value of `iss` in the ID token.
|
2648
2970
|
# @return [String]
|
2649
2971
|
#
|
2650
2972
|
# @!attribute [rw] client_id
|
2651
|
-
# The client identifier of the
|
2652
|
-
# provider. This identifier is typically obtained when the
|
2973
|
+
# The client identifier of the relying party at the OpenID identity
|
2974
|
+
# provider. This identifier is typically obtained when the relying
|
2653
2975
|
# party is registered with the OpenID identity provider. You can
|
2654
|
-
# specify a regular expression so
|
2976
|
+
# specify a regular expression so that AppSync can validate against
|
2655
2977
|
# multiple client identifiers at a time.
|
2656
2978
|
# @return [String]
|
2657
2979
|
#
|
2658
2980
|
# @!attribute [rw] iat_ttl
|
2659
|
-
# The number of milliseconds a token is valid after
|
2660
|
-
# user.
|
2981
|
+
# The number of milliseconds that a token is valid after it's issued
|
2982
|
+
# to a user.
|
2661
2983
|
# @return [Integer]
|
2662
2984
|
#
|
2663
2985
|
# @!attribute [rw] auth_ttl
|
2664
|
-
# The number of milliseconds a token is valid after being
|
2986
|
+
# The number of milliseconds that a token is valid after being
|
2665
2987
|
# authenticated.
|
2666
2988
|
# @return [Integer]
|
2667
2989
|
#
|
@@ -2724,7 +3046,8 @@ module Aws::AppSync
|
|
2724
3046
|
include Aws::Structure
|
2725
3047
|
end
|
2726
3048
|
|
2727
|
-
# The Amazon RDS HTTP endpoint
|
3049
|
+
# The Amazon Relational Database Service (Amazon RDS) HTTP endpoint
|
3050
|
+
# configuration.
|
2728
3051
|
#
|
2729
3052
|
# @note When making an API call, you may pass RdsHttpEndpointConfig
|
2730
3053
|
# data as a hash:
|
@@ -2738,11 +3061,11 @@ module Aws::AppSync
|
|
2738
3061
|
# }
|
2739
3062
|
#
|
2740
3063
|
# @!attribute [rw] aws_region
|
2741
|
-
# Amazon Web Services Region for RDS HTTP endpoint.
|
3064
|
+
# Amazon Web Services Region for Amazon RDS HTTP endpoint.
|
2742
3065
|
# @return [String]
|
2743
3066
|
#
|
2744
3067
|
# @!attribute [rw] db_cluster_identifier
|
2745
|
-
# Amazon RDS cluster ARN.
|
3068
|
+
# Amazon RDS cluster Amazon Resource Name (ARN).
|
2746
3069
|
# @return [String]
|
2747
3070
|
#
|
2748
3071
|
# @!attribute [rw] database_name
|
@@ -2754,7 +3077,8 @@ module Aws::AppSync
|
|
2754
3077
|
# @return [String]
|
2755
3078
|
#
|
2756
3079
|
# @!attribute [rw] aws_secret_store_arn
|
2757
|
-
# Amazon Web Services secret store ARN for
|
3080
|
+
# Amazon Web Services secret store Amazon Resource Name (ARN) for
|
3081
|
+
# database credentials.
|
2758
3082
|
# @return [String]
|
2759
3083
|
#
|
2760
3084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RdsHttpEndpointConfig AWS API Documentation
|
@@ -2789,7 +3113,7 @@ module Aws::AppSync
|
|
2789
3113
|
# Source type for the relational database.
|
2790
3114
|
#
|
2791
3115
|
# * **RDS\_HTTP\_ENDPOINT**\: The relational database source type is
|
2792
|
-
# an Amazon RDS HTTP endpoint.
|
3116
|
+
# an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
|
2793
3117
|
#
|
2794
3118
|
# ^
|
2795
3119
|
# @return [String]
|
@@ -2822,7 +3146,7 @@ module Aws::AppSync
|
|
2822
3146
|
# @return [String]
|
2823
3147
|
#
|
2824
3148
|
# @!attribute [rw] resolver_arn
|
2825
|
-
# The resolver ARN.
|
3149
|
+
# The resolver Amazon Resource Name (ARN).
|
2826
3150
|
# @return [String]
|
2827
3151
|
#
|
2828
3152
|
# @!attribute [rw] request_mapping_template
|
@@ -2837,13 +3161,13 @@ module Aws::AppSync
|
|
2837
3161
|
# The resolver type.
|
2838
3162
|
#
|
2839
3163
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
2840
|
-
# resolver type.
|
2841
|
-
#
|
3164
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
3165
|
+
# against a single data source.
|
2842
3166
|
#
|
2843
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
2844
|
-
#
|
2845
|
-
# You can use a pipeline resolver to
|
2846
|
-
# multiple data sources.
|
3167
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
3168
|
+
# resolver to invoke a series of `Function` objects in a serial
|
3169
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
3170
|
+
# against multiple data sources.
|
2847
3171
|
# @return [String]
|
2848
3172
|
#
|
2849
3173
|
# @!attribute [rw] pipeline_config
|
@@ -2851,13 +3175,17 @@ module Aws::AppSync
|
|
2851
3175
|
# @return [Types::PipelineConfig]
|
2852
3176
|
#
|
2853
3177
|
# @!attribute [rw] sync_config
|
2854
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
3178
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
2855
3179
|
# @return [Types::SyncConfig]
|
2856
3180
|
#
|
2857
3181
|
# @!attribute [rw] caching_config
|
2858
3182
|
# The caching configuration for the resolver.
|
2859
3183
|
# @return [Types::CachingConfig]
|
2860
3184
|
#
|
3185
|
+
# @!attribute [rw] max_batch_size
|
3186
|
+
# The maximum batching size for a resolver.
|
3187
|
+
# @return [Integer]
|
3188
|
+
#
|
2861
3189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver AWS API Documentation
|
2862
3190
|
#
|
2863
3191
|
class Resolver < Struct.new(
|
@@ -2870,7 +3198,8 @@ module Aws::AppSync
|
|
2870
3198
|
:kind,
|
2871
3199
|
:pipeline_config,
|
2872
3200
|
:sync_config,
|
2873
|
-
:caching_config
|
3201
|
+
:caching_config,
|
3202
|
+
:max_batch_size)
|
2874
3203
|
SENSITIVE = []
|
2875
3204
|
include Aws::Structure
|
2876
3205
|
end
|
@@ -2916,8 +3245,8 @@ module Aws::AppSync
|
|
2916
3245
|
|
2917
3246
|
# Describes a Sync configuration for a resolver.
|
2918
3247
|
#
|
2919
|
-
#
|
2920
|
-
#
|
3248
|
+
# Specifies which Conflict Detection strategy and Resolution strategy to
|
3249
|
+
# use when the resolver is invoked.
|
2921
3250
|
#
|
2922
3251
|
# @note When making an API call, you may pass SyncConfig
|
2923
3252
|
# data as a hash:
|
@@ -2935,14 +3264,14 @@ module Aws::AppSync
|
|
2935
3264
|
# conflict.
|
2936
3265
|
#
|
2937
3266
|
# * **OPTIMISTIC\_CONCURRENCY**\: Resolve conflicts by rejecting
|
2938
|
-
# mutations when versions
|
3267
|
+
# mutations when versions don't match the latest version at the
|
2939
3268
|
# server.
|
2940
3269
|
#
|
2941
3270
|
# * **AUTOMERGE**\: Resolve conflicts with the Automerge conflict
|
2942
3271
|
# resolution strategy.
|
2943
3272
|
#
|
2944
|
-
# * **LAMBDA**\: Resolve conflicts with
|
2945
|
-
# the LambdaConflictHandlerConfig
|
3273
|
+
# * **LAMBDA**\: Resolve conflicts with an Lambda function supplied in
|
3274
|
+
# the `LambdaConflictHandlerConfig`.
|
2946
3275
|
# @return [String]
|
2947
3276
|
#
|
2948
3277
|
# @!attribute [rw] conflict_detection
|
@@ -2951,11 +3280,11 @@ module Aws::AppSync
|
|
2951
3280
|
# * **VERSION**\: Detect conflicts based on object versions for this
|
2952
3281
|
# resolver.
|
2953
3282
|
#
|
2954
|
-
# * **NONE**\: Do not detect conflicts when
|
3283
|
+
# * **NONE**\: Do not detect conflicts when invoking this resolver.
|
2955
3284
|
# @return [String]
|
2956
3285
|
#
|
2957
3286
|
# @!attribute [rw] lambda_conflict_handler_config
|
2958
|
-
# The `LambdaConflictHandlerConfig` when configuring LAMBDA as the
|
3287
|
+
# The `LambdaConflictHandlerConfig` when configuring `LAMBDA` as the
|
2959
3288
|
# Conflict Handler.
|
2960
3289
|
# @return [Types::LambdaConflictHandlerConfig]
|
2961
3290
|
#
|
@@ -2980,7 +3309,7 @@ module Aws::AppSync
|
|
2980
3309
|
# }
|
2981
3310
|
#
|
2982
3311
|
# @!attribute [rw] resource_arn
|
2983
|
-
# The `GraphqlApi` ARN.
|
3312
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2984
3313
|
# @return [String]
|
2985
3314
|
#
|
2986
3315
|
# @!attribute [rw] tags
|
@@ -3011,7 +3340,7 @@ module Aws::AppSync
|
|
3011
3340
|
# @return [String]
|
3012
3341
|
#
|
3013
3342
|
# @!attribute [rw] arn
|
3014
|
-
# The type ARN.
|
3343
|
+
# The type Amazon Resource Name (ARN).
|
3015
3344
|
# @return [String]
|
3016
3345
|
#
|
3017
3346
|
# @!attribute [rw] definition
|
@@ -3034,7 +3363,7 @@ module Aws::AppSync
|
|
3034
3363
|
include Aws::Structure
|
3035
3364
|
end
|
3036
3365
|
|
3037
|
-
# You
|
3366
|
+
# You aren't authorized to perform this operation.
|
3038
3367
|
#
|
3039
3368
|
# @!attribute [rw] message
|
3040
3369
|
# @return [String]
|
@@ -3056,7 +3385,7 @@ module Aws::AppSync
|
|
3056
3385
|
# }
|
3057
3386
|
#
|
3058
3387
|
# @!attribute [rw] resource_arn
|
3059
|
-
# The `GraphqlApi` ARN.
|
3388
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
3060
3389
|
# @return [String]
|
3061
3390
|
#
|
3062
3391
|
# @!attribute [rw] tag_keys
|
@@ -3089,13 +3418,13 @@ module Aws::AppSync
|
|
3089
3418
|
# }
|
3090
3419
|
#
|
3091
3420
|
# @!attribute [rw] api_id
|
3092
|
-
# The GraphQL API
|
3421
|
+
# The GraphQL API ID.
|
3093
3422
|
# @return [String]
|
3094
3423
|
#
|
3095
3424
|
# @!attribute [rw] ttl
|
3096
3425
|
# TTL in seconds for cache entries.
|
3097
3426
|
#
|
3098
|
-
# Valid values are
|
3427
|
+
# Valid values are 1–3,600 seconds.
|
3099
3428
|
# @return [Integer]
|
3100
3429
|
#
|
3101
3430
|
# @!attribute [rw] api_caching_behavior
|
@@ -3196,9 +3525,9 @@ module Aws::AppSync
|
|
3196
3525
|
# @return [String]
|
3197
3526
|
#
|
3198
3527
|
# @!attribute [rw] expires
|
3199
|
-
#
|
3200
|
-
# is represented as seconds since the epoch. For more
|
3201
|
-
# .
|
3528
|
+
# From the update time, the time after which the API key expires. The
|
3529
|
+
# date is represented as seconds since the epoch. For more
|
3530
|
+
# information, see .
|
3202
3531
|
# @return [Integer]
|
3203
3532
|
#
|
3204
3533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyRequest AWS API Documentation
|
@@ -3294,7 +3623,7 @@ module Aws::AppSync
|
|
3294
3623
|
# @return [String]
|
3295
3624
|
#
|
3296
3625
|
# @!attribute [rw] service_role_arn
|
3297
|
-
# The new service role ARN for the data source.
|
3626
|
+
# The new service role Amazon Resource Name (ARN) for the data source.
|
3298
3627
|
# @return [String]
|
3299
3628
|
#
|
3300
3629
|
# @!attribute [rw] dynamodb_config
|
@@ -3302,7 +3631,7 @@ module Aws::AppSync
|
|
3302
3631
|
# @return [Types::DynamodbDataSourceConfig]
|
3303
3632
|
#
|
3304
3633
|
# @!attribute [rw] lambda_config
|
3305
|
-
# The new
|
3634
|
+
# The new Lambda configuration.
|
3306
3635
|
# @return [Types::LambdaDataSourceConfig]
|
3307
3636
|
#
|
3308
3637
|
# @!attribute [rw] elasticsearch_config
|
@@ -3356,6 +3685,43 @@ module Aws::AppSync
|
|
3356
3685
|
include Aws::Structure
|
3357
3686
|
end
|
3358
3687
|
|
3688
|
+
# @note When making an API call, you may pass UpdateDomainNameRequest
|
3689
|
+
# data as a hash:
|
3690
|
+
#
|
3691
|
+
# {
|
3692
|
+
# domain_name: "DomainName", # required
|
3693
|
+
# description: "Description",
|
3694
|
+
# }
|
3695
|
+
#
|
3696
|
+
# @!attribute [rw] domain_name
|
3697
|
+
# The domain name.
|
3698
|
+
# @return [String]
|
3699
|
+
#
|
3700
|
+
# @!attribute [rw] description
|
3701
|
+
# A description of the `DomainName`.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainNameRequest AWS API Documentation
|
3705
|
+
#
|
3706
|
+
class UpdateDomainNameRequest < Struct.new(
|
3707
|
+
:domain_name,
|
3708
|
+
:description)
|
3709
|
+
SENSITIVE = []
|
3710
|
+
include Aws::Structure
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
# @!attribute [rw] domain_name_config
|
3714
|
+
# The configuration for the `DomainName`.
|
3715
|
+
# @return [Types::DomainNameConfig]
|
3716
|
+
#
|
3717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainNameResponse AWS API Documentation
|
3718
|
+
#
|
3719
|
+
class UpdateDomainNameResponse < Struct.new(
|
3720
|
+
:domain_name_config)
|
3721
|
+
SENSITIVE = []
|
3722
|
+
include Aws::Structure
|
3723
|
+
end
|
3724
|
+
|
3359
3725
|
# @note When making an API call, you may pass UpdateFunctionRequest
|
3360
3726
|
# data as a hash:
|
3361
3727
|
#
|
@@ -3375,6 +3741,7 @@ module Aws::AppSync
|
|
3375
3741
|
# lambda_conflict_handler_arn: "String",
|
3376
3742
|
# },
|
3377
3743
|
# },
|
3744
|
+
# max_batch_size: 1,
|
3378
3745
|
# }
|
3379
3746
|
#
|
3380
3747
|
# @!attribute [rw] api_id
|
@@ -3407,18 +3774,21 @@ module Aws::AppSync
|
|
3407
3774
|
# @return [String]
|
3408
3775
|
#
|
3409
3776
|
# @!attribute [rw] function_version
|
3410
|
-
# The `version` of the request mapping template. Currently the
|
3777
|
+
# The `version` of the request mapping template. Currently, the
|
3411
3778
|
# supported value is 2018-05-29.
|
3412
3779
|
# @return [String]
|
3413
3780
|
#
|
3414
3781
|
# @!attribute [rw] sync_config
|
3415
3782
|
# Describes a Sync configuration for a resolver.
|
3416
3783
|
#
|
3417
|
-
#
|
3418
|
-
#
|
3419
|
-
# invoked.
|
3784
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
3785
|
+
# to use when the resolver is invoked.
|
3420
3786
|
# @return [Types::SyncConfig]
|
3421
3787
|
#
|
3788
|
+
# @!attribute [rw] max_batch_size
|
3789
|
+
# The maximum batching size for a resolver.
|
3790
|
+
# @return [Integer]
|
3791
|
+
#
|
3422
3792
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest AWS API Documentation
|
3423
3793
|
#
|
3424
3794
|
class UpdateFunctionRequest < Struct.new(
|
@@ -3430,7 +3800,8 @@ module Aws::AppSync
|
|
3430
3800
|
:request_mapping_template,
|
3431
3801
|
:response_mapping_template,
|
3432
3802
|
:function_version,
|
3433
|
-
:sync_config
|
3803
|
+
:sync_config,
|
3804
|
+
:max_batch_size)
|
3434
3805
|
SENSITIVE = []
|
3435
3806
|
include Aws::Structure
|
3436
3807
|
end
|
@@ -3518,7 +3889,7 @@ module Aws::AppSync
|
|
3518
3889
|
# @return [String]
|
3519
3890
|
#
|
3520
3891
|
# @!attribute [rw] user_pool_config
|
3521
|
-
# The new Amazon Cognito user pool configuration for the
|
3892
|
+
# The new Amazon Cognito user pool configuration for the `~GraphqlApi`
|
3522
3893
|
# object.
|
3523
3894
|
# @return [Types::UserPoolConfig]
|
3524
3895
|
#
|
@@ -3532,12 +3903,11 @@ module Aws::AppSync
|
|
3532
3903
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
3533
3904
|
#
|
3534
3905
|
# @!attribute [rw] xray_enabled
|
3535
|
-
# A flag indicating whether to
|
3536
|
-
# `GraphqlApi`.
|
3906
|
+
# A flag indicating whether to use X-Ray tracing for the `GraphqlApi`.
|
3537
3907
|
# @return [Boolean]
|
3538
3908
|
#
|
3539
3909
|
# @!attribute [rw] lambda_authorizer_config
|
3540
|
-
# Configuration for
|
3910
|
+
# Configuration for Lambda function authorization.
|
3541
3911
|
# @return [Types::LambdaAuthorizerConfig]
|
3542
3912
|
#
|
3543
3913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
@@ -3593,6 +3963,7 @@ module Aws::AppSync
|
|
3593
3963
|
# ttl: 1,
|
3594
3964
|
# caching_keys: ["String"],
|
3595
3965
|
# },
|
3966
|
+
# max_batch_size: 1,
|
3596
3967
|
# }
|
3597
3968
|
#
|
3598
3969
|
# @!attribute [rw] api_id
|
@@ -3618,7 +3989,7 @@ module Aws::AppSync
|
|
3618
3989
|
# expression into a format that a data source can understand. Mapping
|
3619
3990
|
# templates are written in Apache Velocity Template Language (VTL).
|
3620
3991
|
#
|
3621
|
-
# VTL request mapping templates are optional when using
|
3992
|
+
# VTL request mapping templates are optional when using an Lambda data
|
3622
3993
|
# source. For all other data sources, VTL request and response mapping
|
3623
3994
|
# templates are required.
|
3624
3995
|
# @return [String]
|
@@ -3631,13 +4002,13 @@ module Aws::AppSync
|
|
3631
4002
|
# The resolver type.
|
3632
4003
|
#
|
3633
4004
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
3634
|
-
# resolver type.
|
3635
|
-
#
|
4005
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
4006
|
+
# against a single data source.
|
3636
4007
|
#
|
3637
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
3638
|
-
#
|
3639
|
-
# You can use a pipeline resolver to
|
3640
|
-
# multiple data sources.
|
4008
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
4009
|
+
# resolver to invoke a series of `Function` objects in a serial
|
4010
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
4011
|
+
# against multiple data sources.
|
3641
4012
|
# @return [String]
|
3642
4013
|
#
|
3643
4014
|
# @!attribute [rw] pipeline_config
|
@@ -3645,13 +4016,17 @@ module Aws::AppSync
|
|
3645
4016
|
# @return [Types::PipelineConfig]
|
3646
4017
|
#
|
3647
4018
|
# @!attribute [rw] sync_config
|
3648
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
4019
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
3649
4020
|
# @return [Types::SyncConfig]
|
3650
4021
|
#
|
3651
4022
|
# @!attribute [rw] caching_config
|
3652
4023
|
# The caching configuration for the resolver.
|
3653
4024
|
# @return [Types::CachingConfig]
|
3654
4025
|
#
|
4026
|
+
# @!attribute [rw] max_batch_size
|
4027
|
+
# The maximum batching size for a resolver.
|
4028
|
+
# @return [Integer]
|
4029
|
+
#
|
3655
4030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest AWS API Documentation
|
3656
4031
|
#
|
3657
4032
|
class UpdateResolverRequest < Struct.new(
|
@@ -3664,7 +4039,8 @@ module Aws::AppSync
|
|
3664
4039
|
:kind,
|
3665
4040
|
:pipeline_config,
|
3666
4041
|
:sync_config,
|
3667
|
-
:caching_config
|
4042
|
+
:caching_config,
|
4043
|
+
:max_batch_size)
|
3668
4044
|
SENSITIVE = []
|
3669
4045
|
include Aws::Structure
|
3670
4046
|
end
|