aws-sdk-appsync 1.44.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +350 -78
- data/lib/aws-sdk-appsync/client_api.rb +187 -0
- data/lib/aws-sdk-appsync/types.rb +537 -195
- 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
|
#
|
@@ -781,16 +902,15 @@ module Aws::AppSync
|
|
781
902
|
# @return [String]
|
782
903
|
#
|
783
904
|
# @!attribute [rw] function_version
|
784
|
-
# The `version` of the request mapping template. Currently the
|
905
|
+
# The `version` of the request mapping template. Currently, the
|
785
906
|
# supported value is 2018-05-29.
|
786
907
|
# @return [String]
|
787
908
|
#
|
788
909
|
# @!attribute [rw] sync_config
|
789
910
|
# Describes a Sync configuration for a resolver.
|
790
911
|
#
|
791
|
-
#
|
792
|
-
#
|
793
|
-
# invoked.
|
912
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
913
|
+
# to use when the resolver is invoked.
|
794
914
|
# @return [Types::SyncConfig]
|
795
915
|
#
|
796
916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
|
@@ -884,8 +1004,8 @@ module Aws::AppSync
|
|
884
1004
|
# @return [Types::LogConfig]
|
885
1005
|
#
|
886
1006
|
# @!attribute [rw] authentication_type
|
887
|
-
# The authentication type: API key, Identity and Access Management
|
888
|
-
# OIDC, Amazon Cognito user pools, or
|
1007
|
+
# The authentication type: API key, Identity and Access Management
|
1008
|
+
# (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
|
889
1009
|
# @return [String]
|
890
1010
|
#
|
891
1011
|
# @!attribute [rw] user_pool_config
|
@@ -893,7 +1013,7 @@ module Aws::AppSync
|
|
893
1013
|
# @return [Types::UserPoolConfig]
|
894
1014
|
#
|
895
1015
|
# @!attribute [rw] open_id_connect_config
|
896
|
-
# The
|
1016
|
+
# The OIDC configuration.
|
897
1017
|
# @return [Types::OpenIDConnectConfig]
|
898
1018
|
#
|
899
1019
|
# @!attribute [rw] tags
|
@@ -906,12 +1026,11 @@ module Aws::AppSync
|
|
906
1026
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
907
1027
|
#
|
908
1028
|
# @!attribute [rw] xray_enabled
|
909
|
-
# A flag indicating whether to
|
910
|
-
# `GraphqlApi`.
|
1029
|
+
# A flag indicating whether to use X-Ray tracing for the `GraphqlApi`.
|
911
1030
|
# @return [Boolean]
|
912
1031
|
#
|
913
1032
|
# @!attribute [rw] lambda_authorizer_config
|
914
|
-
# Configuration for
|
1033
|
+
# Configuration for Lambda function authorization.
|
915
1034
|
# @return [Types::LambdaAuthorizerConfig]
|
916
1035
|
#
|
917
1036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
@@ -986,32 +1105,32 @@ module Aws::AppSync
|
|
986
1105
|
# @return [String]
|
987
1106
|
#
|
988
1107
|
# @!attribute [rw] request_mapping_template
|
989
|
-
# The mapping template to
|
1108
|
+
# The mapping template to use for requests.
|
990
1109
|
#
|
991
1110
|
# A resolver uses a request mapping template to convert a GraphQL
|
992
1111
|
# expression into a format that a data source can understand. Mapping
|
993
1112
|
# templates are written in Apache Velocity Template Language (VTL).
|
994
1113
|
#
|
995
|
-
# VTL request mapping templates are optional when using
|
1114
|
+
# VTL request mapping templates are optional when using an Lambda data
|
996
1115
|
# source. For all other data sources, VTL request and response mapping
|
997
1116
|
# templates are required.
|
998
1117
|
# @return [String]
|
999
1118
|
#
|
1000
1119
|
# @!attribute [rw] response_mapping_template
|
1001
|
-
# The mapping template to
|
1120
|
+
# The mapping template to use for responses from the data source.
|
1002
1121
|
# @return [String]
|
1003
1122
|
#
|
1004
1123
|
# @!attribute [rw] kind
|
1005
1124
|
# The resolver type.
|
1006
1125
|
#
|
1007
1126
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
1008
|
-
# resolver type.
|
1009
|
-
#
|
1127
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
1128
|
+
# against a single data source.
|
1010
1129
|
#
|
1011
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
1012
|
-
#
|
1013
|
-
# You can use a pipeline resolver to
|
1014
|
-
# multiple data sources.
|
1130
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
1131
|
+
# resolver to invoke a series of `Function` objects in a serial
|
1132
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
1133
|
+
# against multiple data sources.
|
1015
1134
|
# @return [String]
|
1016
1135
|
#
|
1017
1136
|
# @!attribute [rw] pipeline_config
|
@@ -1019,7 +1138,7 @@ module Aws::AppSync
|
|
1019
1138
|
# @return [Types::PipelineConfig]
|
1020
1139
|
#
|
1021
1140
|
# @!attribute [rw] sync_config
|
1022
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
1141
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
1023
1142
|
# @return [Types::SyncConfig]
|
1024
1143
|
#
|
1025
1144
|
# @!attribute [rw] caching_config
|
@@ -1108,7 +1227,7 @@ module Aws::AppSync
|
|
1108
1227
|
# Describes a data source.
|
1109
1228
|
#
|
1110
1229
|
# @!attribute [rw] data_source_arn
|
1111
|
-
# The data source ARN.
|
1230
|
+
# The data source Amazon Resource Name (ARN).
|
1112
1231
|
# @return [String]
|
1113
1232
|
#
|
1114
1233
|
# @!attribute [rw] name
|
@@ -1122,8 +1241,7 @@ module Aws::AppSync
|
|
1122
1241
|
# @!attribute [rw] type
|
1123
1242
|
# The type of the data source.
|
1124
1243
|
#
|
1125
|
-
# * **AWS\_LAMBDA**\: The data source is an
|
1126
|
-
# function.
|
1244
|
+
# * **AWS\_LAMBDA**\: The data source is an Lambda function.
|
1127
1245
|
#
|
1128
1246
|
# * **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
|
1129
1247
|
# table.
|
@@ -1134,10 +1252,10 @@ module Aws::AppSync
|
|
1134
1252
|
# * **AMAZON\_OPENSEARCH\_SERVICE**\: The data source is an Amazon
|
1135
1253
|
# OpenSearch Service domain.
|
1136
1254
|
#
|
1137
|
-
# * **NONE**\: There is no data source.
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1255
|
+
# * **NONE**\: There is no data source. Use this type when you want to
|
1256
|
+
# invoke a GraphQL operation without connecting to a data source,
|
1257
|
+
# such as when you're performing data transformation with resolvers
|
1258
|
+
# or invoking a subscription from a mutation.
|
1141
1259
|
#
|
1142
1260
|
# * **HTTP**\: The data source is an HTTP endpoint.
|
1143
1261
|
#
|
@@ -1146,16 +1264,17 @@ module Aws::AppSync
|
|
1146
1264
|
# @return [String]
|
1147
1265
|
#
|
1148
1266
|
# @!attribute [rw] service_role_arn
|
1149
|
-
# The Identity and Access Management service role
|
1150
|
-
# source. The system assumes this
|
1267
|
+
# The Identity and Access Management (IAM) service role Amazon
|
1268
|
+
# Resource Name (ARN) for the data source. The system assumes this
|
1269
|
+
# role when accessing the data source.
|
1151
1270
|
# @return [String]
|
1152
1271
|
#
|
1153
1272
|
# @!attribute [rw] dynamodb_config
|
1154
|
-
#
|
1273
|
+
# DynamoDB settings.
|
1155
1274
|
# @return [Types::DynamodbDataSourceConfig]
|
1156
1275
|
#
|
1157
1276
|
# @!attribute [rw] lambda_config
|
1158
|
-
#
|
1277
|
+
# Lambda settings.
|
1159
1278
|
# @return [Types::LambdaDataSourceConfig]
|
1160
1279
|
#
|
1161
1280
|
# @!attribute [rw] elasticsearch_config
|
@@ -1277,6 +1396,29 @@ module Aws::AppSync
|
|
1277
1396
|
#
|
1278
1397
|
class DeleteDataSourceResponse < Aws::EmptyStructure; end
|
1279
1398
|
|
1399
|
+
# @note When making an API call, you may pass DeleteDomainNameRequest
|
1400
|
+
# data as a hash:
|
1401
|
+
#
|
1402
|
+
# {
|
1403
|
+
# domain_name: "DomainName", # required
|
1404
|
+
# }
|
1405
|
+
#
|
1406
|
+
# @!attribute [rw] domain_name
|
1407
|
+
# The domain name.
|
1408
|
+
# @return [String]
|
1409
|
+
#
|
1410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainNameRequest AWS API Documentation
|
1411
|
+
#
|
1412
|
+
class DeleteDomainNameRequest < Struct.new(
|
1413
|
+
:domain_name)
|
1414
|
+
SENSITIVE = []
|
1415
|
+
include Aws::Structure
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainNameResponse AWS API Documentation
|
1419
|
+
#
|
1420
|
+
class DeleteDomainNameResponse < Aws::EmptyStructure; end
|
1421
|
+
|
1280
1422
|
# @note When making an API call, you may pass DeleteFunctionRequest
|
1281
1423
|
# data as a hash:
|
1282
1424
|
#
|
@@ -1405,7 +1547,7 @@ module Aws::AppSync
|
|
1405
1547
|
# }
|
1406
1548
|
#
|
1407
1549
|
# @!attribute [rw] base_table_ttl
|
1408
|
-
# The number of minutes an Item is stored in the
|
1550
|
+
# The number of minutes that an Item is stored in the data source.
|
1409
1551
|
# @return [Integer]
|
1410
1552
|
#
|
1411
1553
|
# @!attribute [rw] delta_sync_table_name
|
@@ -1413,8 +1555,8 @@ module Aws::AppSync
|
|
1413
1555
|
# @return [String]
|
1414
1556
|
#
|
1415
1557
|
# @!attribute [rw] delta_sync_table_ttl
|
1416
|
-
# The number of minutes a Delta Sync log entry is stored in the
|
1417
|
-
# Sync table.
|
1558
|
+
# The number of minutes that a Delta Sync log entry is stored in the
|
1559
|
+
# Delta Sync table.
|
1418
1560
|
# @return [Integer]
|
1419
1561
|
#
|
1420
1562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeltaSyncConfig AWS API Documentation
|
@@ -1427,6 +1569,65 @@ module Aws::AppSync
|
|
1427
1569
|
include Aws::Structure
|
1428
1570
|
end
|
1429
1571
|
|
1572
|
+
# @note When making an API call, you may pass DisassociateApiRequest
|
1573
|
+
# data as a hash:
|
1574
|
+
#
|
1575
|
+
# {
|
1576
|
+
# domain_name: "DomainName", # required
|
1577
|
+
# }
|
1578
|
+
#
|
1579
|
+
# @!attribute [rw] domain_name
|
1580
|
+
# The domain name.
|
1581
|
+
# @return [String]
|
1582
|
+
#
|
1583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApiRequest AWS API Documentation
|
1584
|
+
#
|
1585
|
+
class DisassociateApiRequest < Struct.new(
|
1586
|
+
:domain_name)
|
1587
|
+
SENSITIVE = []
|
1588
|
+
include Aws::Structure
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApiResponse AWS API Documentation
|
1592
|
+
#
|
1593
|
+
class DisassociateApiResponse < Aws::EmptyStructure; end
|
1594
|
+
|
1595
|
+
# Describes a configuration for a custom domain.
|
1596
|
+
#
|
1597
|
+
# @!attribute [rw] domain_name
|
1598
|
+
# The domain name.
|
1599
|
+
# @return [String]
|
1600
|
+
#
|
1601
|
+
# @!attribute [rw] description
|
1602
|
+
# A description of the `DomainName` configuration.
|
1603
|
+
# @return [String]
|
1604
|
+
#
|
1605
|
+
# @!attribute [rw] certificate_arn
|
1606
|
+
# The Amazon Resource Name (ARN) of the certificate. This can be an
|
1607
|
+
# Certificate Manager (ACM) certificate or an Identity and Access
|
1608
|
+
# Management (IAM) server certificate.
|
1609
|
+
# @return [String]
|
1610
|
+
#
|
1611
|
+
# @!attribute [rw] appsync_domain_name
|
1612
|
+
# The domain name that AppSync provides.
|
1613
|
+
# @return [String]
|
1614
|
+
#
|
1615
|
+
# @!attribute [rw] hosted_zone_id
|
1616
|
+
# The ID of your Amazon Route 53 hosted zone.
|
1617
|
+
# @return [String]
|
1618
|
+
#
|
1619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DomainNameConfig AWS API Documentation
|
1620
|
+
#
|
1621
|
+
class DomainNameConfig < Struct.new(
|
1622
|
+
:domain_name,
|
1623
|
+
:description,
|
1624
|
+
:certificate_arn,
|
1625
|
+
:appsync_domain_name,
|
1626
|
+
:hosted_zone_id)
|
1627
|
+
SENSITIVE = []
|
1628
|
+
include Aws::Structure
|
1629
|
+
end
|
1630
|
+
|
1430
1631
|
# Describes an Amazon DynamoDB data source configuration.
|
1431
1632
|
#
|
1432
1633
|
# @note When making an API call, you may pass DynamodbDataSourceConfig
|
@@ -1457,7 +1658,7 @@ module Aws::AppSync
|
|
1457
1658
|
# @return [Boolean]
|
1458
1659
|
#
|
1459
1660
|
# @!attribute [rw] delta_sync_config
|
1460
|
-
# The `DeltaSyncConfig` for a versioned
|
1661
|
+
# The `DeltaSyncConfig` for a versioned data source.
|
1461
1662
|
# @return [Types::DeltaSyncConfig]
|
1462
1663
|
#
|
1463
1664
|
# @!attribute [rw] versioned
|
@@ -1536,7 +1737,7 @@ module Aws::AppSync
|
|
1536
1737
|
#
|
1537
1738
|
class FlushApiCacheResponse < Aws::EmptyStructure; end
|
1538
1739
|
|
1539
|
-
# A function is a reusable entity.
|
1740
|
+
# A function is a reusable entity. You can use multiple functions to
|
1540
1741
|
# compose the resolver logic.
|
1541
1742
|
#
|
1542
1743
|
# @!attribute [rw] function_id
|
@@ -1544,7 +1745,7 @@ module Aws::AppSync
|
|
1544
1745
|
# @return [String]
|
1545
1746
|
#
|
1546
1747
|
# @!attribute [rw] function_arn
|
1547
|
-
# The ARN of the `Function` object.
|
1748
|
+
# The Amazon Resource Name (ARN) of the `Function` object.
|
1548
1749
|
# @return [String]
|
1549
1750
|
#
|
1550
1751
|
# @!attribute [rw] name
|
@@ -1569,16 +1770,15 @@ module Aws::AppSync
|
|
1569
1770
|
# @return [String]
|
1570
1771
|
#
|
1571
1772
|
# @!attribute [rw] function_version
|
1572
|
-
# The version of the request mapping template. Currently only the
|
1773
|
+
# The version of the request mapping template. Currently, only the
|
1573
1774
|
# 2018-05-29 version of the template is supported.
|
1574
1775
|
# @return [String]
|
1575
1776
|
#
|
1576
1777
|
# @!attribute [rw] sync_config
|
1577
1778
|
# Describes a Sync configuration for a resolver.
|
1578
1779
|
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
# invoked.
|
1780
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
1781
|
+
# to use when the resolver is invoked.
|
1582
1782
|
# @return [Types::SyncConfig]
|
1583
1783
|
#
|
1584
1784
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration AWS API Documentation
|
@@ -1597,6 +1797,37 @@ module Aws::AppSync
|
|
1597
1797
|
include Aws::Structure
|
1598
1798
|
end
|
1599
1799
|
|
1800
|
+
# @note When making an API call, you may pass GetApiAssociationRequest
|
1801
|
+
# data as a hash:
|
1802
|
+
#
|
1803
|
+
# {
|
1804
|
+
# domain_name: "DomainName", # required
|
1805
|
+
# }
|
1806
|
+
#
|
1807
|
+
# @!attribute [rw] domain_name
|
1808
|
+
# The domain name.
|
1809
|
+
# @return [String]
|
1810
|
+
#
|
1811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociationRequest AWS API Documentation
|
1812
|
+
#
|
1813
|
+
class GetApiAssociationRequest < Struct.new(
|
1814
|
+
:domain_name)
|
1815
|
+
SENSITIVE = []
|
1816
|
+
include Aws::Structure
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
# @!attribute [rw] api_association
|
1820
|
+
# The `ApiAssociation` object.
|
1821
|
+
# @return [Types::ApiAssociation]
|
1822
|
+
#
|
1823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociationResponse AWS API Documentation
|
1824
|
+
#
|
1825
|
+
class GetApiAssociationResponse < Struct.new(
|
1826
|
+
:api_association)
|
1827
|
+
SENSITIVE = []
|
1828
|
+
include Aws::Structure
|
1829
|
+
end
|
1830
|
+
|
1600
1831
|
# Represents the input of a `GetApiCache` operation.
|
1601
1832
|
#
|
1602
1833
|
# @note When making an API call, you may pass GetApiCacheRequest
|
@@ -1669,6 +1900,37 @@ module Aws::AppSync
|
|
1669
1900
|
include Aws::Structure
|
1670
1901
|
end
|
1671
1902
|
|
1903
|
+
# @note When making an API call, you may pass GetDomainNameRequest
|
1904
|
+
# data as a hash:
|
1905
|
+
#
|
1906
|
+
# {
|
1907
|
+
# domain_name: "DomainName", # required
|
1908
|
+
# }
|
1909
|
+
#
|
1910
|
+
# @!attribute [rw] domain_name
|
1911
|
+
# The domain name.
|
1912
|
+
# @return [String]
|
1913
|
+
#
|
1914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainNameRequest AWS API Documentation
|
1915
|
+
#
|
1916
|
+
class GetDomainNameRequest < Struct.new(
|
1917
|
+
:domain_name)
|
1918
|
+
SENSITIVE = []
|
1919
|
+
include Aws::Structure
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# @!attribute [rw] domain_name_config
|
1923
|
+
# The configuration for the `DomainName`.
|
1924
|
+
# @return [Types::DomainNameConfig]
|
1925
|
+
#
|
1926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainNameResponse AWS API Documentation
|
1927
|
+
#
|
1928
|
+
class GetDomainNameResponse < Struct.new(
|
1929
|
+
:domain_name_config)
|
1930
|
+
SENSITIVE = []
|
1931
|
+
include Aws::Structure
|
1932
|
+
end
|
1933
|
+
|
1672
1934
|
# @note When making an API call, you may pass GetFunctionRequest
|
1673
1935
|
# data as a hash:
|
1674
1936
|
#
|
@@ -1952,7 +2214,7 @@ module Aws::AppSync
|
|
1952
2214
|
# @return [Types::OpenIDConnectConfig]
|
1953
2215
|
#
|
1954
2216
|
# @!attribute [rw] arn
|
1955
|
-
# The ARN.
|
2217
|
+
# The Amazon Resource Name (ARN).
|
1956
2218
|
# @return [String]
|
1957
2219
|
#
|
1958
2220
|
# @!attribute [rw] uris
|
@@ -1969,17 +2231,17 @@ module Aws::AppSync
|
|
1969
2231
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
1970
2232
|
#
|
1971
2233
|
# @!attribute [rw] xray_enabled
|
1972
|
-
# A flag
|
2234
|
+
# A flag indicating whether to use X-Ray tracing for this
|
1973
2235
|
# `GraphqlApi`.
|
1974
2236
|
# @return [Boolean]
|
1975
2237
|
#
|
1976
2238
|
# @!attribute [rw] waf_web_acl_arn
|
1977
|
-
# The ARN of the WAF ACL associated with this
|
1978
|
-
# exists.
|
2239
|
+
# The ARN of the WAF access control list (ACL) associated with this
|
2240
|
+
# `GraphqlApi`, if one exists.
|
1979
2241
|
# @return [String]
|
1980
2242
|
#
|
1981
2243
|
# @!attribute [rw] lambda_authorizer_config
|
1982
|
-
# Configuration for
|
2244
|
+
# Configuration for Lambda function authorization.
|
1983
2245
|
# @return [Types::LambdaAuthorizerConfig]
|
1984
2246
|
#
|
1985
2247
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
@@ -2019,14 +2281,14 @@ module Aws::AppSync
|
|
2019
2281
|
# }
|
2020
2282
|
#
|
2021
2283
|
# @!attribute [rw] endpoint
|
2022
|
-
# The HTTP URL endpoint. You can either
|
2284
|
+
# The HTTP URL endpoint. You can specify either the domain name or IP,
|
2023
2285
|
# and port combination, and the URL scheme must be HTTP or HTTPS. If
|
2024
|
-
#
|
2025
|
-
# HTTP endpoint and port 443 for HTTPS endpoints.
|
2286
|
+
# you don't specify the port, AppSync uses the default port 80 for
|
2287
|
+
# the HTTP endpoint and port 443 for HTTPS endpoints.
|
2026
2288
|
# @return [String]
|
2027
2289
|
#
|
2028
2290
|
# @!attribute [rw] authorization_config
|
2029
|
-
# The authorization
|
2291
|
+
# The authorization configuration in case the HTTP endpoint requires
|
2030
2292
|
# authorization.
|
2031
2293
|
# @return [Types::AuthorizationConfig]
|
2032
2294
|
#
|
@@ -2052,10 +2314,9 @@ module Aws::AppSync
|
|
2052
2314
|
include Aws::Structure
|
2053
2315
|
end
|
2054
2316
|
|
2055
|
-
# A `LambdaAuthorizerConfig`
|
2056
|
-
#
|
2057
|
-
#
|
2058
|
-
# configured at a time.
|
2317
|
+
# A `LambdaAuthorizerConfig` specifies how to authorize AppSync API
|
2318
|
+
# access when using the `AWS_LAMBDA` authorizer mode. Be aware that an
|
2319
|
+
# AppSync API can have only one Lambda authorizer configured at a time.
|
2059
2320
|
#
|
2060
2321
|
# @note When making an API call, you may pass LambdaAuthorizerConfig
|
2061
2322
|
# data as a hash:
|
@@ -2074,13 +2335,14 @@ module Aws::AppSync
|
|
2074
2335
|
# @return [Integer]
|
2075
2336
|
#
|
2076
2337
|
# @!attribute [rw] authorizer_uri
|
2077
|
-
# The ARN of the Lambda function to be called
|
2078
|
-
#
|
2338
|
+
# The Amazon Resource Name (ARN) of the Lambda function to be called
|
2339
|
+
# for authorization. This can be a standard Lambda ARN, a version ARN
|
2340
|
+
# (`.../v3`), or an alias ARN.
|
2079
2341
|
#
|
2080
|
-
#
|
2081
|
-
# policy assigned to it. When configuring Lambda
|
2082
|
-
#
|
2083
|
-
# CLI, run the following:
|
2342
|
+
# **Note**\: This Lambda function must have the following
|
2343
|
+
# resource-based policy assigned to it. When configuring Lambda
|
2344
|
+
# authorizers in the console, this is done for you. To use the Command
|
2345
|
+
# Line Interface (CLI), run the following:
|
2084
2346
|
#
|
2085
2347
|
# `aws lambda add-permission --function-name
|
2086
2348
|
# "arn:aws:lambda:us-east-2:111122223333:function:my-function"
|
@@ -2103,7 +2365,7 @@ module Aws::AppSync
|
|
2103
2365
|
include Aws::Structure
|
2104
2366
|
end
|
2105
2367
|
|
2106
|
-
# The `LambdaConflictHandlerConfig` object when configuring LAMBDA as
|
2368
|
+
# The `LambdaConflictHandlerConfig` object when configuring `LAMBDA` as
|
2107
2369
|
# the Conflict Handler.
|
2108
2370
|
#
|
2109
2371
|
# @note When making an API call, you may pass LambdaConflictHandlerConfig
|
@@ -2114,7 +2376,8 @@ module Aws::AppSync
|
|
2114
2376
|
# }
|
2115
2377
|
#
|
2116
2378
|
# @!attribute [rw] lambda_conflict_handler_arn
|
2117
|
-
# The
|
2379
|
+
# The Amazon Resource Name (ARN) for the Lambda function to use as the
|
2380
|
+
# Conflict Handler.
|
2118
2381
|
# @return [String]
|
2119
2382
|
#
|
2120
2383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaConflictHandlerConfig AWS API Documentation
|
@@ -2125,7 +2388,7 @@ module Aws::AppSync
|
|
2125
2388
|
include Aws::Structure
|
2126
2389
|
end
|
2127
2390
|
|
2128
|
-
# Describes an
|
2391
|
+
# Describes an Lambda data source configuration.
|
2129
2392
|
#
|
2130
2393
|
# @note When making an API call, you may pass LambdaDataSourceConfig
|
2131
2394
|
# data as a hash:
|
@@ -2135,7 +2398,7 @@ module Aws::AppSync
|
|
2135
2398
|
# }
|
2136
2399
|
#
|
2137
2400
|
# @!attribute [rw] lambda_function_arn
|
2138
|
-
# The ARN for the Lambda function.
|
2401
|
+
# The Amazon Resource Name (ARN) for the Lambda function.
|
2139
2402
|
# @return [String]
|
2140
2403
|
#
|
2141
2404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig AWS API Documentation
|
@@ -2174,12 +2437,12 @@ module Aws::AppSync
|
|
2174
2437
|
#
|
2175
2438
|
# @!attribute [rw] next_token
|
2176
2439
|
# An identifier that was returned from the previous call to this
|
2177
|
-
# operation, which can
|
2440
|
+
# operation, which you can use to return the next set of items in the
|
2178
2441
|
# list.
|
2179
2442
|
# @return [String]
|
2180
2443
|
#
|
2181
2444
|
# @!attribute [rw] max_results
|
2182
|
-
# The maximum number of results you want the request to return.
|
2445
|
+
# The maximum number of results that you want the request to return.
|
2183
2446
|
# @return [Integer]
|
2184
2447
|
#
|
2185
2448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest AWS API Documentation
|
@@ -2197,7 +2460,7 @@ module Aws::AppSync
|
|
2197
2460
|
# @return [Array<Types::ApiKey>]
|
2198
2461
|
#
|
2199
2462
|
# @!attribute [rw] next_token
|
2200
|
-
# An identifier to
|
2463
|
+
# An identifier to pass in the next request to this operation to
|
2201
2464
|
# return the next set of items in the list.
|
2202
2465
|
# @return [String]
|
2203
2466
|
#
|
@@ -2225,12 +2488,12 @@ module Aws::AppSync
|
|
2225
2488
|
#
|
2226
2489
|
# @!attribute [rw] next_token
|
2227
2490
|
# An identifier that was returned from the previous call to this
|
2228
|
-
# operation, which can
|
2491
|
+
# operation, which you can use to return the next set of items in the
|
2229
2492
|
# list.
|
2230
2493
|
# @return [String]
|
2231
2494
|
#
|
2232
2495
|
# @!attribute [rw] max_results
|
2233
|
-
# The maximum number of results you want the request to return.
|
2496
|
+
# The maximum number of results that you want the request to return.
|
2234
2497
|
# @return [Integer]
|
2235
2498
|
#
|
2236
2499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest AWS API Documentation
|
@@ -2248,7 +2511,7 @@ module Aws::AppSync
|
|
2248
2511
|
# @return [Array<Types::DataSource>]
|
2249
2512
|
#
|
2250
2513
|
# @!attribute [rw] next_token
|
2251
|
-
# An identifier to
|
2514
|
+
# An identifier to pass in the next request to this operation to
|
2252
2515
|
# return the next set of items in the list.
|
2253
2516
|
# @return [String]
|
2254
2517
|
#
|
@@ -2261,6 +2524,48 @@ module Aws::AppSync
|
|
2261
2524
|
include Aws::Structure
|
2262
2525
|
end
|
2263
2526
|
|
2527
|
+
# @note When making an API call, you may pass ListDomainNamesRequest
|
2528
|
+
# data as a hash:
|
2529
|
+
#
|
2530
|
+
# {
|
2531
|
+
# next_token: "PaginationToken",
|
2532
|
+
# max_results: 1,
|
2533
|
+
# }
|
2534
|
+
#
|
2535
|
+
# @!attribute [rw] next_token
|
2536
|
+
# The API token.
|
2537
|
+
# @return [String]
|
2538
|
+
#
|
2539
|
+
# @!attribute [rw] max_results
|
2540
|
+
# The maximum number of results that you want the request to return.
|
2541
|
+
# @return [Integer]
|
2542
|
+
#
|
2543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesRequest AWS API Documentation
|
2544
|
+
#
|
2545
|
+
class ListDomainNamesRequest < Struct.new(
|
2546
|
+
:next_token,
|
2547
|
+
:max_results)
|
2548
|
+
SENSITIVE = []
|
2549
|
+
include Aws::Structure
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# @!attribute [rw] domain_name_configs
|
2553
|
+
# Lists configurations for multiple domain names.
|
2554
|
+
# @return [Array<Types::DomainNameConfig>]
|
2555
|
+
#
|
2556
|
+
# @!attribute [rw] next_token
|
2557
|
+
# The API token.
|
2558
|
+
# @return [String]
|
2559
|
+
#
|
2560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesResponse AWS API Documentation
|
2561
|
+
#
|
2562
|
+
class ListDomainNamesResponse < Struct.new(
|
2563
|
+
:domain_name_configs,
|
2564
|
+
:next_token)
|
2565
|
+
SENSITIVE = []
|
2566
|
+
include Aws::Structure
|
2567
|
+
end
|
2568
|
+
|
2264
2569
|
# @note When making an API call, you may pass ListFunctionsRequest
|
2265
2570
|
# data as a hash:
|
2266
2571
|
#
|
@@ -2276,12 +2581,12 @@ module Aws::AppSync
|
|
2276
2581
|
#
|
2277
2582
|
# @!attribute [rw] next_token
|
2278
2583
|
# An identifier that was returned from the previous call to this
|
2279
|
-
# operation, which can
|
2584
|
+
# operation, which you can use to return the next set of items in the
|
2280
2585
|
# list.
|
2281
2586
|
# @return [String]
|
2282
2587
|
#
|
2283
2588
|
# @!attribute [rw] max_results
|
2284
|
-
# The maximum number of results you want the request to return.
|
2589
|
+
# The maximum number of results that you want the request to return.
|
2285
2590
|
# @return [Integer]
|
2286
2591
|
#
|
2287
2592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctionsRequest AWS API Documentation
|
@@ -2300,7 +2605,7 @@ module Aws::AppSync
|
|
2300
2605
|
#
|
2301
2606
|
# @!attribute [rw] next_token
|
2302
2607
|
# An identifier that was returned from the previous call to this
|
2303
|
-
# operation, which can
|
2608
|
+
# operation, which you can use to return the next set of items in the
|
2304
2609
|
# list.
|
2305
2610
|
# @return [String]
|
2306
2611
|
#
|
@@ -2323,12 +2628,12 @@ module Aws::AppSync
|
|
2323
2628
|
#
|
2324
2629
|
# @!attribute [rw] next_token
|
2325
2630
|
# An identifier that was returned from the previous call to this
|
2326
|
-
# operation, which can
|
2631
|
+
# operation, which you can use to return the next set of items in the
|
2327
2632
|
# list.
|
2328
2633
|
# @return [String]
|
2329
2634
|
#
|
2330
2635
|
# @!attribute [rw] max_results
|
2331
|
-
# The maximum number of results you want the request to return.
|
2636
|
+
# The maximum number of results that you want the request to return.
|
2332
2637
|
# @return [Integer]
|
2333
2638
|
#
|
2334
2639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest AWS API Documentation
|
@@ -2345,7 +2650,7 @@ module Aws::AppSync
|
|
2345
2650
|
# @return [Array<Types::GraphqlApi>]
|
2346
2651
|
#
|
2347
2652
|
# @!attribute [rw] next_token
|
2348
|
-
# An identifier to
|
2653
|
+
# An identifier to pass in the next request to this operation to
|
2349
2654
|
# return the next set of items in the list.
|
2350
2655
|
# @return [String]
|
2351
2656
|
#
|
@@ -2373,7 +2678,7 @@ module Aws::AppSync
|
|
2373
2678
|
# @return [String]
|
2374
2679
|
#
|
2375
2680
|
# @!attribute [rw] function_id
|
2376
|
-
# The
|
2681
|
+
# The function ID.
|
2377
2682
|
# @return [String]
|
2378
2683
|
#
|
2379
2684
|
# @!attribute [rw] next_token
|
@@ -2383,7 +2688,7 @@ module Aws::AppSync
|
|
2383
2688
|
# @return [String]
|
2384
2689
|
#
|
2385
2690
|
# @!attribute [rw] max_results
|
2386
|
-
# The maximum number of results you want the request to return.
|
2691
|
+
# The maximum number of results that you want the request to return.
|
2387
2692
|
# @return [Integer]
|
2388
2693
|
#
|
2389
2694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunctionRequest AWS API Documentation
|
@@ -2402,7 +2707,7 @@ module Aws::AppSync
|
|
2402
2707
|
# @return [Array<Types::Resolver>]
|
2403
2708
|
#
|
2404
2709
|
# @!attribute [rw] next_token
|
2405
|
-
# An identifier that can
|
2710
|
+
# An identifier that you can use to return the next set of items in
|
2406
2711
|
# the list.
|
2407
2712
|
# @return [String]
|
2408
2713
|
#
|
@@ -2435,12 +2740,12 @@ module Aws::AppSync
|
|
2435
2740
|
#
|
2436
2741
|
# @!attribute [rw] next_token
|
2437
2742
|
# An identifier that was returned from the previous call to this
|
2438
|
-
# operation, which can
|
2743
|
+
# operation, which you can use to return the next set of items in the
|
2439
2744
|
# list.
|
2440
2745
|
# @return [String]
|
2441
2746
|
#
|
2442
2747
|
# @!attribute [rw] max_results
|
2443
|
-
# The maximum number of results you want the request to return.
|
2748
|
+
# The maximum number of results that you want the request to return.
|
2444
2749
|
# @return [Integer]
|
2445
2750
|
#
|
2446
2751
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest AWS API Documentation
|
@@ -2459,7 +2764,7 @@ module Aws::AppSync
|
|
2459
2764
|
# @return [Array<Types::Resolver>]
|
2460
2765
|
#
|
2461
2766
|
# @!attribute [rw] next_token
|
2462
|
-
# An identifier to
|
2767
|
+
# An identifier to pass in the next request to this operation to
|
2463
2768
|
# return the next set of items in the list.
|
2464
2769
|
# @return [String]
|
2465
2770
|
#
|
@@ -2480,7 +2785,7 @@ module Aws::AppSync
|
|
2480
2785
|
# }
|
2481
2786
|
#
|
2482
2787
|
# @!attribute [rw] resource_arn
|
2483
|
-
# The `GraphqlApi` ARN.
|
2788
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2484
2789
|
# @return [String]
|
2485
2790
|
#
|
2486
2791
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceRequest AWS API Documentation
|
@@ -2523,12 +2828,12 @@ module Aws::AppSync
|
|
2523
2828
|
#
|
2524
2829
|
# @!attribute [rw] next_token
|
2525
2830
|
# An identifier that was returned from the previous call to this
|
2526
|
-
# operation, which can
|
2831
|
+
# operation, which you can use to return the next set of items in the
|
2527
2832
|
# list.
|
2528
2833
|
# @return [String]
|
2529
2834
|
#
|
2530
2835
|
# @!attribute [rw] max_results
|
2531
|
-
# The maximum number of results you want the request to return.
|
2836
|
+
# The maximum number of results that you want the request to return.
|
2532
2837
|
# @return [Integer]
|
2533
2838
|
#
|
2534
2839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest AWS API Documentation
|
@@ -2547,7 +2852,7 @@ module Aws::AppSync
|
|
2547
2852
|
# @return [Array<Types::Type>]
|
2548
2853
|
#
|
2549
2854
|
# @!attribute [rw] next_token
|
2550
|
-
# An identifier to
|
2855
|
+
# An identifier to pass in the next request to this operation to
|
2551
2856
|
# return the next set of items in the list.
|
2552
2857
|
# @return [String]
|
2553
2858
|
#
|
@@ -2560,7 +2865,7 @@ module Aws::AppSync
|
|
2560
2865
|
include Aws::Structure
|
2561
2866
|
end
|
2562
2867
|
|
2563
|
-
# The CloudWatch Logs configuration.
|
2868
|
+
# The Amazon CloudWatch Logs configuration.
|
2564
2869
|
#
|
2565
2870
|
# @note When making an API call, you may pass LogConfig
|
2566
2871
|
# data as a hash:
|
@@ -2596,8 +2901,8 @@ module Aws::AppSync
|
|
2596
2901
|
# @return [String]
|
2597
2902
|
#
|
2598
2903
|
# @!attribute [rw] cloud_watch_logs_role_arn
|
2599
|
-
# The service role that AppSync
|
2600
|
-
#
|
2904
|
+
# The service role that AppSync assumes to publish to CloudWatch logs
|
2905
|
+
# in your account.
|
2601
2906
|
# @return [String]
|
2602
2907
|
#
|
2603
2908
|
# @!attribute [rw] exclude_verbose_content
|
@@ -2630,7 +2935,7 @@ module Aws::AppSync
|
|
2630
2935
|
include Aws::Structure
|
2631
2936
|
end
|
2632
2937
|
|
2633
|
-
# Describes an OpenID Connect configuration.
|
2938
|
+
# Describes an OpenID Connect (OIDC) configuration.
|
2634
2939
|
#
|
2635
2940
|
# @note When making an API call, you may pass OpenIDConnectConfig
|
2636
2941
|
# data as a hash:
|
@@ -2643,25 +2948,25 @@ module Aws::AppSync
|
|
2643
2948
|
# }
|
2644
2949
|
#
|
2645
2950
|
# @!attribute [rw] issuer
|
2646
|
-
# The issuer for the
|
2647
|
-
#
|
2951
|
+
# The issuer for the OIDC configuration. The issuer returned by
|
2952
|
+
# discovery must exactly match the value of `iss` in the ID token.
|
2648
2953
|
# @return [String]
|
2649
2954
|
#
|
2650
2955
|
# @!attribute [rw] client_id
|
2651
|
-
# The client identifier of the
|
2652
|
-
# provider. This identifier is typically obtained when the
|
2956
|
+
# The client identifier of the relying party at the OpenID identity
|
2957
|
+
# provider. This identifier is typically obtained when the relying
|
2653
2958
|
# party is registered with the OpenID identity provider. You can
|
2654
|
-
# specify a regular expression so
|
2959
|
+
# specify a regular expression so that AppSync can validate against
|
2655
2960
|
# multiple client identifiers at a time.
|
2656
2961
|
# @return [String]
|
2657
2962
|
#
|
2658
2963
|
# @!attribute [rw] iat_ttl
|
2659
|
-
# The number of milliseconds a token is valid after
|
2660
|
-
# user.
|
2964
|
+
# The number of milliseconds that a token is valid after it's issued
|
2965
|
+
# to a user.
|
2661
2966
|
# @return [Integer]
|
2662
2967
|
#
|
2663
2968
|
# @!attribute [rw] auth_ttl
|
2664
|
-
# The number of milliseconds a token is valid after being
|
2969
|
+
# The number of milliseconds that a token is valid after being
|
2665
2970
|
# authenticated.
|
2666
2971
|
# @return [Integer]
|
2667
2972
|
#
|
@@ -2724,7 +3029,8 @@ module Aws::AppSync
|
|
2724
3029
|
include Aws::Structure
|
2725
3030
|
end
|
2726
3031
|
|
2727
|
-
# The Amazon RDS HTTP endpoint
|
3032
|
+
# The Amazon Relational Database Service (Amazon RDS) HTTP endpoint
|
3033
|
+
# configuration.
|
2728
3034
|
#
|
2729
3035
|
# @note When making an API call, you may pass RdsHttpEndpointConfig
|
2730
3036
|
# data as a hash:
|
@@ -2738,11 +3044,11 @@ module Aws::AppSync
|
|
2738
3044
|
# }
|
2739
3045
|
#
|
2740
3046
|
# @!attribute [rw] aws_region
|
2741
|
-
# Amazon Web Services Region for RDS HTTP endpoint.
|
3047
|
+
# Amazon Web Services Region for Amazon RDS HTTP endpoint.
|
2742
3048
|
# @return [String]
|
2743
3049
|
#
|
2744
3050
|
# @!attribute [rw] db_cluster_identifier
|
2745
|
-
# Amazon RDS cluster ARN.
|
3051
|
+
# Amazon RDS cluster Amazon Resource Name (ARN).
|
2746
3052
|
# @return [String]
|
2747
3053
|
#
|
2748
3054
|
# @!attribute [rw] database_name
|
@@ -2754,7 +3060,8 @@ module Aws::AppSync
|
|
2754
3060
|
# @return [String]
|
2755
3061
|
#
|
2756
3062
|
# @!attribute [rw] aws_secret_store_arn
|
2757
|
-
# Amazon Web Services secret store ARN for
|
3063
|
+
# Amazon Web Services secret store Amazon Resource Name (ARN) for
|
3064
|
+
# database credentials.
|
2758
3065
|
# @return [String]
|
2759
3066
|
#
|
2760
3067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RdsHttpEndpointConfig AWS API Documentation
|
@@ -2789,7 +3096,7 @@ module Aws::AppSync
|
|
2789
3096
|
# Source type for the relational database.
|
2790
3097
|
#
|
2791
3098
|
# * **RDS\_HTTP\_ENDPOINT**\: The relational database source type is
|
2792
|
-
# an Amazon RDS HTTP endpoint.
|
3099
|
+
# an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
|
2793
3100
|
#
|
2794
3101
|
# ^
|
2795
3102
|
# @return [String]
|
@@ -2822,7 +3129,7 @@ module Aws::AppSync
|
|
2822
3129
|
# @return [String]
|
2823
3130
|
#
|
2824
3131
|
# @!attribute [rw] resolver_arn
|
2825
|
-
# The resolver ARN.
|
3132
|
+
# The resolver Amazon Resource Name (ARN).
|
2826
3133
|
# @return [String]
|
2827
3134
|
#
|
2828
3135
|
# @!attribute [rw] request_mapping_template
|
@@ -2837,13 +3144,13 @@ module Aws::AppSync
|
|
2837
3144
|
# The resolver type.
|
2838
3145
|
#
|
2839
3146
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
2840
|
-
# resolver type.
|
2841
|
-
#
|
3147
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
3148
|
+
# against a single data source.
|
2842
3149
|
#
|
2843
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
2844
|
-
#
|
2845
|
-
# You can use a pipeline resolver to
|
2846
|
-
# multiple data sources.
|
3150
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
3151
|
+
# resolver to invoke a series of `Function` objects in a serial
|
3152
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
3153
|
+
# against multiple data sources.
|
2847
3154
|
# @return [String]
|
2848
3155
|
#
|
2849
3156
|
# @!attribute [rw] pipeline_config
|
@@ -2851,7 +3158,7 @@ module Aws::AppSync
|
|
2851
3158
|
# @return [Types::PipelineConfig]
|
2852
3159
|
#
|
2853
3160
|
# @!attribute [rw] sync_config
|
2854
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
3161
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
2855
3162
|
# @return [Types::SyncConfig]
|
2856
3163
|
#
|
2857
3164
|
# @!attribute [rw] caching_config
|
@@ -2916,8 +3223,8 @@ module Aws::AppSync
|
|
2916
3223
|
|
2917
3224
|
# Describes a Sync configuration for a resolver.
|
2918
3225
|
#
|
2919
|
-
#
|
2920
|
-
#
|
3226
|
+
# Specifies which Conflict Detection strategy and Resolution strategy to
|
3227
|
+
# use when the resolver is invoked.
|
2921
3228
|
#
|
2922
3229
|
# @note When making an API call, you may pass SyncConfig
|
2923
3230
|
# data as a hash:
|
@@ -2935,14 +3242,14 @@ module Aws::AppSync
|
|
2935
3242
|
# conflict.
|
2936
3243
|
#
|
2937
3244
|
# * **OPTIMISTIC\_CONCURRENCY**\: Resolve conflicts by rejecting
|
2938
|
-
# mutations when versions
|
3245
|
+
# mutations when versions don't match the latest version at the
|
2939
3246
|
# server.
|
2940
3247
|
#
|
2941
3248
|
# * **AUTOMERGE**\: Resolve conflicts with the Automerge conflict
|
2942
3249
|
# resolution strategy.
|
2943
3250
|
#
|
2944
|
-
# * **LAMBDA**\: Resolve conflicts with
|
2945
|
-
# the LambdaConflictHandlerConfig
|
3251
|
+
# * **LAMBDA**\: Resolve conflicts with an Lambda function supplied in
|
3252
|
+
# the `LambdaConflictHandlerConfig`.
|
2946
3253
|
# @return [String]
|
2947
3254
|
#
|
2948
3255
|
# @!attribute [rw] conflict_detection
|
@@ -2951,11 +3258,11 @@ module Aws::AppSync
|
|
2951
3258
|
# * **VERSION**\: Detect conflicts based on object versions for this
|
2952
3259
|
# resolver.
|
2953
3260
|
#
|
2954
|
-
# * **NONE**\: Do not detect conflicts when
|
3261
|
+
# * **NONE**\: Do not detect conflicts when invoking this resolver.
|
2955
3262
|
# @return [String]
|
2956
3263
|
#
|
2957
3264
|
# @!attribute [rw] lambda_conflict_handler_config
|
2958
|
-
# The `LambdaConflictHandlerConfig` when configuring LAMBDA as the
|
3265
|
+
# The `LambdaConflictHandlerConfig` when configuring `LAMBDA` as the
|
2959
3266
|
# Conflict Handler.
|
2960
3267
|
# @return [Types::LambdaConflictHandlerConfig]
|
2961
3268
|
#
|
@@ -2980,7 +3287,7 @@ module Aws::AppSync
|
|
2980
3287
|
# }
|
2981
3288
|
#
|
2982
3289
|
# @!attribute [rw] resource_arn
|
2983
|
-
# The `GraphqlApi` ARN.
|
3290
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2984
3291
|
# @return [String]
|
2985
3292
|
#
|
2986
3293
|
# @!attribute [rw] tags
|
@@ -3011,7 +3318,7 @@ module Aws::AppSync
|
|
3011
3318
|
# @return [String]
|
3012
3319
|
#
|
3013
3320
|
# @!attribute [rw] arn
|
3014
|
-
# The type ARN.
|
3321
|
+
# The type Amazon Resource Name (ARN).
|
3015
3322
|
# @return [String]
|
3016
3323
|
#
|
3017
3324
|
# @!attribute [rw] definition
|
@@ -3034,7 +3341,7 @@ module Aws::AppSync
|
|
3034
3341
|
include Aws::Structure
|
3035
3342
|
end
|
3036
3343
|
|
3037
|
-
# You
|
3344
|
+
# You aren't authorized to perform this operation.
|
3038
3345
|
#
|
3039
3346
|
# @!attribute [rw] message
|
3040
3347
|
# @return [String]
|
@@ -3056,7 +3363,7 @@ module Aws::AppSync
|
|
3056
3363
|
# }
|
3057
3364
|
#
|
3058
3365
|
# @!attribute [rw] resource_arn
|
3059
|
-
# The `GraphqlApi` ARN.
|
3366
|
+
# The `GraphqlApi` Amazon Resource Name (ARN).
|
3060
3367
|
# @return [String]
|
3061
3368
|
#
|
3062
3369
|
# @!attribute [rw] tag_keys
|
@@ -3089,13 +3396,13 @@ module Aws::AppSync
|
|
3089
3396
|
# }
|
3090
3397
|
#
|
3091
3398
|
# @!attribute [rw] api_id
|
3092
|
-
# The GraphQL API
|
3399
|
+
# The GraphQL API ID.
|
3093
3400
|
# @return [String]
|
3094
3401
|
#
|
3095
3402
|
# @!attribute [rw] ttl
|
3096
3403
|
# TTL in seconds for cache entries.
|
3097
3404
|
#
|
3098
|
-
# Valid values are
|
3405
|
+
# Valid values are 1–3,600 seconds.
|
3099
3406
|
# @return [Integer]
|
3100
3407
|
#
|
3101
3408
|
# @!attribute [rw] api_caching_behavior
|
@@ -3196,9 +3503,9 @@ module Aws::AppSync
|
|
3196
3503
|
# @return [String]
|
3197
3504
|
#
|
3198
3505
|
# @!attribute [rw] expires
|
3199
|
-
#
|
3200
|
-
# is represented as seconds since the epoch. For more
|
3201
|
-
# .
|
3506
|
+
# From the update time, the time after which the API key expires. The
|
3507
|
+
# date is represented as seconds since the epoch. For more
|
3508
|
+
# information, see .
|
3202
3509
|
# @return [Integer]
|
3203
3510
|
#
|
3204
3511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyRequest AWS API Documentation
|
@@ -3294,7 +3601,7 @@ module Aws::AppSync
|
|
3294
3601
|
# @return [String]
|
3295
3602
|
#
|
3296
3603
|
# @!attribute [rw] service_role_arn
|
3297
|
-
# The new service role ARN for the data source.
|
3604
|
+
# The new service role Amazon Resource Name (ARN) for the data source.
|
3298
3605
|
# @return [String]
|
3299
3606
|
#
|
3300
3607
|
# @!attribute [rw] dynamodb_config
|
@@ -3302,7 +3609,7 @@ module Aws::AppSync
|
|
3302
3609
|
# @return [Types::DynamodbDataSourceConfig]
|
3303
3610
|
#
|
3304
3611
|
# @!attribute [rw] lambda_config
|
3305
|
-
# The new
|
3612
|
+
# The new Lambda configuration.
|
3306
3613
|
# @return [Types::LambdaDataSourceConfig]
|
3307
3614
|
#
|
3308
3615
|
# @!attribute [rw] elasticsearch_config
|
@@ -3356,6 +3663,43 @@ module Aws::AppSync
|
|
3356
3663
|
include Aws::Structure
|
3357
3664
|
end
|
3358
3665
|
|
3666
|
+
# @note When making an API call, you may pass UpdateDomainNameRequest
|
3667
|
+
# data as a hash:
|
3668
|
+
#
|
3669
|
+
# {
|
3670
|
+
# domain_name: "DomainName", # required
|
3671
|
+
# description: "Description",
|
3672
|
+
# }
|
3673
|
+
#
|
3674
|
+
# @!attribute [rw] domain_name
|
3675
|
+
# The domain name.
|
3676
|
+
# @return [String]
|
3677
|
+
#
|
3678
|
+
# @!attribute [rw] description
|
3679
|
+
# A description of the `DomainName`.
|
3680
|
+
# @return [String]
|
3681
|
+
#
|
3682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainNameRequest AWS API Documentation
|
3683
|
+
#
|
3684
|
+
class UpdateDomainNameRequest < Struct.new(
|
3685
|
+
:domain_name,
|
3686
|
+
:description)
|
3687
|
+
SENSITIVE = []
|
3688
|
+
include Aws::Structure
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
# @!attribute [rw] domain_name_config
|
3692
|
+
# The configuration for the `DomainName`.
|
3693
|
+
# @return [Types::DomainNameConfig]
|
3694
|
+
#
|
3695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainNameResponse AWS API Documentation
|
3696
|
+
#
|
3697
|
+
class UpdateDomainNameResponse < Struct.new(
|
3698
|
+
:domain_name_config)
|
3699
|
+
SENSITIVE = []
|
3700
|
+
include Aws::Structure
|
3701
|
+
end
|
3702
|
+
|
3359
3703
|
# @note When making an API call, you may pass UpdateFunctionRequest
|
3360
3704
|
# data as a hash:
|
3361
3705
|
#
|
@@ -3407,16 +3751,15 @@ module Aws::AppSync
|
|
3407
3751
|
# @return [String]
|
3408
3752
|
#
|
3409
3753
|
# @!attribute [rw] function_version
|
3410
|
-
# The `version` of the request mapping template. Currently the
|
3754
|
+
# The `version` of the request mapping template. Currently, the
|
3411
3755
|
# supported value is 2018-05-29.
|
3412
3756
|
# @return [String]
|
3413
3757
|
#
|
3414
3758
|
# @!attribute [rw] sync_config
|
3415
3759
|
# Describes a Sync configuration for a resolver.
|
3416
3760
|
#
|
3417
|
-
#
|
3418
|
-
#
|
3419
|
-
# invoked.
|
3761
|
+
# Specifies which Conflict Detection strategy and Resolution strategy
|
3762
|
+
# to use when the resolver is invoked.
|
3420
3763
|
# @return [Types::SyncConfig]
|
3421
3764
|
#
|
3422
3765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest AWS API Documentation
|
@@ -3518,7 +3861,7 @@ module Aws::AppSync
|
|
3518
3861
|
# @return [String]
|
3519
3862
|
#
|
3520
3863
|
# @!attribute [rw] user_pool_config
|
3521
|
-
# The new Amazon Cognito user pool configuration for the
|
3864
|
+
# The new Amazon Cognito user pool configuration for the `~GraphqlApi`
|
3522
3865
|
# object.
|
3523
3866
|
# @return [Types::UserPoolConfig]
|
3524
3867
|
#
|
@@ -3532,12 +3875,11 @@ module Aws::AppSync
|
|
3532
3875
|
# @return [Array<Types::AdditionalAuthenticationProvider>]
|
3533
3876
|
#
|
3534
3877
|
# @!attribute [rw] xray_enabled
|
3535
|
-
# A flag indicating whether to
|
3536
|
-
# `GraphqlApi`.
|
3878
|
+
# A flag indicating whether to use X-Ray tracing for the `GraphqlApi`.
|
3537
3879
|
# @return [Boolean]
|
3538
3880
|
#
|
3539
3881
|
# @!attribute [rw] lambda_authorizer_config
|
3540
|
-
# Configuration for
|
3882
|
+
# Configuration for Lambda function authorization.
|
3541
3883
|
# @return [Types::LambdaAuthorizerConfig]
|
3542
3884
|
#
|
3543
3885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
@@ -3618,7 +3960,7 @@ module Aws::AppSync
|
|
3618
3960
|
# expression into a format that a data source can understand. Mapping
|
3619
3961
|
# templates are written in Apache Velocity Template Language (VTL).
|
3620
3962
|
#
|
3621
|
-
# VTL request mapping templates are optional when using
|
3963
|
+
# VTL request mapping templates are optional when using an Lambda data
|
3622
3964
|
# source. For all other data sources, VTL request and response mapping
|
3623
3965
|
# templates are required.
|
3624
3966
|
# @return [String]
|
@@ -3631,13 +3973,13 @@ module Aws::AppSync
|
|
3631
3973
|
# The resolver type.
|
3632
3974
|
#
|
3633
3975
|
# * **UNIT**\: A UNIT resolver type. A UNIT resolver is the default
|
3634
|
-
# resolver type.
|
3635
|
-
#
|
3976
|
+
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
3977
|
+
# against a single data source.
|
3636
3978
|
#
|
3637
|
-
# * **PIPELINE**\: A PIPELINE resolver type.
|
3638
|
-
#
|
3639
|
-
# You can use a pipeline resolver to
|
3640
|
-
# multiple data sources.
|
3979
|
+
# * **PIPELINE**\: A PIPELINE resolver type. You can use a PIPELINE
|
3980
|
+
# resolver to invoke a series of `Function` objects in a serial
|
3981
|
+
# manner. You can use a pipeline resolver to run a GraphQL query
|
3982
|
+
# against multiple data sources.
|
3641
3983
|
# @return [String]
|
3642
3984
|
#
|
3643
3985
|
# @!attribute [rw] pipeline_config
|
@@ -3645,7 +3987,7 @@ module Aws::AppSync
|
|
3645
3987
|
# @return [Types::PipelineConfig]
|
3646
3988
|
#
|
3647
3989
|
# @!attribute [rw] sync_config
|
3648
|
-
# The `SyncConfig` for a resolver attached to a versioned
|
3990
|
+
# The `SyncConfig` for a resolver attached to a versioned data source.
|
3649
3991
|
# @return [Types::SyncConfig]
|
3650
3992
|
#
|
3651
3993
|
# @!attribute [rw] caching_config
|