@aws-sdk/client-appsync 3.338.0 → 3.341.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.
Files changed (60) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/AppSync.js +18 -0
  3. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
  4. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
  5. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
  6. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
  7. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
  8. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
  9. package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
  10. package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
  11. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +35 -13
  14. package/dist-cjs/protocols/Aws_restJson1.js +652 -16
  15. package/dist-es/AppSync.js +18 -0
  16. package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
  17. package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
  18. package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
  19. package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
  20. package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
  21. package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
  22. package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
  23. package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
  24. package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
  25. package/dist-es/commands/index.js +9 -0
  26. package/dist-es/models/models_0.js +32 -10
  27. package/dist-es/protocols/Aws_restJson1.js +632 -14
  28. package/dist-types/AppSync.d.ts +63 -0
  29. package/dist-types/AppSyncClient.d.ts +11 -2
  30. package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
  31. package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
  32. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +7 -0
  33. package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
  34. package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
  35. package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -0
  36. package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
  37. package/dist-types/commands/ListGraphqlApisCommand.d.ts +6 -0
  38. package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
  40. package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
  41. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +6 -0
  42. package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
  43. package/dist-types/commands/index.d.ts +9 -0
  44. package/dist-types/models/models_0.d.ts +516 -39
  45. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  46. package/dist-types/ts3.4/AppSync.d.ts +153 -0
  47. package/dist-types/ts3.4/AppSyncClient.d.ts +54 -0
  48. package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +163 -24
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  60. package/package.json +28 -28
@@ -668,6 +668,209 @@ export declare class NotFoundException extends __BaseException {
668
668
  */
669
669
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
670
670
  }
