Skip to content

Typed dictionaries

Index > AppSync > Typed dictionaries

Auto-generated documentation for AppSync type annotations stubs module mypy-boto3-appsync.

CognitoUserPoolConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CognitoUserPoolConfigTypeDef

def get_value() -> CognitoUserPoolConfigTypeDef:
    return {
        "userPoolId": ...,
        "awsRegion": ...,
    }
Definition
class CognitoUserPoolConfigTypeDef(TypedDict):
    userPoolId: str,
    awsRegion: str,
    appIdClientRegex: NotRequired[str],

LambdaAuthorizerConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import LambdaAuthorizerConfigTypeDef

def get_value() -> LambdaAuthorizerConfigTypeDef:
    return {
        "authorizerUri": ...,
    }
Definition
class LambdaAuthorizerConfigTypeDef(TypedDict):
    authorizerUri: str,
    authorizerResultTtlInSeconds: NotRequired[int],
    identityValidationExpression: NotRequired[str],

OpenIDConnectConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import OpenIDConnectConfigTypeDef

def get_value() -> OpenIDConnectConfigTypeDef:
    return {
        "issuer": ...,
    }
Definition
class OpenIDConnectConfigTypeDef(TypedDict):
    issuer: str,
    clientId: NotRequired[str],
    iatTTL: NotRequired[int],
    authTTL: NotRequired[int],

ApiAssociationTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ApiAssociationTypeDef

def get_value() -> ApiAssociationTypeDef:
    return {
        "domainName": ...,
    }
Definition
class ApiAssociationTypeDef(TypedDict):
    domainName: NotRequired[str],
    apiId: NotRequired[str],
    associationStatus: NotRequired[AssociationStatusType],  # (1)
    deploymentDetail: NotRequired[str],
  1. See AssociationStatusType

ApiCacheTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ApiCacheTypeDef

def get_value() -> ApiCacheTypeDef:
    return {
        "ttl": ...,
    }
Definition
class ApiCacheTypeDef(TypedDict):
    ttl: NotRequired[int],
    apiCachingBehavior: NotRequired[ApiCachingBehaviorType],  # (1)
    transitEncryptionEnabled: NotRequired[bool],
    atRestEncryptionEnabled: NotRequired[bool],
    type: NotRequired[ApiCacheTypeType],  # (2)
    status: NotRequired[ApiCacheStatusType],  # (3)
  1. See ApiCachingBehaviorType
  2. See ApiCacheTypeType
  3. See ApiCacheStatusType

ApiKeyTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ApiKeyTypeDef

def get_value() -> ApiKeyTypeDef:
    return {
        "id": ...,
    }
Definition
class ApiKeyTypeDef(TypedDict):
    id: NotRequired[str],
    description: NotRequired[str],
    expires: NotRequired[int],
    deletes: NotRequired[int],

AssociateApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import AssociateApiRequestRequestTypeDef

def get_value() -> AssociateApiRequestRequestTypeDef:
    return {
        "domainName": ...,
        "apiId": ...,
    }
Definition
class AssociateApiRequestRequestTypeDef(TypedDict):
    domainName: str,
    apiId: str,

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AwsIamConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import AwsIamConfigTypeDef

def get_value() -> AwsIamConfigTypeDef:
    return {
        "signingRegion": ...,
    }
Definition
class AwsIamConfigTypeDef(TypedDict):
    signingRegion: NotRequired[str],
    signingServiceName: NotRequired[str],

CachingConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CachingConfigTypeDef

def get_value() -> CachingConfigTypeDef:
    return {
        "ttl": ...,
    }
Definition
class CachingConfigTypeDef(TypedDict):
    ttl: int,
    cachingKeys: NotRequired[Sequence[str]],

CreateApiCacheRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateApiCacheRequestRequestTypeDef

def get_value() -> CreateApiCacheRequestRequestTypeDef:
    return {
        "apiId": ...,
        "ttl": ...,
        "apiCachingBehavior": ...,
        "type": ...,
    }
Definition
class CreateApiCacheRequestRequestTypeDef(TypedDict):
    apiId: str,
    ttl: int,
    apiCachingBehavior: ApiCachingBehaviorType,  # (1)
    type: ApiCacheTypeType,  # (2)
    transitEncryptionEnabled: NotRequired[bool],
    atRestEncryptionEnabled: NotRequired[bool],
  1. See ApiCachingBehaviorType
  2. See ApiCacheTypeType

CreateApiKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateApiKeyRequestRequestTypeDef

def get_value() -> CreateApiKeyRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class CreateApiKeyRequestRequestTypeDef(TypedDict):
    apiId: str,
    description: NotRequired[str],
    expires: NotRequired[int],

ElasticsearchDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ElasticsearchDataSourceConfigTypeDef

def get_value() -> ElasticsearchDataSourceConfigTypeDef:
    return {
        "endpoint": ...,
        "awsRegion": ...,
    }
Definition
class ElasticsearchDataSourceConfigTypeDef(TypedDict):
    endpoint: str,
    awsRegion: str,

LambdaDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import LambdaDataSourceConfigTypeDef

def get_value() -> LambdaDataSourceConfigTypeDef:
    return {
        "lambdaFunctionArn": ...,
    }
Definition
class LambdaDataSourceConfigTypeDef(TypedDict):
    lambdaFunctionArn: str,

OpenSearchServiceDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import OpenSearchServiceDataSourceConfigTypeDef

def get_value() -> OpenSearchServiceDataSourceConfigTypeDef:
    return {
        "endpoint": ...,
        "awsRegion": ...,
    }
