This is intended to be used in a CI/CD process for managing AppSync resolvers. Manages both UNIT and PIPELINE resolvers. For PIPELINE resolvers referenced functions must exist prior to creating or updating the resolver.
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 --pipeline-config name,datasource;name,datasource
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 - not used for pipeline resolvers
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
pipeline-config The list of functions to use in this resolver. Including this list changes the resolver to a pipeline
Metadata
Release files for appsync-resolver-uploader 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| appsync_resolver_uploader-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / appsync_resolver_uploader-0.0.3-py2.py3-none-any.whl
| Download URL | appsync_resolver_uploader-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b8cd7c3addb550c58c4348c99479ec3fd76a6837da8817f85754385419b37121
|
|
BLAKE2b-256 checksum How to use checksums |
2a03dad3feeac874c6541e163542edb97247eaec357b0f32759dc9bd7754e6b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|