JSPM

@aws-amplify/graphql-http-transformer

0.5.6-ext17.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 71261
  • Score
    100M100P100Q167718F
  • License Apache-2.0

Amplify GraphQL @http transformer

Package Exports

  • @aws-amplify/graphql-http-transformer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-amplify/graphql-http-transformer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GraphQL @http Transformer

Reference Documentation

@http

The @http directive allows you to quickly and easily configure HTTP resolvers within your AWS AppSync API.

Definition

directive @http(method: HttpMethod = GET, url: String!, headers: [HttpHeader] = []) on FIELD_DEFINITION
enum HttpMethod {
  GET
  POST
  PUT
  DELETE
  PATCH
}
input HttpHeader {
  key: String
  value: String
}