Definition
class OpenSearchServiceDataSourceConfigTypeDef(TypedDict):
    endpoint: str,
    awsRegion: str,

CreateDomainNameRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateDomainNameRequestRequestTypeDef

def get_value() -> CreateDomainNameRequestRequestTypeDef:
    return {
        "domainName": ...,
        "certificateArn": ...,
    }
Definition
class CreateDomainNameRequestRequestTypeDef(TypedDict):
    domainName: str,
    certificateArn: str,
    description: NotRequired[str],

DomainNameConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DomainNameConfigTypeDef

def get_value() -> DomainNameConfigTypeDef:
    return {
        "domainName": ...,
    }
Definition
class DomainNameConfigTypeDef(TypedDict):
    domainName: NotRequired[str],
    description: NotRequired[str],
    certificateArn: NotRequired[str],
    appsyncDomainName: NotRequired[str],
    hostedZoneId: NotRequired[str],

LogConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import LogConfigTypeDef

def get_value() -> LogConfigTypeDef:
    return {
        "fieldLogLevel": ...,
        "cloudWatchLogsRoleArn": ...,
    }
Definition
class LogConfigTypeDef(TypedDict):
    fieldLogLevel: FieldLogLevelType,  # (1)
    cloudWatchLogsRoleArn: str,
    excludeVerboseContent: NotRequired[bool],
  1. See FieldLogLevelType

UserPoolConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UserPoolConfigTypeDef

def get_value() -> UserPoolConfigTypeDef:
    return {
        "userPoolId": ...,
        "awsRegion": ...,
        "defaultAction": ...,
    }
Definition
class UserPoolConfigTypeDef(TypedDict):
    userPoolId: str,
    awsRegion: str,
    defaultAction: DefaultActionType,  # (1)
    appIdClientRegex: NotRequired[str],
  1. See DefaultActionType

PipelineConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import PipelineConfigTypeDef

def get_value() -> PipelineConfigTypeDef:
    return {
        "functions": ...,
    }
Definition
class PipelineConfigTypeDef(TypedDict):
    functions: NotRequired[Sequence[str]],

CreateTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateTypeRequestRequestTypeDef

def get_value() -> CreateTypeRequestRequestTypeDef:
    return {
        "apiId": ...,
        "definition": ...,
        "format": ...,
    }
Definition
class CreateTypeRequestRequestTypeDef(TypedDict):
    apiId: str,
    definition: str,
    format: TypeDefinitionFormatType,  # (1)
  1. See TypeDefinitionFormatType

TypeTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import TypeTypeDef

def get_value() -> TypeTypeDef:
    return {
        "name": ...,
    }
Definition
class TypeTypeDef(TypedDict):
    name: NotRequired[str],
    description: NotRequired[str],
    arn: NotRequired[str],
    definition: NotRequired[str],
    format: NotRequired[TypeDefinitionFormatType],  # (1)
  1. See TypeDefinitionFormatType

DeleteApiCacheRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteApiCacheRequestRequestTypeDef

def get_value() -> DeleteApiCacheRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class DeleteApiCacheRequestRequestTypeDef(TypedDict):
    apiId: str,

DeleteApiKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteApiKeyRequestRequestTypeDef

def get_value() -> DeleteApiKeyRequestRequestTypeDef:
    return {
        "apiId": ...,
        "id": ...,
    }
Definition
class DeleteApiKeyRequestRequestTypeDef(TypedDict):
    apiId: str,
    id: str,

DeleteDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteDataSourceRequestRequestTypeDef

def get_value() -> DeleteDataSourceRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
    }
Definition
class DeleteDataSourceRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,

DeleteDomainNameRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteDomainNameRequestRequestTypeDef

def get_value() -> DeleteDomainNameRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class DeleteDomainNameRequestRequestTypeDef(TypedDict):
    domainName: str,

DeleteFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteFunctionRequestRequestTypeDef

def get_value() -> DeleteFunctionRequestRequestTypeDef:
    return {
        "apiId": ...,
        "functionId": ...,
    }
Definition
class DeleteFunctionRequestRequestTypeDef(TypedDict):
    apiId: str,
    functionId: str,

DeleteGraphqlApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteGraphqlApiRequestRequestTypeDef

def get_value() -> DeleteGraphqlApiRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class DeleteGraphqlApiRequestRequestTypeDef(TypedDict):
    apiId: str,

DeleteResolverRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteResolverRequestRequestTypeDef

def get_value() -> DeleteResolverRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "fieldName": ...,
    }
Definition
class DeleteResolverRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    fieldName: str,

DeleteTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeleteTypeRequestRequestTypeDef

def get_value() -> DeleteTypeRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
    }
Definition
class DeleteTypeRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,

DeltaSyncConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DeltaSyncConfigTypeDef

def get_value() -> DeltaSyncConfigTypeDef:
    return {
        "baseTableTTL": ...,
    }
Definition
class DeltaSyncConfigTypeDef(TypedDict):
    baseTableTTL: NotRequired[int],
    deltaSyncTableName: NotRequired[str],
    deltaSyncTableTTL: NotRequired[int],

DisassociateApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DisassociateApiRequestRequestTypeDef

def get_value() -> DisassociateApiRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class DisassociateApiRequestRequestTypeDef(TypedDict):
    domainName: str,

ErrorDetailTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ErrorDetailTypeDef

def get_value() -> ErrorDetailTypeDef:
    return {
        "message": ...,
    }
Definition
class ErrorDetailTypeDef(TypedDict):
    message: NotRequired[str],

EvaluateMappingTemplateRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import EvaluateMappingTemplateRequestRequestTypeDef