671
+ /**
672
+ * @public
673
+ * @enum
674
+ */
675
+ export declare const MergeType: {
676
+ readonly AUTO_MERGE: "AUTO_MERGE";
677
+ readonly MANUAL_MERGE: "MANUAL_MERGE";
678
+ };
679
+ /**
680
+ * @public
681
+ */
682
+ export type MergeType = (typeof MergeType)[keyof typeof MergeType];
683
+ /**
684
+ * @public
685
+ * <p>Describes properties used to specify configurations related to a source API.</p>
686
+ */
687
+ export interface SourceApiAssociationConfig {
688
+ /**
689
+ * <p>The property that indicates which merging option is enabled in the source API association.</p>
690
+ * <p>Valid merge types are <code>MANUAL_MERGE</code> (default) and <code>AUTO_MERGE</code>. Manual merges are the
691
+ * default behavior and require the user to trigger any changes from the source APIs to the merged API manually.
692
+ * Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the
693
+ * source APIs are also made to the merged API. Auto merges use <code>MergedApiExecutionRoleArn</code> to perform
694
+ * merge operations.</p>
695
+ */
696
+ mergeType?: MergeType | string;
697
+ }
698
+ /**
699
+ * @public
700
+ */
701
+ export interface AssociateMergedGraphqlApiRequest {
702
+ /**
703
+ * <p>The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source
704
+ * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs
705
+ * from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.</p>
706
+ */
707
+ sourceApiIdentifier: string | undefined;
708
+ /**
709
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
710
+ */
711
+ mergedApiIdentifier: string | undefined;
712
+ /**
713
+ * <p>The description field.</p>
714
+ */
715
+ description?: string;
716
+ /**
717
+ * <p>The <code>SourceApiAssociationConfig</code> object data.</p>
718
+ */
719
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
720
+ }
721
+ /**
722
+ * @public
723
+ * @enum
724
+ */
725
+ export declare const SourceApiAssociationStatus: {
726
+ readonly AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED";
727
+ readonly DELETION_FAILED: "DELETION_FAILED";
728
+ readonly DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS";
729
+ readonly DELETION_SCHEDULED: "DELETION_SCHEDULED";
730
+ readonly MERGE_FAILED: "MERGE_FAILED";
731
+ readonly MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS";
732
+ readonly MERGE_SCHEDULED: "MERGE_SCHEDULED";
733
+ readonly MERGE_SUCCESS: "MERGE_SUCCESS";
734
+ };
735
+ /**
736
+ * @public
737
+ */
738
+ export type SourceApiAssociationStatus = (typeof SourceApiAssociationStatus)[keyof typeof SourceApiAssociationStatus];
739
+ /**
740
+ * @public
741
+ * <p>Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API.
742
+ * There can be multiple source APIs attached to each merged API.
743
+ * When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API.
744
+ * </p>
745
+ * <p>Source APIs can originate from your account or from other accounts via Amazon Web Services Resource Access Manager. For more
746
+ * information about sharing resources from other accounts, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">What is Amazon Web Services Resource Access
747
+ * Manager?</a> in the <i>Amazon Web Services Resource Access Manager</i> guide.</p>
748
+ */
749
+ export interface SourceApiAssociation {
750
+ /**
751
+ * <p>The ID generated by the AppSync service for the source API association.</p>
752
+ */
753
+ associationId?: string;
754
+ /**
755
+ * <p>The Amazon Resource Name (ARN) of the source API association.</p>
756
+ */
757
+ associationArn?: string;
758
+ /**
759
+ * <p>The ID of the AppSync source API.</p>
760
+ */
761
+ sourceApiId?: string;
762
+ /**
763
+ * <p>The Amazon Resource Name (ARN) of the AppSync source API.</p>
764
+ */
765
+ sourceApiArn?: string;
766
+ /**
767
+ * <p>The Amazon Resource Name (ARN) of the AppSync Merged API.</p>
768
+ */
769
+ mergedApiArn?: string;
770
+ /**
771
+ * <p>The ID of the AppSync Merged API.</p>
772
+ */
773
+ mergedApiId?: string;
774
+ /**
775
+ * <p>The description field.</p>
776
+ */
777
+ description?: string;
778
+ /**
779
+ * <p>The <code>SourceApiAssociationConfig</code> object data.</p>
780
+ */
781
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
782
+ /**
783
+ * <p>The state of the source API association.</p>
784
+ */
785
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
786
+ /**
787
+ * <p>The detailed message related to the current state of the source API association.</p>
788
+ */
789
+ sourceApiAssociationStatusDetail?: string;
790
+ /**
791
+ * <p>The datetime value of the last successful merge of the source API association. The result will be in UTC
792
+ * format and your local time zone.</p>
793
+ */
794
+ lastSuccessfulMergeDate?: Date;
795
+ }
796
+ /**
797
+ * @public
798
+ */
799
+ export interface AssociateMergedGraphqlApiResponse {
800
+ /**
801
+ * <p>The <code>SourceApiAssociation</code> object data.</p>
802
+ */
803
+ sourceApiAssociation?: SourceApiAssociation;
804
+ }
805
+ /**
806
+ * @public
807
+ * <p>Another modification is in progress at this time and it must complete before you can
808
+ * make your change.</p>
809
+ */
810
+ export declare class ConcurrentModificationException extends __BaseException {
811
+ readonly name: "ConcurrentModificationException";
812
+ readonly $fault: "client";
813
+ /**
814
+ * @internal
815
+ */
816
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
817
+ }
818
+ /**
819
+ * @public
820
+ * <p>The request exceeded a limit. Try your request again.</p>
821
+ */
822
+ export declare class LimitExceededException extends __BaseException {
823
+ readonly name: "LimitExceededException";
824
+ readonly $fault: "client";
825
+ /**
826
+ * @internal
827
+ */
828
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
829
+ }
830
+ /**
831
+ * @public
832
+ * <p>You aren't authorized to perform this operation.</p>
833
+ */
834
+ export declare class UnauthorizedException extends __BaseException {
835
+ readonly name: "UnauthorizedException";
836
+ readonly $fault: "client";
837
+ /**
838
+ * @internal
839
+ */
840
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
841
+ }
842
+ /**
843
+ * @public
844
+ */
845
+ export interface AssociateSourceGraphqlApiRequest {
846
+ /**
847
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
848
+ */
849
+ mergedApiIdentifier: string | undefined;
850
+ /**
851
+ * <p>The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source
852
+ * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs
853
+ * from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.</p>
854
+ */
855
+ sourceApiIdentifier: string | undefined;
856
+ /**
857
+ * <p>The description field.</p>
858
+ */
859
+ description?: string;
860
+ /**
861
+ * <p>The <code>SourceApiAssociationConfig</code> object data.</p>
862
+ */
863
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
864
+ }
865
+ /**
866
+ * @public
867
+ */
868
+ export interface AssociateSourceGraphqlApiResponse {
869
+ /**
870
+ * <p>The <code>SourceApiAssociation</code> object data.</p>
871
+ */
872
+ sourceApiAssociation?: SourceApiAssociation;
873
+ }
671
874
  /**
672
875
  * @public
673
876
  * @enum
@@ -714,19 +917,6 @@ export interface AuthorizationConfig {
714
917
  */
