aws-sdk-appsync 1.59.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b98c5f7a4a8c494539e16fea659921fe7b3189c773ee26678ae967420791e92
4
- data.tar.gz: 9963279b0e8954ebb02ba1ff5f1b490a1774831d5c6d209be527df3cfb1173a5
3
+ metadata.gz: 0de47195a8421c9ca01e3af58efafe5dc7ae7f00e65d58e8b18316b039b8713f
4
+ data.tar.gz: ace8c1671e2b5df9443e326d04f037399ccf296e36953e353ff9a7c71fdb3d19
5
5
  SHA512:
6
- metadata.gz: a65daad5a465f3453ffe172436d81da76a49fc511eade0ee7a0580721ee552fb1e1077df3e30e51435f45f003e4ac2f1897c25cbe534afffb2ccbcabc98ac569
7
- data.tar.gz: 3861c7db7b55e1f487f84e419a7b13f24a100935de142c9433ae0f7f385cba5a4d6e7e055c78b26a86c4b922936cc7392d5316710b83a76dc34e5dccae812351
6
+ metadata.gz: a6260d907729f32ed4e268f8fc5f6cffa4e4a5387cf9b7c4dbb8564f43206dada406e48bfb8a0a7ea061f7f0270152ba22e9076b74d945d9538b8235248bddc3
7
+ data.tar.gz: 601d226f1254809fb71ad2381545a441c8e334871a9e194d937670fd9d739aefab95649eb23224da2ce11227ed0dda76d355ca9fddabb2affdee39883a817f53
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2023-05-24)
5
+ ------------------
6
+
7
+ * Feature - This release introduces AppSync Merged APIs, which provide the ability to compose multiple source APIs into a single federated/merged API.
8
+
4
9
  1.59.0 (2023-05-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -403,6 +403,128 @@ module Aws::AppSync
403
403
  req.send_request(options)
404
404
  end
405
405
 
406
+ # Creates an association between a Merged API and source API using the
407
+ # source API's identifier.
408
+ #
409
+ # @option params [required, String] :source_api_identifier
410
+ # The identifier of the AppSync Source API. This is generated by the
411
+ # AppSync service. In most cases, source APIs (especially in your
412
+ # account) only require the API ID value or ARN of the source API.
413
+ # However, source APIs from other accounts (cross-account use cases)
414
+ # strictly require the full resource ARN of the source API.
415
+ #
416
+ # @option params [required, String] :merged_api_identifier
417
+ # The identifier of the AppSync Merged API. This is generated by the
418
+ # AppSync service. In most cases, Merged APIs (especially in your
419
+ # account) only require the API ID value or ARN of the merged API.
420
+ # However, Merged APIs in other accounts (cross-account use cases)
421
+ # strictly require the full resource ARN of the merged API.
422
+ #
423
+ # @option params [String] :description
424
+ # The description field.
425
+ #
426
+ # @option params [Types::SourceApiAssociationConfig] :source_api_association_config
427
+ # The `SourceApiAssociationConfig` object data.
428
+ #
429
+ # @return [Types::AssociateMergedGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
430
+ #
431
+ # * {Types::AssociateMergedGraphqlApiResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
432
+ #
433
+ # @example Request syntax with placeholder values
434
+ #
435
+ # resp = client.associate_merged_graphql_api({
436
+ # source_api_identifier: "String", # required
437
+ # merged_api_identifier: "String", # required
438
+ # description: "String",
439
+ # source_api_association_config: {
440
+ # merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
441
+ # },
442
+ # })
443
+ #
444
+ # @example Response structure
445
+ #
446
+ # resp.source_api_association.association_id #=> String
447
+ # resp.source_api_association.association_arn #=> String
448
+ # resp.source_api_association.source_api_id #=> String
449
+ # resp.source_api_association.source_api_arn #=> String
450
+ # resp.source_api_association.merged_api_arn #=> String
451
+ # resp.source_api_association.merged_api_id #=> String
452
+ # resp.source_api_association.description #=> String
453
+ # resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
454
+ # 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"
455
+ # resp.source_api_association.source_api_association_status_detail #=> String
456
+ # resp.source_api_association.last_successful_merge_date #=> Time
457
+ #
458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateMergedGraphqlApi AWS API Documentation
459
+ #
460
+ # @overload associate_merged_graphql_api(params = {})
461
+ # @param [Hash] params ({})
462
+ def associate_merged_graphql_api(params = {}, options = {})
463
+ req = build_request(:associate_merged_graphql_api, params)
464
+ req.send_request(options)
465
+ end
466
+
467
+ # Creates an association between a Merged API and source API using the
468
+ # Merged API's identifier.
469
+ #
470
+ # @option params [required, String] :merged_api_identifier
471
+ # The identifier of the AppSync Merged API. This is generated by the
472
+ # AppSync service. In most cases, Merged APIs (especially in your
473
+ # account) only require the API ID value or ARN of the merged API.
474
+ # However, Merged APIs in other accounts (cross-account use cases)
475
+ # strictly require the full resource ARN of the merged API.
476
+ #
477
+ # @option params [required, String] :source_api_identifier
478
+ # The identifier of the AppSync Source API. This is generated by the
479
+ # AppSync service. In most cases, source APIs (especially in your
480
+ # account) only require the API ID value or ARN of the source API.
481
+ # However, source APIs from other accounts (cross-account use cases)
482
+ # strictly require the full resource ARN of the source API.
483
+ #
484
+ # @option params [String] :description
485
+ # The description field.
486
+ #
487
+ # @option params [Types::SourceApiAssociationConfig] :source_api_association_config
488
+ # The `SourceApiAssociationConfig` object data.
489
+ #
490
+ # @return [Types::AssociateSourceGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
491
+ #
492
+ # * {Types::AssociateSourceGraphqlApiResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
493
+ #
494
+ # @example Request syntax with placeholder values
495
+ #
496
+ # resp = client.associate_source_graphql_api({
497
+ # merged_api_identifier: "String", # required
498
+ # source_api_identifier: "String", # required
499
+ # description: "String",
500
+ # source_api_association_config: {
501
+ # merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
502
+ # },
503
+ # })
504
+ #
505
+ # @example Response structure
506
+ #
507
+ # resp.source_api_association.association_id #=> String
508
+ # resp.source_api_association.association_arn #=> String
509
+ # resp.source_api_association.source_api_id #=> String
510
+ # resp.source_api_association.source_api_arn #=> String
511
+ # resp.source_api_association.merged_api_arn #=> String
512
+ # resp.source_api_association.merged_api_id #=> String
513
+ # resp.source_api_association.description #=> String
514
+ # resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
515
+ # 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"
516
+ # resp.source_api_association.source_api_association_status_detail #=> String
517
+ # resp.source_api_association.last_successful_merge_date #=> Time
518
+ #
519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateSourceGraphqlApi AWS API Documentation
520
+ #
521
+ # @overload associate_source_graphql_api(params = {})
522
+ # @param [Hash] params ({})
523
+ def associate_source_graphql_api(params = {}, options = {})
524
+ req = build_request(:associate_source_graphql_api, params)
525
+ req.send_request(options)
526
+ end
527
+
406
528
  # Creates a cache for the GraphQL API.
407
529
  #
408
530
  # @option params [required, String] :api_id
@@ -873,6 +995,23 @@ module Aws::AppSync
873
995
  # `GLOBAL` by default. This value cannot be changed once the API has
874
996
  # been created.
875
997
  #
998
+ # @option params [String] :api_type
999
+ # The value that indicates whether the GraphQL API is a standard API
1000
+ # (`GRAPHQL`) or merged API (`MERGED`).
1001
+ #
1002
+ # @option params [String] :merged_api_execution_role_arn
1003
+ # The Identity and Access Management service role ARN for a merged API.
1004
+ # The AppSync service assumes this role on behalf of the Merged API to
1005
+ # validate access to source APIs at runtime and to prompt the
1006
+ # `AUTO_MERGE` to update the merged API endpoint with the source API
1007
+ # changes automatically.
1008
+ #
1009
+ # @option params [String] :owner_contact
1010
+ # The owner contact information for an API resource.
1011
+ #
1012
+ # This field accepts any string input with a length of 0 - 256
1013
+ # characters.
1014
+ #
876
1015
  # @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
1016
  #
878
1017
  # * {Types::CreateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -930,6 +1069,9 @@ module Aws::AppSync
930
1069
  # identity_validation_expression: "String",
931
1070
  # },
932
1071
  # visibility: "GLOBAL", # accepts GLOBAL, PRIVATE
1072
+ # api_type: "GRAPHQL", # accepts GRAPHQL, MERGED
1073
+ # merged_api_execution_role_arn: "String",
1074
+ # owner_contact: "String",
933
1075
  # })
934
1076
  #
935
1077
  # @example Response structure
@@ -973,6 +1115,10 @@ module Aws::AppSync
973
1115
  # resp.graphql_api.dns #=> Hash
974
1116
  # resp.graphql_api.dns["String"] #=> String
975
1117
  # resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
1118
+ # resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
1119
+ # resp.graphql_api.merged_api_execution_role_arn #=> String
1120
+ # resp.graphql_api.owner #=> String
1121
+ # resp.graphql_api.owner_contact #=> String
976
1122
  #
977
1123
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
978
1124
  #
@@ -1386,6 +1532,82 @@ module Aws::AppSync
1386
1532
  req.send_request(options)
1387
1533
  end
1388
1534
 
1535
+ # Deletes an association between a Merged API and source API using the
1536
+ # source API's identifier and the association ID.
1537
+ #
1538
+ # @option params [required, String] :source_api_identifier
1539
+ # The identifier of the AppSync Source API. This is generated by the
1540
+ # AppSync service. In most cases, source APIs (especially in your
1541
+ # account) only require the API ID value or ARN of the source API.
1542
+ # However, source APIs from other accounts (cross-account use cases)
1543
+ # strictly require the full resource ARN of the source API.
1544
+ #
1545
+ # @option params [required, String] :association_id
1546
+ # The ID generated by the AppSync service for the source API
1547
+ # association.
1548
+ #
1549
+ # @return [Types::DisassociateMergedGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1550
+ #
1551
+ # * {Types::DisassociateMergedGraphqlApiResponse#source_api_association_status #source_api_association_status} => String
1552
+ #
1553
+ # @example Request syntax with placeholder values
1554
+ #
1555
+ # resp = client.disassociate_merged_graphql_api({
1556
+ # source_api_identifier: "String", # required
1557
+ # association_id: "String", # required
1558
+ # })
1559
+ #
1560
+ # @example Response structure
1561
+ #
1562
+ # 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"
1563
+ #
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateMergedGraphqlApi AWS API Documentation
1565
+ #
1566
+ # @overload disassociate_merged_graphql_api(params = {})
1567
+ # @param [Hash] params ({})
1568
+ def disassociate_merged_graphql_api(params = {}, options = {})
1569
+ req = build_request(:disassociate_merged_graphql_api, params)
1570
+ req.send_request(options)
1571
+ end
1572
+
1573
+ # Deletes an association between a Merged API and source API using the
1574
+ # Merged API's identifier and the association ID.
1575
+ #
1576
+ # @option params [required, String] :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
+ #
1583
+ # @option params [required, String] :association_id
1584
+ # The ID generated by the AppSync service for the source API
1585
+ # association.
1586
+ #
1587
+ # @return [Types::DisassociateSourceGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1588
+ #
1589
+ # * {Types::DisassociateSourceGraphqlApiResponse#source_api_association_status #source_api_association_status} => String
1590
+ #
1591
+ # @example Request syntax with placeholder values
1592
+ #
1593
+ # resp = client.disassociate_source_graphql_api({
1594
+ # merged_api_identifier: "String", # required
1595
+ # association_id: "String", # required
1596
+ # })
1597
+ #
1598
+ # @example Response structure
1599
+ #
1600
+ # 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"
1601
+ #
1602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateSourceGraphqlApi AWS API Documentation
1603
+ #
1604
+ # @overload disassociate_source_graphql_api(params = {})
1605
+ # @param [Hash] params ({})
1606
+ def disassociate_source_graphql_api(params = {}, options = {})
1607
+ req = build_request(:disassociate_source_graphql_api, params)
1608
+ req.send_request(options)
1609
+ end
1610
+
1389
1611
  # Evaluates the given code and returns the response. The code definition
1390
1612
  # requirements depend on the specified runtime. For `APPSYNC_JS`
1391
1613
  # runtimes, the code defines the request and response functions. The
@@ -1779,6 +2001,10 @@ module Aws::AppSync
1779
2001
  # resp.graphql_api.dns #=> Hash
1780
2002
  # resp.graphql_api.dns["String"] #=> String
1781
2003
  # resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
2004
+ # resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
2005
+ # resp.graphql_api.merged_api_execution_role_arn #=> String
2006
+ # resp.graphql_api.owner #=> String
2007
+ # resp.graphql_api.owner_contact #=> String
1782
2008
  #
1783
2009
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
1784
2010
  #
@@ -1910,6 +2136,53 @@ module Aws::AppSync
1910
2136
  req.send_request(options)
1911
2137
  end
1912
2138
 
2139
+ # Retrieves a `SourceApiAssociation` object.
2140
+ #
2141
+ # @option params [required, String] :merged_api_identifier
2142
+ # The identifier of the AppSync Merged API. This is generated by the
2143
+ # AppSync service. In most cases, Merged APIs (especially in your
2144
+ # account) only require the API ID value or ARN of the merged API.
2145
+ # However, Merged APIs in other accounts (cross-account use cases)
2146
+ # strictly require the full resource ARN of the merged API.
2147
+ #
2148
+ # @option params [required, String] :association_id
2149
+ # The ID generated by the AppSync service for the source API
2150
+ # association.
2151
+ #
2152
+ # @return [Types::GetSourceApiAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2153
+ #
2154
+ # * {Types::GetSourceApiAssociationResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
2155
+ #
2156
+ # @example Request syntax with placeholder values
2157
+ #
2158
+ # resp = client.get_source_api_association({
2159
+ # merged_api_identifier: "String", # required
2160
+ # association_id: "String", # required
2161
+ # })
2162
+ #
2163
+ # @example Response structure
2164
+ #
2165
+ # resp.source_api_association.association_id #=> String
2166
+ # resp.source_api_association.association_arn #=> String
2167
+ # resp.source_api_association.source_api_id #=> String
2168
+ # resp.source_api_association.source_api_arn #=> String
2169
+ # resp.source_api_association.merged_api_arn #=> String
2170
+ # resp.source_api_association.merged_api_id #=> String
2171
+ # resp.source_api_association.description #=> String
2172
+ # resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
2173
+ # 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"
2174
+ # resp.source_api_association.source_api_association_status_detail #=> String
2175
+ # resp.source_api_association.last_successful_merge_date #=> Time
2176
+ #
2177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSourceApiAssociation AWS API Documentation
2178
+ #
2179
+ # @overload get_source_api_association(params = {})
2180
+ # @param [Hash] params ({})
2181
+ def get_source_api_association(params = {}, options = {})
2182
+ req = build_request(:get_source_api_association, params)
2183
+ req.send_request(options)
2184
+ end
2185
+
1913
2186
  # Retrieves a `Type` object.
1914
2187
  #
1915
2188
  # @option params [required, String] :api_id
@@ -2072,7 +2345,9 @@ module Aws::AppSync
2072
2345
  # Lists multiple custom domain names.
2073
2346
  #
2074
2347
  # @option params [String] :next_token
2075
- # The API token.
2348
+ # An identifier that was returned from the previous call to this
2349
+ # operation, which you can use to return the next set of items in the
2350
+ # list.
2076
2351
  #
2077
2352
  # @option params [Integer] :max_results
2078
2353
  # The maximum number of results that you want the request to return.
@@ -2173,6 +2448,13 @@ module Aws::AppSync
2173
2448
  # @option params [Integer] :max_results
2174
2449
  # The maximum number of results that you want the request to return.
2175
2450
  #
2451
+ # @option params [String] :api_type
2452
+ # The value that indicates whether the GraphQL API is a standard API
2453
+ # (`GRAPHQL`) or merged API (`MERGED`).
2454
+ #
2455
+ # @option params [String] :owner
2456
+ # The account owner of the GraphQL API.
2457
+ #
2176
2458
  # @return [Types::ListGraphqlApisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2177
2459
  #
2178
2460
  # * {Types::ListGraphqlApisResponse#graphql_apis #graphql_apis} => Array<Types::GraphqlApi>
@@ -2183,6 +2465,8 @@ module Aws::AppSync
2183
2465
  # resp = client.list_graphql_apis({
2184
2466
  # next_token: "PaginationToken",
2185
2467
  # max_results: 1,
2468
+ # api_type: "GRAPHQL", # accepts GRAPHQL, MERGED
2469
+ # owner: "CURRENT_ACCOUNT", # accepts CURRENT_ACCOUNT, OTHER_ACCOUNTS
2186
2470
  # })
2187
2471
  #
2188
2472
  # @example Response structure
@@ -2227,6 +2511,10 @@ module Aws::AppSync
2227
2511
  # resp.graphql_apis[0].dns #=> Hash
2228
2512
  # resp.graphql_apis[0].dns["String"] #=> String
2229
2513
  # resp.graphql_apis[0].visibility #=> String, one of "GLOBAL", "PRIVATE"
2514
+ # resp.graphql_apis[0].api_type #=> String, one of "GRAPHQL", "MERGED"
2515
+ # resp.graphql_apis[0].merged_api_execution_role_arn #=> String
2516
+ # resp.graphql_apis[0].owner #=> String
2517
+ # resp.graphql_apis[0].owner_contact #=> String
2230
2518
  # resp.next_token #=> String
2231
2519
  #
2232
2520
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
@@ -2364,6 +2652,53 @@ module Aws::AppSync
2364
2652
  req.send_request(options)
2365
2653
  end
2366
2654
 
2655
+ # Lists the `SourceApiAssociationSummary` data.
2656
+ #
2657
+ # @option params [required, String] :api_id
2658
+ # The API ID.
2659
+ #
2660
+ # @option params [String] :next_token
2661
+ # An identifier that was returned from the previous call to this
2662
+ # operation, which you can use to return the next set of items in the
2663
+ # list.
2664
+ #
2665
+ # @option params [Integer] :max_results
2666
+ # The maximum number of results that you want the request to return.
2667
+ #
2668
+ # @return [Types::ListSourceApiAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2669
+ #
2670
+ # * {Types::ListSourceApiAssociationsResponse#source_api_association_summaries #source_api_association_summaries} => Array<Types::SourceApiAssociationSummary>
2671
+ # * {Types::ListSourceApiAssociationsResponse#next_token #next_token} => String
2672
+ #
2673
+ # @example Request syntax with placeholder values
2674
+ #
2675
+ # resp = client.list_source_api_associations({
2676
+ # api_id: "String", # required
2677
+ # next_token: "PaginationToken",
2678
+ # max_results: 1,
2679
+ # })
2680
+ #
2681
+ # @example Response structure
2682
+ #
2683
+ # resp.source_api_association_summaries #=> Array
2684
+ # resp.source_api_association_summaries[0].association_id #=> String
2685
+ # resp.source_api_association_summaries[0].association_arn #=> String
2686
+ # resp.source_api_association_summaries[0].source_api_id #=> String
2687
+ # resp.source_api_association_summaries[0].source_api_arn #=> String
2688
+ # resp.source_api_association_summaries[0].merged_api_id #=> String
2689
+ # resp.source_api_association_summaries[0].merged_api_arn #=> String
2690
+ # resp.source_api_association_summaries[0].description #=> String
2691
+ # resp.next_token #=> String
2692
+ #
2693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListSourceApiAssociations AWS API Documentation
2694
+ #
2695
+ # @overload list_source_api_associations(params = {})
2696
+ # @param [Hash] params ({})
2697
+ def list_source_api_associations(params = {}, options = {})
2698
+ req = build_request(:list_source_api_associations, params)
2699
+ req.send_request(options)
2700
+ end
2701
+
2367
2702
  # Lists the tags for a resource.
2368
2703
  #
2369
2704
  # @option params [required, String] :resource_arn
@@ -2442,6 +2777,64 @@ module Aws::AppSync
2442
2777
  req.send_request(options)
2443
2778
  end
2444
2779
 
2780
+ # Lists `Type` objects by the source API association ID.
2781
+ #
2782
+ # @option params [required, String] :merged_api_identifier
2783
+ # The identifier of the AppSync Merged API. This is generated by the
2784
+ # AppSync service. In most cases, Merged APIs (especially in your
2785
+ # account) only require the API ID value or ARN of the merged API.
2786
+ # However, Merged APIs in other accounts (cross-account use cases)
2787
+ # strictly require the full resource ARN of the merged API.
2788
+ #
2789
+ # @option params [required, String] :association_id
2790
+ # The ID generated by the AppSync service for the source API
2791
+ # association.
2792
+ #
2793
+ # @option params [required, String] :format
2794
+ # The format type.
2795
+ #
2796
+ # @option params [String] :next_token
2797
+ # An identifier that was returned from the previous call to this
2798
+ # operation, which you can use to return the next set of items in the
2799
+ # list.
2800
+ #
2801
+ # @option params [Integer] :max_results
2802
+ # The maximum number of results that you want the request to return.
2803
+ #
2804
+ # @return [Types::ListTypesByAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2805
+ #
2806
+ # * {Types::ListTypesByAssociationResponse#types #types} => Array<Types::Type>
2807
+ # * {Types::ListTypesByAssociationResponse#next_token #next_token} => String
2808
+ #
2809
+ # @example Request syntax with placeholder values
2810
+ #
2811
+ # resp = client.list_types_by_association({
2812
+ # merged_api_identifier: "String", # required
2813
+ # association_id: "String", # required
2814
+ # format: "SDL", # required, accepts SDL, JSON
2815
+ # next_token: "PaginationToken",
2816
+ # max_results: 1,
2817
+ # })
2818
+ #
2819
+ # @example Response structure
2820
+ #
2821
+ # resp.types #=> Array
2822
+ # resp.types[0].name #=> String
2823
+ # resp.types[0].description #=> String
2824
+ # resp.types[0].arn #=> String
2825
+ # resp.types[0].definition #=> String
2826
+ # resp.types[0].format #=> String, one of "SDL", "JSON"
2827
+ # resp.next_token #=> String
2828
+ #
2829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesByAssociation AWS API Documentation
2830
+ #
2831
+ # @overload list_types_by_association(params = {})
2832
+ # @param [Hash] params ({})
2833
+ def list_types_by_association(params = {}, options = {})
2834
+ req = build_request(:list_types_by_association, params)
2835
+ req.send_request(options)
2836
+ end
2837
+
2445
2838
  # Adds a new schema to your GraphQL API.
2446
2839
  #
2447
2840
  # This operation is asynchronous. Use to determine when it has
@@ -2477,6 +2870,44 @@ module Aws::AppSync
2477
2870
  req.send_request(options)
2478
2871
  end
2479
2872
 
2873
+ # Initiates a merge operation. Returns a status that shows the result of
2874
+ # the merge operation.
2875
+ #
2876
+ # @option params [required, String] :association_id
2877
+ # The ID generated by the AppSync service for the source API
2878
+ # association.
2879
+ #
2880
+ # @option params [required, String] :merged_api_identifier
2881
+ # The identifier of the AppSync Merged API. This is generated by the
2882
+ # AppSync service. In most cases, Merged APIs (especially in your
2883
+ # account) only require the API ID value or ARN of the merged API.
2884
+ # However, Merged APIs in other accounts (cross-account use cases)
2885
+ # strictly require the full resource ARN of the merged API.
2886
+ #
2887
+ # @return [Types::StartSchemaMergeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2888
+ #
2889
+ # * {Types::StartSchemaMergeResponse#source_api_association_status #source_api_association_status} => String
2890
+ #
2891
+ # @example Request syntax with placeholder values
2892
+ #
2893
+ # resp = client.start_schema_merge({
2894
+ # association_id: "String", # required
2895
+ # merged_api_identifier: "String", # required
2896
+ # })
2897
+ #
2898
+ # @example Response structure
2899
+ #
2900
+ # 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"
2901
+ #
2902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaMerge AWS API Documentation
2903
+ #
2904
+ # @overload start_schema_merge(params = {})
2905
+ # @param [Hash] params ({})
2906
+ def start_schema_merge(params = {}, options = {})
2907
+ req = build_request(:start_schema_merge, params)
2908
+ req.send_request(options)
2909
+ end
2910
+
2480
2911
  # Tags a resource with user-supplied tags.
2481
2912
  #
2482
2913
  # @option params [required, String] :resource_arn
@@ -2981,6 +3412,19 @@ module Aws::AppSync
2981
3412
  # @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
2982
3413
  # Configuration for Lambda function authorization.
2983
3414
  #
3415
+ # @option params [String] :merged_api_execution_role_arn
3416
+ # The Identity and Access Management service role ARN for a merged API.
3417
+ # The AppSync service assumes this role on behalf of the Merged API to
3418
+ # validate access to source APIs at runtime and to prompt the
3419
+ # `AUTO_MERGE` to update the merged API endpoint with the source API
3420
+ # changes automatically.
3421
+ #
3422
+ # @option params [String] :owner_contact
3423
+ # The owner contact information for an API resource.
3424
+ #
3425
+ # This field accepts any string input with a length of 0 - 256
3426
+ # characters.
3427
+ #
2984
3428
  # @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2985
3429
  #
2986
3430
  # * {Types::UpdateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -3035,6 +3479,8 @@ module Aws::AppSync
3035
3479
  # authorizer_uri: "String", # required
3036
3480
  # identity_validation_expression: "String",
3037
3481
  # },
3482
+ # merged_api_execution_role_arn: "String",
3483
+ # owner_contact: "String",
3038
3484
  # })
3039
3485
  #
3040
3486
  # @example Response structure
@@ -3078,6 +3524,10 @@ module Aws::AppSync
3078
3524
  # resp.graphql_api.dns #=> Hash
3079
3525
  # resp.graphql_api.dns["String"] #=> String
3080
3526
  # resp.graphql_api.visibility #=> String, one of "GLOBAL", "PRIVATE"
3527
+ # resp.graphql_api.api_type #=> String, one of "GRAPHQL", "MERGED"
3528
+ # resp.graphql_api.merged_api_execution_role_arn #=> String
3529
+ # resp.graphql_api.owner #=> String
3530
+ # resp.graphql_api.owner_contact #=> String
3081
3531
  #
3082
3532
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
3083
3533
  #
@@ -3218,6 +3668,64 @@ module Aws::AppSync
3218
3668
  req.send_request(options)
3219
3669
  end
3220
3670
 
3671
+ # Updates some of the configuration choices of a particular source API
3672
+ # association.
3673
+ #
3674
+ # @option params [required, String] :association_id
3675
+ # The ID generated by the AppSync service for the source API
3676
+ # association.
3677
+ #
3678
+ # @option params [required, String] :merged_api_identifier
3679
+ # The identifier of the AppSync Merged API. This is generated by the
3680
+ # AppSync service. In most cases, Merged APIs (especially in your
3681
+ # account) only require the API ID value or ARN of the merged API.
3682
+ # However, Merged APIs in other accounts (cross-account use cases)
3683
+ # strictly require the full resource ARN of the merged API.
3684
+ #
3685
+ # @option params [String] :description
3686
+ # The description field.
3687
+ #
3688
+ # @option params [Types::SourceApiAssociationConfig] :source_api_association_config
3689
+ # The `SourceApiAssociationConfig` object data.
3690
+ #
3691
+ # @return [Types::UpdateSourceApiAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3692
+ #
3693
+ # * {Types::UpdateSourceApiAssociationResponse#source_api_association #source_api_association} => Types::SourceApiAssociation
3694
+ #
3695
+ # @example Request syntax with placeholder values
3696
+ #
3697
+ # resp = client.update_source_api_association({
3698
+ # association_id: "String", # required
3699
+ # merged_api_identifier: "String", # required
3700
+ # description: "String",
3701
+ # source_api_association_config: {
3702
+ # merge_type: "MANUAL_MERGE", # accepts MANUAL_MERGE, AUTO_MERGE
3703
+ # },
3704
+ # })
3705
+ #
3706
+ # @example Response structure
3707
+ #
3708
+ # resp.source_api_association.association_id #=> String
3709
+ # resp.source_api_association.association_arn #=> String
3710
+ # resp.source_api_association.source_api_id #=> String
3711
+ # resp.source_api_association.source_api_arn #=> String
3712
+ # resp.source_api_association.merged_api_arn #=> String
3713
+ # resp.source_api_association.merged_api_id #=> String
3714
+ # resp.source_api_association.description #=> String
3715
+ # resp.source_api_association.source_api_association_config.merge_type #=> String, one of "MANUAL_MERGE", "AUTO_MERGE"
3716
+ # 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"
3717
+ # resp.source_api_association.source_api_association_status_detail #=> String
3718
+ # resp.source_api_association.last_successful_merge_date #=> Time
3719
+ #
3720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateSourceApiAssociation AWS API Documentation
3721
+ #
3722
+ # @overload update_source_api_association(params = {})
3723
+ # @param [Hash] params ({})
3724
+ def update_source_api_association(params = {}, options = {})
3725
+ req = build_request(:update_source_api_association, params)
3726
+ req.send_request(options)
3727
+ end
3728
+
3221
3729
  # Updates a `Type` object.
3222
3730
  #
3223
3731
  # @option params [required, String] :api_id
@@ -3275,7 +3783,7 @@ module Aws::AppSync
3275
3783
  params: params,
3276
3784
  config: config)
3277
3785
  context[:gem_name] = 'aws-sdk-appsync'
3278
- context[:gem_version] = '1.59.0'
3786
+ context[:gem_version] = '1.60.0'
3279
3787
  Seahorse::Client::Request.new(handlers, context)
3280
3788
  end
3281
3789