aws-sdk-appsync 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +510 -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 +2 -2
@@ -356,6 +356,100 @@ 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
|
#
|
@@ -949,6 +1043,26 @@ module Aws::AppSync
|
|
949
1043
|
# been created.
|
950
1044
|
# @return [String]
|
951
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
|
+
#
|
952
1066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
|
953
1067
|
#
|
954
1068
|
class CreateGraphqlApiRequest < Struct.new(
|
@@ -961,7 +1075,10 @@ module Aws::AppSync
|
|
961
1075
|
:additional_authentication_providers,
|
962
1076
|
:xray_enabled,
|
963
1077
|
:lambda_authorizer_config,
|
964
|
-
:visibility
|
1078
|
+
:visibility,
|
1079
|
+
:api_type,
|
1080
|
+
:merged_api_execution_role_arn,
|
1081
|
+
:owner_contact)
|
965
1082
|
SENSITIVE = []
|
966
1083
|
include Aws::Structure
|
967
1084
|
end
|
@@ -1422,6 +1539,74 @@ module Aws::AppSync
|
|
1422
1539
|
#
|
1423
1540
|
class DisassociateApiResponse < Aws::EmptyStructure; end
|
1424
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
|
+
|
1425
1610
|
# Describes a configuration for a custom domain.
|
1426
1611
|
#
|
1427
1612
|
# @!attribute [rw] domain_name
|
@@ -2032,6 +2217,40 @@ module Aws::AppSync
|
|
2032
2217
|
include Aws::Structure
|
2033
2218
|
end
|
2034
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
|
+
|
2035
2254
|
# @!attribute [rw] api_id
|
2036
2255
|
# The API ID.
|
2037
2256
|
# @return [String]
|
@@ -2147,6 +2366,30 @@ module Aws::AppSync
|
|
2147
2366
|
# been created.
|
2148
2367
|
# @return [String]
|
2149
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
|
+
#
|
2150
2393
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
2151
2394
|
#
|
2152
2395
|
class GraphqlApi < Struct.new(
|
@@ -2164,7 +2407,11 @@ module Aws::AppSync
|
|
2164
2407
|
:waf_web_acl_arn,
|
2165
2408
|
:lambda_authorizer_config,
|
2166
2409
|
:dns,
|
2167
|
-
:visibility
|
2410
|
+
:visibility,
|
2411
|
+
:api_type,
|
2412
|
+
:merged_api_execution_role_arn,
|
2413
|
+
:owner,
|
2414
|
+
:owner_contact)
|
2168
2415
|
SENSITIVE = []
|
2169
2416
|
include Aws::Structure
|
2170
2417
|
end
|
@@ -2376,7 +2623,9 @@ module Aws::AppSync
|
|
2376
2623
|
end
|
2377
2624
|
|
2378
2625
|
# @!attribute [rw] next_token
|
2379
|
-
#
|
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.
|
2380
2629
|
# @return [String]
|
2381
2630
|
#
|
2382
2631
|
# @!attribute [rw] max_results
|
@@ -2397,7 +2646,9 @@ module Aws::AppSync
|
|
2397
2646
|
# @return [Array<Types::DomainNameConfig>]
|
2398
2647
|
#
|
2399
2648
|
# @!attribute [rw] next_token
|
2400
|
-
#
|
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.
|
2401
2652
|
# @return [String]
|
2402
2653
|
#
|
2403
2654
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNamesResponse AWS API Documentation
|
@@ -2462,11 +2713,22 @@ module Aws::AppSync
|
|
2462
2713
|
# The maximum number of results that you want the request to return.
|
2463
2714
|
# @return [Integer]
|
2464
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
|
+
#
|
2465
2725
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest AWS API Documentation
|
2466
2726
|
#
|
2467
2727
|
class ListGraphqlApisRequest < Struct.new(
|
2468
2728
|
:next_token,
|
2469
|
-
:max_results
|
2729
|
+
:max_results,
|
2730
|
+
:api_type,
|
2731
|
+
:owner)
|
2470
2732
|
SENSITIVE = []
|
2471
2733
|
include Aws::Structure
|
2472
2734
|
end
|
@@ -2583,6 +2845,49 @@ module Aws::AppSync
|
|
2583
2845
|
include Aws::Structure
|
2584
2846
|
end
|
2585
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
|
+
|
2586
2891
|
# @!attribute [rw] resource_arn
|
2587
2892
|
# The `GraphqlApi` Amazon Resource Name (ARN).
|
2588
2893
|
# @return [String]
|
@@ -2607,6 +2912,64 @@ module Aws::AppSync
|
|
2607
2912
|
include Aws::Structure
|
2608
2913
|
end
|
2609
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
|
+
|
2610
2973
|
# @!attribute [rw] api_id
|
2611
2974
|
# The API ID.
|
2612
2975
|
# @return [String]
|
@@ -2932,6 +3295,158 @@ module Aws::AppSync
|
|
2932
3295
|
include Aws::Structure
|
2933
3296
|
end
|
2934
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
|
+
|
2935
3450
|
# @!attribute [rw] api_id
|
2936
3451
|
# The API ID.
|
2937
3452
|
# @return [String]
|
@@ -2963,6 +3478,40 @@ module Aws::AppSync
|
|
2963
3478
|
include Aws::Structure
|
2964
3479
|
end
|
2965
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
|
+
|
2966
3515
|
# Describes a Sync configuration for a resolver.
|
2967
3516
|
#
|
2968
3517
|
# Specifies which Conflict Detection strategy and Resolution strategy to
|
@@ -3466,6 +4015,21 @@ module Aws::AppSync
|
|
3466
4015
|
# Configuration for Lambda function authorization.
|
3467
4016
|
# @return [Types::LambdaAuthorizerConfig]
|
3468
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
|
+
#
|
3469
4033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
|
3470
4034
|
#
|
3471
4035
|
class UpdateGraphqlApiRequest < Struct.new(
|
@@ -3477,7 +4041,9 @@ module Aws::AppSync
|
|
3477
4041
|
:open_id_connect_config,
|
3478
4042
|
:additional_authentication_providers,
|
3479
4043
|
:xray_enabled,
|
3480
|
-
:lambda_authorizer_config
|
4044
|
+
:lambda_authorizer_config,
|
4045
|
+
:merged_api_execution_role_arn,
|
4046
|
+
:owner_contact)
|
3481
4047
|
SENSITIVE = []
|
3482
4048
|
include Aws::Structure
|
3483
4049
|
end
|
@@ -3600,6 +4166,50 @@ module Aws::AppSync
|
|
3600
4166
|
include Aws::Structure
|
3601
4167
|
end
|
3602
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
|
+
|
3603
4213
|
# @!attribute [rw] api_id
|
3604
4214
|
# The API ID.
|
3605
4215
|
# @return [String]
|