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

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

46,496

Version

3.0.7

License

Apache-2.0

Unpacked Size

79.4 kB

Total Files

13

Last publish

Collaborators

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