def get_value() -> EvaluateMappingTemplateRequestRequestTypeDef:
    return {
        "template": ...,
        "context": ...,
    }
Definition
class EvaluateMappingTemplateRequestRequestTypeDef(TypedDict):
    template: str,
    context: str,

FlushApiCacheRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import FlushApiCacheRequestRequestTypeDef

def get_value() -> FlushApiCacheRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class FlushApiCacheRequestRequestTypeDef(TypedDict):
    apiId: str,

GetApiAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetApiAssociationRequestRequestTypeDef

def get_value() -> GetApiAssociationRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class GetApiAssociationRequestRequestTypeDef(TypedDict):
    domainName: str,

GetApiCacheRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetApiCacheRequestRequestTypeDef

def get_value() -> GetApiCacheRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class GetApiCacheRequestRequestTypeDef(TypedDict):
    apiId: str,

GetDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetDataSourceRequestRequestTypeDef

def get_value() -> GetDataSourceRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
    }
Definition
class GetDataSourceRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,

GetDomainNameRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetDomainNameRequestRequestTypeDef

def get_value() -> GetDomainNameRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class GetDomainNameRequestRequestTypeDef(TypedDict):
    domainName: str,

GetFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetFunctionRequestRequestTypeDef

def get_value() -> GetFunctionRequestRequestTypeDef:
    return {
        "apiId": ...,
        "functionId": ...,
    }
Definition
class GetFunctionRequestRequestTypeDef(TypedDict):
    apiId: str,
    functionId: str,

GetGraphqlApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetGraphqlApiRequestRequestTypeDef

def get_value() -> GetGraphqlApiRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class GetGraphqlApiRequestRequestTypeDef(TypedDict):
    apiId: str,

GetIntrospectionSchemaRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetIntrospectionSchemaRequestRequestTypeDef

def get_value() -> GetIntrospectionSchemaRequestRequestTypeDef:
    return {
        "apiId": ...,
        "format": ...,
    }
Definition
class GetIntrospectionSchemaRequestRequestTypeDef(TypedDict):
    apiId: str,
    format: OutputTypeType,  # (1)
    includeDirectives: NotRequired[bool],
  1. See OutputTypeType

GetResolverRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetResolverRequestRequestTypeDef

def get_value() -> GetResolverRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "fieldName": ...,
    }
Definition
class GetResolverRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    fieldName: str,

GetSchemaCreationStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetSchemaCreationStatusRequestRequestTypeDef

def get_value() -> GetSchemaCreationStatusRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class GetSchemaCreationStatusRequestRequestTypeDef(TypedDict):
    apiId: str,

GetTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetTypeRequestRequestTypeDef

def get_value() -> GetTypeRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "format": ...,
    }
Definition
class GetTypeRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    format: TypeDefinitionFormatType,  # (1)
  1. See TypeDefinitionFormatType

LambdaConflictHandlerConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import LambdaConflictHandlerConfigTypeDef

def get_value() -> LambdaConflictHandlerConfigTypeDef:
    return {
        "lambdaConflictHandlerArn": ...,
    }
Definition
class LambdaConflictHandlerConfigTypeDef(TypedDict):
    lambdaConflictHandlerArn: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApiKeysRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListApiKeysRequestRequestTypeDef

def get_value() -> ListApiKeysRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListApiKeysRequestRequestTypeDef(TypedDict):
    apiId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListDataSourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListDataSourcesRequestRequestTypeDef

def get_value() -> ListDataSourcesRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListDataSourcesRequestRequestTypeDef(TypedDict):
    apiId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListDomainNamesRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListDomainNamesRequestRequestTypeDef

def get_value() -> ListDomainNamesRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListDomainNamesRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListFunctionsRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListFunctionsRequestRequestTypeDef

def get_value() -> ListFunctionsRequestRequestTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListFunctionsRequestRequestTypeDef(TypedDict):
    apiId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListGraphqlApisRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListGraphqlApisRequestRequestTypeDef

def get_value() -> ListGraphqlApisRequestRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListGraphqlApisRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListResolversByFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListResolversByFunctionRequestRequestTypeDef

def get_value() -> ListResolversByFunctionRequestRequestTypeDef:
    return {
        "apiId": ...,
        "functionId": ...,
    }
Definition
class ListResolversByFunctionRequestRequestTypeDef(TypedDict):
    apiId: str,
    functionId: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListResolversRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListResolversRequestRequestTypeDef

def get_value() -> ListResolversRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
    }
Definition
class ListResolversRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListTypesRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListTypesRequestRequestTypeDef

def get_value() -> ListTypesRequestRequestTypeDef:
    return {
        "apiId": ...,
        "format": ...,
    }
Definition
class ListTypesRequestRequestTypeDef(TypedDict):
    apiId: str,
    format: TypeDefinitionFormatType,  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TypeDefinitionFormatType

RdsHttpEndpointConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import RdsHttpEndpointConfigTypeDef

def get_value() -> RdsHttpEndpointConfigTypeDef:
    return {
        "awsRegion": ...,
    }
Definition
class RdsHttpEndpointConfigTypeDef(TypedDict):
    awsRegion: NotRequired[str],
    dbClusterIdentifier: NotRequired[str],
    databaseName: NotRequired[str],
    schema: NotRequired[str],
    awsSecretStoreArn: NotRequired[str],

StartSchemaCreationRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import StartSchemaCreationRequestRequestTypeDef

def get_value() -> StartSchemaCreationRequestRequestTypeDef:
    return {
        "apiId": ...,
        "definition": ...,
    }