715
918
  awsIamConfig?: AwsIamConfig;
716
919
  }
717
- /**
718
- * @public
719
- * <p>Another modification is in progress at this time and it must complete before you can
720
- * make your change.</p>
721
- */
722
- export declare class ConcurrentModificationException extends __BaseException {
723
- readonly name: "ConcurrentModificationException";
724
- readonly $fault: "client";
725
- /**
726
- * @internal
727
- */
728
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
729
- }
730
920
  /**
731
921
  * @public
732
922
  * <p>Represents the input of a <code>CreateApiCache</code> operation.</p>
@@ -854,18 +1044,6 @@ export interface CreateApiCacheResponse {
854
1044
  */
855
1045
  apiCache?: ApiCache;
856
1046
  }
857
- /**
858
- * @public
859
- * <p>You aren't authorized to perform this operation.</p>
860
- */
861
- export declare class UnauthorizedException extends __BaseException {
862
- readonly name: "UnauthorizedException";
863
- readonly $fault: "client";
864
- /**
865
- * @internal
866
- */
867
- constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
868
- }
869
1047
  /**
870
1048
  * @public
871
1049
  */
@@ -894,18 +1072,6 @@ export interface CreateApiKeyResponse {
894
1072
  */
895
1073
  apiKey?: ApiKey;
896
1074
  }
897
- /**
898
- * @public
899
- * <p>The request exceeded a limit. Try your request again.</p>
900
- */
901
- export declare class LimitExceededException extends __BaseException {
902
- readonly name: "LimitExceededException";
903
- readonly $fault: "client";
904
- /**
905
- * @internal
906
- */
907
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
908
- }
909
1075
  /**
910
1076
  * @public
911
1077
  * <p>Describes a Delta Sync configuration.</p>
@@ -1534,6 +1700,18 @@ export interface CreateFunctionResponse {
1534
1700
  */
1535
1701
  functionConfiguration?: FunctionConfiguration;
1536
1702
  }
1703
+ /**
1704
+ * @public
1705
+ * @enum
1706
+ */
1707
+ export declare const GraphQLApiType: {
1708
+ readonly GRAPHQL: "GRAPHQL";
1709
+ readonly MERGED: "MERGED";
1710
+ };
1711
+ /**
1712
+ * @public
1713
+ */
1714
+ export type GraphQLApiType = (typeof GraphQLApiType)[keyof typeof GraphQLApiType];
1537
1715
  /**
1538
1716
  * @public
1539
1717
  * @enum
@@ -1702,6 +1880,23 @@ export interface CreateGraphqlApiRequest {
1702
1880
  * once the API has been created.</p>
1703
1881
  */
1704
1882
  visibility?: GraphQLApiVisibility | string;
1883
+ /**
1884
+ * <p>The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>) or merged API
1885
+ * (<code>MERGED</code>).</p>
1886
+ */
1887
+ apiType?: GraphQLApiType | string;
1888
+ /**
1889
+ * <p>The Identity and Access Management service role ARN for a merged API. The AppSync
1890
+ * service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to
1891
+ * prompt the <code>AUTO_MERGE</code> to update the merged API endpoint with the source API changes
1892
+ * automatically.</p>
1893
+ */
1894
+ mergedApiExecutionRoleArn?: string;
1895
+ /**
1896
+ * <p>The owner contact information for an API resource.</p>
1897
+ * <p>This field accepts any string input with a length of 0 - 256 characters.</p>
1898
+ */
1899
+ ownerContact?: string;
1705
1900
  }
1706
1901
  /**
1707
1902
  * @public
@@ -1773,6 +1968,27 @@ export interface GraphqlApi {
1773
1968
  * once the API has been created.</p>
1774
1969
  */
1775
1970
  visibility?: GraphQLApiVisibility | string;
