aws-sdk-appsync 1.58.0 → 1.60.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +552 -25
- data/lib/aws-sdk-appsync/client_api.rb +261 -0
- data/lib/aws-sdk-appsync/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-appsync/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-appsync/endpoints.rb +126 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-appsync/types.rb +708 -77
- data/lib/aws-sdk-appsync.rb +1 -1
- metadata +2 -2
@@ -66,13 +66,13 @@ module Aws::AppSync
|
|
66
66
|
# @!attribute [rw] association_status
|
67
67
|
# Identifies the status of an association.
|
68
68
|
#
|
69
|
-
# * **PROCESSING
|
69
|
+
# * **PROCESSING**: The API association is being created. You cannot
|
70
70
|
# modify association requests during processing.
|
71
71
|
#
|
72
|
-
# * **SUCCESS
|
72
|
+
# * **SUCCESS**: The API association was successful. You can modify
|
73
73
|
# associations after success.
|
74
74
|
#
|
75
|
-
# * **FAILED
|
75
|
+
# * **FAILED**: The API association has failed. You can modify
|
76
76
|
# associations after failure.
|
77
77
|
# @return [String]
|
78
78
|
#
|
@@ -102,9 +102,9 @@ module Aws::AppSync
|
|
102
102
|
# @!attribute [rw] api_caching_behavior
|
103
103
|
# Caching behavior.
|
104
104
|
#
|
105
|
-
# * **FULL\_REQUEST\_CACHING
|
105
|
+
# * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
|
106
106
|
#
|
107
|
-
# * **PER\_RESOLVER\_CACHING
|
107
|
+
# * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
|
108
108
|
# are cached.
|
109
109
|
# @return [String]
|
110
110
|
#
|
@@ -144,33 +144,33 @@ module Aws::AppSync
|
|
144
144
|
# The following legacy instance types are available, but their use is
|
145
145
|
# discouraged:
|
146
146
|
#
|
147
|
-
# * **T2\_SMALL
|
147
|
+
# * **T2\_SMALL**: A t2.small instance type.
|
148
148
|
#
|
149
|
-
# * **T2\_MEDIUM
|
149
|
+
# * **T2\_MEDIUM**: A t2.medium instance type.
|
150
150
|
#
|
151
|
-
# * **R4\_LARGE
|
151
|
+
# * **R4\_LARGE**: A r4.large instance type.
|
152
152
|
#
|
153
|
-
# * **R4\_XLARGE
|
153
|
+
# * **R4\_XLARGE**: A r4.xlarge instance type.
|
154
154
|
#
|
155
|
-
# * **R4\_2XLARGE
|
155
|
+
# * **R4\_2XLARGE**: A r4.2xlarge instance type.
|
156
156
|
#
|
157
|
-
# * **R4\_4XLARGE
|
157
|
+
# * **R4\_4XLARGE**: A r4.4xlarge instance type.
|
158
158
|
#
|
159
|
-
# * **R4\_8XLARGE
|
159
|
+
# * **R4\_8XLARGE**: A r4.8xlarge instance type.
|
160
160
|
# @return [String]
|
161
161
|
#
|
162
162
|
# @!attribute [rw] status
|
163
163
|
# The cache instance status.
|
164
164
|
#
|
165
|
-
# * **AVAILABLE
|
165
|
+
# * **AVAILABLE**: The instance is available for use.
|
166
166
|
#
|
167
|
-
# * **CREATING
|
167
|
+
# * **CREATING**: The instance is currently creating.
|
168
168
|
#
|
169
|
-
# * **DELETING
|
169
|
+
# * **DELETING**: The instance is currently deleting.
|
170
170
|
#
|
171
|
-
# * **MODIFYING
|
171
|
+
# * **MODIFYING**: The instance is currently modifying.
|
172
172
|
#
|
173
|
-
# * **FAILED
|
173
|
+
# * **FAILED**: The instance has failed creation.
|
174
174
|
# @return [String]
|
175
175
|
#
|
176
176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiCache AWS API Documentation
|
@@ -191,7 +191,7 @@ module Aws::AppSync
|
|
191
191
|
# Customers invoke AppSync GraphQL API operations with API keys as an
|
192
192
|
# identity mechanism. There are two key versions:
|
193
193
|
#
|
194
|
-
# **da1
|
194
|
+
# **da1**: We introduced this version at launch in November 2017. These
|
195
195
|
# keys always expire after 7 days. Amazon DynamoDB TTL manages key
|
196
196
|
# expiration. These keys ceased to be valid after February 21, 2018, and
|
197
197
|
# they should no longer be used.
|
@@ -209,7 +209,7 @@ module Aws::AppSync
|
|
209
209
|
# expects the TTL to be stored in seconds. As a one-time action, we
|
210
210
|
# deleted these keys from the table on February 21, 2018.
|
211
211
|
#
|
212
|
-
# **da2
|
212
|
+
# **da2**: We introduced this version in February 2018 when AppSync
|
213
213
|
# added support to extend key expiration.
|
214
214
|
#
|
215
215
|
# * `ListApiKeys` returns the expiration time and deletion time in
|
@@ -332,7 +332,7 @@ module Aws::AppSync
|
|
332
332
|
# @return [String]
|
333
333
|
#
|
334
334
|
# @!attribute [rw] api_id
|
335
|
-
# The API ID.
|
335
|
+
# The API ID. Private APIs can not be associated with custom domains.
|
336
336
|
# @return [String]
|
337
337
|
#
|
338
338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApiRequest AWS API Documentation
|
@@ -356,13 +356,107 @@ module Aws::AppSync
|
|
356
356
|
include Aws::Structure
|
357
357
|
end
|
358
358
|
|
359
|
+
# @!attribute [rw] source_api_identifier
|
360
|
+
# The identifier of the AppSync Source API. This is generated by the
|
361
|
+
# AppSync service. In most cases, source APIs (especially in your
|
362
|
+
# account) only require the API ID value or ARN of the source API.
|
363
|
+
# However, source APIs from other accounts (cross-account use cases)
|
364
|
+
# strictly require the full resource ARN of the source API.
|
365
|
+
# @return [String]
|
366
|
+
#
|
367
|
+
# @!attribute [rw] merged_api_identifier
|
368
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
369
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
370
|
+
# account) only require the API ID value or ARN of the merged API.
|
371
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
372
|
+
# strictly require the full resource ARN of the merged API.
|
373
|
+
# @return [String]
|
374
|
+
#
|
375
|
+
# @!attribute [rw] description
|
376
|
+
# The description field.
|
377
|
+
# @return [String]
|
378
|
+
#
|
379
|
+
# @!attribute [rw] source_api_association_config
|
380
|
+
# The `SourceApiAssociationConfig` object data.
|
381
|
+
# @return [Types::SourceApiAssociationConfig]
|
382
|
+
#
|
383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApiRequest AWS API Documentation
|
384
|
+
#
|
385
|
+
class AssociateMergedGraphqlApiRequest < Struct.new(
|
386
|
+
:source_api_identifier,
|
387
|
+
:merged_api_identifier,
|
388
|
+
:description,
|
389
|
+
:source_api_association_config)
|
390
|
+
SENSITIVE = []
|
391
|
+
include Aws::Structure
|
392
|
+
end
|
393
|
+
|
394
|
+
# @!attribute [rw] source_api_association
|
395
|
+
# The `SourceApiAssociation` object data.
|
396
|
+
# @return [Types::SourceApiAssociation]
|
397
|
+
#
|
398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApiResponse AWS API Documentation
|
399
|
+
#
|
400
|
+
class AssociateMergedGraphqlApiResponse < Struct.new(
|
401
|
+
:source_api_association)
|
402
|
+
SENSITIVE = []
|
403
|
+
include Aws::Structure
|
404
|
+
end
|
405
|
+
|
406
|
+
# @!attribute [rw] merged_api_identifier
|
407
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
408
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
409
|
+
# account) only require the API ID value or ARN of the merged API.
|
410
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
411
|
+
# strictly require the full resource ARN of the merged API.
|
412
|
+
# @return [String]
|
413
|
+
#
|
414
|
+
# @!attribute [rw] source_api_identifier
|
415
|
+
# The identifier of the AppSync Source API. This is generated by the
|
416
|
+
# AppSync service. In most cases, source APIs (especially in your
|
417
|
+
# account) only require the API ID value or ARN of the source API.
|
418
|
+
# However, source APIs from other accounts (cross-account use cases)
|
419
|
+
# strictly require the full resource ARN of the source API.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] description
|
423
|
+
# The description field.
|
424
|
+
# @return [String]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] source_api_association_config
|
427
|
+
# The `SourceApiAssociationConfig` object data.
|
428
|
+
# @return [Types::SourceApiAssociationConfig]
|
429
|
+
#
|
430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApiRequest AWS API Documentation
|
431
|
+
#
|
432
|
+
class AssociateSourceGraphqlApiRequest < Struct.new(
|
433
|
+
:merged_api_identifier,
|
434
|
+
:source_api_identifier,
|
435
|
+
:description,
|
436
|
+
:source_api_association_config)
|
437
|
+
SENSITIVE = []
|
438
|
+
include Aws::Structure
|
439
|
+
end
|
440
|
+
|
441
|
+
# @!attribute [rw] source_api_association
|
442
|
+
# The `SourceApiAssociation` object data.
|
443
|
+
# @return [Types::SourceApiAssociation]
|
444
|
+
#
|
445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApiResponse AWS API Documentation
|
446
|
+
#
|
447
|
+
class AssociateSourceGraphqlApiResponse < Struct.new(
|
448
|
+
:source_api_association)
|
449
|
+
SENSITIVE = []
|
450
|
+
include Aws::Structure
|
451
|
+
end
|
452
|
+
|
359
453
|
# The authorization configuration in case the HTTP endpoint requires
|
360
454
|
# authorization.
|
361
455
|
#
|
362
456
|
# @!attribute [rw] authorization_type
|
363
457
|
# The authorization type that the HTTP endpoint requires.
|
364
458
|
#
|
365
|
-
# * **AWS\_IAM
|
459
|
+
# * **AWS\_IAM**: The authorization type is Signature Version 4
|
366
460
|
# (SigV4).
|
367
461
|
#
|
368
462
|
# ^
|
@@ -586,9 +680,9 @@ module Aws::AppSync
|
|
586
680
|
# @!attribute [rw] api_caching_behavior
|
587
681
|
# Caching behavior.
|
588
682
|
#
|
589
|
-
# * **FULL\_REQUEST\_CACHING
|
683
|
+
# * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
|
590
684
|
#
|
591
|
-
# * **PER\_RESOLVER\_CACHING
|
685
|
+
# * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
|
592
686
|
# are cached.
|
593
687
|
# @return [String]
|
594
688
|
#
|
@@ -618,19 +712,19 @@ module Aws::AppSync
|
|
618
712
|
# The following legacy instance types are available, but their use is
|
619
713
|
# discouraged:
|
620
714
|
#
|
621
|
-
# * **T2\_SMALL
|
715
|
+
# * **T2\_SMALL**: A t2.small instance type.
|
622
716
|
#
|
623
|
-
# * **T2\_MEDIUM
|
717
|
+
# * **T2\_MEDIUM**: A t2.medium instance type.
|
624
718
|
#
|
625
|
-
# * **R4\_LARGE
|
719
|
+
# * **R4\_LARGE**: A r4.large instance type.
|
626
720
|
#
|
627
|
-
# * **R4\_XLARGE
|
721
|
+
# * **R4\_XLARGE**: A r4.xlarge instance type.
|
628
722
|
#
|
629
|
-
# * **R4\_2XLARGE
|
723
|
+
# * **R4\_2XLARGE**: A r4.2xlarge instance type.
|
630
724
|
#
|
631
|
-
# * **R4\_4XLARGE
|
725
|
+
# * **R4\_4XLARGE**: A r4.4xlarge instance type.
|
632
726
|
#
|
633
|
-
# * **R4\_8XLARGE
|
727
|
+
# * **R4\_8XLARGE**: A r4.8xlarge instance type.
|
634
728
|
# @return [String]
|
635
729
|
#
|
636
730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCacheRequest AWS API Documentation
|
@@ -942,6 +1036,33 @@ module Aws::AppSync
|
|
942
1036
|
# Configuration for Lambda function authorization.
|
943
1037
|
# @return [Types::LambdaAuthorizerConfig]
|
944
1038
|
#
|
1039
|
+
# @!attribute [rw] visibility
|
1040
|
+
# Sets the value of the GraphQL API to public (`GLOBAL`) or private
|
1041
|
+
# (`PRIVATE`). If no value is provided, the visibility will be set to
|
1042
|
+
# `GLOBAL` by default. This value cannot be changed once the API has
|
1043
|
+
# been created.
|
1044
|
+
# @return [String]
|
1045
|
+
#
|
1046
|
+
# @!attribute [rw] api_type
|
1047
|
+
# The value that indicates whether the GraphQL API is a standard API
|
1048
|
+
# (`GRAPHQL`) or merged API (`MERGED`).
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] merged_api_execution_role_arn
|
1052
|
+
# The Identity and Access Management service role ARN for a merged
|
1053
|
+
# API. The AppSync service assumes this role on behalf of the Merged
|
1054
|
+
# API to validate access to source APIs at runtime and to prompt the
|
1055
|
+
# `AUTO_MERGE` to update the merged API endpoint with the source API
|
1056
|
+
# changes automatically.
|
1057
|
+
# @return [String]
|
1058
|
+
#
|
1059
|
+
# @!attribute [rw] owner_contact
|
1060
|
+
# The owner contact information for an API resource.
|
1061
|
+
#
|
1062
|
+
# This field accepts any string input with a length of 0 - 256
|
1063
|
+
# characters.
|
1064
|
+
# @return [String]
|
1065
|
+
#
|
945
1066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
946
1067
|
#
|
947
1068
|
class CreateGraphqlApiRequest < Struct.new(
|
@@ -953,7 +1074,11 @@ module Aws::AppSync
|
|
953
1074
|
:tags,
|
954
1075
|
:additional_authentication_providers,
|
955
1076
|
:xray_enabled,
|
956
|
-
:lambda_authorizer_config
|
1077
|
+
:lambda_authorizer_config,
|
1078
|
+
:visibility,
|
1079
|
+
:api_type,
|
1080
|
+
:merged_api_execution_role_arn,
|
1081
|
+
:owner_contact)
|
957
1082
|
SENSITIVE = []
|
958
1083
|
include Aws::Structure
|
959
1084
|
end
|
@@ -1005,11 +1130,11 @@ module Aws::AppSync
|
|
1005
1130
|
# @!attribute [rw] kind
|
1006
1131
|
# The resolver type.
|
1007
1132
|
#
|
1008
|
-
# * **UNIT
|
1133
|
+
# * **UNIT**: A UNIT resolver type. A UNIT resolver is the default
|
1009
1134
|
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
1010
1135
|
# against a single data source.
|
1011
1136
|
#
|
1012
|
-
# * **PIPELINE
|
1137
|
+
# * **PIPELINE**: A PIPELINE resolver type. You can use a PIPELINE
|
1013
1138
|
# resolver to invoke a series of `Function` objects in a serial
|
1014
1139
|
# manner. You can use a pipeline resolver to run a GraphQL query
|
1015
1140
|
# against multiple data sources.
|
@@ -1134,28 +1259,27 @@ module Aws::AppSync
|
|
1134
1259
|
# @!attribute [rw] type
|
1135
1260
|
# The type of the data source.
|
1136
1261
|
#
|
1137
|
-
# * **AWS\_LAMBDA
|
1262
|
+
# * **AWS\_LAMBDA**: The data source is an Lambda function.
|
1138
1263
|
#
|
1139
|
-
# * **AMAZON\_DYNAMODB
|
1140
|
-
# table.
|
1264
|
+
# * **AMAZON\_DYNAMODB**: The data source is an Amazon DynamoDB table.
|
1141
1265
|
#
|
1142
|
-
# * **AMAZON\_ELASTICSEARCH
|
1143
|
-
#
|
1266
|
+
# * **AMAZON\_ELASTICSEARCH**: The data source is an Amazon OpenSearch
|
1267
|
+
# Service domain.
|
1144
1268
|
#
|
1145
|
-
# * **AMAZON\_OPENSEARCH\_SERVICE
|
1269
|
+
# * **AMAZON\_OPENSEARCH\_SERVICE**: The data source is an Amazon
|
1146
1270
|
# OpenSearch Service domain.
|
1147
1271
|
#
|
1148
|
-
# * **AMAZON\_EVENTBRIDGE
|
1272
|
+
# * **AMAZON\_EVENTBRIDGE**: The data source is an Amazon EventBridge
|
1149
1273
|
# configuration.
|
1150
1274
|
#
|
1151
|
-
# * **NONE
|
1275
|
+
# * **NONE**: There is no data source. Use this type when you want to
|
1152
1276
|
# invoke a GraphQL operation without connecting to a data source,
|
1153
1277
|
# such as when you're performing data transformation with resolvers
|
1154
1278
|
# or invoking a subscription from a mutation.
|
1155
1279
|
#
|
1156
|
-
# * **HTTP
|
1280
|
+
# * **HTTP**: The data source is an HTTP endpoint.
|
1157
1281
|
#
|
1158
|
-
# * **RELATIONAL\_DATABASE
|
1282
|
+
# * **RELATIONAL\_DATABASE**: The data source is a relational
|
1159
1283
|
# database.
|
1160
1284
|
# @return [String]
|
1161
1285
|
#
|
@@ -1415,6 +1539,74 @@ module Aws::AppSync
|
|
1415
1539
|
#
|
1416
1540
|
class DisassociateApiResponse < Aws::EmptyStructure; end
|
1417
1541
|
|
1542
|
+
# @!attribute [rw] source_api_identifier
|
1543
|
+
# The identifier of the AppSync Source API. This is generated by the
|
1544
|
+
# AppSync service. In most cases, source APIs (especially in your
|
1545
|
+
# account) only require the API ID value or ARN of the source API.
|
1546
|
+
# However, source APIs from other accounts (cross-account use cases)
|
1547
|
+
# strictly require the full resource ARN of the source API.
|
1548
|
+
# @return [String]
|
1549
|
+
#
|
1550
|
+
# @!attribute [rw] association_id
|
1551
|
+
# The ID generated by the AppSync service for the source API
|
1552
|
+
# association.
|
1553
|
+
# @return [String]
|
1554
|
+
#
|
1555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApiRequest AWS API Documentation
|
1556
|
+
#
|
1557
|
+
class DisassociateMergedGraphqlApiRequest < Struct.new(
|
1558
|
+
:source_api_identifier,
|
1559
|
+
:association_id)
|
1560
|
+
SENSITIVE = []
|
1561
|
+
include Aws::Structure
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# @!attribute [rw] source_api_association_status
|
1565
|
+
# The state of the source API association.
|
1566
|
+
# @return [String]
|
1567
|
+
#
|
1568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApiResponse AWS API Documentation
|
1569
|
+
#
|
1570
|
+
class DisassociateMergedGraphqlApiResponse < Struct.new(
|
1571
|
+
:source_api_association_status)
|
1572
|
+
SENSITIVE = []
|
1573
|
+
include Aws::Structure
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
# @!attribute [rw] merged_api_identifier
|
1577
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
1578
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
1579
|
+
# account) only require the API ID value or ARN of the merged API.
|
1580
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
1581
|
+
# strictly require the full resource ARN of the merged API.
|
1582
|
+
# @return [String]
|
1583
|
+
#
|
1584
|
+
# @!attribute [rw] association_id
|
1585
|
+
# The ID generated by the AppSync service for the source API
|
1586
|
+
# association.
|
1587
|
+
# @return [String]
|
1588
|
+
#
|
1589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApiRequest AWS API Documentation
|
1590
|
+
#
|
1591
|
+
class DisassociateSourceGraphqlApiRequest < Struct.new(
|
1592
|
+
:merged_api_identifier,
|
1593
|
+
:association_id)
|
1594
|
+
SENSITIVE = []
|
1595
|
+
include Aws::Structure
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
# @!attribute [rw] source_api_association_status
|
1599
|
+
# The state of the source API association.
|
1600
|
+
# @return [String]
|
1601
|
+
#
|
1602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApiResponse AWS API Documentation
|
1603
|
+
#
|
1604
|
+
class DisassociateSourceGraphqlApiResponse < Struct.new(
|
1605
|
+
:source_api_association_status)
|
1606
|
+
SENSITIVE = []
|
1607
|
+
include Aws::Structure
|
1608
|
+
end
|
1609
|
+
|
1418
1610
|
# Describes a configuration for a custom domain.
|
1419
1611
|
#
|
1420
1612
|
# @!attribute [rw] domain_name
|
@@ -2025,6 +2217,40 @@ module Aws::AppSync
|
|
2025
2217
|
include Aws::Structure
|
2026
2218
|
end
|
2027
2219
|
|
2220
|
+
# @!attribute [rw] merged_api_identifier
|
2221
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
2222
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
2223
|
+
# account) only require the API ID value or ARN of the merged API.
|
2224
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
2225
|
+
# strictly require the full resource ARN of the merged API.
|
2226
|
+
# @return [String]
|
2227
|
+
#
|
2228
|
+
# @!attribute [rw] association_id
|
2229
|
+
# The ID generated by the AppSync service for the source API
|
2230
|
+
# association.
|
2231
|
+
# @return [String]
|
2232
|
+
#
|
2233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociationRequest AWS API Documentation
|
2234
|
+
#
|
2235
|
+
class GetSourceApiAssociationRequest < Struct.new(
|
2236
|
+
:merged_api_identifier,
|
2237
|
+
:association_id)
|
2238
|
+
SENSITIVE = []
|
2239
|
+
include Aws::Structure
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
# @!attribute [rw] source_api_association
|
2243
|
+
# The `SourceApiAssociation` object data.
|
2244
|
+
# @return [Types::SourceApiAssociation]
|
2245
|
+
#
|
2246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociationResponse AWS API Documentation
|
2247
|
+
#
|
2248
|
+
class GetSourceApiAssociationResponse < Struct.new(
|
2249
|
+
:source_api_association)
|
2250
|
+
SENSITIVE = []
|
2251
|
+
include Aws::Structure
|
2252
|
+
end
|
2253
|
+
|
2028
2254
|
# @!attribute [rw] api_id
|
2029
2255
|
# The API ID.
|
2030
2256
|
# @return [String]
|
@@ -2129,6 +2355,41 @@ module Aws::AppSync
|
|
2129
2355
|
# Configuration for Lambda function authorization.
|
2130
2356
|
# @return [Types::LambdaAuthorizerConfig]
|
2131
2357
|
#
|
2358
|
+
# @!attribute [rw] dns
|
2359
|
+
# The DNS records for the API.
|
2360
|
+
# @return [Hash<String,String>]
|
2361
|
+
#
|
2362
|
+
# @!attribute [rw] visibility
|
2363
|
+
# Sets the value of the GraphQL API to public (`GLOBAL`) or private
|
2364
|
+
# (`PRIVATE`). If no value is provided, the visibility will be set to
|
2365
|
+
# `GLOBAL` by default. This value cannot be changed once the API has
|
2366
|
+
# been created.
|
2367
|
+
# @return [String]
|
2368
|
+
#
|
2369
|
+
# @!attribute [rw] api_type
|
2370
|
+
# The value that indicates whether the GraphQL API is a standard API
|
2371
|
+
# (`GRAPHQL`) or merged API (`MERGED`).
|
2372
|
+
# @return [String]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] merged_api_execution_role_arn
|
2375
|
+
# The Identity and Access Management service role ARN for a merged
|
2376
|
+
# API. The AppSync service assumes this role on behalf of the Merged
|
2377
|
+
# API to validate access to source APIs at runtime and to prompt the
|
2378
|
+
# `AUTO_MERGE` to update the merged API endpoint with the source API
|
2379
|
+
# changes automatically.
|
2380
|
+
# @return [String]
|
2381
|
+
#
|
2382
|
+
# @!attribute [rw] owner
|
2383
|
+
# The account owner of the GraphQL API.
|
2384
|
+
# @return [String]
|
2385
|
+
#
|
2386
|
+
# @!attribute [rw] owner_contact
|
2387
|
+
# The owner contact information for an API resource.
|
2388
|
+
#
|
2389
|
+
# This field accepts any string input with a length of 0 - 256
|
2390
|
+
# characters.
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2132
2393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
2133
2394
|
#
|
2134
2395
|
class GraphqlApi < Struct.new(
|
@@ -2144,7 +2405,13 @@ module Aws::AppSync
|
|
2144
2405
|
:additional_authentication_providers,
|
2145
2406
|
:xray_enabled,
|
2146
2407
|
:waf_web_acl_arn,
|
2147
|
-
:lambda_authorizer_config
|
2408
|
+
:lambda_authorizer_config,
|
2409
|
+
:dns,
|
2410
|
+
:visibility,
|
2411
|
+
:api_type,
|
2412
|
+
:merged_api_execution_role_arn,
|
2413
|
+
:owner,
|
2414
|
+
:owner_contact)
|
2148
2415
|
SENSITIVE = []
|
2149
2416
|
include Aws::Structure
|
2150
2417
|
end
|
@@ -2191,9 +2458,10 @@ module Aws::AppSync
|
|
2191
2458
|
#
|
2192
2459
|
# @!attribute [rw] authorizer_result_ttl_in_seconds
|
2193
2460
|
# The number of seconds a response should be cached for. The default
|
2194
|
-
# is
|
2195
|
-
#
|
2196
|
-
#
|
2461
|
+
# is 0 seconds, which disables caching. If you don't specify a value
|
2462
|
+
# for `authorizerResultTtlInSeconds`, the default value is used. The
|
2463
|
+
# maximum value is one hour (3600 seconds). The Lambda function can
|
2464
|
+
# override this by returning a `ttlOverride` key in its response.
|
2197
2465
|
# @return [Integer]
|
2198
2466
|
#
|
2199
2467
|
# @!attribute [rw] authorizer_uri
|
@@ -2201,7 +2469,7 @@ module Aws::AppSync
|
|
2201
2469
|
# for authorization. This can be a standard Lambda ARN, a version ARN
|
2202
2470
|
# (`.../v3`), or an alias ARN.
|
2203
2471
|
#
|
2204
|
-
# **Note
|
2472
|
+
# **Note**: This Lambda function must have the following
|
2205
2473
|
# resource-based policy assigned to it. When configuring Lambda
|
2206
2474
|
# authorizers in the console, this is done for you. To use the Command
|
2207
2475
|
# Line Interface (CLI), run the following:
|
@@ -2355,7 +2623,9 @@ module Aws::AppSync
|
|
2355
2623
|
end
|
2356
2624
|
|
2357
2625
|
# @!attribute [rw] next_token
|
2358
|
-
#
|
2626
|
+
# An identifier that was returned from the previous call to this
|
2627
|
+
# operation, which you can use to return the next set of items in the
|
2628
|
+
# list.
|
2359
2629
|
# @return [String]
|
2360
2630
|
#
|
2361
2631
|
# @!attribute [rw] max_results
|
@@ -2376,7 +2646,9 @@ module Aws::AppSync
|
|
2376
2646
|
# @return [Array<Types::DomainNameConfig>]
|
2377
2647
|
#
|
2378
2648
|
# @!attribute [rw] next_token
|
2379
|
-
#
|
2649
|
+
# An identifier that was returned from the previous call to this
|
2650
|
+
# operation, which you can use to return the next set of items in the
|
2651
|
+
# list.
|
2380
2652
|
# @return [String]
|
2381
2653
|
#
|
2382
2654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesResponse AWS API Documentation
|
@@ -2441,11 +2713,22 @@ module Aws::AppSync
|
|
2441
2713
|
# The maximum number of results that you want the request to return.
|
2442
2714
|
# @return [Integer]
|
2443
2715
|
#
|
2716
|
+
# @!attribute [rw] api_type
|
2717
|
+
# The value that indicates whether the GraphQL API is a standard API
|
2718
|
+
# (`GRAPHQL`) or merged API (`MERGED`).
|
2719
|
+
# @return [String]
|
2720
|
+
#
|
2721
|
+
# @!attribute [rw] owner
|
2722
|
+
# The account owner of the GraphQL API.
|
2723
|
+
# @return [String]
|
2724
|
+
#
|
2444
2725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest AWS API Documentation
|
2445
2726
|
#
|
2446
2727
|
class ListGraphqlApisRequest < Struct.new(
|
2447
2728
|
:next_token,
|
2448
|
-
:max_results
|
2729
|
+
:max_results,
|
2730
|
+
:api_type,
|
2731
|
+
:owner)
|
2449
2732
|
SENSITIVE = []
|
2450
2733
|
include Aws::Structure
|
2451
2734
|
end
|
@@ -2562,6 +2845,49 @@ module Aws::AppSync
|
|
2562
2845
|
include Aws::Structure
|
2563
2846
|
end
|
2564
2847
|
|
2848
|
+
# @!attribute [rw] api_id
|
2849
|
+
# The API ID.
|
2850
|
+
# @return [String]
|
2851
|
+
#
|
2852
|
+
# @!attribute [rw] next_token
|
2853
|
+
# An identifier that was returned from the previous call to this
|
2854
|
+
# operation, which you can use to return the next set of items in the
|
2855
|
+
# list.
|
2856
|
+
# @return [String]
|
2857
|
+
#
|
2858
|
+
# @!attribute [rw] max_results
|
2859
|
+
# The maximum number of results that you want the request to return.
|
2860
|
+
# @return [Integer]
|
2861
|
+
#
|
2862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociationsRequest AWS API Documentation
|
2863
|
+
#
|
2864
|
+
class ListSourceApiAssociationsRequest < Struct.new(
|
2865
|
+
:api_id,
|
2866
|
+
:next_token,
|
2867
|
+
:max_results)
|
2868
|
+
SENSITIVE = []
|
2869
|
+
include Aws::Structure
|
2870
|
+
end
|
2871
|
+
|
2872
|
+
# @!attribute [rw] source_api_association_summaries
|
2873
|
+
# The `SourceApiAssociationSummary` object data.
|
2874
|
+
# @return [Array<Types::SourceApiAssociationSummary>]
|
2875
|
+
#
|
2876
|
+
# @!attribute [rw] next_token
|
2877
|
+
# An identifier that was returned from the previous call to this
|
2878
|
+
# operation, which you can use to return the next set of items in the
|
2879
|
+
# list.
|
2880
|
+
# @return [String]
|
2881
|
+
#
|
2882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociationsResponse AWS API Documentation
|
2883
|
+
#
|
2884
|
+
class ListSourceApiAssociationsResponse < Struct.new(
|
2885
|
+
:source_api_association_summaries,
|
2886
|
+
:next_token)
|
2887
|
+
SENSITIVE = []
|
2888
|
+
include Aws::Structure
|
2889
|
+
end
|
2890
|
+
|
2565
2891
|
# @!attribute [rw] resource_arn
|
2566
2892
|
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2567
2893
|
# @return [String]
|
@@ -2586,6 +2912,64 @@ module Aws::AppSync
|
|
2586
2912
|
include Aws::Structure
|
2587
2913
|
end
|
2588
2914
|
|
2915
|
+
# @!attribute [rw] merged_api_identifier
|
2916
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
2917
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
2918
|
+
# account) only require the API ID value or ARN of the merged API.
|
2919
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
2920
|
+
# strictly require the full resource ARN of the merged API.
|
2921
|
+
# @return [String]
|
2922
|
+
#
|
2923
|
+
# @!attribute [rw] association_id
|
2924
|
+
# The ID generated by the AppSync service for the source API
|
2925
|
+
# association.
|
2926
|
+
# @return [String]
|
2927
|
+
#
|
2928
|
+
# @!attribute [rw] format
|
2929
|
+
# The format type.
|
2930
|
+
# @return [String]
|
2931
|
+
#
|
2932
|
+
# @!attribute [rw] next_token
|
2933
|
+
# An identifier that was returned from the previous call to this
|
2934
|
+
# operation, which you can use to return the next set of items in the
|
2935
|
+
# list.
|
2936
|
+
# @return [String]
|
2937
|
+
#
|
2938
|
+
# @!attribute [rw] max_results
|
2939
|
+
# The maximum number of results that you want the request to return.
|
2940
|
+
# @return [Integer]
|
2941
|
+
#
|
2942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociationRequest AWS API Documentation
|
2943
|
+
#
|
2944
|
+
class ListTypesByAssociationRequest < Struct.new(
|
2945
|
+
:merged_api_identifier,
|
2946
|
+
:association_id,
|
2947
|
+
:format,
|
2948
|
+
:next_token,
|
2949
|
+
:max_results)
|
2950
|
+
SENSITIVE = []
|
2951
|
+
include Aws::Structure
|
2952
|
+
end
|
2953
|
+
|
2954
|
+
# @!attribute [rw] types
|
2955
|
+
# The `Type` objects.
|
2956
|
+
# @return [Array<Types::Type>]
|
2957
|
+
#
|
2958
|
+
# @!attribute [rw] next_token
|
2959
|
+
# An identifier that was returned from the previous call to this
|
2960
|
+
# operation, which you can use to return the next set of items in the
|
2961
|
+
# list.
|
2962
|
+
# @return [String]
|
2963
|
+
#
|
2964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociationResponse AWS API Documentation
|
2965
|
+
#
|
2966
|
+
class ListTypesByAssociationResponse < Struct.new(
|
2967
|
+
:types,
|
2968
|
+
:next_token)
|
2969
|
+
SENSITIVE = []
|
2970
|
+
include Aws::Structure
|
2971
|
+
end
|
2972
|
+
|
2589
2973
|
# @!attribute [rw] api_id
|
2590
2974
|
# The API ID.
|
2591
2975
|
# @return [String]
|
@@ -2638,10 +3022,10 @@ module Aws::AppSync
|
|
2638
3022
|
# @!attribute [rw] field_log_level
|
2639
3023
|
# The field logging level. Values can be NONE, ERROR, or ALL.
|
2640
3024
|
#
|
2641
|
-
# * **NONE
|
3025
|
+
# * **NONE**: No field-level logs are captured.
|
2642
3026
|
#
|
2643
|
-
# * **ERROR
|
2644
|
-
#
|
3027
|
+
# * **ERROR**: Logs the following information only for the fields that
|
3028
|
+
# are in error:
|
2645
3029
|
#
|
2646
3030
|
# * The error section in the server response.
|
2647
3031
|
#
|
@@ -2650,8 +3034,8 @@ module Aws::AppSync
|
|
2650
3034
|
# * The generated request/response functions that got resolved for
|
2651
3035
|
# error fields.
|
2652
3036
|
#
|
2653
|
-
# * **ALL
|
2654
|
-
#
|
3037
|
+
# * **ALL**: The following information is logged for all fields in the
|
3038
|
+
# query:
|
2655
3039
|
#
|
2656
3040
|
# * Field-level tracing information.
|
2657
3041
|
#
|
@@ -2804,8 +3188,8 @@ module Aws::AppSync
|
|
2804
3188
|
# @!attribute [rw] relational_database_source_type
|
2805
3189
|
# Source type for the relational database.
|
2806
3190
|
#
|
2807
|
-
# * **RDS\_HTTP\_ENDPOINT
|
2808
|
-
#
|
3191
|
+
# * **RDS\_HTTP\_ENDPOINT**: The relational database source type is an
|
3192
|
+
# Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
|
2809
3193
|
#
|
2810
3194
|
# ^
|
2811
3195
|
# @return [String]
|
@@ -2852,11 +3236,11 @@ module Aws::AppSync
|
|
2852
3236
|
# @!attribute [rw] kind
|
2853
3237
|
# The resolver type.
|
2854
3238
|
#
|
2855
|
-
# * **UNIT
|
3239
|
+
# * **UNIT**: A UNIT resolver type. A UNIT resolver is the default
|
2856
3240
|
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
2857
3241
|
# against a single data source.
|
2858
3242
|
#
|
2859
|
-
# * **PIPELINE
|
3243
|
+
# * **PIPELINE**: A PIPELINE resolver type. You can use a PIPELINE
|
2860
3244
|
# resolver to invoke a series of `Function` objects in a serial
|
2861
3245
|
# manner. You can use a pipeline resolver to run a GraphQL query
|
2862
3246
|
# against multiple data sources.
|
@@ -2911,6 +3295,158 @@ module Aws::AppSync
|
|
2911
3295
|
include Aws::Structure
|
2912
3296
|
end
|
2913
3297
|
|
3298
|
+
# Describes the configuration of a source API. A source API is a GraphQL
|
3299
|
+
# API that is linked to a merged API. There can be multiple source APIs
|
3300
|
+
# attached to each merged API. When linked to a merged API, the source
|
3301
|
+
# API's schema, data sources, and resolvers will be combined with other
|
3302
|
+
# linked source API data to form a new, singular API.
|
3303
|
+
#
|
3304
|
+
# Source APIs can originate from your account or from other accounts via
|
3305
|
+
# Amazon Web Services Resource Access Manager. For more information
|
3306
|
+
# about sharing resources from other accounts, see [What is Amazon Web
|
3307
|
+
# Services Resource Access Manager?][1] in the *Amazon Web Services
|
3308
|
+
# Resource Access Manager* guide.
|
3309
|
+
#
|
3310
|
+
#
|
3311
|
+
#
|
3312
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/what-is.html
|
3313
|
+
#
|
3314
|
+
# @!attribute [rw] association_id
|
3315
|
+
# The ID generated by the AppSync service for the source API
|
3316
|
+
# association.
|
3317
|
+
# @return [String]
|
3318
|
+
#
|
3319
|
+
# @!attribute [rw] association_arn
|
3320
|
+
# The Amazon Resource Name (ARN) of the source API association.
|
3321
|
+
# @return [String]
|
3322
|
+
#
|
3323
|
+
# @!attribute [rw] source_api_id
|
3324
|
+
# The ID of the AppSync source API.
|
3325
|
+
# @return [String]
|
3326
|
+
#
|
3327
|
+
# @!attribute [rw] source_api_arn
|
3328
|
+
# The Amazon Resource Name (ARN) of the AppSync source API.
|
3329
|
+
# @return [String]
|
3330
|
+
#
|
3331
|
+
# @!attribute [rw] merged_api_arn
|
3332
|
+
# The Amazon Resource Name (ARN) of the AppSync Merged API.
|
3333
|
+
# @return [String]
|
3334
|
+
#
|
3335
|
+
# @!attribute [rw] merged_api_id
|
3336
|
+
# The ID of the AppSync Merged API.
|
3337
|
+
# @return [String]
|
3338
|
+
#
|
3339
|
+
# @!attribute [rw] description
|
3340
|
+
# The description field.
|
3341
|
+
# @return [String]
|
3342
|
+
#
|
3343
|
+
# @!attribute [rw] source_api_association_config
|
3344
|
+
# The `SourceApiAssociationConfig` object data.
|
3345
|
+
# @return [Types::SourceApiAssociationConfig]
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] source_api_association_status
|
3348
|
+
# The state of the source API association.
|
3349
|
+
# @return [String]
|
3350
|
+
#
|
3351
|
+
# @!attribute [rw] source_api_association_status_detail
|
3352
|
+
# The detailed message related to the current state of the source API
|
3353
|
+
# association.
|
3354
|
+
# @return [String]
|
3355
|
+
#
|
3356
|
+
# @!attribute [rw] last_successful_merge_date
|
3357
|
+
# The datetime value of the last successful merge of the source API
|
3358
|
+
# association. The result will be in UTC format and your local time
|
3359
|
+
# zone.
|
3360
|
+
# @return [Time]
|
3361
|
+
#
|
3362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/SourceApiAssociation AWS API Documentation
|
3363
|
+
#
|
3364
|
+
class SourceApiAssociation < Struct.new(
|
3365
|
+
:association_id,
|
3366
|
+
:association_arn,
|
3367
|
+
:source_api_id,
|
3368
|
+
:source_api_arn,
|
3369
|
+
:merged_api_arn,
|
3370
|
+
:merged_api_id,
|
3371
|
+
:description,
|
3372
|
+
:source_api_association_config,
|
3373
|
+
:source_api_association_status,
|
3374
|
+
:source_api_association_status_detail,
|
3375
|
+
:last_successful_merge_date)
|
3376
|
+
SENSITIVE = []
|
3377
|
+
include Aws::Structure
|
3378
|
+
end
|
3379
|
+
|
3380
|
+
# Describes properties used to specify configurations related to a
|
3381
|
+
# source API.
|
3382
|
+
#
|
3383
|
+
# @!attribute [rw] merge_type
|
3384
|
+
# The property that indicates which merging option is enabled in the
|
3385
|
+
# source API association.
|
3386
|
+
#
|
3387
|
+
# Valid merge types are `MANUAL_MERGE` (default) and `AUTO_MERGE`.
|
3388
|
+
# Manual merges are the default behavior and require the user to
|
3389
|
+
# trigger any changes from the source APIs to the merged API manually.
|
3390
|
+
# Auto merges subscribe the merged API to the changes performed on the
|
3391
|
+
# source APIs so that any change in the source APIs are also made to
|
3392
|
+
# the merged API. Auto merges use `MergedApiExecutionRoleArn` to
|
3393
|
+
# perform merge operations.
|
3394
|
+
# @return [String]
|
3395
|
+
#
|
3396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/SourceApiAssociationConfig AWS API Documentation
|
3397
|
+
#
|
3398
|
+
class SourceApiAssociationConfig < Struct.new(
|
3399
|
+
:merge_type)
|
3400
|
+
SENSITIVE = []
|
3401
|
+
include Aws::Structure
|
3402
|
+
end
|
3403
|
+
|
3404
|
+
# Describes the ARNs and IDs of associations, Merged APIs, and source
|
3405
|
+
# APIs.
|
3406
|
+
#
|
3407
|
+
# @!attribute [rw] association_id
|
3408
|
+
# The ID generated by the AppSync service for the source API
|
3409
|
+
# association.
|
3410
|
+
# @return [String]
|
3411
|
+
#
|
3412
|
+
# @!attribute [rw] association_arn
|
3413
|
+
# The Amazon Resource Name (ARN) of the source API association.
|
3414
|
+
# @return [String]
|
3415
|
+
#
|
3416
|
+
# @!attribute [rw] source_api_id
|
3417
|
+
# The ID of the AppSync source API.
|
3418
|
+
# @return [String]
|
3419
|
+
#
|
3420
|
+
# @!attribute [rw] source_api_arn
|
3421
|
+
# The Amazon Resource Name (ARN) of the AppSync Source API.
|
3422
|
+
# @return [String]
|
3423
|
+
#
|
3424
|
+
# @!attribute [rw] merged_api_id
|
3425
|
+
# The ID of the AppSync Merged API.
|
3426
|
+
# @return [String]
|
3427
|
+
#
|
3428
|
+
# @!attribute [rw] merged_api_arn
|
3429
|
+
# The Amazon Resource Name (ARN) of the AppSync Merged API.
|
3430
|
+
# @return [String]
|
3431
|
+
#
|
3432
|
+
# @!attribute [rw] description
|
3433
|
+
# The description field.
|
3434
|
+
# @return [String]
|
3435
|
+
#
|
3436
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/SourceApiAssociationSummary AWS API Documentation
|
3437
|
+
#
|
3438
|
+
class SourceApiAssociationSummary < Struct.new(
|
3439
|
+
:association_id,
|
3440
|
+
:association_arn,
|
3441
|
+
:source_api_id,
|
3442
|
+
:source_api_arn,
|
3443
|
+
:merged_api_id,
|
3444
|
+
:merged_api_arn,
|
3445
|
+
:description)
|
3446
|
+
SENSITIVE = []
|
3447
|
+
include Aws::Structure
|
3448
|
+
end
|
3449
|
+
|
2914
3450
|
# @!attribute [rw] api_id
|
2915
3451
|
# The API ID.
|
2916
3452
|
# @return [String]
|
@@ -2942,6 +3478,40 @@ module Aws::AppSync
|
|
2942
3478
|
include Aws::Structure
|
2943
3479
|
end
|
2944
3480
|
|
3481
|
+
# @!attribute [rw] association_id
|
3482
|
+
# The ID generated by the AppSync service for the source API
|
3483
|
+
# association.
|
3484
|
+
# @return [String]
|
3485
|
+
#
|
3486
|
+
# @!attribute [rw] merged_api_identifier
|
3487
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
3488
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
3489
|
+
# account) only require the API ID value or ARN of the merged API.
|
3490
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
3491
|
+
# strictly require the full resource ARN of the merged API.
|
3492
|
+
# @return [String]
|
3493
|
+
#
|
3494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMergeRequest AWS API Documentation
|
3495
|
+
#
|
3496
|
+
class StartSchemaMergeRequest < Struct.new(
|
3497
|
+
:association_id,
|
3498
|
+
:merged_api_identifier)
|
3499
|
+
SENSITIVE = []
|
3500
|
+
include Aws::Structure
|
3501
|
+
end
|
3502
|
+
|
3503
|
+
# @!attribute [rw] source_api_association_status
|
3504
|
+
# The state of the source API association.
|
3505
|
+
# @return [String]
|
3506
|
+
#
|
3507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMergeResponse AWS API Documentation
|
3508
|
+
#
|
3509
|
+
class StartSchemaMergeResponse < Struct.new(
|
3510
|
+
:source_api_association_status)
|
3511
|
+
SENSITIVE = []
|
3512
|
+
include Aws::Structure
|
3513
|
+
end
|
3514
|
+
|
2945
3515
|
# Describes a Sync configuration for a resolver.
|
2946
3516
|
#
|
2947
3517
|
# Specifies which Conflict Detection strategy and Resolution strategy to
|
@@ -2951,24 +3521,24 @@ module Aws::AppSync
|
|
2951
3521
|
# The Conflict Resolution strategy to perform in the event of a
|
2952
3522
|
# conflict.
|
2953
3523
|
#
|
2954
|
-
# * **OPTIMISTIC\_CONCURRENCY
|
3524
|
+
# * **OPTIMISTIC\_CONCURRENCY**: Resolve conflicts by rejecting
|
2955
3525
|
# mutations when versions don't match the latest version at the
|
2956
3526
|
# server.
|
2957
3527
|
#
|
2958
|
-
# * **AUTOMERGE
|
3528
|
+
# * **AUTOMERGE**: Resolve conflicts with the Automerge conflict
|
2959
3529
|
# resolution strategy.
|
2960
3530
|
#
|
2961
|
-
# * **LAMBDA
|
3531
|
+
# * **LAMBDA**: Resolve conflicts with an Lambda function supplied in
|
2962
3532
|
# the `LambdaConflictHandlerConfig`.
|
2963
3533
|
# @return [String]
|
2964
3534
|
#
|
2965
3535
|
# @!attribute [rw] conflict_detection
|
2966
3536
|
# The Conflict Detection strategy to use.
|
2967
3537
|
#
|
2968
|
-
# * **VERSION
|
3538
|
+
# * **VERSION**: Detect conflicts based on object versions for this
|
2969
3539
|
# resolver.
|
2970
3540
|
#
|
2971
|
-
# * **NONE
|
3541
|
+
# * **NONE**: Do not detect conflicts when invoking this resolver.
|
2972
3542
|
# @return [String]
|
2973
3543
|
#
|
2974
3544
|
# @!attribute [rw] lambda_conflict_handler_config
|
@@ -3090,9 +3660,9 @@ module Aws::AppSync
|
|
3090
3660
|
# @!attribute [rw] api_caching_behavior
|
3091
3661
|
# Caching behavior.
|
3092
3662
|
#
|
3093
|
-
# * **FULL\_REQUEST\_CACHING
|
3663
|
+
# * **FULL\_REQUEST\_CACHING**: All requests are fully cached.
|
3094
3664
|
#
|
3095
|
-
# * **PER\_RESOLVER\_CACHING
|
3665
|
+
# * **PER\_RESOLVER\_CACHING**: Individual resolvers that you specify
|
3096
3666
|
# are cached.
|
3097
3667
|
# @return [String]
|
3098
3668
|
#
|
@@ -3122,19 +3692,19 @@ module Aws::AppSync
|
|
3122
3692
|
# The following legacy instance types are available, but their use is
|
3123
3693
|
# discouraged:
|
3124
3694
|
#
|
3125
|
-
# * **T2\_SMALL
|
3695
|
+
# * **T2\_SMALL**: A t2.small instance type.
|
3126
3696
|
#
|
3127
|
-
# * **T2\_MEDIUM
|
3697
|
+
# * **T2\_MEDIUM**: A t2.medium instance type.
|
3128
3698
|
#
|
3129
|
-
# * **R4\_LARGE
|
3699
|
+
# * **R4\_LARGE**: A r4.large instance type.
|
3130
3700
|
#
|
3131
|
-
# * **R4\_XLARGE
|
3701
|
+
# * **R4\_XLARGE**: A r4.xlarge instance type.
|
3132
3702
|
#
|
3133
|
-
# * **R4\_2XLARGE
|
3703
|
+
# * **R4\_2XLARGE**: A r4.2xlarge instance type.
|
3134
3704
|
#
|
3135
|
-
# * **R4\_4XLARGE
|
3705
|
+
# * **R4\_4XLARGE**: A r4.4xlarge instance type.
|
3136
3706
|
#
|
3137
|
-
# * **R4\_8XLARGE
|
3707
|
+
# * **R4\_8XLARGE**: A r4.8xlarge instance type.
|
3138
3708
|
# @return [String]
|
3139
3709
|
#
|
3140
3710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCacheRequest AWS API Documentation
|
@@ -3445,6 +4015,21 @@ module Aws::AppSync
|
|
3445
4015
|
# Configuration for Lambda function authorization.
|
3446
4016
|
# @return [Types::LambdaAuthorizerConfig]
|
3447
4017
|
#
|
4018
|
+
# @!attribute [rw] merged_api_execution_role_arn
|
4019
|
+
# The Identity and Access Management service role ARN for a merged
|
4020
|
+
# API. The AppSync service assumes this role on behalf of the Merged
|
4021
|
+
# API to validate access to source APIs at runtime and to prompt the
|
4022
|
+
# `AUTO_MERGE` to update the merged API endpoint with the source API
|
4023
|
+
# changes automatically.
|
4024
|
+
# @return [String]
|
4025
|
+
#
|
4026
|
+
# @!attribute [rw] owner_contact
|
4027
|
+
# The owner contact information for an API resource.
|
4028
|
+
#
|
4029
|
+
# This field accepts any string input with a length of 0 - 256
|
4030
|
+
# characters.
|
4031
|
+
# @return [String]
|
4032
|
+
#
|
3448
4033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
3449
4034
|
#
|
3450
4035
|
class UpdateGraphqlApiRequest < Struct.new(
|
@@ -3456,7 +4041,9 @@ module Aws::AppSync
|
|
3456
4041
|
:open_id_connect_config,
|
3457
4042
|
:additional_authentication_providers,
|
3458
4043
|
:xray_enabled,
|
3459
|
-
:lambda_authorizer_config
|
4044
|
+
:lambda_authorizer_config,
|
4045
|
+
:merged_api_execution_role_arn,
|
4046
|
+
:owner_contact)
|
3460
4047
|
SENSITIVE = []
|
3461
4048
|
include Aws::Structure
|
3462
4049
|
end
|
@@ -3508,11 +4095,11 @@ module Aws::AppSync
|
|
3508
4095
|
# @!attribute [rw] kind
|
3509
4096
|
# The resolver type.
|
3510
4097
|
#
|
3511
|
-
# * **UNIT
|
4098
|
+
# * **UNIT**: A UNIT resolver type. A UNIT resolver is the default
|
3512
4099
|
# resolver type. You can use a UNIT resolver to run a GraphQL query
|
3513
4100
|
# against a single data source.
|
3514
4101
|
#
|
3515
|
-
# * **PIPELINE
|
4102
|
+
# * **PIPELINE**: A PIPELINE resolver type. You can use a PIPELINE
|
3516
4103
|
# resolver to invoke a series of `Function` objects in a serial
|
3517
4104
|
# manner. You can use a pipeline resolver to run a GraphQL query
|
3518
4105
|
# against multiple data sources.
|
@@ -3579,6 +4166,50 @@ module Aws::AppSync
|
|
3579
4166
|
include Aws::Structure
|
3580
4167
|
end
|
3581
4168
|
|
4169
|
+
# @!attribute [rw] association_id
|
4170
|
+
# The ID generated by the AppSync service for the source API
|
4171
|
+
# association.
|
4172
|
+
# @return [String]
|
4173
|
+
#
|
4174
|
+
# @!attribute [rw] merged_api_identifier
|
4175
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
4176
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
4177
|
+
# account) only require the API ID value or ARN of the merged API.
|
4178
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
4179
|
+
# strictly require the full resource ARN of the merged API.
|
4180
|
+
# @return [String]
|
4181
|
+
#
|
4182
|
+
# @!attribute [rw] description
|
4183
|
+
# The description field.
|
4184
|
+
# @return [String]
|
4185
|
+
#
|
4186
|
+
# @!attribute [rw] source_api_association_config
|
4187
|
+
# The `SourceApiAssociationConfig` object data.
|
4188
|
+
# @return [Types::SourceApiAssociationConfig]
|
4189
|
+
#
|
4190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociationRequest AWS API Documentation
|
4191
|
+
#
|
4192
|
+
class UpdateSourceApiAssociationRequest < Struct.new(
|
4193
|
+
:association_id,
|
4194
|
+
:merged_api_identifier,
|
4195
|
+
:description,
|
4196
|
+
:source_api_association_config)
|
4197
|
+
SENSITIVE = []
|
4198
|
+
include Aws::Structure
|
4199
|
+
end
|
4200
|
+
|
4201
|
+
# @!attribute [rw] source_api_association
|
4202
|
+
# The `SourceApiAssociation` object data.
|
4203
|
+
# @return [Types::SourceApiAssociation]
|
4204
|
+
#
|
4205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociationResponse AWS API Documentation
|
4206
|
+
#
|
4207
|
+
class UpdateSourceApiAssociationResponse < Struct.new(
|
4208
|
+
:source_api_association)
|
4209
|
+
SENSITIVE = []
|
4210
|
+
include Aws::Structure
|
4211
|
+
end
|
4212
|
+
|
3582
4213
|
# @!attribute [rw] api_id
|
3583
4214
|
# The API ID.
|
3584
4215
|
# @return [String]
|