Definition
class StartSchemaCreationRequestRequestTypeDef(TypedDict):
    apiId: str,
    definition: Union[str, bytes, IO[Any], StreamingBody],

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateApiCacheRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateApiCacheRequestRequestTypeDef

def get_value() -> UpdateApiCacheRequestRequestTypeDef:
    return {
        "apiId": ...,
        "ttl": ...,
        "apiCachingBehavior": ...,
        "type": ...,
    }
Definition
class UpdateApiCacheRequestRequestTypeDef(TypedDict):
    apiId: str,
    ttl: int,
    apiCachingBehavior: ApiCachingBehaviorType,  # (1)
    type: ApiCacheTypeType,  # (2)
  1. See ApiCachingBehaviorType
  2. See ApiCacheTypeType

UpdateApiKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateApiKeyRequestRequestTypeDef

def get_value() -> UpdateApiKeyRequestRequestTypeDef:
    return {
        "apiId": ...,
        "id": ...,
    }
Definition
class UpdateApiKeyRequestRequestTypeDef(TypedDict):
    apiId: str,
    id: str,
    description: NotRequired[str],
    expires: NotRequired[int],

UpdateDomainNameRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateDomainNameRequestRequestTypeDef

def get_value() -> UpdateDomainNameRequestRequestTypeDef:
    return {
        "domainName": ...,
    }
Definition
class UpdateDomainNameRequestRequestTypeDef(TypedDict):
    domainName: str,
    description: NotRequired[str],

UpdateTypeRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateTypeRequestRequestTypeDef

def get_value() -> UpdateTypeRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "format": ...,
    }
Definition
class UpdateTypeRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    format: TypeDefinitionFormatType,  # (1)
    definition: NotRequired[str],
  1. See TypeDefinitionFormatType

AdditionalAuthenticationProviderTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import AdditionalAuthenticationProviderTypeDef

def get_value() -> AdditionalAuthenticationProviderTypeDef:
    return {
        "authenticationType": ...,
    }
Definition
class AdditionalAuthenticationProviderTypeDef(TypedDict):
    authenticationType: NotRequired[AuthenticationTypeType],  # (1)
    openIDConnectConfig: NotRequired[OpenIDConnectConfigTypeDef],  # (2)
    userPoolConfig: NotRequired[CognitoUserPoolConfigTypeDef],  # (3)
    lambdaAuthorizerConfig: NotRequired[LambdaAuthorizerConfigTypeDef],  # (4)
  1. See AuthenticationTypeType
  2. See OpenIDConnectConfigTypeDef
  3. See CognitoUserPoolConfigTypeDef
  4. See LambdaAuthorizerConfigTypeDef

AssociateApiResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import AssociateApiResponseTypeDef