1971
+ /**
1972
+ * <p>The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>) or merged API
1973
+ * (<code>MERGED</code>).</p>
1974
+ */
1975
+ apiType?: GraphQLApiType | string;
1976
+ /**
1977
+ * <p>The Identity and Access Management service role ARN for a merged API. The AppSync
1978
+ * service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to
1979
+ * prompt the <code>AUTO_MERGE</code> to update the merged API endpoint with the source API changes
1980
+ * automatically.</p>
1981
+ */
1982
+ mergedApiExecutionRoleArn?: string;
1983
+ /**
1984
+ * <p>The account owner of the GraphQL API.</p>
1985
+ */
1986
+ owner?: string;
1987
+ /**
1988
+ * <p>The owner contact information for an API resource.</p>
1989
+ * <p>This field accepts any string input with a length of 0 - 256 characters.</p>
1990
+ */
1991
+ ownerContact?: string;
1776
1992
  }
1777
1993
  /**
1778
1994
  * @public
@@ -2206,6 +2422,52 @@ export interface DisassociateApiRequest {
2206
2422
  */
2207
2423
  export interface DisassociateApiResponse {
2208
2424
  }
2425
+ /**
2426
+ * @public
2427
+ */
2428
+ export interface DisassociateMergedGraphqlApiRequest {
2429
+ /**
2430
+ * <p>The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source
2431
+ * APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs
2432
+ * from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.</p>
2433
+ */
2434
+ sourceApiIdentifier: string | undefined;
2435
+ /**
2436
+ * <p>The ID generated by the AppSync service for the source API association.</p>
2437
+ */
2438
+ associationId: string | undefined;
2439
+ }
2440
+ /**
2441
+ * @public
2442
+ */
2443
+ export interface DisassociateMergedGraphqlApiResponse {
2444
+ /**
2445
+ * <p>The state of the source API association.</p>
2446
+ */
2447
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
2448
+ }
2449
+ /**
2450
+ * @public
2451
+ */
2452
+ export interface DisassociateSourceGraphqlApiRequest {
2453
+ /**
2454
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
2455
+ */
2456
+ mergedApiIdentifier: string | undefined;
2457
+ /**
2458
+ * <p>The ID generated by the AppSync service for the source API association.</p>
2459
+ */
2460
+ associationId: string | undefined;
2461
+ }
2462
+ /**
2463
+ * @public
2464
+ */
2465
+ export interface DisassociateSourceGraphqlApiResponse {
2466
+ /**
2467
+ * <p>The state of the source API association.</p>
2468
+ */
2469
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
2470
+ }
2209
2471
  /**
2210
2472
  * @public
2211
2473
  */
@@ -2559,6 +2821,28 @@ export interface GetSchemaCreationStatusResponse {
2559
2821
  */
2560
2822
  details?: string;
2561
2823
  }
2824
+ /**
2825
+ * @public
2826
+ */
2827
+ export interface GetSourceApiAssociationRequest {
2828
+ /**
2829
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
2830
+ */
2831
+ mergedApiIdentifier: string | undefined;
2832
+ /**
2833
+ * <p>The ID generated by the AppSync service for the source API association.</p>
2834
+ */
2835
+ associationId: string | undefined;
2836
+ }
2837
+ /**
2838
+ * @public
2839
+ */
2840
+ export interface GetSourceApiAssociationResponse {
2841
+ /**
2842
+ * <p>The <code>SourceApiAssociation</code> object data.</p>
2843
+ */
2844
+ sourceApiAssociation?: SourceApiAssociation;
2845
+ }
2562
2846
  /**
2563
2847
  * @public
2564
2848
  */
