Skip to content

Type definitions#

Index > AppSync > Type definitions

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

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

CognitoUserPoolConfigTypeDef#

# CognitoUserPoolConfigTypeDef definition

class CognitoUserPoolConfigTypeDef(TypedDict):
    userPoolId: str,
    awsRegion: str,
    appIdClientRegex: NotRequired[str],

LambdaAuthorizerConfigTypeDef#

# LambdaAuthorizerConfigTypeDef definition

class LambdaAuthorizerConfigTypeDef(TypedDict):
    authorizerUri: str,
    authorizerResultTtlInSeconds: NotRequired[int],
    identityValidationExpression: NotRequired[str],

OpenIDConnectConfigTypeDef#

# OpenIDConnectConfigTypeDef definition

class OpenIDConnectConfigTypeDef(TypedDict):
    issuer: str,
    clientId: NotRequired[str],
    iatTTL: NotRequired[int],
    authTTL: NotRequired[int],

ApiAssociationTypeDef#

# ApiAssociationTypeDef definition

class ApiAssociationTypeDef(TypedDict):
    domainName: NotRequired[str],
    apiId: NotRequired[str],
    associationStatus: NotRequired[AssociationStatusType],  # (1)
    deploymentDetail: NotRequired[str],
  1. See AssociationStatusType

ApiCacheTypeDef#

# ApiCacheTypeDef 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)
    healthMetricsConfig: NotRequired[CacheHealthMetricsConfigType],  # (4)
  1. See ApiCachingBehaviorType
  2. See ApiCacheTypeType
  3. See ApiCacheStatusType
  4. See CacheHealthMetricsConfigType

ApiKeyTypeDef#

# ApiKeyTypeDef definition

class ApiK