def get_value() -> AssociateApiResponseTypeDef:
    return {
        "apiAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateApiResponseTypeDef(TypedDict):
    apiAssociation: ApiAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateApiCacheResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateApiCacheResponseTypeDef

def get_value() -> CreateApiCacheResponseTypeDef:
    return {
        "apiCache": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateApiCacheResponseTypeDef(TypedDict):
    apiCache: ApiCacheTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiCacheTypeDef
  2. See ResponseMetadataTypeDef

CreateApiKeyResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateApiKeyResponseTypeDef

def get_value() -> CreateApiKeyResponseTypeDef:
    return {
        "apiKey": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateApiKeyResponseTypeDef(TypedDict):
    apiKey: ApiKeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiKeyTypeDef
  2. See ResponseMetadataTypeDef

GetApiAssociationResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetApiAssociationResponseTypeDef

def get_value() -> GetApiAssociationResponseTypeDef:
    return {
        "apiAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetApiAssociationResponseTypeDef(TypedDict):
    apiAssociation: ApiAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiAssociationTypeDef
  2. See ResponseMetadataTypeDef

GetApiCacheResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetApiCacheResponseTypeDef

def get_value() -> GetApiCacheResponseTypeDef:
    return {
        "apiCache": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetApiCacheResponseTypeDef(TypedDict):
    apiCache: ApiCacheTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiCacheTypeDef
  2. See ResponseMetadataTypeDef

GetIntrospectionSchemaResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetIntrospectionSchemaResponseTypeDef

def get_value() -> GetIntrospectionSchemaResponseTypeDef:
    return {
        "schema": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetIntrospectionSchemaResponseTypeDef(TypedDict):
    schema: StreamingBody,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetSchemaCreationStatusResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetSchemaCreationStatusResponseTypeDef

def get_value() -> GetSchemaCreationStatusResponseTypeDef:
    return {
        "status": ...,
        "details": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSchemaCreationStatusResponseTypeDef(TypedDict):
    status: SchemaStatusType,  # (1)
    details: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SchemaStatusType
  2. See ResponseMetadataTypeDef

ListApiKeysResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListApiKeysResponseTypeDef

def get_value() -> ListApiKeysResponseTypeDef:
    return {
        "apiKeys": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListApiKeysResponseTypeDef(TypedDict):
    apiKeys: List[ApiKeyTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiKeyTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartSchemaCreationResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import StartSchemaCreationResponseTypeDef

def get_value() -> StartSchemaCreationResponseTypeDef:
    return {
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartSchemaCreationResponseTypeDef(TypedDict):
    status: SchemaStatusType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SchemaStatusType
  2. See ResponseMetadataTypeDef

UpdateApiCacheResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateApiCacheResponseTypeDef

def get_value() -> UpdateApiCacheResponseTypeDef:
    return {
        "apiCache": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateApiCacheResponseTypeDef(TypedDict):
    apiCache: ApiCacheTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiCacheTypeDef
  2. See ResponseMetadataTypeDef

UpdateApiKeyResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateApiKeyResponseTypeDef

def get_value() -> UpdateApiKeyResponseTypeDef:
    return {
        "apiKey": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateApiKeyResponseTypeDef(TypedDict):
    apiKey: ApiKeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApiKeyTypeDef
  2. See ResponseMetadataTypeDef

AuthorizationConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import AuthorizationConfigTypeDef

def get_value() -> AuthorizationConfigTypeDef:
    return {
        "authorizationType": ...,
    }
Definition
class AuthorizationConfigTypeDef(TypedDict):
    authorizationType: AuthorizationTypeType,  # (1)
    awsIamConfig: NotRequired[AwsIamConfigTypeDef],  # (2)
  1. See AuthorizationTypeType
  2. See AwsIamConfigTypeDef

CreateDomainNameResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateDomainNameResponseTypeDef

def get_value() -> CreateDomainNameResponseTypeDef:
    return {
        "domainNameConfig": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDomainNameResponseTypeDef(TypedDict):
    domainNameConfig: DomainNameConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainNameConfigTypeDef
  2. See ResponseMetadataTypeDef

GetDomainNameResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetDomainNameResponseTypeDef

def get_value() -> GetDomainNameResponseTypeDef:
    return {
        "domainNameConfig": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetDomainNameResponseTypeDef(TypedDict):
    domainNameConfig: DomainNameConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainNameConfigTypeDef
  2. See ResponseMetadataTypeDef

ListDomainNamesResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListDomainNamesResponseTypeDef

def get_value() -> ListDomainNamesResponseTypeDef:
    return {
        "domainNameConfigs": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDomainNamesResponseTypeDef(TypedDict):
    domainNameConfigs: List[DomainNameConfigTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainNameConfigTypeDef
  2. See ResponseMetadataTypeDef

UpdateDomainNameResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateDomainNameResponseTypeDef

def get_value() -> UpdateDomainNameResponseTypeDef:
    return {
        "domainNameConfig": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDomainNameResponseTypeDef(TypedDict):
    domainNameConfig: DomainNameConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainNameConfigTypeDef
  2. See ResponseMetadataTypeDef

CreateTypeResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateTypeResponseTypeDef

def get_value() -> CreateTypeResponseTypeDef:
    return {
        "type": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTypeResponseTypeDef(TypedDict):
    type: TypeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TypeTypeDef
  2. See ResponseMetadataTypeDef

GetTypeResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetTypeResponseTypeDef

def get_value() -> GetTypeResponseTypeDef:
    return {
        "type": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTypeResponseTypeDef(TypedDict):
    type: TypeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TypeTypeDef
  2. See ResponseMetadataTypeDef

ListTypesResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListTypesResponseTypeDef

def get_value() -> ListTypesResponseTypeDef:
    return {
        "types": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTypesResponseTypeDef(TypedDict):
    types: List[TypeTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TypeTypeDef
  2. See ResponseMetadataTypeDef

UpdateTypeResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateTypeResponseTypeDef

def get_value() -> UpdateTypeResponseTypeDef:
    return {
        "type": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateTypeResponseTypeDef(TypedDict):
    type: TypeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TypeTypeDef
  2. See ResponseMetadataTypeDef

DynamodbDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DynamodbDataSourceConfigTypeDef

def get_value() -> DynamodbDataSourceConfigTypeDef:
    return {
        "tableName": ...,
        "awsRegion": ...,
    }
Definition
class DynamodbDataSourceConfigTypeDef(TypedDict):
    tableName: str,
    awsRegion: str,
    useCallerCredentials: NotRequired[bool],
    deltaSyncConfig: NotRequired[DeltaSyncConfigTypeDef],  # (1)
    versioned: NotRequired[bool],
  1. See DeltaSyncConfigTypeDef

EvaluateMappingTemplateResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import EvaluateMappingTemplateResponseTypeDef

def get_value() -> EvaluateMappingTemplateResponseTypeDef:
    return {
        "evaluationResult": ...,
        "error": ...,
        "ResponseMetadata": ...,
    }
Definition
class EvaluateMappingTemplateResponseTypeDef(TypedDict):
    evaluationResult: str,
    error: ErrorDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ErrorDetailTypeDef
  2. See ResponseMetadataTypeDef

SyncConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import SyncConfigTypeDef

def get_value() -> SyncConfigTypeDef:
    return {
        "conflictHandler": ...,
    }
Definition
class SyncConfigTypeDef(TypedDict):
    conflictHandler: NotRequired[ConflictHandlerTypeType],  # (1)
    conflictDetection: NotRequired[ConflictDetectionTypeType],  # (2)
    lambdaConflictHandlerConfig: NotRequired[LambdaConflictHandlerConfigTypeDef],  # (3)
  1. See ConflictHandlerTypeType
  2. See ConflictDetectionTypeType
  3. See LambdaConflictHandlerConfigTypeDef

ListApiKeysRequestListApiKeysPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListApiKeysRequestListApiKeysPaginateTypeDef

def get_value() -> ListApiKeysRequestListApiKeysPaginateTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListApiKeysRequestListApiKeysPaginateTypeDef(TypedDict):
    apiId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDataSourcesRequestListDataSourcesPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListDataSourcesRequestListDataSourcesPaginateTypeDef

def get_value() -> ListDataSourcesRequestListDataSourcesPaginateTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListDataSourcesRequestListDataSourcesPaginateTypeDef(TypedDict):
    apiId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListFunctionsRequestListFunctionsPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListFunctionsRequestListFunctionsPaginateTypeDef

def get_value() -> ListFunctionsRequestListFunctionsPaginateTypeDef:
    return {
        "apiId": ...,
    }
Definition
class ListFunctionsRequestListFunctionsPaginateTypeDef(TypedDict):
    apiId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListGraphqlApisRequestListGraphqlApisPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListGraphqlApisRequestListGraphqlApisPaginateTypeDef

def get_value() -> ListGraphqlApisRequestListGraphqlApisPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListGraphqlApisRequestListGraphqlApisPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListResolversByFunctionRequestListResolversByFunctionPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListResolversByFunctionRequestListResolversByFunctionPaginateTypeDef

def get_value() -> ListResolversByFunctionRequestListResolversByFunctionPaginateTypeDef:
    return {
        "apiId": ...,
        "functionId": ...,
    }
Definition
class ListResolversByFunctionRequestListResolversByFunctionPaginateTypeDef(TypedDict):
    apiId: str,
    functionId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListResolversRequestListResolversPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListResolversRequestListResolversPaginateTypeDef

def get_value() -> ListResolversRequestListResolversPaginateTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
    }
Definition
class ListResolversRequestListResolversPaginateTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListTypesRequestListTypesPaginateTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListTypesRequestListTypesPaginateTypeDef

def get_value() -> ListTypesRequestListTypesPaginateTypeDef:
    return {
        "apiId": ...,
        "format": ...,
    }
Definition
class ListTypesRequestListTypesPaginateTypeDef(TypedDict):
    apiId: str,
    format: TypeDefinitionFormatType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TypeDefinitionFormatType
  2. See PaginatorConfigTypeDef

RelationalDatabaseDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import RelationalDatabaseDataSourceConfigTypeDef

def get_value() -> RelationalDatabaseDataSourceConfigTypeDef:
    return {
        "relationalDatabaseSourceType": ...,
    }
Definition
class RelationalDatabaseDataSourceConfigTypeDef(TypedDict):
    relationalDatabaseSourceType: NotRequired[RelationalDatabaseSourceTypeType],  # (1)
    rdsHttpEndpointConfig: NotRequired[RdsHttpEndpointConfigTypeDef],  # (2)
  1. See RelationalDatabaseSourceTypeType
  2. See RdsHttpEndpointConfigTypeDef

CreateGraphqlApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateGraphqlApiRequestRequestTypeDef

def get_value() -> CreateGraphqlApiRequestRequestTypeDef:
    return {
        "name": ...,
        "authenticationType": ...,
    }
Definition
class CreateGraphqlApiRequestRequestTypeDef(TypedDict):
    name: str,
    authenticationType: AuthenticationTypeType,  # (1)
    logConfig: NotRequired[LogConfigTypeDef],  # (2)
    userPoolConfig: NotRequired[UserPoolConfigTypeDef],  # (3)
    openIDConnectConfig: NotRequired[OpenIDConnectConfigTypeDef],  # (4)
    tags: NotRequired[Mapping[str, str]],
    additionalAuthenticationProviders: NotRequired[Sequence[AdditionalAuthenticationProviderTypeDef]],  # (5)
    xrayEnabled: NotRequired[bool],
    lambdaAuthorizerConfig: NotRequired[LambdaAuthorizerConfigTypeDef],  # (6)
  1. See AuthenticationTypeType
  2. See LogConfigTypeDef
  3. See UserPoolConfigTypeDef
  4. See OpenIDConnectConfigTypeDef
  5. See AdditionalAuthenticationProviderTypeDef
  6. See LambdaAuthorizerConfigTypeDef

GraphqlApiTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GraphqlApiTypeDef

def get_value() -> GraphqlApiTypeDef:
    return {
        "name": ...,
    }
Definition
class GraphqlApiTypeDef(TypedDict):
    name: NotRequired[str],
    apiId: NotRequired[str],
    authenticationType: NotRequired[AuthenticationTypeType],  # (1)
    logConfig: NotRequired[LogConfigTypeDef],  # (2)
    userPoolConfig: NotRequired[UserPoolConfigTypeDef],  # (3)
    openIDConnectConfig: NotRequired[OpenIDConnectConfigTypeDef],  # (4)
    arn: NotRequired[str],
    uris: NotRequired[Dict[str, str]],
    tags: NotRequired[Dict[str, str]],
    additionalAuthenticationProviders: NotRequired[List[AdditionalAuthenticationProviderTypeDef]],  # (5)
    xrayEnabled: NotRequired[bool],
    wafWebAclArn: NotRequired[str],
    lambdaAuthorizerConfig: NotRequired[LambdaAuthorizerConfigTypeDef],  # (6)
  1. See AuthenticationTypeType
  2. See LogConfigTypeDef
  3. See UserPoolConfigTypeDef
  4. See OpenIDConnectConfigTypeDef
  5. See AdditionalAuthenticationProviderTypeDef
  6. See LambdaAuthorizerConfigTypeDef

UpdateGraphqlApiRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateGraphqlApiRequestRequestTypeDef

def get_value() -> UpdateGraphqlApiRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
    }
Definition
class UpdateGraphqlApiRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,
    logConfig: NotRequired[LogConfigTypeDef],  # (1)
    authenticationType: NotRequired[AuthenticationTypeType],  # (2)
    userPoolConfig: NotRequired[UserPoolConfigTypeDef],  # (3)
    openIDConnectConfig: NotRequired[OpenIDConnectConfigTypeDef],  # (4)
    additionalAuthenticationProviders: NotRequired[Sequence[AdditionalAuthenticationProviderTypeDef]],  # (5)
    xrayEnabled: NotRequired[bool],
    lambdaAuthorizerConfig: NotRequired[LambdaAuthorizerConfigTypeDef],  # (6)
  1. See LogConfigTypeDef
  2. See AuthenticationTypeType
  3. See UserPoolConfigTypeDef
  4. See OpenIDConnectConfigTypeDef
  5. See AdditionalAuthenticationProviderTypeDef
  6. See LambdaAuthorizerConfigTypeDef

HttpDataSourceConfigTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import HttpDataSourceConfigTypeDef

def get_value() -> HttpDataSourceConfigTypeDef:
    return {
        "endpoint": ...,
    }
Definition
class HttpDataSourceConfigTypeDef(TypedDict):
    endpoint: NotRequired[str],
    authorizationConfig: NotRequired[AuthorizationConfigTypeDef],  # (1)
  1. See AuthorizationConfigTypeDef

CreateFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateFunctionRequestRequestTypeDef

def get_value() -> CreateFunctionRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
        "dataSourceName": ...,
        "functionVersion": ...,
    }
Definition
class CreateFunctionRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,
    dataSourceName: str,
    functionVersion: str,
    description: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    syncConfig: NotRequired[SyncConfigTypeDef],  # (1)
    maxBatchSize: NotRequired[int],
  1. See SyncConfigTypeDef

CreateResolverRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateResolverRequestRequestTypeDef

def get_value() -> CreateResolverRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "fieldName": ...,
    }
Definition
class CreateResolverRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    fieldName: str,
    dataSourceName: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    kind: NotRequired[ResolverKindType],  # (1)
    pipelineConfig: NotRequired[PipelineConfigTypeDef],  # (2)
    syncConfig: NotRequired[SyncConfigTypeDef],  # (3)
    cachingConfig: NotRequired[CachingConfigTypeDef],  # (4)
    maxBatchSize: NotRequired[int],
  1. See ResolverKindType
  2. See PipelineConfigTypeDef
  3. See SyncConfigTypeDef
  4. See CachingConfigTypeDef

FunctionConfigurationTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import FunctionConfigurationTypeDef

def get_value() -> FunctionConfigurationTypeDef:
    return {
        "functionId": ...,
    }
Definition
class FunctionConfigurationTypeDef(TypedDict):
    functionId: NotRequired[str],
    functionArn: NotRequired[str],
    name: NotRequired[str],
    description: NotRequired[str],
    dataSourceName: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    functionVersion: NotRequired[str],
    syncConfig: NotRequired[SyncConfigTypeDef],  # (1)
    maxBatchSize: NotRequired[int],
  1. See SyncConfigTypeDef

ResolverTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ResolverTypeDef

def get_value() -> ResolverTypeDef:
    return {
        "typeName": ...,
    }
Definition
class ResolverTypeDef(TypedDict):
    typeName: NotRequired[str],
    fieldName: NotRequired[str],
    dataSourceName: NotRequired[str],
    resolverArn: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    kind: NotRequired[ResolverKindType],  # (1)
    pipelineConfig: NotRequired[PipelineConfigTypeDef],  # (2)
    syncConfig: NotRequired[SyncConfigTypeDef],  # (3)
    cachingConfig: NotRequired[CachingConfigTypeDef],  # (4)
    maxBatchSize: NotRequired[int],
  1. See ResolverKindType
  2. See PipelineConfigTypeDef
  3. See SyncConfigTypeDef
  4. See CachingConfigTypeDef

UpdateFunctionRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateFunctionRequestRequestTypeDef

def get_value() -> UpdateFunctionRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
        "functionId": ...,
        "dataSourceName": ...,
        "functionVersion": ...,
    }
Definition
class UpdateFunctionRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,
    functionId: str,
    dataSourceName: str,
    functionVersion: str,
    description: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    syncConfig: NotRequired[SyncConfigTypeDef],  # (1)
    maxBatchSize: NotRequired[int],
  1. See SyncConfigTypeDef

UpdateResolverRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateResolverRequestRequestTypeDef

def get_value() -> UpdateResolverRequestRequestTypeDef:
    return {
        "apiId": ...,
        "typeName": ...,
        "fieldName": ...,
    }
Definition
class UpdateResolverRequestRequestTypeDef(TypedDict):
    apiId: str,
    typeName: str,
    fieldName: str,
    dataSourceName: NotRequired[str],
    requestMappingTemplate: NotRequired[str],
    responseMappingTemplate: NotRequired[str],
    kind: NotRequired[ResolverKindType],  # (1)
    pipelineConfig: NotRequired[PipelineConfigTypeDef],  # (2)
    syncConfig: NotRequired[SyncConfigTypeDef],  # (3)
    cachingConfig: NotRequired[CachingConfigTypeDef],  # (4)
    maxBatchSize: NotRequired[int],
  1. See ResolverKindType
  2. See PipelineConfigTypeDef
  3. See SyncConfigTypeDef
  4. See CachingConfigTypeDef

CreateGraphqlApiResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateGraphqlApiResponseTypeDef

def get_value() -> CreateGraphqlApiResponseTypeDef:
    return {
        "graphqlApi": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateGraphqlApiResponseTypeDef(TypedDict):
    graphqlApi: GraphqlApiTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GraphqlApiTypeDef
  2. See ResponseMetadataTypeDef

GetGraphqlApiResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import GetGraphqlApiResponseTypeDef

def get_value() -> GetGraphqlApiResponseTypeDef:
    return {
        "graphqlApi": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetGraphqlApiResponseTypeDef(TypedDict):
    graphqlApi: GraphqlApiTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GraphqlApiTypeDef
  2. See ResponseMetadataTypeDef

ListGraphqlApisResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import ListGraphqlApisResponseTypeDef

def get_value() -> ListGraphqlApisResponseTypeDef:
    return {
        "graphqlApis": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListGraphqlApisResponseTypeDef(TypedDict):
    graphqlApis: List[GraphqlApiTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GraphqlApiTypeDef
  2. See ResponseMetadataTypeDef

UpdateGraphqlApiResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateGraphqlApiResponseTypeDef

def get_value() -> UpdateGraphqlApiResponseTypeDef:
    return {
        "graphqlApi": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateGraphqlApiResponseTypeDef(TypedDict):
    graphqlApi: GraphqlApiTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GraphqlApiTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateDataSourceRequestRequestTypeDef

def get_value() -> CreateDataSourceRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
        "type": ...,
    }
Definition
class CreateDataSourceRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,
    type: DataSourceTypeType,  # (1)
    description: NotRequired[str],
    serviceRoleArn: NotRequired[str],
    dynamodbConfig: NotRequired[DynamodbDataSourceConfigTypeDef],  # (2)
    lambdaConfig: NotRequired[LambdaDataSourceConfigTypeDef],  # (3)
    elasticsearchConfig: NotRequired[ElasticsearchDataSourceConfigTypeDef],  # (4)
    openSearchServiceConfig: NotRequired[OpenSearchServiceDataSourceConfigTypeDef],  # (5)
    httpConfig: NotRequired[HttpDataSourceConfigTypeDef],  # (6)
    relationalDatabaseConfig: NotRequired[RelationalDatabaseDataSourceConfigTypeDef],  # (7)
  1. See DataSourceTypeType
  2. See DynamodbDataSourceConfigTypeDef
  3. See LambdaDataSourceConfigTypeDef
  4. See ElasticsearchDataSourceConfigTypeDef
  5. See OpenSearchServiceDataSourceConfigTypeDef
  6. See HttpDataSourceConfigTypeDef
  7. See RelationalDatabaseDataSourceConfigTypeDef

DataSourceTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import DataSourceTypeDef

def get_value() -> DataSourceTypeDef:
    return {
        "dataSourceArn": ...,
    }
Definition
class DataSourceTypeDef(TypedDict):
    dataSourceArn: NotRequired[str],
    name: NotRequired[str],
    description: NotRequired[str],
    type: NotRequired[DataSourceTypeType],  # (1)
    serviceRoleArn: NotRequired[str],
    dynamodbConfig: NotRequired[DynamodbDataSourceConfigTypeDef],  # (2)
    lambdaConfig: NotRequired[LambdaDataSourceConfigTypeDef],  # (3)
    elasticsearchConfig: NotRequired[ElasticsearchDataSourceConfigTypeDef],  # (4)
    openSearchServiceConfig: NotRequired[OpenSearchServiceDataSourceConfigTypeDef],  # (5)
    httpConfig: NotRequired[HttpDataSourceConfigTypeDef],  # (6)
    relationalDatabaseConfig: NotRequired[RelationalDatabaseDataSourceConfigTypeDef],  # (7)
  1. See DataSourceTypeType
  2. See DynamodbDataSourceConfigTypeDef
  3. See LambdaDataSourceConfigTypeDef
  4. See ElasticsearchDataSourceConfigTypeDef
  5. See OpenSearchServiceDataSourceConfigTypeDef
  6. See HttpDataSourceConfigTypeDef
  7. See RelationalDatabaseDataSourceConfigTypeDef

UpdateDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import UpdateDataSourceRequestRequestTypeDef

def get_value() -> UpdateDataSourceRequestRequestTypeDef:
    return {
        "apiId": ...,
        "name": ...,
        "type": ...,
    }
Definition
class UpdateDataSourceRequestRequestTypeDef(TypedDict):
    apiId: str,
    name: str,
    type: DataSourceTypeType,  # (1)
    description: NotRequired[str],
    serviceRoleArn: NotRequired[str],
    dynamodbConfig: NotRequired[DynamodbDataSourceConfigTypeDef],  # (2)
    lambdaConfig: NotRequired[LambdaDataSourceConfigTypeDef],  # (3)
    elasticsearchConfig: NotRequired[ElasticsearchDataSourceConfigTypeDef],  # (4)
    openSearchServiceConfig: NotRequired[OpenSearchServiceDataSourceConfigTypeDef],  # (5)
    httpConfig: NotRequired[HttpDataSourceConfigTypeDef],  # (6)
    relationalDatabaseConfig: NotRequired[RelationalDatabaseDataSourceConfigTypeDef],  # (7)
  1. See DataSourceTypeType
  2. See DynamodbDataSourceConfigTypeDef
  3. See LambdaDataSourceConfigTypeDef
  4. See ElasticsearchDataSourceConfigTypeDef
  5. See OpenSearchServiceDataSourceConfigTypeDef
  6. See HttpDataSourceConfigTypeDef
  7. See RelationalDatabaseDataSourceConfigTypeDef

CreateFunctionResponseTypeDef

Usage Example
from mypy_boto3_appsync.type_defs import CreateFunctionResponseTypeDef

def get_value() -> CreateFunctionResponseTypeDef:
    return {
        "functionConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFunctionResponseTypeDef(TypedDict):
    functionConfiguration: FunctionConfigurationTypeDef,  # (1)
    ResponseMetadata: