@aws-sdk/client-appsync 3.337.0 → 3.339.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.
- package/README.md +72 -0
- package/dist-cjs/AppSync.js +18 -0
- package/dist-cjs/AppSyncClient.js +2 -1
- package/dist-cjs/commands/AssociateApiCommand.js +2 -1
- package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/CreateApiCacheCommand.js +2 -1
- package/dist-cjs/commands/CreateApiKeyCommand.js +2 -1
- package/dist-cjs/commands/CreateDataSourceCommand.js +2 -1
- package/dist-cjs/commands/CreateDomainNameCommand.js +2 -1
- package/dist-cjs/commands/CreateFunctionCommand.js +2 -1
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +2 -1
- package/dist-cjs/commands/CreateResolverCommand.js +2 -1
- package/dist-cjs/commands/CreateTypeCommand.js +2 -1
- package/dist-cjs/commands/DeleteApiCacheCommand.js +2 -1
- package/dist-cjs/commands/DeleteApiKeyCommand.js +2 -1
- package/dist-cjs/commands/DeleteDataSourceCommand.js +2 -1
- package/dist-cjs/commands/DeleteDomainNameCommand.js +2 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js +2 -1
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +2 -1
- package/dist-cjs/commands/DeleteResolverCommand.js +2 -1
- package/dist-cjs/commands/DeleteTypeCommand.js +2 -1
- package/dist-cjs/commands/DisassociateApiCommand.js +2 -1
- package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/EvaluateCodeCommand.js +2 -1
- package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +2 -1
- package/dist-cjs/commands/FlushApiCacheCommand.js +2 -1
- package/dist-cjs/commands/GetApiAssociationCommand.js +2 -1
- package/dist-cjs/commands/GetApiCacheCommand.js +2 -1
- package/dist-cjs/commands/GetDataSourceCommand.js +2 -1
- package/dist-cjs/commands/GetDomainNameCommand.js +2 -1
- package/dist-cjs/commands/GetFunctionCommand.js +2 -1
- package/dist-cjs/commands/GetGraphqlApiCommand.js +2 -1
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +2 -1
- package/dist-cjs/commands/GetResolverCommand.js +2 -1
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +2 -1
- package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
- package/dist-cjs/commands/GetTypeCommand.js +2 -1
- package/dist-cjs/commands/ListApiKeysCommand.js +2 -1
- package/dist-cjs/commands/ListDataSourcesCommand.js +2 -1
- package/dist-cjs/commands/ListDomainNamesCommand.js +2 -1
- package/dist-cjs/commands/ListFunctionsCommand.js +2 -1
- package/dist-cjs/commands/ListGraphqlApisCommand.js +2 -1
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +2 -1
- package/dist-cjs/commands/ListResolversCommand.js +2 -1
- package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
- package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
- package/dist-cjs/commands/ListTypesCommand.js +2 -1
- package/dist-cjs/commands/StartSchemaCreationCommand.js +2 -1
- package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +2 -1
- package/dist-cjs/commands/UntagResourceCommand.js +2 -1
- package/dist-cjs/commands/UpdateApiCacheCommand.js +2 -1
- package/dist-cjs/commands/UpdateApiKeyCommand.js +2 -1
- package/dist-cjs/commands/UpdateDataSourceCommand.js +2 -1
- package/dist-cjs/commands/UpdateDomainNameCommand.js +2 -1
- package/dist-cjs/commands/UpdateFunctionCommand.js +2 -1
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +2 -1
- package/dist-cjs/commands/UpdateResolverCommand.js +2 -1
- package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
- package/dist-cjs/commands/UpdateTypeCommand.js +2 -1
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/AppSyncServiceException.js +2 -1
- package/dist-cjs/models/models_0.js +35 -13
- package/dist-cjs/protocols/Aws_restJson1.js +652 -16
- package/dist-es/AppSync.js +18 -0
- package/dist-es/AppSyncClient.js +1 -0
- package/dist-es/commands/AssociateApiCommand.js +1 -0
- package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
- package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
- package/dist-es/commands/CreateApiCacheCommand.js +1 -0
- package/dist-es/commands/CreateApiKeyCommand.js +1 -0
- package/dist-es/commands/CreateDataSourceCommand.js +1 -0
- package/dist-es/commands/CreateDomainNameCommand.js +1 -0
- package/dist-es/commands/CreateFunctionCommand.js +1 -0
- package/dist-es/commands/CreateGraphqlApiCommand.js +1 -0
- package/dist-es/commands/CreateResolverCommand.js +1 -0
- package/dist-es/commands/CreateTypeCommand.js +1 -0
- package/dist-es/commands/DeleteApiCacheCommand.js +1 -0
- package/dist-es/commands/DeleteApiKeyCommand.js +1 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +1 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +1 -0
- package/dist-es/commands/DeleteFunctionCommand.js +1 -0
- package/dist-es/commands/DeleteGraphqlApiCommand.js +1 -0
- package/dist-es/commands/DeleteResolverCommand.js +1 -0
- package/dist-es/commands/DeleteTypeCommand.js +1 -0
- package/dist-es/commands/DisassociateApiCommand.js +1 -0
- package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
- package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
- package/dist-es/commands/EvaluateCodeCommand.js +1 -0
- package/dist-es/commands/EvaluateMappingTemplateCommand.js +1 -0
- package/dist-es/commands/FlushApiCacheCommand.js +1 -0
- package/dist-es/commands/GetApiAssociationCommand.js +1 -0
- package/dist-es/commands/GetApiCacheCommand.js +1 -0
- package/dist-es/commands/GetDataSourceCommand.js +1 -0
- package/dist-es/commands/GetDomainNameCommand.js +1 -0
- package/dist-es/commands/GetFunctionCommand.js +1 -0
- package/dist-es/commands/GetGraphqlApiCommand.js +1 -0
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +1 -0
- package/dist-es/commands/GetResolverCommand.js +1 -0
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +1 -0
- package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
- package/dist-es/commands/GetTypeCommand.js +1 -0
- package/dist-es/commands/ListApiKeysCommand.js +1 -0
- package/dist-es/commands/ListDataSourcesCommand.js +1 -0
- package/dist-es/commands/ListDomainNamesCommand.js +1 -0
- package/dist-es/commands/ListFunctionsCommand.js +1 -0
- package/dist-es/commands/ListGraphqlApisCommand.js +1 -0
- package/dist-es/commands/ListResolversByFunctionCommand.js +1 -0
- package/dist-es/commands/ListResolversCommand.js +1 -0
- package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
- package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
- package/dist-es/commands/ListTypesCommand.js +1 -0
- package/dist-es/commands/StartSchemaCreationCommand.js +1 -0
- package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +1 -0
- package/dist-es/commands/UntagResourceCommand.js +1 -0
- package/dist-es/commands/UpdateApiCacheCommand.js +1 -0
- package/dist-es/commands/UpdateApiKeyCommand.js +1 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +1 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +1 -0
- package/dist-es/commands/UpdateFunctionCommand.js +1 -0
- package/dist-es/commands/UpdateGraphqlApiCommand.js +1 -0
- package/dist-es/commands/UpdateResolverCommand.js +1 -0
- package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
- package/dist-es/commands/UpdateTypeCommand.js +1 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/AppSyncServiceException.js +1 -0
- package/dist-es/models/models_0.js +32 -10
- package/dist-es/protocols/Aws_restJson1.js +632 -14
- package/dist-types/AppSync.d.ts +63 -0
- package/dist-types/AppSyncClient.d.ts +14 -5
- package/dist-types/commands/AssociateApiCommand.d.ts +4 -0
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
- package/dist-types/commands/CreateApiCacheCommand.d.ts +4 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +4 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +4 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +11 -0
- package/dist-types/commands/CreateResolverCommand.d.ts +4 -0
- package/dist-types/commands/CreateTypeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +4 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResolverCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTypeCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
- package/dist-types/commands/EvaluateCodeCommand.d.ts +4 -0
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +4 -0
- package/dist-types/commands/FlushApiCacheCommand.d.ts +4 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -0
- package/dist-types/commands/GetApiCacheCommand.d.ts +4 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +4 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +8 -0
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +4 -0
- package/dist-types/commands/GetResolverCommand.d.ts +4 -0
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -0
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
- package/dist-types/commands/GetTypeCommand.d.ts +4 -0
- package/dist-types/commands/ListApiKeysCommand.d.ts +4 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +4 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +10 -0
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -0
- package/dist-types/commands/ListResolversCommand.d.ts +4 -0
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
- package/dist-types/commands/ListTypesCommand.d.ts +4 -0
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +4 -0
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +4 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +10 -0
- package/dist-types/commands/UpdateResolverCommand.d.ts +4 -0
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
- package/dist-types/commands/UpdateTypeCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +7 -1
- package/dist-types/models/AppSyncServiceException.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +516 -39
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/AppSync.d.ts +153 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +57 -3
- package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/EvaluateCodeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/AppSyncServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +163 -24
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- 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>
|
|
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>
|
|
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
|
*/
|