Skip to content

AppSyncRequestHandler

Implements

Constructors

new AppSyncRequestHandler()

new AppSyncRequestHandler(): AppSyncRequestHandler

Returns

AppSyncRequestHandler

Properties

subscription?

optional subscription: Subscription

Methods

destroy()

destroy(): void

Returns

void

Implementation of

GraphQLRequestHandler.destroy


handle()

handle(request: GraphQLRequestOptions): Observable<GraphQLResponseData>

{ "aws_project_region": "us-west-2", "aws_appsync_graphqlEndpoint": "https://....appsync-api.us-west-2.amazonaws.com/graphql", "aws_appsync_region": "us-west-2", "aws_appsync_authenticationType": "API_KEY", "aws_appsync_apiKey": "..." "aws_appsync_jwtToken" "..." }

Parameters

request: GraphQLRequestOptions

Returns

Observable<GraphQLResponseData>

Implementation of

GraphQLRequestHandler.handle