Creates or updates an AWS AppSync function
Project description
This is intended to be used in a CI/CD process for managing AppSync functions.
The function’s name and datasource are used to look up the unique function id. Failure to have this combination return one function will result in undefined behavior.
Usage
python -m appsync_function_uploader --aws-access-key-id accesskey --aws-secret-access-key secret --aws-region region --api-id id --name name --description description --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
name The Function name - does not have to be unique, but it is highly recommended
description The Function description
datasource-name The name of the AppSync data source for which the function is being created
request-mapping-template The request mapping VTL file to upload - Optional if the datasource is a Lambda
response-mapping-template The response mapping VTL file to upload - Optional if the datasource is a Lambda
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file appsync_function_uploader-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: appsync_function_uploader-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32196bf1d8ff2c20bdc7e4b4c52841f293842562049362c2030414f7ebb5c450 |
|
MD5 | 875251424d6e8882c529ea20e8a5e88a |
|
BLAKE2b-256 | 64706dc1d144b4140a1f84fe223cee415b133fadf6086bac5ed540248d69bec6 |