appsync-function-uploader-0.0.5
توضیحات
Creates or updates an AWS AppSync function
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | appsync-function-uploader-0.0.5 |
| نام | appsync-function-uploader |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Joseph Wortmann |
| ایمیل نویسنده | joseph.wortmann@gmail.com |
| آدرس صفحه اصلی | https://github.com/QuiNovas/appsync-function-uploader |
| آدرس اینترنتی | https://pypi.org/project/appsync-function-uploader/ |
| مجوز | APL 2.0 |
app-function-uploader
=====================
A command line tool for uploading AppSync functions into AWS AppSync
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
نیازمندی
| مقدار | نام |
|---|---|
| - | argparse |
| >=1.9.156 | boto3 |
نحوه نصب
نصب پکیج whl appsync-function-uploader-0.0.5:
pip install appsync-function-uploader-0.0.5.whl
نصب پکیج tar.gz appsync-function-uploader-0.0.5:
pip install appsync-function-uploader-0.0.5.tar.gz