AppSync module#
Index > AppSync
Auto-generated documentation for AppSync type annotations stubs module mypy-boto3-appsync.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
AppSync
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and AppSync
.
From PyPI with pip#
Install boto3-stubs
for AppSync
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[appsync]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[appsync]'
# standalone installation
python -m pip install mypy-boto3-appsync
How to uninstall#
python -m pip uninstall -y mypy-boto3-appsync
Usage#
Code samples can be found in Examples.
AppSyncClient#
Type annotations and code completion for boto3.client("appsync")
as AppSyncClient
boto3 documentation
# AppSyncClient usage example
from boto3.session import Session
from mypy_boto3_appsync.client import AppSyncClient
def get_client() -> AppSyncClient:
return Session().client("appsync")
Paginators#
Type annotations and code completion for paginators
from boto3.client("appsync").get_paginator("...")
.
# ListApiKeysPaginator usage example
from boto3.session import Session
from mypy_boto3_appsync.paginator import ListApiKeysPaginator
def get_list_api_keys_paginator() -> ListApiKeysPaginator:
return Session().client("appsync").get_paginator("list_api_keys"))
- ListApiKeysPaginator
- ListApisPaginator
- ListChannelNamespacesPaginator
- ListDataSourcesPaginator
- ListDomainNamesPaginator
- ListFunctionsPaginator
- ListGraphqlApisPaginator
- ListResolversByFunctionPaginator
- ListResolversPaginator
- ListSourceApiAssociationsPaginator
- ListTypesByAssociationPaginator
- ListTypesPaginator
Literals#
Type annotations for literals used in methods and schema.
# ApiCacheStatusType usage example
from mypy_boto3_appsync.literals import ApiCacheStatusType
def get_value() -> ApiCacheStatusType:
return "AVAILABLE"
- ApiCacheStatusType
- ApiCacheTypeType
- ApiCachingBehaviorType
- AssociationStatusType
- AuthenticationTypeType
- AuthorizationTypeType
- CacheHealthMetricsConfigType
- ConflictDetectionTypeType
- ConflictHandlerTypeType
- DataSourceIntrospectionStatusType
- DataSourceLevelMetricsBehaviorType
- DataSourceLevelMetricsConfigType
- DataSourceTypeType
- DefaultActionType
- EventLogLevelType
- FieldLogLevelType
- GraphQLApiIntrospectionConfigType
- GraphQLApiTypeType
- GraphQLApiVisibilityType
- ListApiKeysPaginatorName
- ListApisPaginatorName
- ListChannelNamespacesPaginatorName
- ListDataSourcesPaginatorName
- ListDomainNamesPaginatorName
- ListFunctionsPaginatorName
- ListGraphqlApisPaginatorName
- ListResolversByFunctionPaginatorName
- ListResolversPaginatorName
- ListSourceApiAssociationsPaginatorName
- ListTypesByAssociationPaginatorName
- ListTypesPaginatorName
- MergeTypeType
- OperationLevelMetricsConfigType
- OutputTypeType
- OwnershipType
- RelationalDatabaseSourceTypeType
- ResolverKindType
- ResolverLevelMetricsBehaviorType
- ResolverLevelMetricsConfigType
- RuntimeNameType
- SchemaStatusType
- SourceApiAssociationStatusType
- TypeDefinitionFormatType
- AppSyncServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- CognitoUserPoolConfigTypeDef
- LambdaAuthorizerConfigTypeDef
- OpenIDConnectConfigTypeDef
- ApiAssociationTypeDef
- ApiCacheTypeDef
- ApiKeyTypeDef
- AppSyncRuntimeTypeDef
- AssociateApiRequestRequestTypeDef
- ResponseMetadataTypeDef
- SourceApiAssociationConfigTypeDef
- AuthModeTypeDef
- CognitoConfigTypeDef
- AwsIamConfigTypeDef
- BlobTypeDef
- CachingConfigOutputTypeDef
- CachingConfigTypeDef
- CodeErrorLocationTypeDef
- CreateApiCacheRequestRequestTypeDef
- CreateApiKeyRequestRequestTypeDef
- ElasticsearchDataSourceConfigTypeDef
- EventBridgeDataSourceConfigTypeDef
- LambdaDataSourceConfigTypeDef
- OpenSearchServiceDataSourceConfigTypeDef
- CreateDomainNameRequestRequestTypeDef
- DomainNameConfigTypeDef
- EnhancedMetricsConfigTypeDef
- LogConfigTypeDef
- UserPoolConfigTypeDef
- PipelineConfigTypeDef
- CreateTypeRequestRequestTypeDef
- TypeTypeDef
- DataSourceIntrospectionModelFieldTypeTypeDef
- DataSourceIntrospectionModelIndexTypeDef
- DeleteApiCacheRequestRequestTypeDef
- DeleteApiKeyRequestRequestTypeDef
- DeleteApiRequestRequestTypeDef
- DeleteChannelNamespaceRequestRequestTypeDef
- DeleteDataSourceRequestRequestTypeDef
- DeleteDomainNameRequestRequestTypeDef
- DeleteFunctionRequestRequestTypeDef
- DeleteGraphqlApiRequestRequestTypeDef
- DeleteResolverRequestRequestTypeDef
- DeleteTypeRequestRequestTypeDef
- DeltaSyncConfigTypeDef
- DisassociateApiRequestRequestTypeDef
- DisassociateMergedGraphqlApiRequestRequestTypeDef
- DisassociateSourceGraphqlApiRequestRequestTypeDef
- ErrorDetailTypeDef
- EvaluateMappingTemplateRequestRequestTypeDef
- EventLogConfigTypeDef
- FlushApiCacheRequestRequestTypeDef
- GetApiAssociationRequestRequestTypeDef
- GetApiCacheRequestRequestTypeDef
- GetApiRequestRequestTypeDef
- GetChannelNamespaceRequestRequestTypeDef
- GetDataSourceIntrospectionRequestRequestTypeDef
- GetDataSourceRequestRequestTypeDef
- GetDomainNameRequestRequestTypeDef
- GetFunctionRequestRequestTypeDef
- GetGraphqlApiEnvironmentVariablesRequestRequestTypeDef
- GetGraphqlApiRequestRequestTypeDef
- GetIntrospectionSchemaRequestRequestTypeDef
- GetResolverRequestRequestTypeDef
- GetSchemaCreationStatusRequestRequestTypeDef
- GetSourceApiAssociationRequestRequestTypeDef
- GetTypeRequestRequestTypeDef
- LambdaConflictHandlerConfigTypeDef
- PaginatorConfigTypeDef
- ListApiKeysRequestRequestTypeDef
- ListApisRequestRequestTypeDef
- ListChannelNamespacesRequestRequestTypeDef
- ListDataSourcesRequestRequestTypeDef
- ListDomainNamesRequestRequestTypeDef
- ListFunctionsRequestRequestTypeDef
- ListGraphqlApisRequestRequestTypeDef
- ListResolversByFunctionRequestRequestTypeDef
- ListResolversRequestRequestTypeDef
- ListSourceApiAssociationsRequestRequestTypeDef
- SourceApiAssociationSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ListTypesByAssociationRequestRequestTypeDef
- ListTypesRequestRequestTypeDef
- PipelineConfigOutputTypeDef
- PutGraphqlApiEnvironmentVariablesRequestRequestTypeDef
- RdsDataApiConfigTypeDef
- RdsHttpEndpointConfigTypeDef
- StartSchemaMergeRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateApiCacheRequestRequestTypeDef
- UpdateApiKeyRequestRequestTypeDef
- UpdateDomainNameRequestRequestTypeDef
- UpdateTypeRequestRequestTypeDef
- AdditionalAuthenticationProviderTypeDef
- EvaluateCodeRequestRequestTypeDef
- AssociateApiResponseTypeDef
- CreateApiCacheResponseTypeDef
- CreateApiKeyResponseTypeDef
- DisassociateMergedGraphqlApiResponseTypeDef
- DisassociateSourceGraphqlApiResponseTypeDef
- GetApiAssociationResponseTypeDef
- GetApiCacheResponseTypeDef
- GetGraphqlApiEnvironmentVariablesResponseTypeDef
- GetIntrospectionSchemaResponseTypeDef
- GetSchemaCreationStatusResponseTypeDef
- ListApiKeysResponseTypeDef
- ListTagsForResourceResponseTypeDef
- PutGraphqlApiEnvironmentVariablesResponseTypeDef
- StartDataSourceIntrospectionResponseTypeDef
- StartSchemaCreationResponseTypeDef
- StartSchemaMergeResponseTypeDef
- UpdateApiCacheResponseTypeDef
- UpdateApiKeyResponseTypeDef
- AssociateMergedGraphqlApiRequestRequestTypeDef
- AssociateSourceGraphqlApiRequestRequestTypeDef
- SourceApiAssociationTypeDef
- UpdateSourceApiAssociationRequestRequestTypeDef
- ChannelNamespaceTypeDef
- CreateChannelNamespaceRequestRequestTypeDef
- UpdateChannelNamespaceRequestRequestTypeDef
- AuthProviderTypeDef
- AuthorizationConfigTypeDef
- StartSchemaCreationRequestRequestTypeDef
- CodeErrorTypeDef
- CreateDomainNameResponseTypeDef
- GetDomainNameResponseTypeDef
- ListDomainNamesResponseTypeDef
- UpdateDomainNameResponseTypeDef
- CreateTypeResponseTypeDef
- GetTypeResponseTypeDef
- ListTypesByAssociationResponseTypeDef
- ListTypesResponseTypeDef
- UpdateTypeResponseTypeDef
- DataSourceIntrospectionModelFieldTypeDef
- DynamodbDataSourceConfigTypeDef
- EvaluateMappingTemplateResponseTypeDef
- SyncConfigTypeDef
- ListApiKeysRequestPaginateTypeDef
- ListApisRequestPaginateTypeDef
- ListChannelNamespacesRequestPaginateTypeDef
- ListDataSourcesRequestPaginateTypeDef
- ListDomainNamesRequestPaginateTypeDef
- ListFunctionsRequestPaginateTypeDef
- ListGraphqlApisRequestPaginateTypeDef
- ListResolversByFunctionRequestPaginateTypeDef
- ListResolversRequestPaginateTypeDef
- ListSourceApiAssociationsRequestPaginateTypeDef
- ListTypesByAssociationRequestPaginateTypeDef
- ListTypesRequestPaginateTypeDef
- ListSourceApiAssociationsResponseTypeDef
- StartDataSourceIntrospectionRequestRequestTypeDef
- RelationalDatabaseDataSourceConfigTypeDef
- CreateGraphqlApiRequestRequestTypeDef
- GraphqlApiTypeDef
- UpdateGraphqlApiRequestRequestTypeDef
- AssociateMergedGraphqlApiResponseTypeDef
- AssociateSourceGraphqlApiResponseTypeDef
- GetSourceApiAssociationResponseTypeDef
- UpdateSourceApiAssociationResponseTypeDef
- CreateChannelNamespaceResponseTypeDef
- GetChannelNamespaceResponseTypeDef
- ListChannelNamespacesResponseTypeDef
- UpdateChannelNamespaceResponseTypeDef
- EventConfigOutputTypeDef
- EventConfigTypeDef
- HttpDataSourceConfigTypeDef
- EvaluateCodeErrorDetailTypeDef
- DataSourceIntrospectionModelTypeDef
- CreateFunctionRequestRequestTypeDef
- CreateResolverRequestRequestTypeDef
- FunctionConfigurationTypeDef
- ResolverTypeDef
- UpdateFunctionRequestRequestTypeDef
- UpdateResolverRequestRequestTypeDef
- CreateGraphqlApiResponseTypeDef
- GetGraphqlApiResponseTypeDef
- ListGraphqlApisResponseTypeDef
- UpdateGraphqlApiResponseTypeDef
- ApiTypeDef
- CreateApiRequestRequestTypeDef
- UpdateApiRequestRequestTypeDef
- CreateDataSourceRequestRequestTypeDef
- DataSourceTypeDef
- UpdateDataSourceRequestRequestTypeDef
- EvaluateCodeResponseTypeDef
- DataSourceIntrospectionResultTypeDef
- CreateFunctionResponseTypeDef
- GetFunctionResponseTypeDef
- ListFunctionsResponseTypeDef
- UpdateFunctionResponseTypeDef
- CreateResolverResponseTypeDef
- GetResolverResponseTypeDef
- ListResolversByFunctionResponseTypeDef
- ListResolversResponseTypeDef
- UpdateResolverResponseTypeDef
- CreateApiResponseTypeDef
- GetApiResponseTypeDef
- ListApisResponseTypeDef
- UpdateApiResponseTypeDef
- CreateDataSourceResponseTypeDef
- GetDataSourceResponseTypeDef
- ListDataSourcesResponseTypeDef
- UpdateDataSourceResponseTypeDef
- GetDataSourceIntrospectionResponseTypeDef