@@ -2654,7 +2938,8 @@ export interface ListDataSourcesResponse {
2654
2938
  */
2655
2939
  export interface ListDomainNamesRequest {
2656
2940
  /**
2657
- * <p>The API token.</p>
2941
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
2942
+ * next set of items in the list.</p>
2658
2943
  */
2659
2944
  nextToken?: string;
2660
2945
  /**
@@ -2671,7 +2956,8 @@ export interface ListDomainNamesResponse {
2671
2956
  */
2672
2957
  domainNameConfigs?: DomainNameConfig[];
2673
2958
  /**
2674
- * <p>The API token.</p>
2959
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
2960
+ * next set of items in the list.</p>
2675
2961
  */
2676
2962
  nextToken?: string;
2677
2963
  }
@@ -2707,6 +2993,18 @@ export interface ListFunctionsResponse {
2707
2993
  */
2708
2994
  nextToken?: string;
2709
2995
  }
2996
+ /**
2997
+ * @public
2998
+ * @enum
2999
+ */
3000
+ export declare const Ownership: {
3001
+ readonly CURRENT_ACCOUNT: "CURRENT_ACCOUNT";
3002
+ readonly OTHER_ACCOUNTS: "OTHER_ACCOUNTS";
3003
+ };
3004
+ /**
3005
+ * @public
3006
+ */
3007
+ export type Ownership = (typeof Ownership)[keyof typeof Ownership];
2710
3008
  /**
2711
3009
  * @public
2712
3010
  */
@@ -2720,6 +3018,15 @@ export interface ListGraphqlApisRequest {
2720
3018
  * <p>The maximum number of results that you want the request to return.</p>
2721
3019
  */
2722
3020
  maxResults?: number;
3021
+ /**
3022
+ * <p>The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>) or merged API
3023
+ * (<code>MERGED</code>).</p>
3024
+ */
3025
+ apiType?: GraphQLApiType | string;
3026
+ /**
3027
+ * <p>The account owner of the GraphQL API.</p>
3028
+ */
3029
+ owner?: Ownership | string;
2723
3030
  }
2724
3031
  /**
2725
3032
  * @public
@@ -2806,6 +3113,72 @@ export interface ListResolversByFunctionResponse {
2806
3113
  */
2807
3114
  nextToken?: string;
2808
3115
  }
3116
+ /**
3117
+ * @public
3118
+ */
3119
+ export interface ListSourceApiAssociationsRequest {
3120
+ /**
3121
+ * <p>The API ID.</p>
3122
+ */
3123
+ apiId: string | undefined;
3124
+ /**
3125
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
3126
+ * next set of items in the list.</p>
3127
+ */
3128
+ nextToken?: string;
3129
+ /**
3130
+ * <p>The maximum number of results that you want the request to return.</p>
3131
+ */
3132
+ maxResults?: number;
3133
+ }
3134
+ /**
3135
+ * @public
3136
+ * <p>Describes the ARNs and IDs of associations, Merged APIs, and source APIs.</p>
3137
+ */
3138
+ export interface SourceApiAssociationSummary {
3139
+ /**
3140
+ * <p>The ID generated by the AppSync service for the source API association.</p>
3141
+ */
3142
+ associationId?: string;
3143
+ /**
3144
+ * <p>The Amazon Resource Name (ARN) of the source API association.</p>
3145
+ */
3146
+ associationArn?: string;
3147
+ /**
3148
+ * <p>The ID of the AppSync source API.</p>
3149
+ */
3150
+ sourceApiId?: string;
3151
+ /**
3152
+ * <p>The Amazon Resource Name (ARN) of the AppSync Source API.</p>
3153
+ */
3154
+ sourceApiArn?: string;
3155
+ /**
3156
+ * <p>The ID of the AppSync Merged API.</p>
3157
+ */
3158
+ mergedApiId?: string;
3159
+ /**
3160
+ * <p>The Amazon Resource Name (ARN) of the AppSync Merged API.</p>
3161
+ */
3162
+ mergedApiArn?: string;
3163
+ /**
3164
+ * <p>The description field.</p>
3165
+ */
3166
+ description?: string;
3167
+ }
3168
+ /**
3169
+ * @public
3170
+ */
3171
+ export interface ListSourceApiAssociationsResponse {
3172
+ /**
3173
+ * <p>The <code>SourceApiAssociationSummary</code> object data.</p>
3174
+ */
3175
+ sourceApiAssociationSummaries?: SourceApiAssociationSummary[];
3176
+ /**
3177
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
3178
+ * next set of items in the list.</p>
3179
+ */
3180
+ nextToken?: string;
3181
+ }
2809
3182
  /**
2810
3183
  * @public
2811
3184
  */
@@ -2860,6 +3233,46 @@ export interface ListTypesResponse {
2860
3233
  */
2861
3234
  nextToken?: string;
2862
3235
  }
