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

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

72,624

Version

2.1.21

License

Apache-2.0

Unpacked Size

75.9 kB

Total Files

13

Last publish

Collaborators

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