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

3.0.9 • 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

38,108

Version

3.0.9

License

Apache-2.0

Unpacked Size

79.9 kB

Total Files

13

Last publish

Collaborators

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