3236
+ /**
3237
+ * @public
3238
+ */
3239
+ export interface ListTypesByAssociationRequest {
3240
+ /**
3241
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
3242
+ */
3243
+ mergedApiIdentifier: string | undefined;
3244
+ /**
3245
+ * <p>The ID generated by the AppSync service for the source API association.</p>
3246
+ */
3247
+ associationId: string | undefined;
3248
+ /**
3249
+ * <p>The format type.</p>
3250
+ */
3251
+ format: TypeDefinitionFormat | string | undefined;
3252
+ /**
3253
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
3254
+ * next set of items in the list.</p>
3255
+ */
3256
+ nextToken?: string;
3257
+ /**
3258
+ * <p>The maximum number of results that you want the request to return.</p>
3259
+ */
3260
+ maxResults?: number;
3261
+ }
3262
+ /**
3263
+ * @public
3264
+ */
3265
+ export interface ListTypesByAssociationResponse {
3266
+ /**
3267
+ * <p>The <code>Type</code> objects.</p>
3268
+ */
3269
+ types?: Type[];
3270
+ /**
3271
+ * <p>An identifier that was returned from the previous call to this operation, which you can use to return the
3272
+ * next set of items in the list.</p>
3273
+ */
3274
+ nextToken?: string;
3275
+ }
2863
3276
  /**
2864
3277
  * @public
2865
3278
  */
@@ -2883,6 +3296,28 @@ export interface StartSchemaCreationResponse {
2883
3296
  */
2884
3297
  status?: SchemaStatus | string;
2885
3298
  }
3299
+ /**
3300
+ * @public
3301
+ */
3302
+ export interface StartSchemaMergeRequest {
3303
+ /**
3304
+ * <p>The ID generated by the AppSync service for the source API association.</p>
3305
+ */
3306
+ associationId: string | undefined;
3307
+ /**
3308
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
3309
+ */
3310
+ mergedApiIdentifier: string | undefined;
3311
+ }
3312
+ /**
3313
+ * @public
3314
+ */
3315
+ export interface StartSchemaMergeResponse {
3316
+ /**
3317
+ * <p>The state of the source API association.</p>
3318
+ */
3319
+ sourceApiAssociationStatus?: SourceApiAssociationStatus | string;
3320
+ }
2886
3321
  /**
2887
3322
  * @public
2888
3323
  */
@@ -3268,6 +3703,18 @@ export interface UpdateGraphqlApiRequest {
3268
3703
  * <p>Configuration for Lambda function authorization.</p>
3269
3704
  */
3270
3705
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
3706
+ /**
3707
+ * <p>The Identity and Access Management service role ARN for a merged API. The AppSync
3708
+ * service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to
3709
+ * prompt the <code>AUTO_MERGE</code> to update the merged API endpoint with the source API changes
3710
+ * automatically.</p>
3711
+ */
3712
+ mergedApiExecutionRoleArn?: string;
3713
+ /**
3714
+ * <p>The owner contact information for an API resource.</p>
3715
+ * <p>This field accepts any string input with a length of 0 - 256 characters.</p>
3716
+ */
3717
+ ownerContact?: string;
3271
3718
  }
3272
3719
  /**
3273
3720
  * @public
@@ -3368,6 +3815,36 @@ export interface UpdateResolverResponse {
3368
3815
  */
3369
3816
  resolver?: Resolver;
3370
3817
  }
3818
+ /**
3819
+ * @public
3820
+ */
3821
+ export interface UpdateSourceApiAssociationRequest {
3822
+ /**
3823
+ * <p>The ID generated by the AppSync service for the source API association.</p>
3824
+ */
3825
+ associationId: string | undefined;
3826
+ /**
3827
+ * <p>The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.</p>
3828
+ */
3829
+ mergedApiIdentifier: string | undefined;
3830
+ /**
3831
+ * <p>The description field.</p>
3832
+ */
3833
+ description?: string;
3834
+ /**
3835
+ * <p>The <code>SourceApiAssociationConfig</code> object data.</p>
3836
+ */
3837
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
3838
+ }
3839
+ /**
3840
+ * @public
3841
+ */
3842
+ export interface UpdateSourceApiAssociationResponse {
3843
+ /**
3844
+ * <p>The <code>SourceApiAssociation</code> object data.</p>
3845
+ */
3846
+ sourceApiAssociation?: SourceApiAssociation;
3847
+ }
3371
3848
  /**
3372
3849
  * @public
3373
3850
  */