@aws-amplify/graphql-http-transformer
TypeScript icon, indicating that this package has built-in type declarations

3.0.10 • Public • Published

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
}

Package Sidebar

Install

npm i @aws-amplify/graphql-http-transformer

Weekly Downloads

44,016

Version

3.0.10

License

Apache-2.0

Unpacked Size

79.7 kB

Total Files

14

Last publish

Collaborators

  • amzn-oss
  • undefobj
  • aws-amplify-ops
  • thaddmt
  • mattsb42-aws
  • amplify-studio-uibuilder
  • amplify-codegen
  • amplify-data-dev-npm
  • aws-amplify-data-runtime