aws-sdk-appsync 1.59.0 → 1.61.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 +515 -2
- data/lib/aws-sdk-appsync/client_api.rb +257 -0
- 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 +616 -6
- data/lib/aws-sdk-appsync.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f18a2ede5d0e8b99b5c5565d29fa37f805c46043ddcaa7072477a4e4d5a04cf9
|
4
|
+
data.tar.gz: cc7f1a4f8659fae9ba38edbeb8ad1604977513a56c04c852d53573db996a2d34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef77648dd9c3983439785ccd51f31a58aae217014713b8a09a5d247414ed5023cf954387046a0351e888899dcd7de0bbaaf3756c1efdb5b6be086367551c228a
|
7
|
+
data.tar.gz: f2e75b75c172a15880416d5ad931551e0dda1686143273b4b073b6437e8d49f37556e980a3ced50a332f3f5bdd1297044996e2161dda1116b11bbde977a0cacb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.60.0 (2023-05-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces AppSync Merged APIs, which provide the ability to compose multiple source APIs into a single federated/merged API.
|
13
|
+
|
4
14
|
1.59.0 (2023-05-03)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -275,6 +275,11 @@ module Aws::AppSync
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -403,6 +408,128 @@ module Aws::AppSync
|
|
403
408
|
req.send_request(options)
|
404
409
|
end
|
405
410
|
|
411
|
+
# Creates an association between a Merged API and source API using the
|
412
|
+
# source API's identifier.
|
413
|
+
#
|
414
|
+
# @option params [required, String] :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
|
+
#
|
421
|
+
# @option params [required, String] :merged_api_identifier
|
422
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
423
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
424
|
+
# account) only require the API ID value or ARN of the merged API.
|
425
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
426
|
+
# strictly require the full resource ARN of the merged API.
|
427
|
+
#
|
428
|
+
# @option params [String] :description
|
429
|
+
# The description field.
|
430
|
+
#
|
431
|
+
# @option params [Types::SourceApiAssociationConfig] :source_api_association_config
|
432
|
+
# The `SourceApiAssociationConfig` object data.
|
433
|
+
#
|
434
|
+
# @return [Types::AssociateMergedGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
435
|
+
#
|
436
|
+
# * {Types::AssociateMergedGraphqlApiResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
|
437
|
+
#
|
438
|
+
# @example Request syntax with placeholder values
|
439
|
+
#
|
440
|
+
# resp = client.associate_merged_graphql_api({
|
441
|
+
# source_api_identifier: "String", # required
|
442
|
+
# merged_api_identifier: "String", # required
|
443
|
+
# description: "String",
|
444
|
+
# source_api_association_config: {
|
445
|
+
# merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
|
446
|
+
# },
|
447
|
+
# })
|
448
|
+
#
|
449
|
+
# @example Response structure
|
450
|
+
#
|
451
|
+
# resp.source_api_association.association_id #=> String
|
452
|
+
# resp.source_api_association.association_arn #=> String
|
453
|
+
# resp.source_api_association.source_api_id #=> String
|
454
|
+
# resp.source_api_association.source_api_arn #=> String
|
455
|
+
# resp.source_api_association.merged_api_arn #=> String
|
456
|
+
# resp.source_api_association.merged_api_id #=> String
|
457
|
+
# resp.source_api_association.description #=> String
|
458
|
+
# resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
|
459
|
+
# resp.source_api_association.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
460
|
+
# resp.source_api_association.source_api_association_status_detail #=> String
|
461
|
+
# resp.source_api_association.last_successful_merge_date #=> Time
|
462
|
+
#
|
463
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi AWS API Documentation
|
464
|
+
#
|
465
|
+
# @overload associate_merged_graphql_api(params = {})
|
466
|
+
# @param [Hash] params ({})
|
467
|
+
def associate_merged_graphql_api(params = {}, options = {})
|
468
|
+
req = build_request(:associate_merged_graphql_api, params)
|
469
|
+
req.send_request(options)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Creates an association between a Merged API and source API using the
|
473
|
+
# Merged API's identifier.
|
474
|
+
#
|
475
|
+
# @option params [required, String] :merged_api_identifier
|
476
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
477
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
478
|
+
# account) only require the API ID value or ARN of the merged API.
|
479
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
480
|
+
# strictly require the full resource ARN of the merged API.
|
481
|
+
#
|
482
|
+
# @option params [required, String] :source_api_identifier
|
483
|
+
# The identifier of the AppSync Source API. This is generated by the
|
484
|
+
# AppSync service. In most cases, source APIs (especially in your
|
485
|
+
# account) only require the API ID value or ARN of the source API.
|
486
|
+
# However, source APIs from other accounts (cross-account use cases)
|
487
|
+
# strictly require the full resource ARN of the source API.
|
488
|
+
#
|
489
|
+
# @option params [String] :description
|
490
|
+
# The description field.
|
491
|
+
#
|
492
|
+
# @option params [Types::SourceApiAssociationConfig] :source_api_association_config
|
493
|
+
# The `SourceApiAssociationConfig` object data.
|
494
|
+
#
|
495
|
+
# @return [Types::AssociateSourceGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
496
|
+
#
|
497
|
+
# * {Types::AssociateSourceGraphqlApiResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
|
498
|
+
#
|
499
|
+
# @example Request syntax with placeholder values
|
500
|
+
#
|
501
|
+
# resp = client.associate_source_graphql_api({
|
502
|
+
# merged_api_identifier: "String", # required
|
503
|
+
# source_api_identifier: "String", # required
|
504
|
+
# description: "String",
|
505
|
+
# source_api_association_config: {
|
506
|
+
# merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
|
507
|
+
# },
|
508
|
+
# })
|
509
|
+
#
|
510
|
+
# @example Response structure
|
511
|
+
#
|
512
|
+
# resp.source_api_association.association_id #=> String
|
513
|
+
# resp.source_api_association.association_arn #=> String
|
514
|
+
# resp.source_api_association.source_api_id #=> String
|
515
|
+
# resp.source_api_association.source_api_arn #=> String
|
516
|
+
# resp.source_api_association.merged_api_arn #=> String
|
517
|
+
# resp.source_api_association.merged_api_id #=> String
|
518
|
+
# resp.source_api_association.description #=> String
|
519
|
+
# resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
|
520
|
+
# resp.source_api_association.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
521
|
+
# resp.source_api_association.source_api_association_status_detail #=> String
|
522
|
+
# resp.source_api_association.last_successful_merge_date #=> Time
|
523
|
+
#
|
524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi AWS API Documentation
|
525
|
+
#
|
526
|
+
# @overload associate_source_graphql_api(params = {})
|
527
|
+
# @param [Hash] params ({})
|
528
|
+
def associate_source_graphql_api(params = {}, options = {})
|
529
|
+
req = build_request(:associate_source_graphql_api, params)
|
530
|
+
req.send_request(options)
|
531
|
+
end
|
532
|
+
|
406
533
|
# Creates a cache for the GraphQL API.
|
407
534
|
#
|
408
535
|
# @option params [required, String] :api_id
|
@@ -873,6 +1000,23 @@ module Aws::AppSync
|
|
873
1000
|
# `GLOBAL` by default. This value cannot be changed once the API has
|
874
1001
|
# been created.
|
875
1002
|
#
|
1003
|
+
# @option params [String] :api_type
|
1004
|
+
# The value that indicates whether the GraphQL API is a standard API
|
1005
|
+
# (`GRAPHQL`) or merged API (`MERGED`).
|
1006
|
+
#
|
1007
|
+
# @option params [String] :merged_api_execution_role_arn
|
1008
|
+
# The Identity and Access Management service role ARN for a merged API.
|
1009
|
+
# The AppSync service assumes this role on behalf of the Merged API to
|
1010
|
+
# validate access to source APIs at runtime and to prompt the
|
1011
|
+
# `AUTO_MERGE` to update the merged API endpoint with the source API
|
1012
|
+
# changes automatically.
|
1013
|
+
#
|
1014
|
+
# @option params [String] :owner_contact
|
1015
|
+
# The owner contact information for an API resource.
|
1016
|
+
#
|
1017
|
+
# This field accepts any string input with a length of 0 - 256
|
1018
|
+
# characters.
|
1019
|
+
#
|
876
1020
|
# @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
877
1021
|
#
|
878
1022
|
# * {Types::CreateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
|
@@ -930,6 +1074,9 @@ module Aws::AppSync
|
|
930
1074
|
# identity_validation_expression: "String",
|
931
1075
|
# },
|
932
1076
|
# visibility: "GLOBAL", # accepts GLOBAL, PRIVATE
|
1077
|
+
# api_type: "GRAPHQL", # accepts GRAPHQL, MERGED
|
1078
|
+
# merged_api_execution_role_arn: "String",
|
1079
|
+
# owner_contact: "String",
|
933
1080
|
# })
|
934
1081
|
#
|
935
1082
|
# @example Response structure
|
@@ -973,6 +1120,10 @@ module Aws::AppSync
|
|
973
1120
|
# resp.graphql_api.dns #=> Hash
|
974
1121
|
# resp.graphql_api.dns["String"] #=> String
|
975
1122
|
# resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
|
1123
|
+
# resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
|
1124
|
+
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
1125
|
+
# resp.graphql_api.owner #=> String
|
1126
|
+
# resp.graphql_api.owner_contact #=> String
|
976
1127
|
#
|
977
1128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
|
978
1129
|
#
|
@@ -1386,6 +1537,82 @@ module Aws::AppSync
|
|
1386
1537
|
req.send_request(options)
|
1387
1538
|
end
|
1388
1539
|
|
1540
|
+
# Deletes an association between a Merged API and source API using the
|
1541
|
+
# source API's identifier and the association ID.
|
1542
|
+
#
|
1543
|
+
# @option params [required, String] :source_api_identifier
|
1544
|
+
# The identifier of the AppSync Source API. This is generated by the
|
1545
|
+
# AppSync service. In most cases, source APIs (especially in your
|
1546
|
+
# account) only require the API ID value or ARN of the source API.
|
1547
|
+
# However, source APIs from other accounts (cross-account use cases)
|
1548
|
+
# strictly require the full resource ARN of the source API.
|
1549
|
+
#
|
1550
|
+
# @option params [required, String] :association_id
|
1551
|
+
# The ID generated by the AppSync service for the source API
|
1552
|
+
# association.
|
1553
|
+
#
|
1554
|
+
# @return [Types::DisassociateMergedGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1555
|
+
#
|
1556
|
+
# * {Types::DisassociateMergedGraphqlApiResponse#source_api_association_status #source_api_association_status} => String
|
1557
|
+
#
|
1558
|
+
# @example Request syntax with placeholder values
|
1559
|
+
#
|
1560
|
+
# resp = client.disassociate_merged_graphql_api({
|
1561
|
+
# source_api_identifier: "String", # required
|
1562
|
+
# association_id: "String", # required
|
1563
|
+
# })
|
1564
|
+
#
|
1565
|
+
# @example Response structure
|
1566
|
+
#
|
1567
|
+
# resp.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
1568
|
+
#
|
1569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi AWS API Documentation
|
1570
|
+
#
|
1571
|
+
# @overload disassociate_merged_graphql_api(params = {})
|
1572
|
+
# @param [Hash] params ({})
|
1573
|
+
def disassociate_merged_graphql_api(params = {}, options = {})
|
1574
|
+
req = build_request(:disassociate_merged_graphql_api, params)
|
1575
|
+
req.send_request(options)
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
# Deletes an association between a Merged API and source API using the
|
1579
|
+
# Merged API's identifier and the association ID.
|
1580
|
+
#
|
1581
|
+
# @option params [required, String] :merged_api_identifier
|
1582
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
1583
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
1584
|
+
# account) only require the API ID value or ARN of the merged API.
|
1585
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
1586
|
+
# strictly require the full resource ARN of the merged API.
|
1587
|
+
#
|
1588
|
+
# @option params [required, String] :association_id
|
1589
|
+
# The ID generated by the AppSync service for the source API
|
1590
|
+
# association.
|
1591
|
+
#
|
1592
|
+
# @return [Types::DisassociateSourceGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1593
|
+
#
|
1594
|
+
# * {Types::DisassociateSourceGraphqlApiResponse#source_api_association_status #source_api_association_status} => String
|
1595
|
+
#
|
1596
|
+
# @example Request syntax with placeholder values
|
1597
|
+
#
|
1598
|
+
# resp = client.disassociate_source_graphql_api({
|
1599
|
+
# merged_api_identifier: "String", # required
|
1600
|
+
# association_id: "String", # required
|
1601
|
+
# })
|
1602
|
+
#
|
1603
|
+
# @example Response structure
|
1604
|
+
#
|
1605
|
+
# resp.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
1606
|
+
#
|
1607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi AWS API Documentation
|
1608
|
+
#
|
1609
|
+
# @overload disassociate_source_graphql_api(params = {})
|
1610
|
+
# @param [Hash] params ({})
|
1611
|
+
def disassociate_source_graphql_api(params = {}, options = {})
|
1612
|
+
req = build_request(:disassociate_source_graphql_api, params)
|
1613
|
+
req.send_request(options)
|
1614
|
+
end
|
1615
|
+
|
1389
1616
|
# Evaluates the given code and returns the response. The code definition
|
1390
1617
|
# requirements depend on the specified runtime. For `APPSYNC_JS`
|
1391
1618
|
# runtimes, the code defines the request and response functions. The
|
@@ -1779,6 +2006,10 @@ module Aws::AppSync
|
|
1779
2006
|
# resp.graphql_api.dns #=> Hash
|
1780
2007
|
# resp.graphql_api.dns["String"] #=> String
|
1781
2008
|
# resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
|
2009
|
+
# resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
|
2010
|
+
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
2011
|
+
# resp.graphql_api.owner #=> String
|
2012
|
+
# resp.graphql_api.owner_contact #=> String
|
1782
2013
|
#
|
1783
2014
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
|
1784
2015
|
#
|
@@ -1910,6 +2141,53 @@ module Aws::AppSync
|
|
1910
2141
|
req.send_request(options)
|
1911
2142
|
end
|
1912
2143
|
|
2144
|
+
# Retrieves a `SourceApiAssociation` object.
|
2145
|
+
#
|
2146
|
+
# @option params [required, String] :merged_api_identifier
|
2147
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
2148
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
2149
|
+
# account) only require the API ID value or ARN of the merged API.
|
2150
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
2151
|
+
# strictly require the full resource ARN of the merged API.
|
2152
|
+
#
|
2153
|
+
# @option params [required, String] :association_id
|
2154
|
+
# The ID generated by the AppSync service for the source API
|
2155
|
+
# association.
|
2156
|
+
#
|
2157
|
+
# @return [Types::GetSourceApiAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2158
|
+
#
|
2159
|
+
# * {Types::GetSourceApiAssociationResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
|
2160
|
+
#
|
2161
|
+
# @example Request syntax with placeholder values
|
2162
|
+
#
|
2163
|
+
# resp = client.get_source_api_association({
|
2164
|
+
# merged_api_identifier: "String", # required
|
2165
|
+
# association_id: "String", # required
|
2166
|
+
# })
|
2167
|
+
#
|
2168
|
+
# @example Response structure
|
2169
|
+
#
|
2170
|
+
# resp.source_api_association.association_id #=> String
|
2171
|
+
# resp.source_api_association.association_arn #=> String
|
2172
|
+
# resp.source_api_association.source_api_id #=> String
|
2173
|
+
# resp.source_api_association.source_api_arn #=> String
|
2174
|
+
# resp.source_api_association.merged_api_arn #=> String
|
2175
|
+
# resp.source_api_association.merged_api_id #=> String
|
2176
|
+
# resp.source_api_association.description #=> String
|
2177
|
+
# resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
|
2178
|
+
# resp.source_api_association.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
2179
|
+
# resp.source_api_association.source_api_association_status_detail #=> String
|
2180
|
+
# resp.source_api_association.last_successful_merge_date #=> Time
|
2181
|
+
#
|
2182
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation AWS API Documentation
|
2183
|
+
#
|
2184
|
+
# @overload get_source_api_association(params = {})
|
2185
|
+
# @param [Hash] params ({})
|
2186
|
+
def get_source_api_association(params = {}, options = {})
|
2187
|
+
req = build_request(:get_source_api_association, params)
|
2188
|
+
req.send_request(options)
|
2189
|
+
end
|
2190
|
+
|
1913
2191
|
# Retrieves a `Type` object.
|
1914
2192
|
#
|
1915
2193
|
# @option params [required, String] :api_id
|
@@ -2072,7 +2350,9 @@ module Aws::AppSync
|
|
2072
2350
|
# Lists multiple custom domain names.
|
2073
2351
|
#
|
2074
2352
|
# @option params [String] :next_token
|
2075
|
-
#
|
2353
|
+
# An identifier that was returned from the previous call to this
|
2354
|
+
# operation, which you can use to return the next set of items in the
|
2355
|
+
# list.
|
2076
2356
|
#
|
2077
2357
|
# @option params [Integer] :max_results
|
2078
2358
|
# The maximum number of results that you want the request to return.
|
@@ -2173,6 +2453,13 @@ module Aws::AppSync
|
|
2173
2453
|
# @option params [Integer] :max_results
|
2174
2454
|
# The maximum number of results that you want the request to return.
|
2175
2455
|
#
|
2456
|
+
# @option params [String] :api_type
|
2457
|
+
# The value that indicates whether the GraphQL API is a standard API
|
2458
|
+
# (`GRAPHQL`) or merged API (`MERGED`).
|
2459
|
+
#
|
2460
|
+
# @option params [String] :owner
|
2461
|
+
# The account owner of the GraphQL API.
|
2462
|
+
#
|
2176
2463
|
# @return [Types::ListGraphqlApisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2177
2464
|
#
|
2178
2465
|
# * {Types::ListGraphqlApisResponse#graphql_apis #graphql_apis} => Array<Types::GraphqlApi>
|
@@ -2183,6 +2470,8 @@ module Aws::AppSync
|
|
2183
2470
|
# resp = client.list_graphql_apis({
|
2184
2471
|
# next_token: "PaginationToken",
|
2185
2472
|
# max_results: 1,
|
2473
|
+
# api_type: "GRAPHQL", # accepts GRAPHQL, MERGED
|
2474
|
+
# owner: "CURRENT_ACCOUNT", # accepts CURRENT_ACCOUNT, OTHER_ACCOUNTS
|
2186
2475
|
# })
|
2187
2476
|
#
|
2188
2477
|
# @example Response structure
|
@@ -2227,6 +2516,10 @@ module Aws::AppSync
|
|
2227
2516
|
# resp.graphql_apis[0].dns #=> Hash
|
2228
2517
|
# resp.graphql_apis[0].dns["String"] #=> String
|
2229
2518
|
# resp.graphql_apis[0].visibility #=> String, one of "GLOBAL", "PRIVATE"
|
2519
|
+
# resp.graphql_apis[0].api_type #=> String, one of "GRAPHQL", "MERGED"
|
2520
|
+
# resp.graphql_apis[0].merged_api_execution_role_arn #=> String
|
2521
|
+
# resp.graphql_apis[0].owner #=> String
|
2522
|
+
# resp.graphql_apis[0].owner_contact #=> String
|
2230
2523
|
# resp.next_token #=> String
|
2231
2524
|
#
|
2232
2525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
|
@@ -2364,6 +2657,53 @@ module Aws::AppSync
|
|
2364
2657
|
req.send_request(options)
|
2365
2658
|
end
|
2366
2659
|
|
2660
|
+
# Lists the `SourceApiAssociationSummary` data.
|
2661
|
+
#
|
2662
|
+
# @option params [required, String] :api_id
|
2663
|
+
# The API ID.
|
2664
|
+
#
|
2665
|
+
# @option params [String] :next_token
|
2666
|
+
# An identifier that was returned from the previous call to this
|
2667
|
+
# operation, which you can use to return the next set of items in the
|
2668
|
+
# list.
|
2669
|
+
#
|
2670
|
+
# @option params [Integer] :max_results
|
2671
|
+
# The maximum number of results that you want the request to return.
|
2672
|
+
#
|
2673
|
+
# @return [Types::ListSourceApiAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2674
|
+
#
|
2675
|
+
# * {Types::ListSourceApiAssociationsResponse#source_api_association_summaries #source_api_association_summaries} => Array<Types::SourceApiAssociationSummary>
|
2676
|
+
# * {Types::ListSourceApiAssociationsResponse#next_token #next_token} => String
|
2677
|
+
#
|
2678
|
+
# @example Request syntax with placeholder values
|
2679
|
+
#
|
2680
|
+
# resp = client.list_source_api_associations({
|
2681
|
+
# api_id: "String", # required
|
2682
|
+
# next_token: "PaginationToken",
|
2683
|
+
# max_results: 1,
|
2684
|
+
# })
|
2685
|
+
#
|
2686
|
+
# @example Response structure
|
2687
|
+
#
|
2688
|
+
# resp.source_api_association_summaries #=> Array
|
2689
|
+
# resp.source_api_association_summaries[0].association_id #=> String
|
2690
|
+
# resp.source_api_association_summaries[0].association_arn #=> String
|
2691
|
+
# resp.source_api_association_summaries[0].source_api_id #=> String
|
2692
|
+
# resp.source_api_association_summaries[0].source_api_arn #=> String
|
2693
|
+
# resp.source_api_association_summaries[0].merged_api_id #=> String
|
2694
|
+
# resp.source_api_association_summaries[0].merged_api_arn #=> String
|
2695
|
+
# resp.source_api_association_summaries[0].description #=> String
|
2696
|
+
# resp.next_token #=> String
|
2697
|
+
#
|
2698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations AWS API Documentation
|
2699
|
+
#
|
2700
|
+
# @overload list_source_api_associations(params = {})
|
2701
|
+
# @param [Hash] params ({})
|
2702
|
+
def list_source_api_associations(params = {}, options = {})
|
2703
|
+
req = build_request(:list_source_api_associations, params)
|
2704
|
+
req.send_request(options)
|
2705
|
+
end
|
2706
|
+
|
2367
2707
|
# Lists the tags for a resource.
|
2368
2708
|
#
|
2369
2709
|
# @option params [required, String] :resource_arn
|
@@ -2442,6 +2782,64 @@ module Aws::AppSync
|
|
2442
2782
|
req.send_request(options)
|
2443
2783
|
end
|
2444
2784
|
|
2785
|
+
# Lists `Type` objects by the source API association ID.
|
2786
|
+
#
|
2787
|
+
# @option params [required, String] :merged_api_identifier
|
2788
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
2789
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
2790
|
+
# account) only require the API ID value or ARN of the merged API.
|
2791
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
2792
|
+
# strictly require the full resource ARN of the merged API.
|
2793
|
+
#
|
2794
|
+
# @option params [required, String] :association_id
|
2795
|
+
# The ID generated by the AppSync service for the source API
|
2796
|
+
# association.
|
2797
|
+
#
|
2798
|
+
# @option params [required, String] :format
|
2799
|
+
# The format type.
|
2800
|
+
#
|
2801
|
+
# @option params [String] :next_token
|
2802
|
+
# An identifier that was returned from the previous call to this
|
2803
|
+
# operation, which you can use to return the next set of items in the
|
2804
|
+
# list.
|
2805
|
+
#
|
2806
|
+
# @option params [Integer] :max_results
|
2807
|
+
# The maximum number of results that you want the request to return.
|
2808
|
+
#
|
2809
|
+
# @return [Types::ListTypesByAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2810
|
+
#
|
2811
|
+
# * {Types::ListTypesByAssociationResponse#types #types} => Array<Types::Type>
|
2812
|
+
# * {Types::ListTypesByAssociationResponse#next_token #next_token} => String
|
2813
|
+
#
|
2814
|
+
# @example Request syntax with placeholder values
|
2815
|
+
#
|
2816
|
+
# resp = client.list_types_by_association({
|
2817
|
+
# merged_api_identifier: "String", # required
|
2818
|
+
# association_id: "String", # required
|
2819
|
+
# format: "SDL", # required, accepts SDL, JSON
|
2820
|
+
# next_token: "PaginationToken",
|
2821
|
+
# max_results: 1,
|
2822
|
+
# })
|
2823
|
+
#
|
2824
|
+
# @example Response structure
|
2825
|
+
#
|
2826
|
+
# resp.types #=> Array
|
2827
|
+
# resp.types[0].name #=> String
|
2828
|
+
# resp.types[0].description #=> String
|
2829
|
+
# resp.types[0].arn #=> String
|
2830
|
+
# resp.types[0].definition #=> String
|
2831
|
+
# resp.types[0].format #=> String, one of "SDL", "JSON"
|
2832
|
+
# resp.next_token #=> String
|
2833
|
+
#
|
2834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation AWS API Documentation
|
2835
|
+
#
|
2836
|
+
# @overload list_types_by_association(params = {})
|
2837
|
+
# @param [Hash] params ({})
|
2838
|
+
def list_types_by_association(params = {}, options = {})
|
2839
|
+
req = build_request(:list_types_by_association, params)
|
2840
|
+
req.send_request(options)
|
2841
|
+
end
|
2842
|
+
|
2445
2843
|
# Adds a new schema to your GraphQL API.
|
2446
2844
|
#
|
2447
2845
|
# This operation is asynchronous. Use to determine when it has
|
@@ -2477,6 +2875,44 @@ module Aws::AppSync
|
|
2477
2875
|
req.send_request(options)
|
2478
2876
|
end
|
2479
2877
|
|
2878
|
+
# Initiates a merge operation. Returns a status that shows the result of
|
2879
|
+
# the merge operation.
|
2880
|
+
#
|
2881
|
+
# @option params [required, String] :association_id
|
2882
|
+
# The ID generated by the AppSync service for the source API
|
2883
|
+
# association.
|
2884
|
+
#
|
2885
|
+
# @option params [required, String] :merged_api_identifier
|
2886
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
2887
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
2888
|
+
# account) only require the API ID value or ARN of the merged API.
|
2889
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
2890
|
+
# strictly require the full resource ARN of the merged API.
|
2891
|
+
#
|
2892
|
+
# @return [Types::StartSchemaMergeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2893
|
+
#
|
2894
|
+
# * {Types::StartSchemaMergeResponse#source_api_association_status #source_api_association_status} => String
|
2895
|
+
#
|
2896
|
+
# @example Request syntax with placeholder values
|
2897
|
+
#
|
2898
|
+
# resp = client.start_schema_merge({
|
2899
|
+
# association_id: "String", # required
|
2900
|
+
# merged_api_identifier: "String", # required
|
2901
|
+
# })
|
2902
|
+
#
|
2903
|
+
# @example Response structure
|
2904
|
+
#
|
2905
|
+
# resp.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
2906
|
+
#
|
2907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge AWS API Documentation
|
2908
|
+
#
|
2909
|
+
# @overload start_schema_merge(params = {})
|
2910
|
+
# @param [Hash] params ({})
|
2911
|
+
def start_schema_merge(params = {}, options = {})
|
2912
|
+
req = build_request(:start_schema_merge, params)
|
2913
|
+
req.send_request(options)
|
2914
|
+
end
|
2915
|
+
|
2480
2916
|
# Tags a resource with user-supplied tags.
|
2481
2917
|
#
|
2482
2918
|
# @option params [required, String] :resource_arn
|
@@ -2981,6 +3417,19 @@ module Aws::AppSync
|
|
2981
3417
|
# @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
|
2982
3418
|
# Configuration for Lambda function authorization.
|
2983
3419
|
#
|
3420
|
+
# @option params [String] :merged_api_execution_role_arn
|
3421
|
+
# The Identity and Access Management service role ARN for a merged API.
|
3422
|
+
# The AppSync service assumes this role on behalf of the Merged API to
|
3423
|
+
# validate access to source APIs at runtime and to prompt the
|
3424
|
+
# `AUTO_MERGE` to update the merged API endpoint with the source API
|
3425
|
+
# changes automatically.
|
3426
|
+
#
|
3427
|
+
# @option params [String] :owner_contact
|
3428
|
+
# The owner contact information for an API resource.
|
3429
|
+
#
|
3430
|
+
# This field accepts any string input with a length of 0 - 256
|
3431
|
+
# characters.
|
3432
|
+
#
|
2984
3433
|
# @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2985
3434
|
#
|
2986
3435
|
# * {Types::UpdateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
|
@@ -3035,6 +3484,8 @@ module Aws::AppSync
|
|
3035
3484
|
# authorizer_uri: "String", # required
|
3036
3485
|
# identity_validation_expression: "String",
|
3037
3486
|
# },
|
3487
|
+
# merged_api_execution_role_arn: "String",
|
3488
|
+
# owner_contact: "String",
|
3038
3489
|
# })
|
3039
3490
|
#
|
3040
3491
|
# @example Response structure
|
@@ -3078,6 +3529,10 @@ module Aws::AppSync
|
|
3078
3529
|
# resp.graphql_api.dns #=> Hash
|
3079
3530
|
# resp.graphql_api.dns["String"] #=> String
|
3080
3531
|
# resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
|
3532
|
+
# resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
|
3533
|
+
# resp.graphql_api.merged_api_execution_role_arn #=> String
|
3534
|
+
# resp.graphql_api.owner #=> String
|
3535
|
+
# resp.graphql_api.owner_contact #=> String
|
3081
3536
|
#
|
3082
3537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
|
3083
3538
|
#
|
@@ -3218,6 +3673,64 @@ module Aws::AppSync
|
|
3218
3673
|
req.send_request(options)
|
3219
3674
|
end
|
3220
3675
|
|
3676
|
+
# Updates some of the configuration choices of a particular source API
|
3677
|
+
# association.
|
3678
|
+
#
|
3679
|
+
# @option params [required, String] :association_id
|
3680
|
+
# The ID generated by the AppSync service for the source API
|
3681
|
+
# association.
|
3682
|
+
#
|
3683
|
+
# @option params [required, String] :merged_api_identifier
|
3684
|
+
# The identifier of the AppSync Merged API. This is generated by the
|
3685
|
+
# AppSync service. In most cases, Merged APIs (especially in your
|
3686
|
+
# account) only require the API ID value or ARN of the merged API.
|
3687
|
+
# However, Merged APIs in other accounts (cross-account use cases)
|
3688
|
+
# strictly require the full resource ARN of the merged API.
|
3689
|
+
#
|
3690
|
+
# @option params [String] :description
|
3691
|
+
# The description field.
|
3692
|
+
#
|
3693
|
+
# @option params [Types::SourceApiAssociationConfig] :source_api_association_config
|
3694
|
+
# The `SourceApiAssociationConfig` object data.
|
3695
|
+
#
|
3696
|
+
# @return [Types::UpdateSourceApiAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3697
|
+
#
|
3698
|
+
# * {Types::UpdateSourceApiAssociationResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
|
3699
|
+
#
|
3700
|
+
# @example Request syntax with placeholder values
|
3701
|
+
#
|
3702
|
+
# resp = client.update_source_api_association({
|
3703
|
+
# association_id: "String", # required
|
3704
|
+
# merged_api_identifier: "String", # required
|
3705
|
+
# description: "String",
|
3706
|
+
# source_api_association_config: {
|
3707
|
+
# merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
|
3708
|
+
# },
|
3709
|
+
# })
|
3710
|
+
#
|
3711
|
+
# @example Response structure
|
3712
|
+
#
|
3713
|
+
# resp.source_api_association.association_id #=> String
|
3714
|
+
# resp.source_api_association.association_arn #=> String
|
3715
|
+
# resp.source_api_association.source_api_id #=> String
|
3716
|
+
# resp.source_api_association.source_api_arn #=> String
|
3717
|
+
# resp.source_api_association.merged_api_arn #=> String
|
3718
|
+
# resp.source_api_association.merged_api_id #=> String
|
3719
|
+
# resp.source_api_association.description #=> String
|
3720
|
+
# resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
|
3721
|
+
# resp.source_api_association.source_api_association_status #=> String, one of "MERGE_SCHEDULED", "MERGE_FAILED", "MERGE_SUCCESS", "MERGE_IN_PROGRESS", "AUTO_MERGE_SCHEDULE_FAILED", "DELETION_SCHEDULED", "DELETION_IN_PROGRESS", "DELETION_FAILED"
|
3722
|
+
# resp.source_api_association.source_api_association_status_detail #=> String
|
3723
|
+
# resp.source_api_association.last_successful_merge_date #=> Time
|
3724
|
+
#
|
3725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation AWS API Documentation
|
3726
|
+
#
|
3727
|
+
# @overload update_source_api_association(params = {})
|
3728
|
+
# @param [Hash] params ({})
|
3729
|
+
def update_source_api_association(params = {}, options = {})
|
3730
|
+
req = build_request(:update_source_api_association, params)
|
3731
|
+
req.send_request(options)
|
3732
|
+
end
|
3733
|
+
|
3221
3734
|
# Updates a `Type` object.
|
3222
3735
|
#
|
3223
3736
|
# @option params [required, String] :api_id
|
@@ -3275,7 +3788,7 @@ module Aws::AppSync
|
|
3275
3788
|
params: params,
|
3276
3789
|
config: config)
|
3277
3790
|
context[:gem_name] = 'aws-sdk-appsync'
|
3278
|
-
context[:gem_version] = '1.
|
3791
|
+
context[:gem_version] = '1.61.0'
|
3279
3792
|
Seahorse::Client::Request.new(handlers, context)
|
3280
3793
|
end
|
3281
3794
|
|