Skip to main content

Uploads request and response VTL templates for an API ID, type, field and datasource

Project description

This is intended to be used in a CI/CD process for managing AppSync resolvers

Usage

python -m appsync_resolver_uploader --aws-access-key-id accesskey --aws-secret-access-key secret --aws_region region --api-id id --type-name type --field-name field --datasource-name datasource --request-mapping-template request.vtl --response-mapping-template response.vtl

Arguments

  • aws-access-key-id The AWS Access Key ID for the IAM user
  • aws-secret-access-key The AWS Secret Access Key for the IAM user
  • aws-region The AWS Region of the AppSync API to update
  • api-id The API ID of the AppSync API to upload the schema to
  • type-name The name of the GraphQL Type
  • field-name The name of the GraphQL field to attach the resolver to
  • datasource-name The name of the AppSync data source for which the resolver is being created
  • request-mapping-template The request mapping VTL file to upload
  • response-mapping-template The response mapping VTL file to upload

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for appsync-resolver-uploader, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size appsync_resolver_uploader-0.0.1-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page