AppSyncClient
Auto-generated documentation for AppSync type annotations stubs module mypy-boto3-appsync.
AppSyncClient
Type annotations and code completion for boto3.client("appsync")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_appsync.client import AppSyncClient
def get_appsync_client() -> AppSyncClient:
return Session().client("appsync")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("appsync").exceptions
structure.
client = boto3.client("appsync")
try:
do_something(client)
except (
client.AccessDeniedException,
client.ApiKeyLimitExceededException,
client.ApiKeyValidityOutOfBoundsException,
client.ApiLimitExceededException,
client.BadRequestException,
client.ClientError,
client.ConcurrentModificationException,
client.GraphQLSchemaException,
client.InternalFailureException,
client.LimitExceededException,
client.NotFoundException,
client.UnauthorizedException,
) as e:
print(e)
from mypy_boto3_appsync.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods
associate_api
Maps an endpoint to your custom domain.
Type annotations and code completion for boto3.client("appsync").associate_api
method.
boto3 documentation
def associate_api(
self,
*,
domainName: str,
apiId: str,
) -> AssociateApiResponseTypeDef: # (1)
...
kwargs: AssociateApiRequestRequestTypeDef = { # (1)
"domainName": ...,
"apiId": ...,
}
parent.associate_api(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("appsync").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("appsync").close
method.
boto3 documentation
create_api_cache
Creates a cache for the GraphQL API.
Type annotations and code completion for boto3.client("appsync").create_api_cache
method.
boto3 documentation
def create_api_cache(
self,
*,
apiId: str,
ttl: int,
apiCachingBehavior: ApiCachingBehaviorType, # (1)
type: ApiCacheTypeType, # (2)
transitEncryptionEnabled: bool = ...,
atRestEncryptionEnabled: bool = ...,
) -> CreateApiCacheResponseTypeDef: # (3)
...
kwargs: CreateApiCacheRequestRequestTypeDef = { # (1)
"apiId": ...,
"ttl": ...,
"apiCachingBehavior": ...,
"type": ...,
}
parent.create_api_cache(**kwargs)
create_api_key
Creates a unique key that you can distribute to clients who invoke your API.
Type annotations and code completion for boto3.client("appsync").create_api_key
method.
boto3 documentation
def create_api_key(
self,
*,
apiId: str,
description: str = ...,
expires: int = ...,
) -> CreateApiKeyResponseTypeDef: # (1)
...
kwargs: CreateApiKeyRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.create_api_key(**kwargs)
create_data_source
Creates a DataSource
object.
Type annotations and code completion for boto3.client("appsync").create_data_source
method.
boto3 documentation
def create_data_source(
self,
*,
apiId: str,
name: str,
type: DataSourceTypeType, # (1)
description: str = ...,
serviceRoleArn: str = ...,
dynamodbConfig: DynamodbDataSourceConfigTypeDef = ..., # (2)
lambdaConfig: LambdaDataSourceConfigTypeDef = ..., # (3)
elasticsearchConfig: ElasticsearchDataSourceConfigTypeDef = ..., # (4)
openSearchServiceConfig: OpenSearchServiceDataSourceConfigTypeDef = ..., # (5)
httpConfig: HttpDataSourceConfigTypeDef = ..., # (6)
relationalDatabaseConfig: RelationalDatabaseDataSourceConfigTypeDef = ..., # (7)
eventBridgeConfig: EventBridgeDataSourceConfigTypeDef = ..., # (8)
) -> CreateDataSourceResponseTypeDef: # (9)
...
- See DataSourceTypeType
- See DynamodbDataSourceConfigTypeDef
- See LambdaDataSourceConfigTypeDef
- See ElasticsearchDataSourceConfigTypeDef
- See OpenSearchServiceDataSourceConfigTypeDef
- See HttpDataSourceConfigTypeDef
- See RelationalDatabaseDataSourceConfigTypeDef
- See EventBridgeDataSourceConfigTypeDef
- See CreateDataSourceResponseTypeDef
kwargs: CreateDataSourceRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
"type": ...,
}
parent.create_data_source(**kwargs)
create_domain_name
Creates a custom DomainName
object.
Type annotations and code completion for boto3.client("appsync").create_domain_name
method.
boto3 documentation
def create_domain_name(
self,
*,
domainName: str,
certificateArn: str,
description: str = ...,
) -> CreateDomainNameResponseTypeDef: # (1)
...
kwargs: CreateDomainNameRequestRequestTypeDef = { # (1)
"domainName": ...,
"certificateArn": ...,
}
parent.create_domain_name(**kwargs)
create_function
Creates a Function
object.
Type annotations and code completion for boto3.client("appsync").create_function
method.
boto3 documentation
def create_function(
self,
*,
apiId: str,
name: str,
dataSourceName: str,
description: str = ...,
requestMappingTemplate: str = ...,
responseMappingTemplate: str = ...,
functionVersion: str = ...,
syncConfig: SyncConfigTypeDef = ..., # (1)
maxBatchSize: int = ...,
runtime: AppSyncRuntimeTypeDef = ..., # (2)
code: str = ...,
) -> CreateFunctionResponseTypeDef: # (3)
...
kwargs: CreateFunctionRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
"dataSourceName": ...,
}
parent.create_function(**kwargs)
create_graphql_api
Creates a GraphqlApi
object.
Type annotations and code completion for boto3.client("appsync").create_graphql_api
method.
boto3 documentation
def create_graphql_api(
self,
*,
name: str,
authenticationType: AuthenticationTypeType, # (1)
logConfig: LogConfigTypeDef = ..., # (2)
userPoolConfig: UserPoolConfigTypeDef = ..., # (3)
openIDConnectConfig: OpenIDConnectConfigTypeDef = ..., # (4)
tags: Mapping[str, str] = ...,
additionalAuthenticationProviders: Sequence[AdditionalAuthenticationProviderTypeDef] = ..., # (5)
xrayEnabled: bool = ...,
lambdaAuthorizerConfig: LambdaAuthorizerConfigTypeDef = ..., # (6)
) -> CreateGraphqlApiResponseTypeDef: # (7)
...
- See AuthenticationTypeType
- See LogConfigTypeDef
- See UserPoolConfigTypeDef
- See OpenIDConnectConfigTypeDef
- See AdditionalAuthenticationProviderTypeDef
- See LambdaAuthorizerConfigTypeDef
- See CreateGraphqlApiResponseTypeDef
kwargs: CreateGraphqlApiRequestRequestTypeDef = { # (1)
"name": ...,
"authenticationType": ...,
}
parent.create_graphql_api(**kwargs)
create_resolver
Creates a Resolver
object.
Type annotations and code completion for boto3.client("appsync").create_resolver
method.
boto3 documentation
def create_resolver(
self,
*,
apiId: str,
typeName: str,
fieldName: str,
dataSourceName: str = ...,
requestMappingTemplate: str = ...,
responseMappingTemplate: str = ...,
kind: ResolverKindType = ..., # (1)
pipelineConfig: PipelineConfigTypeDef = ..., # (2)
syncConfig: SyncConfigTypeDef = ..., # (3)
cachingConfig: CachingConfigTypeDef = ..., # (4)
maxBatchSize: int = ...,
runtime: AppSyncRuntimeTypeDef = ..., # (5)
code: str = ...,
) -> CreateResolverResponseTypeDef: # (6)
...
- See ResolverKindType
- See PipelineConfigTypeDef
- See SyncConfigTypeDef
- See CachingConfigTypeDef
- See AppSyncRuntimeTypeDef
- See CreateResolverResponseTypeDef
kwargs: CreateResolverRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"fieldName": ...,
}
parent.create_resolver(**kwargs)
create_type
Creates a Type
object.
Type annotations and code completion for boto3.client("appsync").create_type
method.
boto3 documentation
def create_type(
self,
*,
apiId: str,
definition: str,
format: TypeDefinitionFormatType, # (1)
) -> CreateTypeResponseTypeDef: # (2)
...
kwargs: CreateTypeRequestRequestTypeDef = { # (1)
"apiId": ...,
"definition": ...,
"format": ...,
}
parent.create_type(**kwargs)
delete_api_cache
Deletes an ApiCache
object.
Type annotations and code completion for boto3.client("appsync").delete_api_cache
method.
boto3 documentation
kwargs: DeleteApiCacheRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.delete_api_cache(**kwargs)
delete_api_key
Deletes an API key.
Type annotations and code completion for boto3.client("appsync").delete_api_key
method.
boto3 documentation
kwargs: DeleteApiKeyRequestRequestTypeDef = { # (1)
"apiId": ...,
"id": ...,
}
parent.delete_api_key(**kwargs)
delete_data_source
Deletes a DataSource
object.
Type annotations and code completion for boto3.client("appsync").delete_data_source
method.
boto3 documentation
kwargs: DeleteDataSourceRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
}
parent.delete_data_source(**kwargs)
delete_domain_name
Deletes a custom DomainName
object.
Type annotations and code completion for boto3.client("appsync").delete_domain_name
method.
boto3 documentation
kwargs: DeleteDomainNameRequestRequestTypeDef = { # (1)
"domainName": ...,
}
parent.delete_domain_name(**kwargs)
delete_function
Deletes a Function
.
Type annotations and code completion for boto3.client("appsync").delete_function
method.
boto3 documentation
def delete_function(
self,
*,
apiId: str,
functionId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteFunctionRequestRequestTypeDef = { # (1)
"apiId": ...,
"functionId": ...,
}
parent.delete_function(**kwargs)
delete_graphql_api
Deletes a GraphqlApi
object.
Type annotations and code completion for boto3.client("appsync").delete_graphql_api
method.
boto3 documentation
kwargs: DeleteGraphqlApiRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.delete_graphql_api(**kwargs)
delete_resolver
Deletes a Resolver
object.
Type annotations and code completion for boto3.client("appsync").delete_resolver
method.
boto3 documentation
def delete_resolver(
self,
*,
apiId: str,
typeName: str,
fieldName: str,
) -> Dict[str, Any]:
...
kwargs: DeleteResolverRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"fieldName": ...,
}
parent.delete_resolver(**kwargs)
delete_type
Deletes a Type
object.
Type annotations and code completion for boto3.client("appsync").delete_type
method.
boto3 documentation
kwargs: DeleteTypeRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
}
parent.delete_type(**kwargs)
disassociate_api
Removes an ApiAssociation
object from a custom domain.
Type annotations and code completion for boto3.client("appsync").disassociate_api
method.
boto3 documentation
kwargs: DisassociateApiRequestRequestTypeDef = { # (1)
"domainName": ...,
}
parent.disassociate_api(**kwargs)
evaluate_code
Evaluates the given code and returns the response.
Type annotations and code completion for boto3.client("appsync").evaluate_code
method.
boto3 documentation
def evaluate_code(
self,
*,
runtime: AppSyncRuntimeTypeDef, # (1)
code: str,
context: str,
function: str = ...,
) -> EvaluateCodeResponseTypeDef: # (2)
...
kwargs: EvaluateCodeRequestRequestTypeDef = { # (1)
"runtime": ...,
"code": ...,
"context": ...,
}
parent.evaluate_code(**kwargs)
evaluate_mapping_template
Evaluates a given template and returns the response.
Type annotations and code completion for boto3.client("appsync").evaluate_mapping_template
method.
boto3 documentation
def evaluate_mapping_template(
self,
*,
template: str,
context: str,
) -> EvaluateMappingTemplateResponseTypeDef: # (1)
...
kwargs: EvaluateMappingTemplateRequestRequestTypeDef = { # (1)
"template": ...,
"context": ...,
}
parent.evaluate_mapping_template(**kwargs)
flush_api_cache
Flushes an ApiCache
object.
Type annotations and code completion for boto3.client("appsync").flush_api_cache
method.
boto3 documentation
kwargs: FlushApiCacheRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.flush_api_cache(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("appsync").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_api_association
Retrieves an ApiAssociation
object.
Type annotations and code completion for boto3.client("appsync").get_api_association
method.
boto3 documentation
def get_api_association(
self,
*,
domainName: str,
) -> GetApiAssociationResponseTypeDef: # (1)
...
kwargs: GetApiAssociationRequestRequestTypeDef = { # (1)
"domainName": ...,
}
parent.get_api_association(**kwargs)
get_api_cache
Retrieves an ApiCache
object.
Type annotations and code completion for boto3.client("appsync").get_api_cache
method.
boto3 documentation
kwargs: GetApiCacheRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.get_api_cache(**kwargs)
get_data_source
Retrieves a DataSource
object.
Type annotations and code completion for boto3.client("appsync").get_data_source
method.
boto3 documentation
def get_data_source(
self,
*,
apiId: str,
name: str,
) -> GetDataSourceResponseTypeDef: # (1)
...
kwargs: GetDataSourceRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
}
parent.get_data_source(**kwargs)
get_domain_name
Retrieves a custom DomainName
object.
Type annotations and code completion for boto3.client("appsync").get_domain_name
method.
boto3 documentation
def get_domain_name(
self,
*,
domainName: str,
) -> GetDomainNameResponseTypeDef: # (1)
...
kwargs: GetDomainNameRequestRequestTypeDef = { # (1)
"domainName": ...,
}
parent.get_domain_name(**kwargs)
get_function
Get a Function
.
Type annotations and code completion for boto3.client("appsync").get_function
method.
boto3 documentation
def get_function(
self,
*,
apiId: str,
functionId: str,
) -> GetFunctionResponseTypeDef: # (1)
...
kwargs: GetFunctionRequestRequestTypeDef = { # (1)
"apiId": ...,
"functionId": ...,
}
parent.get_function(**kwargs)
get_graphql_api
Retrieves a GraphqlApi
object.
Type annotations and code completion for boto3.client("appsync").get_graphql_api
method.
boto3 documentation
def get_graphql_api(
self,
*,
apiId: str,
) -> GetGraphqlApiResponseTypeDef: # (1)
...
kwargs: GetGraphqlApiRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.get_graphql_api(**kwargs)
get_introspection_schema
Retrieves the introspection schema for a GraphQL API.
Type annotations and code completion for boto3.client("appsync").get_introspection_schema
method.
boto3 documentation
def get_introspection_schema(
self,
*,
apiId: str,
format: OutputTypeType, # (1)
includeDirectives: bool = ...,
) -> GetIntrospectionSchemaResponseTypeDef: # (2)
...
kwargs: GetIntrospectionSchemaRequestRequestTypeDef = { # (1)
"apiId": ...,
"format": ...,
}
parent.get_introspection_schema(**kwargs)
get_resolver
Retrieves a Resolver
object.
Type annotations and code completion for boto3.client("appsync").get_resolver
method.
boto3 documentation
def get_resolver(
self,
*,
apiId: str,
typeName: str,
fieldName: str,
) -> GetResolverResponseTypeDef: # (1)
...
kwargs: GetResolverRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"fieldName": ...,
}
parent.get_resolver(**kwargs)
get_schema_creation_status
Retrieves the current status of a schema creation operation.
Type annotations and code completion for boto3.client("appsync").get_schema_creation_status
method.
boto3 documentation
def get_schema_creation_status(
self,
*,
apiId: str,
) -> GetSchemaCreationStatusResponseTypeDef: # (1)
...
kwargs: GetSchemaCreationStatusRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.get_schema_creation_status(**kwargs)
get_type
Retrieves a Type
object.
Type annotations and code completion for boto3.client("appsync").get_type
method.
boto3 documentation
def get_type(
self,
*,
apiId: str,
typeName: str,
format: TypeDefinitionFormatType, # (1)
) -> GetTypeResponseTypeDef: # (2)
...
kwargs: GetTypeRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"format": ...,
}
parent.get_type(**kwargs)
list_api_keys
Lists the API keys for a given API.
Type annotations and code completion for boto3.client("appsync").list_api_keys
method.
boto3 documentation
def list_api_keys(
self,
*,
apiId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListApiKeysResponseTypeDef: # (1)
...
kwargs: ListApiKeysRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.list_api_keys(**kwargs)
list_data_sources
Lists the data sources for a given API.
Type annotations and code completion for boto3.client("appsync").list_data_sources
method.
boto3 documentation
def list_data_sources(
self,
*,
apiId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDataSourcesResponseTypeDef: # (1)
...
kwargs: ListDataSourcesRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.list_data_sources(**kwargs)
list_domain_names
Lists multiple custom domain names.
Type annotations and code completion for boto3.client("appsync").list_domain_names
method.
boto3 documentation
def list_domain_names(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDomainNamesResponseTypeDef: # (1)
...
kwargs: ListDomainNamesRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_domain_names(**kwargs)
list_functions
List multiple functions.
Type annotations and code completion for boto3.client("appsync").list_functions
method.
boto3 documentation
def list_functions(
self,
*,
apiId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListFunctionsResponseTypeDef: # (1)
...
kwargs: ListFunctionsRequestRequestTypeDef = { # (1)
"apiId": ...,
}
parent.list_functions(**kwargs)
list_graphql_apis
Lists your GraphQL APIs.
Type annotations and code completion for boto3.client("appsync").list_graphql_apis
method.
boto3 documentation
def list_graphql_apis(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListGraphqlApisResponseTypeDef: # (1)
...
kwargs: ListGraphqlApisRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_graphql_apis(**kwargs)
list_resolvers
Lists the resolvers for a given API and type.
Type annotations and code completion for boto3.client("appsync").list_resolvers
method.
boto3 documentation
def list_resolvers(
self,
*,
apiId: str,
typeName: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListResolversResponseTypeDef: # (1)
...
kwargs: ListResolversRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
}
parent.list_resolvers(**kwargs)
list_resolvers_by_function
List the resolvers that are associated with a specific function.
Type annotations and code completion for boto3.client("appsync").list_resolvers_by_function
method.
boto3 documentation
def list_resolvers_by_function(
self,
*,
apiId: str,
functionId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListResolversByFunctionResponseTypeDef: # (1)
...
kwargs: ListResolversByFunctionRequestRequestTypeDef = { # (1)
"apiId": ...,
"functionId": ...,
}
parent.list_resolvers_by_function(**kwargs)
list_tags_for_resource
Lists the tags for a resource.
Type annotations and code completion for boto3.client("appsync").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_types
Lists the types for a given API.
Type annotations and code completion for boto3.client("appsync").list_types
method.
boto3 documentation
def list_types(
self,
*,
apiId: str,
format: TypeDefinitionFormatType, # (1)
nextToken: str = ...,
maxResults: int = ...,
) -> ListTypesResponseTypeDef: # (2)
...
kwargs: ListTypesRequestRequestTypeDef = { # (1)
"apiId": ...,
"format": ...,
}
parent.list_types(**kwargs)
start_schema_creation
Adds a new schema to your GraphQL API.
Type annotations and code completion for boto3.client("appsync").start_schema_creation
method.
boto3 documentation
def start_schema_creation(
self,
*,
apiId: str,
definition: Union[str, bytes, IO[Any], StreamingBody],
) -> StartSchemaCreationResponseTypeDef: # (1)
...
kwargs: StartSchemaCreationRequestRequestTypeDef = { # (1)
"apiId": ...,
"definition": ...,
}
parent.start_schema_creation(**kwargs)
tag_resource
Tags a resource with user-supplied tags.
Type annotations and code completion for boto3.client("appsync").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Untags a resource.
Type annotations and code completion for boto3.client("appsync").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_api_cache
Updates the cache for the GraphQL API.
Type annotations and code completion for boto3.client("appsync").update_api_cache
method.
boto3 documentation
def update_api_cache(
self,
*,
apiId: str,
ttl: int,
apiCachingBehavior: ApiCachingBehaviorType, # (1)
type: ApiCacheTypeType, # (2)
) -> UpdateApiCacheResponseTypeDef: # (3)
...
kwargs: UpdateApiCacheRequestRequestTypeDef = { # (1)
"apiId": ...,
"ttl": ...,
"apiCachingBehavior": ...,
"type": ...,
}
parent.update_api_cache(**kwargs)
update_api_key
Updates an API key.
Type annotations and code completion for boto3.client("appsync").update_api_key
method.
boto3 documentation
def update_api_key(
self,
*,
apiId: str,
id: str,
description: str = ...,
expires: int = ...,
) -> UpdateApiKeyResponseTypeDef: # (1)
...
kwargs: UpdateApiKeyRequestRequestTypeDef = { # (1)
"apiId": ...,
"id": ...,
}
parent.update_api_key(**kwargs)
update_data_source
Updates a DataSource
object.
Type annotations and code completion for boto3.client("appsync").update_data_source
method.
boto3 documentation
def update_data_source(
self,
*,
apiId: str,
name: str,
type: DataSourceTypeType, # (1)
description: str = ...,
serviceRoleArn: str = ...,
dynamodbConfig: DynamodbDataSourceConfigTypeDef = ..., # (2)
lambdaConfig: LambdaDataSourceConfigTypeDef = ..., # (3)
elasticsearchConfig: ElasticsearchDataSourceConfigTypeDef = ..., # (4)
openSearchServiceConfig: OpenSearchServiceDataSourceConfigTypeDef = ..., # (5)
httpConfig: HttpDataSourceConfigTypeDef = ..., # (6)
relationalDatabaseConfig: RelationalDatabaseDataSourceConfigTypeDef = ..., # (7)
eventBridgeConfig: EventBridgeDataSourceConfigTypeDef = ..., # (8)
) -> UpdateDataSourceResponseTypeDef: # (9)
...
- See DataSourceTypeType
- See DynamodbDataSourceConfigTypeDef
- See LambdaDataSourceConfigTypeDef
- See ElasticsearchDataSourceConfigTypeDef
- See OpenSearchServiceDataSourceConfigTypeDef
- See HttpDataSourceConfigTypeDef
- See RelationalDatabaseDataSourceConfigTypeDef
- See EventBridgeDataSourceConfigTypeDef
- See UpdateDataSourceResponseTypeDef
kwargs: UpdateDataSourceRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
"type": ...,
}
parent.update_data_source(**kwargs)
update_domain_name
Updates a custom DomainName
object.
Type annotations and code completion for boto3.client("appsync").update_domain_name
method.
boto3 documentation
def update_domain_name(
self,
*,
domainName: str,
description: str = ...,
) -> UpdateDomainNameResponseTypeDef: # (1)
...
kwargs: UpdateDomainNameRequestRequestTypeDef = { # (1)
"domainName": ...,
}
parent.update_domain_name(**kwargs)
update_function
Updates a Function
object.
Type annotations and code completion for boto3.client("appsync").update_function
method.
boto3 documentation
def update_function(
self,
*,
apiId: str,
name: str,
functionId: str,
dataSourceName: str,
description: str = ...,
requestMappingTemplate: str = ...,
responseMappingTemplate: str = ...,
functionVersion: str = ...,
syncConfig: SyncConfigTypeDef = ..., # (1)
maxBatchSize: int = ...,
runtime: AppSyncRuntimeTypeDef = ..., # (2)
code: str = ...,
) -> UpdateFunctionResponseTypeDef: # (3)
...
kwargs: UpdateFunctionRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
"functionId": ...,
"dataSourceName": ...,
}
parent.update_function(**kwargs)
update_graphql_api
Updates a GraphqlApi
object.
Type annotations and code completion for boto3.client("appsync").update_graphql_api
method.
boto3 documentation
def update_graphql_api(
self,
*,
apiId: str,
name: str,
logConfig: LogConfigTypeDef = ..., # (1)
authenticationType: AuthenticationTypeType = ..., # (2)
userPoolConfig: UserPoolConfigTypeDef = ..., # (3)
openIDConnectConfig: OpenIDConnectConfigTypeDef = ..., # (4)
additionalAuthenticationProviders: Sequence[AdditionalAuthenticationProviderTypeDef] = ..., # (5)
xrayEnabled: bool = ...,
lambdaAuthorizerConfig: LambdaAuthorizerConfigTypeDef = ..., # (6)
) -> UpdateGraphqlApiResponseTypeDef: # (7)
...
- See LogConfigTypeDef
- See AuthenticationTypeType
- See UserPoolConfigTypeDef
- See OpenIDConnectConfigTypeDef
- See AdditionalAuthenticationProviderTypeDef
- See LambdaAuthorizerConfigTypeDef
- See UpdateGraphqlApiResponseTypeDef
kwargs: UpdateGraphqlApiRequestRequestTypeDef = { # (1)
"apiId": ...,
"name": ...,
}
parent.update_graphql_api(**kwargs)
update_resolver
Updates a Resolver
object.
Type annotations and code completion for boto3.client("appsync").update_resolver
method.
boto3 documentation
def update_resolver(
self,
*,
apiId: str,
typeName: str,
fieldName: str,
dataSourceName: str = ...,
requestMappingTemplate: str = ...,
responseMappingTemplate: str = ...,
kind: ResolverKindType = ..., # (1)
pipelineConfig: PipelineConfigTypeDef = ..., # (2)
syncConfig: SyncConfigTypeDef = ..., # (3)
cachingConfig: CachingConfigTypeDef = ..., # (4)
maxBatchSize: int = ...,
runtime: AppSyncRuntimeTypeDef = ..., # (5)
code: str = ...,
) -> UpdateResolverResponseTypeDef: # (6)
...
- See ResolverKindType
- See PipelineConfigTypeDef
- See SyncConfigTypeDef
- See CachingConfigTypeDef
- See AppSyncRuntimeTypeDef
- See UpdateResolverResponseTypeDef
kwargs: UpdateResolverRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"fieldName": ...,
}
parent.update_resolver(**kwargs)
update_type
Updates a Type
object.
Type annotations and code completion for boto3.client("appsync").update_type
method.
boto3 documentation
def update_type(
self,
*,
apiId: str,
typeName: str,
format: TypeDefinitionFormatType, # (1)
definition: str = ...,
) -> UpdateTypeResponseTypeDef: # (2)
...
kwargs: UpdateTypeRequestRequestTypeDef = { # (1)
"apiId": ...,
"typeName": ...,
"format": ...,
}
parent.update_type(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("appsync").get_paginator
method with overloads.
client.get_paginator("list_api_keys")
-> ListApiKeysPaginatorclient.get_paginator("list_data_sources")
-> ListDataSourcesPaginatorclient.get_paginator("list_functions")
-> ListFunctionsPaginatorclient.get_paginator("list_graphql_apis")
-> ListGraphqlApisPaginatorclient.get_paginator("list_resolvers")
-> ListResolversPaginatorclient.get_paginator("list_resolvers_by_function")
-> ListResolversByFunctionPaginatorclient.get_paginator("list_types")
-> ListTypesPaginator