diff --git a/.gitignore b/.gitignore index 2bd7aa775..9a528981a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +*~ +*.zip + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -64,3 +67,9 @@ target/ # Apple OS X specific files are put into the .DS_Store file .DS_Store + +# Vim stuff: +*.swp +*.swo +*~ +tests/zappa_settings.json diff --git a/.travis.yml b/.travis.yml index 2da04bf40..11c5f9c26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ python: - "2.7" # command to install dependencies install: - - "pip install setuptools --upgrade; pip install -r test_requirements.txt; python setup.py install" + - "pip install setuptools --upgrade; pip install -r test_requirements.txt; python setup.py install" # command to run tests script: nosetests --with-coverage --cover-package=zappa after_success: diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..40668a10a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,25 @@ +# Zappa Changelog + +## 0.24.2 + +* Fix a problem from trying to `update` old-style API routes using new Tropo code. Ensures `touch` works as intended again. Fix by @mathom. + +## 0.24.1 + +* Add a helpful failure warning for users without permissions to automatically manage execution roles. +* Fix potential div by zero error in new Tropo code. + +## 0.24.0 + +* Use Troposphere/CloudFormation to create API Gateway routes + - Thanks, @mathom! +* `zappa update` now updates changes to API Gateway routes +* Redirect HTML content injection is fixed +* Redirect HTML content injection now only happens for 'text/html' content types. This is a partial solution to #303. +* Added CHANGELOG.md + +## 0.0.1 - 0.23.2 + +* Didn't keep a changelog +* Sorry! +* Read the commit log :) diff --git a/README.md b/README.md index 869181636..52bfd6c29 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,79 @@ Zappa Rocks!

-## Zappa - Serverless Python Web Services +## Zappa - Serverless Python Web Services [![Build Status](https://travis-ci.org/Miserlou/Zappa.svg)](https://travis-ci.org/Miserlou/Zappa) [![Coverage](https://img.shields.io/coveralls/Miserlou/Zappa.svg)](https://coveralls.io/github/Miserlou/Zappa) -[![Requirements Status](https://requires.io/github/Miserlou/Zappa/requirements.svg?branch=master)](https://requires.io/github/Miserlou/Zappa/requirements/?branch=master) +[![Requirements Status](https://requires.io/github/Miserlou/Zappa/requirements.svg?branch=master)](https://requires.io/github/Miserlou/Zappa/requirements/?branch=master) [![PyPI](https://img.shields.io/pypi/v/Zappa.svg)](https://pypi.python.org/pypi/zappa) -[![Slack](https://img.shields.io/badge/chat-slack-ff69b4.svg)](https://slackautoinviter.herokuapp.com/) +[![Slack](https://img.shields.io/badge/chat-slack-ff69b4.svg)](https://slack.zappa.io/) + + + + + +- [About](#about) +- [Installation and Configuration](#installation-and-configuration) + - [Running the Initial Setup / Settings](#running-the-initial-setup--settings) +- [Basic Usage](#basic-usage) + - [Initial Deployments](#initial-deployments) + - [Updates](#updates) + - [Rollback](#rollback) + - [Scheduling](#scheduling) + - [Executing in Response to AWS Events](#executing-in-response-to-aws-events) + - [Undeploy](#undeploy) + - [Status](#status) + - [Tailing Logs](#tailing-logs) + - [Remote Function Invocation](#remote-function-invocation) + - [Django Management Commands](#django-management-commands) + - [Let's Encrypt SSL Domain Certification and Installation](#lets-encrypt-ssl-domain-certification-and-installation) +- [Advanced Settings](#advanced-settings) +- [Advanced Usage](#advanced-usage) + - [Keeping The Server Warm](#keeping-the-server-warm) + - [Serving Static Files / Binary Uploads](#serving-static-files--binary-uploads) + - [Enabling CORS](#enabling-cors) + - [Enabling Secure Endpoints on API Gateway (API Key)](#enabling-secure-endpoints-on-api-gateway-api-key) + - [Enabling Secure Endpoints on API Gateway (IAM Policy)](#enabling-secure-endpoints-on-api-gateway-iam-policy) + - [Deploying to a Domain With a Let's Encrypt Certificate (DNS Auth)](#deploying-to-a-domain-with-a-lets-encrypt-certificate-dns-auth) + - [Deploying to a Domain With a Let's Encrypt Certificate (HTTP Auth)](#deploying-to-a-domain-with-a-lets-encrypt-certificate-http-auth) + - [Setting Environment Variables](#setting-environment-variables) + - [Local Environment Variables](#local-environment-variables) + - [Remote Environment Variables](#remote-environment-variables) + - [Setting Integration Content-Type Aliases](#setting-integration-content-type-aliases) + - [Catching Unhandled Exceptions](#catching-unhandled-exceptions) + - [Using Custom AWS IAM Roles and Policies](#using-custom-aws-iam-roles-and-policies) +- [Zappa Guides](#zappa-guides) +- [Zappa in the Press](#zappa-in-the-press) +- [Sites Using Zappa](#sites-using-zappa) +- [Related Projects](#related-projects) +- [Hacks](#hacks) +- [Contributing](#contributing) + - [Using a Local Repo](#using-a-local-repo) +- [Support / Development / Training / Consulting](#support--development--training--consulting) + + + +## About -**Zappa** makes it super easy to deploy all Python WSGI applications on AWS Lambda + API Gateway. Think of it as "serverless" web hosting for your Python web apps. +

+ Zappa Slides +

+

+ In a hurry? Click to see slides from Serverless SF! +

+ +**Zappa** makes it super easy to deploy all Python WSGI applications on AWS Lambda + API Gateway. Think of it as "serverless" web hosting for your Python web apps. That means **infinite scaling**, **zero downtime**, **zero maintenance** - and at a fraction of the cost of your current deployments! + +If you've got a Python web app (including Django and Flask apps), it's as easy as: + +``` +$ pip install zappa +$ zappa init +$ zappa deploy +``` + +and now you're server-less! _Wow!_ > What do you mean "serverless"? @@ -24,13 +88,6 @@ It's great for deploying serverless microservices with frameworks like Flask and And finally, Zappa is **super easy to use**. You can deploy your application with a single command out of the box. -Using **Zappa** means: - -* **No more** tedious web server configuration! -* **No more** paying for 24/7 server uptime! -* **No more** worrying about load balancing / scalability! -* **No more** worrying about keeping servers online! - __Awesome!__

@@ -45,13 +102,19 @@ _Before you begin, make sure you have a valid AWS account and your [AWS credenti $ pip install zappa -If you're looking for Django-specific integration, you should probably check out _**[django-zappa](https://github.com/Miserlou/django-zappa)**_ instead. +Please note that Zappa _**must**_ be installed into your project's [virtual environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/). + +_(If you use [pyenv](https://github.com/yyuu/pyenv) and love to manage virtualenvs with **pyenv-virtualenv**, you just have to call `pyenv local [your_venv_name]` and it's ready. [Conda](http://conda.pydata.org/docs/) users should comment [here](https://github.com/Miserlou/Zappa/pull/108).)_ Next, you'll need to define your local and server-side settings. -#### Settings +#### Running the Initial Setup / Settings + +**Zappa** can automatically set up your deployment settings for you with the `init` command: -Next, you'll need to define a few settings for your Zappa deployment environments in a file named *zappa_settings.json* in your project directory. The simplest example is: + $ zappa init + +This will automatically detect your application type (Flask/Django - Pyramid users [see here](https://github.com/Miserlou/Zappa/issues/278#issuecomment-241917956)) and help you define your deployment configuration settings. Once you finish initialization, you'll have a file named *zappa_settings.json* in your project directory defining your basic deployment settings. It will probably look something like this for most WSGI apps: ```javascript { @@ -62,6 +125,17 @@ Next, you'll need to define a few settings for your Zappa deployment environment } ``` +or for Django: + +```javascript +{ + "dev": { // The name of your environment + "s3_bucket": "lmbda", // The name of your S3 bucket + "django_settings": "your_project.settings" // The python path to your Django settings. + } +} +``` + You can define as many environments as your like - we recommend having _dev_, _staging_, and _production_. Now, you're ready to deploy! @@ -78,7 +152,7 @@ Once your settings are configured, you can package and deploy your application t And now your app is **live!** How cool is that?! -To explain what's going on, when you call 'deploy', Zappa will automatically package up your application and local virtual environment into a Lambda-compatible archive, replace any dependencies with versions [precompiled for Lambda](https://github.com/Miserlou/lambda-packages), set up the function handler and necessary WSGI Middleware, upload the archive to S3, register it as a new Lambda function, create a new API Gateway resource, create WSGI-compatible routes for it, link it to the new Lambda function, and finally delete the archive from your S3 bucket. Handy! +To explain what's going on, when you call `deploy`, Zappa will automatically package up your application and local virtual environment into a Lambda-compatible archive, replace any dependencies with versions [precompiled for Lambda](https://github.com/Miserlou/lambda-packages), set up the function handler and necessary WSGI Middleware, upload the archive to S3, register it as a new Lambda function, create a new API Gateway resource, create WSGI-compatible routes for it, link it to the new Lambda function, and finally delete the archive from your S3 bucket. Handy! #### Updates @@ -92,24 +166,27 @@ This creates a new archive, uploads it to S3 and updates the Lambda function to #### Rollback -You can also rollback the deployed code to a previous version by supplying the number of revisions to return to. For instance, to rollback to the version deployed 3 versions ago: +You can also `rollback` the deployed code to a previous version by supplying the number of revisions to return to. For instance, to rollback to the version deployed 3 versions ago: $ zappa rollback production -n 3 #### Scheduling -Zappa can be used to easily schedule functions to occur on regular intervals. Just list your functions and the expression to schedule them using [cron or rate syntax](http://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html) in your *zappa_settings.json* file: +Zappa can be used to easily schedule functions to occur on regular intervals. This provides a much nicer, maintenance-free alternative to Celery! +These functions will be packaged and deployed along with your `app_function` and called from the handler automatically. +Just list your functions and the expression to schedule them using [cron or rate syntax](http://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html) in your *zappa_settings.json* file: ```javascript - { - "production": { - ... - "events": [{ - "function": "your_module.your_function", // The function to execute - "expression": "rate(1 minute)" // When to execute it (in cron or rate format) - }], - ... +{ + "production": { + ... + "events": [{ + "function": "your_module.your_function", // The function to execute + "expression": "rate(1 minute)" // When to execute it (in cron or rate format) + }], + ... } +} ``` And then: @@ -118,12 +195,60 @@ And then: And now your function will execute every minute! -If you want to cancel these, you can simply use the 'unschedule' command: +If you want to cancel these, you can simply use the `unschedule` command: $ zappa unschedule production And now your scheduled event rules are deleted. +See the [example](example/) for more details. + +#### Executing in Response to AWS Events + +Similarly, you can have your functions execute in response to events that happen in the AWS ecosystem, such as S3 uploads, DynamoDB entries, Kinesis streams, and SNS messages. + +In your *zappa_settings.json* file, define your [event sources](http://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html) and the function you wish to execute. For instance, this will execute `your_module.your_function` in response to new objects in your `my-bucket` S3 bucket. Note that `your_function` must accept `event` and `context` paramaters. + +```javascript +{ + "production": { + ... + "events": [{ + "function": "your_module.your_function", + "event_source": { + "arn": "arn:aws:s3:::my-bucket", + "events": [ + "s3:ObjectCreated:*" + ] + } + }], + ... + } +} +``` + +And then: + + $ zappa schedule production + +And now your function will execute every time a new upload appears in your bucket! + +Similarly, for a [Simple Notification Service](https://aws.amazon.com/sns/) event: + +```javascript + "events": [ + { + "function": "your_module.your_function", + "event_source": { + "arn": "arn:aws:sns:::your-event-topic-arn", + "events": [ + "sns:Publish" + ] + } + } + ] +``` + #### Undeploy If you need to remove the API Gateway and Lambda function that you have previously published, you can simply: @@ -132,13 +257,56 @@ If you need to remove the API Gateway and Lambda function that you have previous You will be asked for confirmation before it executes. +If you enabled CloudWatch Logs for your API Gateway service and you don't +want to keep those logs, you can specify the `--remove-logs` argument to purge the logs for your API Gateway and your Lambda function: + + $ zappa undeploy production --remove-logs + +#### Status + +If you need to see the status of your deployment and event schedules, simply use the `status` command. + + $ zappa status production + #### Tailing Logs -You can watch the logs of a deployment by calling the "tail" management command. +You can watch the logs of a deployment by calling the `tail` management command. $ zappa tail production -## Advanced Usage +#### Remote Function Invocation + +You can execute any function in your application directly at any time by using the `invoke` command. + +For instance, suppose you have a basic application in a file called "my_app.py", and you want to invoke a function in it called "my_function". Once your application is deployed, you can invoke that function at any time by calling: + + $ zappa invoke production 'my_app.my_function' + +Any remote print statements made and the value the function returned will then be printed to your local console. **Nifty!** + +#### Django Management Commands + +As a convenience, Zappa can also invoke remote Django 'manage.py' commands with the `manage` command. For instance, to perform the basic Django status check: + + $ zappa manage production check + +Obviously, this only works for Django projects which have their settings properly defined. _(Please note that commands which take over 30 seconds to execute may time-out. See [this related issue](https://github.com/Miserlou/Zappa/issues/205#issuecomment-236391248) for a work-around.)_ + +#### Let's Encrypt SSL Domain Certification and Installation + +If you want to use Zappa applications on a custom domain or subdomain, you'll need to supply a valid SSL certificate. Fortunately for you, Zappa can automatically create and install free valid SSL certificates using Let's Encrypt! + +If your domain is located within an AWS Route 53 Hosted Zone and you've defined `domain` and `lets_encrypt_key` (ex: `openssl genrsa 2048 > account.key`) settings, all you need to do is: + + $ zappa certify production + +And your domain will be verified, certified and registered! + +_(Please note that this can take around 45 minutes to take effect the first time your run the command, and around 60 seconds every time after that.)_ + +More detailed instructions are available [in this handy guide](https://github.com/Miserlou/Zappa/blob/master/docs/domain_with_free_ssl_dns.md). + +## Advanced Settings There are other settings that you can define in your local settings to change Zappa's behavior. Use these at your own risk! @@ -146,33 +314,82 @@ to change Zappa's behavior. Use these at your own risk! ```javascript { "dev": { + "api_key_required": false, // enable securing API Gateway endpoints with x-api-key header (default False) + "api_key": "your_api_key_id" // optional, use an existing API key. The option "api_key_required" must be true to apply + "assume_policy": "my_assume_policy.json", // optional, IAM assume policy JSON file + "attach_policy": "my_attach_policy.json", // optional, IAM attach policy JSON file "aws_region": "us-east-1", // AWS Region (default US East), + "callbacks": { // Call custom functions during the local Zappa deployment/update process + "settings": "my_app.settings_callback", // After loading the settings + "zip": "my_app.zip_callback", // After creating the package + "post": "my_app.post_callback", // After command has excuted + }, "cache_cluster_enabled": false, // Use APIGW cache cluster (default False) "cache_cluster_size": .5, // APIGW Cache Cluster size (default 0.5) - "debug": true // Print Zappa configuration errors tracebacks in the 500 - "delete_zip": true // Delete the local zip archive after code updates + "cloudwatch_log_level": "OFF", // Enables/configures a level of logging for the given staging. Available options: "OFF", "INFO", "ERROR", default "OFF". + "cloudwatch_data_trace": false, // Logs all data about received events. + "cloudwatch_metrics_enabled": false, // Additional metrics for the API Gateway. + "debug": true, // Print Zappa configuration errors tracebacks in the 500 + "delete_local_zip": true, // Delete the local zip archive after code updates + "delete_s3_zip": true, // Delete the s3 zip archive + "django_settings": "your_project.production_settings", // The modular path to your Django project's settings. For Django projects only. "domain": "yourapp.yourdomain.com", // Required if you're using a domain - "events": [{ - "function": "your_module.your_function", // The function to execute - "expression": "rate(1 minute)" // When to execute it (in cron or rate format) - }], - "exclude": ["*.gz", "*.pem"], // A list of regex patterns to exclude from the archive + "environment_variables": {"your_key": "your_value"}, // A dictionary of environment variables that will be available to your deployed app. See also "remote_env_file". Default {}. + "events": [ + { // Recurring events + "function": "your_module.your_recurring_function", // The function to execute + "expression": "rate(1 minute)" // When to execute it (in cron or rate format) + }, + { // AWS Reactive events + "function": "your_module.your_reactive_function", // The function to execute + "event_source": { + "arn": "arn:aws:s3:::my-bucket", // The ARN of this event source + "events": [ + "s3:ObjectCreated:*" // The specific event to execute in response to. + ] + } + } + ], + "exception_handler": "your_module.report_exception", // function that will be invoked in case Zappa sees an unhandled exception raised from your code + "exclude": ["*.gz", "*.rar"], // A list of regex patterns to exclude from the archive "http_methods": ["GET", "POST"], // HTTP Methods to route, + "iam_authorization": true, // optional, use IAM to require request signing. Default false. "integration_response_codes": [200, 301, 404, 500], // Integration response status codes to route + "integration_content_type_aliases": { // For routing requests with non-standard mime types + "application/json": [ + "application/vnd.webhooks+json" + ] + }, "keep_warm": true, // Create CloudWatch events to keep the server warm. - "log_level": "DEBUG", // Set the Zappa log level. Default DEBUG, can be one of CRITICAL, ERROR, WARNING, INFO and DEBUG. + "keep_warm_expression": "rate(4 minutes)", // How often to execute the keep-warm, in cron and rate format. Default 4 minutes. + "lambda_description": "Your Description", // However you want to describe your project for the AWS console. Default "Zappa Deployment". + "lambda_handler": "your_custom_handler", // The name of Lambda handler. Default: handler.lambda_handler + "lets_encrypt_key": "s3://your-bucket/account.key", // Let's Encrypt account key path. Can either be an S3 path or a local file path. + "lets_encrypt_schedule": "rate(15 days)" // How often to auto-renew Let's Encrypt certificate on the server. Must be set to enable autorenewing, rate or cron syntax. + "log_level": "DEBUG", // Set the Zappa log level. Default INFO, can be one of CRITICAL, ERROR, WARNING, INFO and DEBUG. + "manage_roles": true, // Have Zappa automatically create and define IAM execution roles and policies. Default true. If false, you must define your own IAM Role and role_name setting. "memory_size": 512, // Lambda function memory in MB + "method_header_types": [ // Which headers to include in the API response. Defaults: + "Content-Type", + "Location", + "Status", + "X-Frame-Options", + "Set-Cookie" + ], "method_response_codes": [200, 301, 404, 500], // Method response status codes to route "parameter_depth": 10, // Size of URL depth to route. Defaults to 8. "prebuild_script": "your_module.your_function", // Function to execute before uploading code "profile_name": "your-profile-name", // AWS profile credentials to use. Default 'default'. "project_name": "MyProject", // The name of the project as it appears on AWS. Defaults to a slugified `pwd`. - "role_name": "MyLambdaRole", // Lambda execution Role + "remote_env_bucket": "my-project-config-files", // optional s3 bucket where remote_env_file can be located. + "remote_env_file": "filename.json", // file in remote_env_bucket containing a flat json object which will be used to set custom environment variables. + "role_name": "MyLambdaRole", // Name of Zappa execution role. Default ZappaExecutionRole. To use a different, pre-existing policy, you must also set manage_roles to false. "s3_bucket": "dev-bucket", // Zappa zip bucket, "settings_file": "~/Projects/MyApp/settings/dev_settings.py", // Server side settings file location, - "timeout_seconds": 30, // Maximum lifespan for the Lambda function (default 30) + "timeout_seconds": 30, // Maximum lifespan for the Lambda function (default 30, max 300.) "touch": false, // GET the production URL upon initial deployment (default True) "use_precompiled_packages": false, // If possible, use C-extension packages which have been pre-compiled for AWS Lambda + "use_apigateway": true, // Set to false if you don't want to create API Gateway resource. Default true "vpc_config": { // Optional VPC configuration for Lambda function "SubnetIds": [ "subnet-12345678" ], // Note: not all availability zones support Lambda! "SecurityGroupIds": [ "sg-12345678" ] @@ -181,17 +398,167 @@ to change Zappa's behavior. Use these at your own risk! } ``` +## Advanced Usage + #### Keeping The Server Warm Zappa will automatically set up a regularly occuring execution of your application in order to keep the Lambda function warm. This can be disabled via the 'keep_warm' setting. +#### Serving Static Files / Binary Uploads + +Zappa is for running your application code, not for serving static web assets. If you plan on serving custom static assets in your web application (CSS/JavaScript/images/etc.,), you'll likely want to use a combination of AWS S3 and AWS CloudFront. + +Your web application framework will likely be able to handle this for you automatically. For Flask, there is [Flask-S3](https://github.com/e-dard/flask-s3), and for Django, there is [Django-Storages](https://django-storages.readthedocs.io/en/latest/). + +Similarly, you will not be able to accept binary multi-part uploads through the API Gateway. Instead, you should design your application so that binary uploads go [directly to S3](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/browser-examples.html#Uploading_a_local_file_using_the_File_API), which then triggers an event response defined in your `events` setting! That's thinking serverlessly! + #### Enabling CORS To enable Cross-Origin Resource Sharing (CORS) for your application, follow the [AWS "How to CORS" Guide](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html) to enable CORS via the API Gateway Console. Don't forget to enable CORS per parameter and re-deploy your API after making the changes! -#### Deploying to a Domain With a Let's Encrypt Certificate +You can also simply handle CORS directly in your application. If you do this, you'll need to add `Access-Control-Allow-Origin`, `Access-Control-Allow-Headers`, and `Access-Control-Allow-Methods` to the `method_header_types` key in your `zappa_settings.json`. See further [discussion here](https://github.com/Miserlou/Zappa/issues/41). + +#### Enabling Secure Endpoints on API Gateway (API Key) + +You can use the `api_key_required` setting to generate and assign an API key to all the routes of your API Gateway. After redeployment, you can then pass the provided key as a header called `x-api-key` to access the restricted endpoints. Without the `x-api-key` header, you will receive a 403. [More information on API keys in the API Gateway](http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) + +#### Enabling Secure Endpoints on API Gateway (IAM Policy) + +You can enable IAM-based (v4 signing) authorization on an API by setting the `iam_authorization` setting to `true`. Your API will then require signed requests and access can be controlled via [IAM policy](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-iam-policy-examples.html). Unsigned requests will receive a 403 response, as will requesters who are not authorized to access the API. -If you want to use Zappa on a domain with a free Let's Encrypt certificate, you can follow [this guide](https://github.com/Miserlou/Zappa/blob/master/docs/domain_with_free_ssl.md). +#### Deploying to a Domain With a Let's Encrypt Certificate (DNS Auth) + +If you want to use Zappa on a domain with a free Let's Encrypt certificate using automatic Route 53 based DNS Authentication, you can follow [this handy guide](https://github.com/Miserlou/Zappa/blob/master/docs/domain_with_free_ssl_dns.md). + +#### Deploying to a Domain With a Let's Encrypt Certificate (HTTP Auth) + +If you want to use Zappa on a domain with a free Let's Encrypt certificate using HTTP Authentication, you can follow [this guide](https://github.com/Miserlou/Zappa/blob/master/docs/domain_with_free_ssl_http.md). + +However, it's now far easier to use Route 53-based DNS authentication, which will allow you to use a Let's Encrypt certificate with a single `$ zappa certify` command. + +#### Setting Environment Variables + +##### Local Environment Variables + +If you want to set local remote environment variables for a deployment stage, you can simply set them in your `zappa_settings.json`: + +```javascript +{ + "dev": { + ... + "environment_variables": { + "your_key": "your_value" + } + }, + ... +} +``` + +You can then access these inside your application with: + +```python +import os +your_value = os.environ.get('your_key') +``` + +If your project needs to be aware of the type of environment you're deployed to, you'll also be able to get `SERVERTYPE` (AWS Lambda), `FRAMEWORK` (Zappa), `PROJECT` (your project name) and `STAGE` (_dev_, _production_, etc.) variables at any time. + +##### Remote Environment Variables + +If you want to use remote environment variables to configure your application (which is especially useful for things like sensitive credentials), you can create a file and place it in an S3 bucket to which your Zappa application has access to. To do this, add the `remote_env_bucket` and `remote_env_file` keys to zappa_settings pointing to a file containing a flat JSON object, so that each key-value pair on the object will be set as an environment variable and value whenever a new lambda instance spins up. + +For example, to ensure your application has access to the database credentials without storing them in your version control, you can add a file to S3 with the connection string and load it into the lambda environment using the `remote_env_bucket` and `remote_env_file` configuration settings. + +super-secret-config.json (uploaded to my-config-bucket): +```javascript +{ + "DB_CONNECTION_STRING": "super-secret:database" +} +``` + +zappa_settings.json: +```javascript +{ + "dev": { + ... + "remote_env_bucket": "my-config-bucket", + "remote_env_file": "super-secret-config.json" + }, + ... +} +``` + +Now in your application you can use: +```python +import os +db_string = os.environ.get('DB_CONNECTION_STRING') +``` + +#### Setting Integration Content-Type Aliases + +By default, Zappa will only route the following MIME-types that are set explicitly via `Content-Type` header: `application/json`, `application/x-www-form-urlencoded`, and `multipart/form-data` (if the Content-Type header isn't set, `application/json` will be the default). If a request comes in with `Content-Type` header set to anything but those 3 values, Amazon will return a 415 status code and a `MIME type not supported` message. If there is a need to support custom MIME-types (e.g. when a third-party making requests to your API) you can specify aliases for the 3 default types: + +zappa_settings.json: +```javascript +{ + "dev": { + ... + "integration_content_type_aliases": { + "application/json": ["application/vnd.webhooks+json"] + } + }, + ... +} +``` + +Now Zappa will use `application/json`'s template to route requests with MIME-type of `application/vnd.webhooks+json`. You will need to re-deploy your application for this change to take affect. + +#### Catching Unhandled Exceptions + +By default, if an _unhandled_ exception happens in your code, Zappa will just print the stacktrace into a CloudWatch log. If you wish to use an external reporting tool to take note of those exceptions, you can use the `exception_handler` configuration option. + +zappa_settings.json: +```javascript +{ + "dev": { + ... + "exception_handler": "your_module.unhandled_exceptions", + }, + ... +} +``` + +The function has to accept three arguments: exception, event, and context: + +your_module.py +```python +def unhandled_exception(e, event, context): + send_to_raygun(e, event) # gather data you need and send + return True # Prevent invocation retry +``` +You may still need a similar exception handler inside your application, this is just a way to catch exception which happen at the Zappa/WSGI layer (typically event-based invocations, misconfigured settings, bad Lambda packages, and permissions issues). + +By default, AWS Lambda will attempt to retry an event based (non-API Gateway, e.g. CloudWatch) invocation if an exception has been thrown. However, you can prevent this by returning True, as in example above, so Zappa that will not re-raise the uncaught exception, thus preventing AWS Lambda from retrying the current invocation. + +#### Using Custom AWS IAM Roles and Policies + +By default, the Zappa client will create and manage the necessary IAM policies and roles to deploy and execute Zappa applications. However, if you're using Zappa in a corporate environment or as part of a continuous integration, you may instead want to manually manage your policies instead. + +To manually define the permissions policy of your Zappa execution role, you must define the following in your *zappa_settings.json*: + +```javascript +{ + "dev": { + ... + "manage_roles": false, // Disable Zappa client managing roles. + "role_name": "MyLambdaRole", // Name of your Zappa execution role. Default ZappaExecutionRole. + ... + }, + ... +} +``` + +Ongoing discussion about the minimum policy requirements necessary for a Zappa deployment [can be found here](https://github.com/Miserlou/Zappa/issues/244). ## Zappa Guides @@ -199,6 +566,7 @@ If you want to use Zappa on a domain with a free Let's Encrypt certificate, you * [Using Django-Zappa, Part 1](https://serverlesscode.com/post/zappa-wsgi-for-python/). * [Using Django-Zappa, Part 2: VPCs](https://serverlesscode.com/post/zappa-wsgi-for-python-pt-2/). * [Building Serverless Microservices with Zappa and Flask](https://gun.io/blog/serverless-microservices-with-zappa-and-flask/) +* [Zappa で Hello World するまで (Japanese)](http://qiita.com/satoshi_iwashita/items/505492193317819772c7) * _Your guide here?_ ## Zappa in the Press @@ -209,11 +577,24 @@ If you want to use Zappa on a domain with a free Let's Encrypt certificate, you ## Sites Using Zappa -* [zappa.gun.io](https://zappa.gun.io) - A Zappa "Hello, World" (real homepage coming.. soon..) -* [spheres.gun.io](https://spheres.gun.io) - Spheres, a photosphere host and viewer -* [Mailchimp Signup Utility](https://github.com/sasha42/Mailchimp-utility) - A microservice for adding people to a mailing list via API. +* [Zappa.io](https://www.zappa.io) - A simple Zappa homepage +* [Mailchimp Signup Utility](https://github.com/sasha42/Mailchimp-utility) - A microservice for adding people to a mailing list via API. +* [Zappa Slack Inviter](https://github.com/Miserlou/zappa-slack-inviter) - A tiny, server-less service for inviting new users to your Slack channel. * [Serverless Image Host](https://github.com/Miserlou/serverless-imagehost) - A thumbnailing service with Flask, Zappa and Pillow. -* Your site here? +* [Gigger](https://www.gigger.rocks/) - The live music industry's search engine +* [Zappa BitTorrent Tracker](https://github.com/Miserlou/zappa-bittorrent-tracker) - An experimental server-less BitTorrent tracker. Work in progress. +* [JankyGlance](https://github.com/Miserlou/JankyGlance) - A server-less Yahoo! Pipes replacement. +* And many more! + +Are you using Zappa? Let us know and we'll list your site here! + +## Related Projects + +* [lambda-packages](http://github.com/Miserlou/lambda-packages) - Precompiled C-extention packages for AWS Lambda. Used automatically by Zappa. +* [zappa-cms](http://github.com/Miserlou/zappa-cms) - A tiny server-less CMS for busy hackers. Work in progress. +* [flask-ask](https://github.com/johnwheeler/flask-ask) - A framework for building Amazon Alexa applications. Uses Zappa for deployments. +* [zappa-file-widget](https://github.com/anush0247/zappa-file-widget) - A Django plugin for supporting binary file uploads in Django on Zappa. +* [zops](https://github.com/bjinwright/zops) - Utilities for teams and continuous integrations using Zappa. ## Hacks @@ -226,4 +607,32 @@ Zappa goes quite far beyond what Lambda and API Gateway were ever intended to ha ## Contributing -This project is still young, so there is still plenty to be done. Contributions are more than welcome! Please file tickets before submitting patches, and submit your patches to the "dev" branch. +This project is still young, so there is still plenty to be done. Contributions are more than welcome! + +Please file tickets for discussion before submitting patches, and submit your patches to the "dev" branch if possible. If dev falls behind master, feel free to rebase. + +If you are adding a non-trivial amount of new code, please include a functioning test in your PR. For AWS calls, we use the placebo library, which you can learn to use [in the test writing guide](docs/README.md). + +Please also write comments along with your new code, including the URL of the ticket which you filed along with the PR. This greatly helps for project maintainability, as it allows us to trace back use cases and explain decision making. + +#### Using a Local Repo + +To use the git HEAD, you *can't* use `pip install -e `. Instead, you should clone the repo to your machine and then `pip install /path/to/zappa/repo` or `ln -s /path/to/zappa/repo/zappa zappa` in your local project. + +## Support / Development / Training / Consulting + +Do you need help with.. + + * Porting existing Flask and Django applications to Zappa? + * Building new applications and services that scale infinitely? + * Reducing your operations and hosting costs? + * Adding new custom features into Zappa? + * Training your team to use AWS and other server-less paradigms? + +Good news! We're currently available for remote and on-site consulting for small, large and enterprise teams. Please contact with your needs and let's work together! + +
+

+ Made by Gun.io +

+ diff --git a/docs/_static/zappa_demo.gif b/docs/_static/zappa_demo.gif new file mode 100644 index 000000000..5f959d0c7 Binary files /dev/null and b/docs/_static/zappa_demo.gif differ diff --git a/docs/advanced.rst b/docs/advanced.rst new file mode 100644 index 000000000..c2a284071 --- /dev/null +++ b/docs/advanced.rst @@ -0,0 +1,170 @@ +============== +Advanced Usage +============== + +Rollback +======== + +You can also rollback the deployed code to a previous version by supplying the number of revisions to return to. For instance, to rollback to the version deployed 3 versions ago: + + $ zappa rollback production -n 3 + +Scheduling +========== + +Zappa can be used to easily schedule functions to occur on regular intervals. Just list your functions and the expression to schedule them using `cron or rate syntax `_ in your *zappa_settings.json* file: + +:: + + { + "production": { + ... + "events": [{ + "function": "your_module.your_function", // The function to execute + "expression": "rate(1 minute)" // When to execute it (in cron or rate format) + }], + ... + } + +And then: +:: + + $ zappa schedule production + +And now your function will execute every minute! + +If you want to cancel these, you can simply use the 'unschedule' command: +:: + + $ zappa unschedule production + +And now your scheduled event rules are deleted. + +Executing in Response to AWS Events +=================================== + +Similarly, you can have your functions execute in response to events that happen in the AWS ecosystem, such as S3 uploads, DynamoDB entries, Kinesis streams, and SNS messages. + +In your *zappa_settings.json* file, define your `event sources `_ and the function you wish to execute. For instance, this will execute *your_module.your_function* in response to new objects in your *my-bucket* S3 bucket. Note that *your_function* must accept *event* and *context* paramaters. + +:: + + { + "production": { + ... + "events": [{ + "function": "your_module.your_function", + "event_source": { + "arn": "arn:aws:s3:::my-bucket", + "events": [ + "s3:ObjectCreated:*" + ] + } + }], + ... + } + } + +And then: +:: + + $ zappa schedule production + +And now your function will execute every time a new upload appears in your bucket! + +Undeploy +======== + +If you need to remove the API Gateway and Lambda function that you have previously published, you can simply: +:: + + $ zappa undeploy production + +You will be asked for confirmation before it executes. + +Tailing Logs +============ + +You can watch the logs of a deployment by calling the ``tail`` management command. +:: + + $ zappa tail production + +Remote Function Invocation +========================== + +You can execute any function in your application directly at any time by using the ``invoke`` command. + +For instance, suppose you have a basic application in a file called "my_app.py", and you want to invoke a function in it called "my_function". Once your application is deployed, you can invoke that function at any time by calling: +:: + + $ zappa invoke production 'my_app.my_function' + +Any remote print statements made and the value the function returned will then be printed to your local console. **Nifty!** + +Django Management Commands +========================== + +As a convenience, Zappa can also invoke remote Django 'manage.py' commands with the ``manage`` command. For instance, to perform the basic Django status check: +:: + + $ zappa manage production check + +Obviously, this only works for Django projects which have their settings properly defined. (*Please note that commands which take over 30 seconds to execute may time-out. See* `this related issue `_ *for a work-around.)* + +Keeping The Server Warm +======================= + +Zappa will automatically set up a regularly occuring execution of your application in order to keep the Lambda function warm. This can be disabled via the 'keep_warm' setting. + +Enabling CORS +============= + +To enable Cross-Origin Resource Sharing (CORS) for your application, follow the `AWS "How to CORS" Guide `_ to enable CORS via the API Gateway Console. Don't forget to enable CORS per parameter and re-deploy your API after making the changes! + +Enabling Secure Endpoints on API Gateway +======================================== + +You can use the ``api_key_required`` setting to generate and assign an API key to all the routes of your API Gateway. After redeployment, you can then pass the provided key as a header called ``x-api-key`` to access the restricted endpoints. Without the ``x-api-key`` header, you will receive a 403. See `more information on API keys in the API Gateway `_. + +You can enable IAM-based (v4 signing) authorization on an API by setting the ``authorization_type`` setting to ``AWS_IAM``. Your API will then require signed requests and access can be controlled via `IAM policy `. Unsigned requests will receive a 403 response, as will requesters who are not authorized to access the API. + +Deploying to a Domain With a Let's Encrypt Certificate +====================================================== + +If you want to use Zappa on a domain with a free Let's Encrypt certificate, you can follow `this guide `_. + +Setting Environment Variables +============================= + +If you want to use environment variables to configure your application (which is especially useful for things like sensitive credentials), you can create a file and place it in an S3 bucket to which your Zappa application has access to. To do this, add the ``remote_env_bucket`` and ``remote_env_file`` keys to zappa_settings pointing to a file containing a flat JSON object, so that each key-value pair on the object will be set as an environment variable and value whenever a new lambda instance spins up. + +For example, to ensure your application has access to the database credentials without storing them in your version control, you can add a file to S3 with the connection string and load it into the lambda environment using the ``remote_env_bucket`` and ``remote_env_file`` configuration settings. + +super-secret-config.json (uploaded to my-config-bucket): + +:: + + { + "DB_CONNECTION_STRING": "super-secret:database" + } + +zappa_settings.json: + +:: + + { + "dev": { + ... + "remote_env_bucket": "my-config-bucket", + "remote_env_file": "super-secret-config.json" + }, + ... + } + +Now in your application you can use: + +:: + + import os + db_string = os.environ.get('DB_CONNECTION_STRING') diff --git a/docs/conf.py b/docs/conf.py index ac03bd097..d12e2f9ab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +import sphinx_rtd_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -40,8 +41,9 @@ master_doc = 'index' # General information about the project. -project = u'sample' -copyright = u'2012, Kenneth Reitz' +project = u'Zappa' +# copyright = u'2012, Kenneth Reitz' +copyright = u'2016' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -91,7 +93,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -99,7 +101,7 @@ #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". @@ -184,7 +186,7 @@ # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'sample.tex', u'sample Documentation', - u'Kenneth Reitz', 'manual'), + u'Development', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -214,7 +216,7 @@ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'sample', u'sample Documentation', - [u'Kenneth Reitz'], 1) + [u'Development'], 1) ] # If true, show URL addresses after external links. @@ -228,7 +230,7 @@ # dir menu entry, description, category) texinfo_documents = [ ('index', 'sample', u'sample Documentation', - u'Kenneth Reitz', 'sample', 'One line description of project.', + u'Developmnet', 'sample', 'One line description of project.', 'Miscellaneous'), ] diff --git a/docs/config.rst b/docs/config.rst new file mode 100644 index 000000000..0401cab93 --- /dev/null +++ b/docs/config.rst @@ -0,0 +1,297 @@ +======================= +Configuration Reference +======================= + +Envirnments, such as *dev*, *staging*, and *production* are configured in the *zappa_settings.json* file. Here is an example of defining many of the available settings: + +:: + + { + "dev": { + "api_key_required": false, // enable securing API Gateway endpoints with x-api-key header (default False) + "assume_policy": "my_assume_policy.json", // + "attach_policy": "my_attach_policy.json", // optional, IAM attach policy JSON file + "authorization_type": "NONE", // optional, use "AWS_IAM" to require request signing + "aws_region": "us-east-1", + "cache_cluster_enabled": false, + "cache_cluster_size": .5, + "callbacks": { // Call custom functions during the local Zappa deployment/update process + "settings": "my_app.settings_callback", // After loading the settings + "zip": "my_app.zip_callback", // After creating the package + "post": "my_app.post_callback", // After command has excuted + }, + "debug": true + "delete_zip": true + "domain": "yourapp.yourdomain.com", + "events": [ + { // Recurring events + "function": "your_module.your_recurring_function", // The function to execute + "expression": "rate(1 minute)" // When to execute it (in cron or rate format) + }, + { // AWS Reactive events + "function": "your_module.your_reactive_function", // The function to execute + "event_source": { + "arn": "arn:aws:s3:::my-bucket", // The ARN of this event source + "events": [ + "s3:ObjectCreated:*" // The specific event to execute in response to. + ] + } + } + ], + "exclude": ["*.gz", "*.pem"], + "http_methods": ["GET", "POST"], + "integration_response_codes": [200, 301, 404, 500], + "keep_warm": true, + "lambda_handler": "your_custom_handler", + "log_level": "DEBUG", + "memory_size": 512, + "method_response_codes": [200, 301, 404, 500], + "parameter_depth": 10, + "prebuild_script": "your_module.your_function", + "profile_name": "your-profile-name", + "project_name": "MyProject", + "remote_env_bucket": "my-project-config-files", // optional s3 bucket where remote_env_file can be located. + "remote_env_file": "filename.json", + // file in remote_env_bucket containing a flat json object which will be used to set custom environment variables. + "role_name": "MyLambdaRole", + "s3_bucket": "dev-bucket", + "settings_file": "~/Projects/MyApp/settings/dev_settings.py", + "timeout_seconds": 30, + "touch": false, + "use_precompiled_packages": false, + "use_apigateway": true, + "vpc_config": { + "SubnetIds": [ "subnet-12345678" ], + "SecurityGroupIds": [ "sg-12345678" ] + } + } + } + + +All values are standard JSON data types (Numbers, Strings, Booleans, Arrays, and Objects). + +api_key_required +================ + +(Optional) This bool determines whether or not to enable securing API Gateway endpoints with x-api-key header (default False) + +assume_policy +============= + +(Optional) IAM assume policy JSON file + +attach_policy +============= +(Optional) IAM attach policy JSON file + +authorization_type +================== +(Optional) Default `NONE`. Use `AWS_IAM` to require signed requests + +callbacks +========= + +(Optional) Call custom functions during the local Zappa deployment/update process + +aws_region +========== + +This string setting specifies which AWS Region to use. + +The default value is US East, which is *"us-east-1"*. + +cache_cluster_enabled +===================== + +This boolean setting indicates whether to use the APIGW cash cluster. + +The default value is *false*. + +cache_cluster_size +================== + +This number setting specifies the APIGW Cache Cluster size. + +The default value is *0.5*. + +debug +===== + +This boolean setting governs whether Zappa configuration errors tracebacks are to appear in HTTP 500 error pages. + + +delete_local_zip +========== + +This boolean setting specifies whether to delete the local zip archive after code updates. + +delete_s3_zip +========== + +This boolean setting specifies whether to delete the s3 zip archive after code updates. + +domain +====== + +This string setting is required if a domain will be used. + +It should be in a format like *"yourapp.yourdomain.com"*. + +events +====== + +This is an array with settings which describe the functions and schedules to execute them. + +Each event should contain objects with values for *function* and *expression*? + +function +-------- + +This string setting identifies the function being referenced in an event. + +It should have a format like *"your_module.your_function"*. + + +expression +---------- + +This string setting provides an AWS Lambda schedule expression using Rate or Cron formats. See the `AWS documentation `_ for a description of currently accepable formats for this setting. This is the setting that defines when the function should be executed. + +exclude +======= + +This is an array of regex string patterns to exclude from the archive. + + +http_methods +============ + +This array setting is a list of HTTP methods to route. + +Examples of HTTP methods are GET and POST, as in this example: *["GET", "POST"]*. + + +integration_response_codes +========================== + +This is an array of integers which are integration response status codes to route. + +This should in a formal like *[200, 301, 404, 500]*. + +keep_warm +========= + +This boolean setting is used to specify whether to create CloudWatch events to keep the server warm. + +lambda_handler +============== + +The string setting is the name of the Lambda handler. + +The default is *"handler.lambda_handler"*. + +log_level +========= + +This string setting is used to set the Zappa log level. + +The value of this setting can be either *"CRITICAL"*, *"ERROR"*, *"WARNING"*, *"INFO"* or *"DEBUG"*. The default is *"DEBUG"*. + +memory_size +=========== + +This number setting specifies the Lambda function memory in MB. + +method_response_codes +===================== + +This array setting is a list of method response status codes to route. + +This should be in a format like *[200, 301, 404, 500]*. + +parameter_depth +=============== + +This integer setting specifies the size of the URL depth to route. + +This defaults to *8*. + +prebuild_script +=============== + +This string setting identifies a function to execute before uploading code. + +This should be in a format like *"your_module.your_function"*. + +profile_name +============ + +This string setting identifies the profile name of the AWS credentials to use. + +The default is *"default"*. + +project_name +============ + +This string setting is the name of the project as it appears on AWS. + +It defaults to *a slugified `pwd`*. + +role_name +========= + +This string setting is name of the Lambda execution role. + +s3_bucket +========= + +This string setting is the name of the Zappa zip bucket. + +settings_file +============= + +This string setting is the full path for the server side settings file. + +timeout_seconds +=============== + +This number setting specifies the maximum lifespan for the Lambda function in seconds. + +The default is *30*. + +touch +===== + +This boolean setting determines whether to GET the production URL upon initial deployment. + +Default is *true*. + +use_precompiled_packages +======================== + +This boolean setting is used to indicate whether, if possible, to use the C-extension packages which have been pre-compiled for AWS Lambda. + +use_apigateway +============== + +This boolean setting indicates whether the API Gateway resource should be created. + +The default is *true*. + +vpc_config +========== + +This setting provides some optional VPC configuration for Lambda function. This value for this setting is an object with sub-settings. + +SubnetsIds +---------- + +This is an array setting that is used to select subnets, which is a list of strings. + +Note that not all availability zones support Lambda. + + +SecurityGroupIds +---------------- + +This is an array setting that is used to select security groups, which is a list of strings. diff --git a/docs/contrib.rst b/docs/contrib.rst new file mode 100644 index 000000000..0662d8c12 --- /dev/null +++ b/docs/contrib.rst @@ -0,0 +1,5 @@ +============ +Contributing +============ + +This project is still young, so there is still plenty to be done. Contributions are more than welcome! Please file tickets before submitting patches, and submit your patches to the "dev" branch. \ No newline at end of file diff --git a/docs/domain_with_free_ssl.md b/docs/domain_with_free_ssl.md deleted file mode 100644 index 14b1147f7..000000000 --- a/docs/domain_with_free_ssl.md +++ /dev/null @@ -1,85 +0,0 @@ -# Using Let's Encrypt with Zappa - -This guide will show you the slightly convoluted way of running a Zappa website on an API Gateway Custom Domain Name with a free valid SSL certificate via Let's Encrypt. - -## Tool Installation - -First, you should have a valid Zappa website deployed to API Gateway without a domain. - -You'll also need to install Let's Encrypt via git: - -``` -$ git clone https://github.com/letsencrypt/letsencrypt -$ cd letsencrypt -``` - -and localtunnel via npm: - -``` -$ npm install -g localtunnel -``` - -## Generating the Certificate - -In one terminal, run: - -``` -./letsencrypt-auto certonly -d yoursub.example.com --manual -``` - -Hit 'Yes' until you get to a message like this: - -``` -Make sure your web server displays the following content at -http://yoursub.example.com/.well-known/acme-challenge/OJkbegasdfnowA_xql_kqpl8hBImj9WbM88fDF35wBE before continuing: - -OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE.Dowxk8snntasdfS433FYr2xtYZ0RaBcpaEXqmdc - -If you don't have HTTP server configured, you can run the following -command on the target server (as root): - -mkdir -p /tmp/letsencrypt/public_html/.well-known/acme-challenge -cd /tmp/letsencrypt/public_html -printf "%s" OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE.Dowxk8snnt2LxVZS3XS433FYr2xtYZ0RaBcpaEXqmdc > .well-known/acme-challenge/OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE -# run only once per server: -$(command -v python2 || command -v python2.7 || command -v python2.6) -c \ -"import BaseHTTPServer, SimpleHTTPServer; \ -s = BaseHTTPServer.HTTPServer(('', 80), SimpleHTTPServer.SimpleHTTPRequestHandler); \ -s.serve_forever()" -Press ENTER to continue -``` - -Next, in another terminal, run the command it gave you as root. -``` -sudo $(command -v python2 || command -v python2.7 || command -v python2.6) -c \ -"import BaseHTTPServer, SimpleHTTPServer; \ -s = BaseHTTPServer.HTTPServer(('', 80), SimpleHTTPServer.SimpleHTTPRequestHandler); \ -s.serve_forever()" -``` - -In a third terminal, run the following command (make sure firewall is off or allow port 80 through): - -``` -lt --port 80 --subdomain yoursub -``` - -Then, in a browser, visit http://yoursub.localtunnel.me/.well-known/acme-challenge/ and make sure that your challenge value is there. - -Next, point your DNS server's CNAME value to be "yoursub.localtunnel.me". Wait five minutes for this to propate, then visit http://yoursub.example.com/.well-known/acme-challenge/ and confirm that this is working. - -Then, in the first terminal, press ENTER and your certificate will be generated. You can find all of the keys and certificates in /etc/letsencrypt/live/yoursub.example.com/ - -## Installing the Certificate - -In the AWS API Gateway console, visit the [custom domains](https://console.aws.amazon.com/apigateway/home?region=us-east-1#/custom-domain-names) page. Press 'create' and fill in your values from your /etc/letsencrypt/live/yoursub.example.com/ directory. - - -| value | AWS API Gateway Custom Domain Name Setting field | -| --- | --- | --- | -| `yoursub.example.com` | Domain name | -| `yoursub.example.com` | Certificate name | -| `privkey.pem` | Certificate private key | -| `cert.pem` | Certificate body | -| `fullchain.pem` | Certificate chain. **Note**: only copy the 2nd part of the chain because the 1st part is the Certificate body, already provided. - -Finally, press 'Save' and your domain with a free valid SSL certificate will be live! Update your domain DNS CNAME to point to API Gateway domain. Also, this certificate will expire after 90 days, remember to re-generate it! diff --git a/docs/domain_with_free_ssl_dns.md b/docs/domain_with_free_ssl_dns.md new file mode 100644 index 000000000..6299777c6 --- /dev/null +++ b/docs/domain_with_free_ssl_dns.md @@ -0,0 +1,85 @@ +# Using Let's Encrypt with Zappa + +If you want to deploy a Zappa application using a domain or a subdomain, you'll need a valid SSL certificate. Fortunately for you, Zappa provides support for free SSL certificates using [Let's Encrypt](https://letsencrypt.org/) out of the box! + +### Step 1: Creating a Hosted Zone + +To verify that you own your domain, Let's Encrypt issues a challenge for you to prove that you control your domain's DNS servers. To do this automatically, Zappa requires that you use AWS's [Route 53](https://aws.amazon.com/route53/) DNS service. + +In the AWS [Route 53 web console](https://console.aws.amazon.com/route53/), create a new "Hosted Zone" for your domain. Define this value as the _apex_ ("naked") domain of your target domain. (So even if you wanted `test.zappa.io`, call this zone `zappa.io`). This will automatically give you a set of NS servers for your domain to use, like so: + +[![Console](http://i.imgur.com/1DflCR4.png)](https://console.aws.amazon.com/route53/) + +In your domain registrar's settings, set these new values as your domain's nameservers. These may take up to an hour to propagate. + +### Step 2: Generating an AWS Account Key + +Next, you'll need to generate an account key that you'll use with Let's Encrypt. + +To generate it, simply: + +``` +$ openssl genrsa 2048 > account.key; +``` + +It's very important that you keep that key safe! + +_Note that this is a 2048b key. It's generally preferred to use a stronger 4096b key, but at time of writing, AWS did not support keys that large. Use larger keys at your own risk. If you get it working with a 4096b key, please file an issue so that we can update this documentation._ + +### Step 3: Certification + +Finally, configure your `zappa_settings.json` to use this domain and key: + +```javascript +{ + "dev": { + ... + "domain": "test.zappa.io", // Your target domain + "lets_encrypt_key": "account.key", // Path to account key + ... + } +} +``` + +If you're doing this as part of a continuous deployment system, you can also store account key in a secure S3 bucket and point to it like so: + +```javascript +{ + "dev": { + ... + "domain": "test.zappa.io", // Your target domain + "lets_encrypt_key": "s3://your-secure-bucket/account.key", // S3 Path to account key + ... + } +} +``` + +Then, to verify, create and install your certificate with your domain, simply run the command: + +``` +$ zappa certify +``` + +And you're done! You can now use your SSL-secured Zappa application on your target domain. + +**Please note** that the first time you run this command, it can take around 45 minutes for Amazon to create your domain, and it'll take about 60 seconds every time after that. + +Let's Encrypt certificates only last for 3 months, so make sure that you remember to renew in time. + +### Step 4 (Optional): Auto-Renew + +If you want your certificates to renew automatically, use simply need to define a `lets_encrypt_expression` in your settings, like so: + +```javascript +{ + "dev": { + ... + "domain": "test.zappa.io", // Your target domain + "lets_encrypt_key": "s3://your-secure-bucket/account.key", // S3 Path to account key + "lets_encrypt_expression": "rate(15 days)", // LE Renew schedule + ... + } +} +``` + +The only caveat with this is that your functions `timeout_seconds` must be greater than `60`, as that's how long it takes the DNS to propagate. The auto-renewer will be installed whenvever you next `update` or `schedule`, though you may need to re`deploy` to up your `seconds_timeout`. diff --git a/docs/domain_with_free_ssl_http.md b/docs/domain_with_free_ssl_http.md new file mode 100644 index 000000000..461005a4d --- /dev/null +++ b/docs/domain_with_free_ssl_http.md @@ -0,0 +1,87 @@ +# Using Let's Encrypt with Zappa (HTTP Validation) + +## IMPORTANT!: Zappa now supports DNS-based validation out of the box, so you should probably use that if possible! + +This guide will show you the slightly convoluted way of running a Zappa website on an API Gateway Custom Domain Name with a free valid SSL certificate via Let's Encrypt with HTTP validation. + +## Tool Installation + +First, you should have a valid Zappa website deployed to API Gateway without a domain. + +You'll also need to install Let's Encrypt via git: + +``` +$ git clone https://github.com/letsencrypt/letsencrypt +$ cd letsencrypt +``` + +and localtunnel via npm: + +``` +$ npm install -g localtunnel +``` + +## Generating the Certificate + +In one terminal, run: + +``` +./letsencrypt-auto certonly -d yoursub.example.com --manual +``` + +Hit 'Yes' until you get to a message like this: + +``` +Make sure your web server displays the following content at +http://yoursub.example.com/.well-known/acme-challenge/OJkbegasdfnowA_xql_kqpl8hBImj9WbM88fDF35wBE before continuing: + +OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE.Dowxk8snntasdfS433FYr2xtYZ0RaBcpaEXqmdc + +If you don't have HTTP server configured, you can run the following +command on the target server (as root): + +mkdir -p /tmp/letsencrypt/public_html/.well-known/acme-challenge +cd /tmp/letsencrypt/public_html +printf "%s" OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE.Dowxk8snnt2LxVZS3XS433FYr2xtYZ0RaBcpaEXqmdc > .well-known/acme-challenge/OJkbegIsNpnowA_xql_kqpl8hBImj9WbM88fDF35wBE +# run only once per server: +$(command -v python2 || command -v python2.7 || command -v python2.6) -c \ +"import BaseHTTPServer, SimpleHTTPServer; \ +s = BaseHTTPServer.HTTPServer(('', 80), SimpleHTTPServer.SimpleHTTPRequestHandler); \ +s.serve_forever()" +Press ENTER to continue +``` + +Next, in another terminal, run the command it gave you as root. +``` +sudo $(command -v python2 || command -v python2.7 || command -v python2.6) -c \ +"import BaseHTTPServer, SimpleHTTPServer; \ +s = BaseHTTPServer.HTTPServer(('', 80), SimpleHTTPServer.SimpleHTTPRequestHandler); \ +s.serve_forever()" +``` + +In a third terminal, run the following command (make sure firewall is off or allow port 80 through): + +``` +lt --port 80 --subdomain yoursub +``` + +Then, in a browser, visit http://yoursub.localtunnel.me/.well-known/acme-challenge/ and make sure that your challenge value is there. + +Next, point your DNS server's CNAME value to be "yoursub.localtunnel.me". Wait five minutes for this to propate, then visit http://yoursub.example.com/.well-known/acme-challenge/ and confirm that this is working. + +Then, in the first terminal, press ENTER and your certificate will be generated. You can find all of the keys and certificates in /etc/letsencrypt/live/yoursub.example.com/ + +## Installing the Certificate + +In the AWS API Gateway console, visit the [custom domains](https://console.aws.amazon.com/apigateway/home?region=us-east-1#/custom-domain-names) page. Press 'create' and fill in your values from your /etc/letsencrypt/live/yoursub.example.com/ directory. + + +| value | AWS API Gateway Custom Domain Name Setting field | +| --- | --- | --- | +| `yoursub.example.com` | Domain name | +| `yoursub.example.com` | Certificate name | +| `privkey.pem` | Certificate private key | +| `cert.pem` | Certificate body | +| `fullchain.pem` | Certificate chain. **Note**: only copy the 2nd part of the chain because the 1st part is the Certificate body, already provided. + +Finally, press 'Save' and your domain with a free valid SSL certificate will be live! Update your domain DNS CNAME to point to API Gateway domain. Also, this certificate will expire after 90 days, remember to re-generate it! diff --git a/docs/guides.rst b/docs/guides.rst new file mode 100644 index 000000000..13abca86c --- /dev/null +++ b/docs/guides.rst @@ -0,0 +1,12 @@ +============ +Zappa Guides +============ + +* `Django-Zappa tutorial screencast `_. +* `Using Django-Zappa, Part 1 `_. +* `Using Django-Zappa, Part 2: VPCs `_. +* `Building Serverless Microservices with Zappa and Flask `_ + + +* `Zappa で Hello World するまで (Japanese) `_ +* *Your guide here?* diff --git a/docs/hacks.rst b/docs/hacks.rst new file mode 100644 index 000000000..5226f2c7d --- /dev/null +++ b/docs/hacks.rst @@ -0,0 +1,10 @@ +===== +Hacks +===== + +Zappa goes quite far beyond what Lambda and API Gateway were ever intended to handle. As a result, there are quite a few hacks in here that allow it to work. Some of those include, but aren't limited to.. + +* Using VTL to map body, headers, method, params and query strings into JSON, and then turning that into valid WSGI. +* Attaching response codes to response bodies, Base64 encoding the whole thing, using that as a regex to route the response code, decoding the body in VTL, and mapping the response body to that. +* Packing and _Base58_ encoding multiple cookies into a single cookie because we can only map one kind. +* Turning cookie-setting 301/302 responses into 200 responses with HTML redirects, because we have no way to set headers on redirects. \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 15a9bea90..d1fc51528 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,17 +1,49 @@ -.. sample documentation master file, created by - sphinx-quickstart on Mon Apr 16 21:22:43 2012. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - +=================== Zappa Documentation -================================== +=================== -Contents: -.. toctree:: - :maxdepth: 2 +Serverless Python Web Services +============================== + +**Zappa** makes it super easy to deploy all Python WSGI applications on AWS Lambda + API Gateway. Think of it as "serverless" web hosting for your Python web apps. + + *What do you mean "serverless"?* + +Okay, so there still is a server - but it only has a 40 millisecond life cycle! Serverless in this case means "**without any permanent infrastucture**." + +With a traditional HTTP server, the server is online 24/7, processing requests one by one as they come in. If the queue of incoming requests grows too large, some requests will time out. With Zappa, **each request is given its own virtual HTTP "server"** by Amazon API Gateway. AWS handles the horizontal scaling automatically, so no requests ever time out. Each request then calls your application from a memory cache in AWS Lambda and returns the response via Python's WSGI interface. After your app returns, the "server" dies. + +Better still, with Zappa you only pay for the milliseconds of server time that you use, so it's many **orders of magnitude cheaper** than VPS/PaaS hosts like Linode or Heroku - and in most cases, it's completely free. Plus, there's no need to worry about load balancing or keeping servers online ever again. +It's great for deploying serverless microservices with frameworks like Flask and Bottle, and for hosting larger web apps and CMSes with Django. Or, you can use any WSGI-compatible app you like! You **probably don't need to change your existing applications** to use it, and you're not locked into using it. +And finally, Zappa is **super easy to use**. You can deploy your application with a single command out of the box. + +Using **Zappa** means: + +* **No more** tedious web server configuration! +* **No more** paying for 24/7 server uptime! +* **No more** worrying about load balancing / scalability! +* **No more** worrying about keeping servers online! + +**Awesome!** + +.. image:: _static/zappa_demo.gif + +Contents: + +.. toctree:: + :maxdepth: 2 + + quickstart + advanced + guides + config + press + sites + hacks + contrib Indices and tables ================== diff --git a/docs/make.bat b/docs/make.bat index deed45a8d..499047f57 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -1,10 +1,11 @@ -@ECHO OFF +@ECHO ON REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) + set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . @@ -17,7 +18,7 @@ if "%1" == "" goto help if "%1" == "help" ( :help - echo.Please use `make ^` where ^ is one of + echo.Please use `make ^` where ^ is oooooooooone of echo. html to make standalone HTML files echo. dirhtml to make HTML files named index.html in directories echo. singlehtml to make a single large HTML file diff --git a/docs/press.rst b/docs/press.rst new file mode 100644 index 000000000..0c722dd6a --- /dev/null +++ b/docs/press.rst @@ -0,0 +1,7 @@ +================== +Zappa in the Press +================== + +* `Zappa Serves Python, Minus the Servers `_ +* `Zappa lyfter serverlösa applikationer med Python `_ +* `Interview: Rich Jones on Zappa `_ \ No newline at end of file diff --git a/docs/quickstart.rst b/docs/quickstart.rst new file mode 100644 index 000000000..75e036ac0 --- /dev/null +++ b/docs/quickstart.rst @@ -0,0 +1,70 @@ +========== +Quickstart +========== + +Installation and Configuration +============================== + +Before you begin, make sure you have a valid AWS account and your +`AWS credentials file +`_ +is properly installed. + +**Zappa** can easily be installed through pip, like so: :: + + $ pip install zappa + +Please note that Zappa **must** be installed into your project's +`virtual environment `_. + +(If you use `pyenv `_ and love to manage virtualenvs with **pyenv-virtualenv**, you just have to call *pyenv local [your_venv_name]* and it's ready. `Conda `_ users should comment `here `_.) + +Next, you'll need to define your local and server-side settings. + +Running the Initial Setup / Settings +------------------------------------ + +**Zappa** can automatically set up your deployment settings for you with the *init* command: :: + + $ zappa init + +This will automatically detect your application type and help you define your deployment configuration settings. Once you finish initialization, you'll have a file named *zappa_settings.json* in your project directory defining your deployment settings. It will probably look something like this: :: + + { + "dev": { // The name of your environment + "s3_bucket": "lmbda", // The name of your S3 bucket + "app_function": "your_module.app" // The python path to your WSGI application function. In Flask, this is your 'app' object. + } + } + +You can define as many environments as you like. We recommend having dev, staging, and production. + +Now, you're ready to deploy! + +Basic Usage +=========== + +Initial Deployments +------------------- + +Once your settings are configured, you can package and deploy your application to an environment called "production" with a single command: :: + + $ zappa deploy production + Deploying.. + Your application is now live at: https://7k6anj0k99.execute-api.us-east-1.amazonaws.com/production + +And now your app is **live!** How cool is that?! + +To explain what's going on, when you call 'deploy', Zappa will automatically package up your application and local virtual environment into a Lambda-compatible archive, replace any dependencies with versions +`precompiled for Lambda `_, set up the function handler and necessary WSGI Middleware, upload the archive to S3, register it as a new Lambda function, create a new API Gateway resource, create WSGI-compatible routes for it, link it to the new Lambda function, and finally delete the archive from your S3 bucket. Handy! + +Updates +------- + +If your application has already been deployed and you only need to upload new Python code, but not touch the underlying routes, you can simply: :: + + $ zappa update production + Updating.. + Your application is now live at: https://7k6anj0k99.execute-api.us-east-1.amazonaws.com/production + +This creates a new archive, uploads it to S3 and updates the Lambda function to use the new code, but doesn't touch the API Gateway routes. diff --git a/docs/sites.rst b/docs/sites.rst new file mode 100644 index 000000000..e98e27816 --- /dev/null +++ b/docs/sites.rst @@ -0,0 +1,9 @@ +================= +Sites Using Zappa +================= + +* `zappa.gun.io `_ - A Zappa "Hello, World" (real homepage coming.. soon..) +* `spheres.gun.io `_ - Spheres, a photosphere host and viewer +* `Mailchimp Signup Utility `_ - A microservice for adding people to a mailing list via API. +* `Serverless Image Host `_ - A thumbnailing service with Flask, Zappa and Pillow. +* *Your site here?* diff --git a/example/README.md b/example/README.md new file mode 100644 index 000000000..d62a64840 --- /dev/null +++ b/example/README.md @@ -0,0 +1,71 @@ +# Zappa Example + +This will deploy a simple Flask app + +## Setup + # configure your AWS keys + $ aws configure + +## Deploy WSGI App + # deploy API to dev environment + $ zappa deploy dev_api + + # Zappa will creates the API Gateway url for you similar to this + $ curl https://zzz.execute-api.us-west-2.amazonaws.com/dev_api + +## Schedule + +You can deploy just a function with a schedule: + + # deploy API to dev environment (doesn't create APIGateway resource) + $ zappa deploy dev_event + + # schedule CloudWatch to run this Lambda function every minute + $ zappa schedule dev_event + + # watch log + $ zappa tail dev_event + +You can also call a scheduled function packaged along with your normal WSGI app: + + # deploy API to prod environment + $ zappa deploy prod + + # schedule CloudWatch to run mymodule.myfunc every 5 minutes + $ zappa schedule prod + +This function can optionally take the usual `event` and `context` lambda arguments. +See `mymodule.myfunc_with_events` for an example of this. + +## Local Testing + +To test locally you can execute the WSGI app like you would normally. + + $ python app.py + +You can also call your scheduled function locally. When deployed, the handler will import and run this function. +For example, in "prod" it is defined as "mymodule.myfunc", so it can be called as such: + + $ python -c "import mymodule; mymodule.myfunc()" + +If your function uses the events argument you will need to send a dict with what the function expects. +Scheduled events use a structure similar to the following: + + +```python +{ + "account": "123456789012", + "region": "us-east-1", + "detail": {}, + "detail-type": "Scheduled Event", + "source": "aws.events", + "time": "1970-01-01T00:00:00Z", + "id": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c", + "resources": [ + "arn:aws:events:us-east-1:123456789012:rule/mymodule.myfunc" + ] +} +``` + +If your function is also using the context, check out [mock](https://pypi.python.org/pypi/mock) for help building +an artificial context object. diff --git a/example/app.py b/example/app.py new file mode 100644 index 000000000..6b0afe9a7 --- /dev/null +++ b/example/app.py @@ -0,0 +1,16 @@ +import logging +from flask import Flask + +app = Flask(__name__) +logging.basicConfig() +logger = logging.getLogger(__name__) +logger.setLevel(logging.DEBUG) + +@app.route('/', methods=['GET', 'POST']) +def lambda_handler(event=None, context=None): + logger.info('Lambda function invoked index()') + + return 'hello from Flask!' + +if __name__ == '__main__': + app.run(debug=True) diff --git a/example/mymodule.py b/example/mymodule.py new file mode 100644 index 000000000..4b7c0e388 --- /dev/null +++ b/example/mymodule.py @@ -0,0 +1,7 @@ +def myfunc(): + print 'Running my function in a schedule!' + +def myfunc_with_events(event, context): + print 'Event time was', event['time'] + print 'This log is', context.log_group_name, context.log_stream_name + print 'Time left for execution:', context.get_remaining_time_in_millis() diff --git a/example/requirements.txt b/example/requirements.txt new file mode 100644 index 000000000..efe6168e2 --- /dev/null +++ b/example/requirements.txt @@ -0,0 +1,2 @@ +Flask==0.11.1 +zappa>=0.17.6 diff --git a/example/zappa_settings.json b/example/zappa_settings.json new file mode 100644 index 000000000..6e68456db --- /dev/null +++ b/example/zappa_settings.json @@ -0,0 +1,49 @@ +{ + "dev_event": { + "project_name": "dev_event_zappa_test_flask_app", + "keep_warm": false, + "debug": true, + "log_level": "DEBUG", + "events": [{ + "function": "dev_event_zappa_test_flask_app", + "expression": "rate(1 minute)" + }], + "aws_region": "us-west-2", + "s3_bucket": "zappa-test-bucket", + "lambda_handler": "app.lambda_handler", + "use_apigateway": false, + "http_methods": ["GET"], + "parameter_depth": 1, + "timeout_seconds": 300, + "memory_size": 128, + "use_precompiled_packages": true + }, + "dev_api": { + "project_name": "dev_api_zappa_test_flask_app", + "keep_warm": false, + "debug": true, + "log_level": "DEBUG", + "aws_region": "us-west-2", + "s3_bucket": "zappa-test-bucket", + "app_function": "app.app", + "http_methods": ["GET"], + "parameter_depth": 1, + "timeout_seconds": 300, + "memory_size": 128, + "use_precompiled_packages": true + }, + "prod": { + "project_name": "dev_zappa_test_flask_app", + "events": [{ + "function": "mymodule.myfunc", + "expression": "rate(5 minutes)" + }], + "aws_region": "us-west-2", + "s3_bucket": "zappa-test-bucket", + "app_function": "app.app", + "http_methods": ["GET"], + "parameter_depth": 1, + "memory_size": 512, + "use_precompiled_packages": true + } +} diff --git a/requirements.txt b/requirements.txt index 8f3760c7e..0459c2bd0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,18 @@ -base58==0.2.2 -boto3==1.3.1 -botocore==1.4.27 +base58==0.2.3 +boto3==1.4.0 +botocore==1.4.56 docutils==0.12 futures==3.0.5 -hjson==1.5.6 +hjson==2.0.2 jmespath==0.9.0 -lambda-packages==0.5.0 +kappa==0.6.0 +lambda-packages==0.8.0 python-dateutil==2.5.3 -python-slugify==1.2.0 -requests[security]>=2.10.0 +python-slugify==1.2.1 +requests>=2.10.0 six==1.10.0 -tqdm==4.7.4 -Werkzeug==0.11.10 +tqdm==4.8.4 +troposphere==1.8.1 +Werkzeug==0.11.11 wheel==0.29.0 wsgi-request-logger==0.4.5 diff --git a/setup.py b/setup.py index 9ff60ed85..0cbe414bd 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='zappa', - version='0.18.2', + version='0.24.2', packages=['zappa'], install_requires=required, tests_require=test_required, diff --git a/test.sh b/test.sh index 56539bd02..489091dc5 100755 --- a/test.sh +++ b/test.sh @@ -1,2 +1,5 @@ #! /bin/bash nosetests --with-coverage --cover-package=zappa + +# For a specific test: +# nosetests tests.tests:TestZappa.test_lets_encrypt_sanity diff --git a/test_requirements.txt b/test_requirements.txt index a9e38e6f0..4d162e403 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,4 +1,5 @@ coveralls==1.1 +Django==1.10.1 mock==2.0.0 nose==1.3.7 placebo==0.8.1 diff --git a/test_settings.json b/test_settings.json index f0f4a19a4..3a0588f9d 100644 --- a/test_settings.json +++ b/test_settings.json @@ -1,10 +1,48 @@ { "ttt888": { + "touch": false, "s3_bucket": "lmbda", "app_function": "tests.test_app.hello_world", - "delete_zip": true, + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_local_zip": true, "debug": true, "parameter_depth": 2, - "prebuild_script": "test_settings.prebuild_me" + "prebuild_script": "test_settings.prebuild_me", + "events": [ + { + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }, + { + "function": "test.test_app.method", + "event_source": { + "arn": "arn:aws:sns:::1", + "events": [ + "sns:Publish" + ] + } + } + ] + }, + "devor": { + "s3_bucket": "lmbda", + "app_function": "tests.test_app.hello_world", + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_local_zip": true, + "debug": true, + "parameter_depth": 2, + "prebuild_script": "test_settings.prebuild_me", + "events": [{ + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }] } } diff --git a/test_settings.py b/test_settings.py index ca6e2ac35..458922b65 100644 --- a/test_settings.py +++ b/test_settings.py @@ -1,10 +1,54 @@ APP_MODULE = 'tests.test_app' APP_FUNCTION = 'hello_world' +DJANGO_SETTINGS = None DEBUG = 'True' LOG_LEVEL = 'DEBUG' SCRIPT_NAME = 'hello_world' DOMAIN = None API_STAGE = 'ttt888' +PROJECT_NAME = 'ttt888' + +REMOTE_ENV_BUCKET='lmbda' +REMOTE_ENV_FILE='test_env.json' +## test_env.json +#{ +# "hello": "world" +#} +# + +AWS_EVENT_MAPPING = { + 'arn:aws:s3:1': 'test_settings.aws_s3_event', + 'arn:aws:sns:1': 'test_settings.aws_sns_event', + 'arn:aws:dynamodb:1': 'test_settings.aws_dynamodb_event', + 'arn:aws:kinesis:1': 'test_settings.aws_kinesis_event' +} + +ENVIRONMENT_VARIABLES={'testenv': 'envtest'} + def prebuild_me(): print("This is a prebuild script!") + + +def callback(self): + print("this is a callback") + + +def aws_s3_event(event, content): + return "AWS S3 EVENT" + + +def aws_sns_event(event, content): + return "AWS SNS EVENT" + + +def aws_dynamodb_event(event, content): + return "AWS DYNAMODB EVENT" + + +def aws_kinesis_event(event, content): + return "AWS KINESIS EVENT" + + +def command(): + print("command") diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 000000000..8283dafff --- /dev/null +++ b/tests/README.md @@ -0,0 +1,9 @@ +# Zappa Test Notes + +Look here!: https://github.com/garnaat/placebo#usage-as-a-decorator + +Also useful - OSX sed replace example: + +` +find . -type f -name '*.json' -exec sed -i '' s/"Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect"/"Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect"/ {} + +` diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateApiKey_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateApiKey_1.json new file mode 100644 index 000000000..26823db5d --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateApiKey_1.json @@ -0,0 +1,39 @@ +{ + "status_code": 201, + "data": { + "name": "test", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "e861edec-5901-11e6-8f63-a3652f6325da", + "HTTPHeaders": { + "x-amzn-requestid": "e861edec-5901-11e6-8f63-a3652f6325da", + "date": "Tue, 02 Aug 2016 22:39:00 GMT", + "content-length": "148", + "content-type": "application/json" + } + }, + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 2, + "minute": 39 + }, + "lastUpdatedDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 2, + "minute": 39 + }, + "enabled": true, + "id": "mOebO1Q4uFa8NUGutxr833XZb3quSqa35yCRkRci", + "stageKeys": [] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_1.json index 81d22399a..48da9de03 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_1.json @@ -17,4 +17,4 @@ "minute": 2 } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_2.json index b5b1b47f1..480046807 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_2.json @@ -17,4 +17,4 @@ "minute": 24 } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_3.json new file mode 100644 index 000000000..8c1de972b --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateDeployment_3.json @@ -0,0 +1,26 @@ +{ + "status_code": 201, + "data": { + "id": "43p5hj", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "44700020-6a74-11e6-9e18-d13c6ce86685", + "HTTPHeaders": { + "x-amzn-requestid": "44700020-6a74-11e6-9e18-d13c6ce86685", + "date": "Thu, 25 Aug 2016 03:30:29 GMT", + "content-length": "41", + "content-type": "application/json" + } + }, + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 30 + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_1.json index 3682ce58d..1fa2f7a90 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_1.json @@ -10,4 +10,4 @@ }, "parentId": "6ahk6mn0bi" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_2.json index 89521c460..1958e7a17 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_2.json @@ -10,4 +10,4 @@ }, "parentId": "ndmj6n" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_3.json index 79433d992..306281982 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_3.json @@ -10,4 +10,4 @@ }, "parentId": "kbdbxf" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_4.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_4.json index 659b6cc53..e87bb11b6 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_4.json @@ -10,4 +10,4 @@ }, "parentId": "ozp3pf" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_5.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_5.json index afb5b2d0c..6c83b3ebf 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_5.json @@ -10,4 +10,4 @@ }, "parentId": "hynkkf" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_6.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_6.json index fec13b611..58fb7f3b2 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_6.json @@ -10,4 +10,4 @@ }, "parentId": "7rfu1h" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_7.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_7.json index a95466c86..6af50bafa 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_7.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_7.json @@ -10,4 +10,4 @@ }, "parentId": "f97hp3" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_8.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_8.json index a048f5428..63c055868 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_8.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_8.json @@ -10,4 +10,4 @@ }, "parentId": "vw69yjtx3b" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_9.json new file mode 100644 index 000000000..a8ae016cf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateResource_9.json @@ -0,0 +1,19 @@ +{ + "status_code": 201, + "data": { + "path": "/{parameter_1}", + "pathPart": "{parameter_1}", + "id": "z65qvb", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "3892e3ff-6a74-11e6-831b-43c278515a41", + "HTTPHeaders": { + "x-amzn-requestid": "3892e3ff-6a74-11e6-831b-43c278515a41", + "date": "Thu, 25 Aug 2016 03:30:07 GMT", + "content-length": "91", + "content-type": "application/json" + } + }, + "parentId": "hq4rr1cie4" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_1.json deleted file mode 100644 index b841d999a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_1.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "id": "mj9gnteqc9", - "name": "zappa-ttt666", - "description": "zappa-ttt666 Zappa", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5443815a-28f4-11e6-9152-ebe760f7884c" - }, - "createdDate": { - "hour": 15, - "__class__": "datetime", - "month": 6, - "second": 53, - "microsecond": 0, - "year": 2016, - "day": 2, - "minute": 0 - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_2.json deleted file mode 100644 index 864b0b24b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_2.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "status_code": 400, - "data": { - "ResponseMetadata": { - "HTTPStatusCode": 400, - "RequestId": "12c7f930-28f6-11e6-87ec-8f98a402daaf" - }, - "Error": { - "Message": "Maximum number of APIs has been reached. Please contact AWS if you need additional APIs.", - "Code": "BadRequestException" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_3.json deleted file mode 100644 index a1768b289..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.CreateRestApi_3.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "id": "iw5z0jpx0d", - "name": "zappa-ttt888", - "description": "zappa-ttt888 Zappa", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8b4755d0-28f7-11e6-939c-7385a6df1b20" - }, - "createdDate": { - "hour": 15, - "__class__": "datetime", - "month": 6, - "second": 54, - "microsecond": 0, - "year": 2016, - "day": 2, - "minute": 23 - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteApiKey_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteApiKey_1.json new file mode 100644 index 000000000..babb13f4a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteApiKey_1.json @@ -0,0 +1,9 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "RequestId": "db1a1c1c0-28f7-11e6-8db2-597c5c8eebes5" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_1.json index e0064fac8..52a77cc9e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_1.json @@ -6,4 +6,4 @@ "RequestId": "af701457-28f7-11e6-a01d-971fdfddbf7e" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_2.json new file mode 100644 index 000000000..84b5ab5da --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.DeleteRestApi_2.json @@ -0,0 +1,15 @@ +{ + "status_code": 202, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 202, + "RequestId": "a27ed33c-6a74-11e6-aaec-e994c773c0ae", + "HTTPHeaders": { + "x-amzn-requestid": "a27ed33c-6a74-11e6-aaec-e994c773c0ae", + "date": "Thu, 25 Aug 2016 03:33:06 GMT", + "content-length": "0", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetApiKeys_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetApiKeys_1.json new file mode 100644 index 000000000..0b0aa944c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetApiKeys_1.json @@ -0,0 +1,11 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "id": "randomid", + "name": "iw5z0jpx0d" + } + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_1.json index d96c7046e..afa260758 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_1.json @@ -12,4 +12,4 @@ "RequestId": "5494870d-28f4-11e6-87ec-8f98a402daaf" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_2.json index 7671b8c89..671b97a4f 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_2.json @@ -12,4 +12,4 @@ "RequestId": "8b7bad0d-28f7-11e6-8233-6d2c402681cd" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_3.json new file mode 100644 index 000000000..69993846a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetResources_3.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "path": "/", + "id": "hq4rr1cie4" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2d381708-6a74-11e6-831b-43c278515a41", + "HTTPHeaders": { + "x-amzn-requestid": "2d381708-6a74-11e6-831b-43c278515a41", + "date": "Thu, 25 Aug 2016 03:29:48 GMT", + "content-length": "42", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_1.json index 5b7ea08bd..6577e44eb 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_1.json @@ -384,4 +384,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_2.json index d37f51008..325c7fe2d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_2.json @@ -384,4 +384,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_3.json index 76de42074..d31bb3192 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_3.json @@ -384,4 +384,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_4.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_4.json index c8eb61ff3..f96a013dc 100644 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_4.json @@ -893,4 +893,4 @@ "RequestId": "af6602b8-28f7-11e6-8233-6d2c402681cd" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_5.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_5.json new file mode 100644 index 000000000..77c396e80 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_5.json @@ -0,0 +1,393 @@ +{ + "status_code": 200, + "data": { + "position": "aWQ9U2xwaGZheGo4NGc%3D", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2cafad23-6a74-11e6-831b-43c278515a41", + "HTTPHeaders": { + "x-amzn-requestid": "2cafad23-6a74-11e6-831b-43c278515a41", + "date": "Thu, 25 Aug 2016 03:29:47 GMT", + "content-length": "2753", + "content-type": "application/json" + } + }, + "items": [ + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 56 + }, + "id": "4sm404ad2j", + "name": "baby-flask-devor" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "zappa-slack-inviter-prod Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 41, + "microsecond": 0, + "year": 2016, + "day": 22, + "minute": 54 + }, + "id": "9pi3dp8g4f", + "name": "zappa-slack-inviter-prod" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "baby-pyramid-dev Zappa", + "createdDate": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 20 + }, + "id": "css89s7off", + "name": "baby-pyramid-dev" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + } + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_6.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_6.json new file mode 100644 index 000000000..df98aeb58 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_6.json @@ -0,0 +1,872 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 56 + }, + "id": "4sm404ad2j", + "name": "baby-flask-devor" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "zappa-slack-inviter-prod Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 41, + "microsecond": 0, + "year": 2016, + "day": 22, + "minute": 54 + }, + "id": "9pi3dp8g4f", + "name": "zappa-slack-inviter-prod" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "baby-pyramid-dev Zappa", + "createdDate": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 20 + }, + "id": "css89s7off", + "name": "baby-pyramid-dev" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "zappa-ttt888 Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 48, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "jkib1pg4l1", + "name": "zappa-ttt888" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + }, + { + "description": "flask-test-eventer Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 26, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 0 + }, + "id": "lsw93ibofa", + "name": "flask-test-eventer" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 35 + }, + "id": "lvc59j5puf", + "name": "Spheres-dev" + }, + { + "description": "helloworld-qqqqq Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 34, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 16 + }, + "id": "lwbaruqt91", + "name": "helloworld-qqqqq" + }, + { + "description": "demo-dev Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 3, + "second": 8, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 17 + }, + "id": "m8atxlc1j9", + "name": "demo-dev" + }, + { + "description": "helloworld-dvlperrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 16, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 31 + }, + "id": "mco06c7adh", + "name": "helloworld-dvlperrrr" + }, + { + "description": "helloworld-rr Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 6, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 28 + }, + "id": "mgo7ssfnr8", + "name": "helloworld-rr" + }, + { + "description": "helloworld-dvlperrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "nsrpfnr93g", + "name": "helloworld-dvlperrr" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 58, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 37 + }, + "id": "o48rplzmre", + "name": "Spheres-dev" + }, + { + "description": "restful-demo-dev4 Zappa", + "createdDate": { + "hour": 22, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 4, + "minute": 19 + }, + "id": "oo8j6uj6i1", + "name": "restful-demo-dev4" + }, + { + "description": "helloworld-badmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 49, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 59 + }, + "id": "owo37s7o0l", + "name": "helloworld-badmin" + }, + { + "description": "1453987169 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 19 + }, + "id": "p22u4b4hn9", + "name": "1453987169" + }, + { + "description": "1453847710 Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 35 + }, + "id": "pzdx6f20o9", + "name": "1453847710" + }, + { + "description": "helloworld-develo Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 33 + }, + "id": "qhikml2l0a", + "name": "helloworld-develo" + }, + { + "description": "1453992020 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 22, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 40 + }, + "id": "rmlote5cec", + "name": "1453992020" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 2, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 38 + }, + "id": "ry7mtnfmo3", + "name": "Spheres-dev" + }, + { + "description": "serverless-imagehost-nob2 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 5, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 54 + }, + "id": "s6svfqprs6", + "name": "serverless-imagehost-nob2" + }, + { + "description": "zappa-tester Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 31 + }, + "id": "sibzbaomqb", + "name": "zappa-tester" + }, + { + "description": "helloworld-fadmin Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 47 + }, + "id": "swe19z3zr7", + "name": "helloworld-fadmin" + }, + { + "description": "django-helloworld-prodope Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 4, + "second": 43, + "microsecond": 0, + "year": 2016, + "day": 9, + "minute": 46 + }, + "id": "sx5ifzldel", + "name": "django-helloworld-prodope" + }, + { + "description": "zappa-testerinoo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 0 + }, + "id": "tkfhn7uh1j", + "name": "zappa-testerinoo" + }, + { + "description": "flask-blog-dev Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 3, + "second": 20, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 30 + }, + "id": "u5k6g8qxu4", + "name": "flask-blog-dev" + }, + { + "description": "helloworld-poste Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 6 + }, + "id": "v3f3yz9ij6", + "name": "helloworld-poste" + }, + { + "description": "flask-test-test Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 3, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 46 + }, + "id": "vna1tr18s7", + "name": "flask-test-test" + }, + { + "description": "helloworld-dvlperrrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 41 + }, + "id": "voekyyz7v7", + "name": "helloworld-dvlperrrrr" + }, + { + "description": "zappa-ttt222 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 13, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 45 + }, + "id": "vzxj8vvejc", + "name": "zappa-ttt222" + }, + { + "description": "django-helloworld-prodo Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 4, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 8, + "minute": 48 + }, + "id": "wx029jbtva", + "name": "django-helloworld-prodo" + }, + { + "description": "helloworld-postal Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 22 + }, + "id": "xnozvcrt9f", + "name": "helloworld-postal" + }, + { + "description": "zappa-testerino Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 44 + }, + "id": "yxm125wqua", + "name": "zappa-testerino" + }, + { + "description": "helloworld-zz Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 11, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 56 + }, + "id": "yxu3hk4ss8", + "name": "helloworld-zz" + }, + { + "description": "helloworld-p Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 1, + "second": 17, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 58 + }, + "id": "zdmxiapwh9", + "name": "helloworld-p" + }, + { + "description": "serverless-imagehost-demodemo Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 7, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 10 + }, + "id": "zhrsy6zhl7", + "name": "serverless-imagehost-demodemo" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "659dce17-6a74-11e6-aaec-e994c773c0ae", + "HTTPHeaders": { + "x-amzn-requestid": "659dce17-6a74-11e6-aaec-e994c773c0ae", + "date": "Thu, 25 Aug 2016 03:31:23 GMT", + "content-length": "6217", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_7.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_7.json new file mode 100644 index 000000000..765b51a2a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_7.json @@ -0,0 +1,872 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 56 + }, + "id": "4sm404ad2j", + "name": "baby-flask-devor" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "zappa-slack-inviter-prod Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 41, + "microsecond": 0, + "year": 2016, + "day": 22, + "minute": 54 + }, + "id": "9pi3dp8g4f", + "name": "zappa-slack-inviter-prod" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "baby-pyramid-dev Zappa", + "createdDate": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 20 + }, + "id": "css89s7off", + "name": "baby-pyramid-dev" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "zappa-ttt888 Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 48, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "jkib1pg4l1", + "name": "zappa-ttt888" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + }, + { + "description": "flask-test-eventer Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 26, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 0 + }, + "id": "lsw93ibofa", + "name": "flask-test-eventer" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 35 + }, + "id": "lvc59j5puf", + "name": "Spheres-dev" + }, + { + "description": "helloworld-qqqqq Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 34, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 16 + }, + "id": "lwbaruqt91", + "name": "helloworld-qqqqq" + }, + { + "description": "demo-dev Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 3, + "second": 8, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 17 + }, + "id": "m8atxlc1j9", + "name": "demo-dev" + }, + { + "description": "helloworld-dvlperrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 16, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 31 + }, + "id": "mco06c7adh", + "name": "helloworld-dvlperrrr" + }, + { + "description": "helloworld-rr Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 6, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 28 + }, + "id": "mgo7ssfnr8", + "name": "helloworld-rr" + }, + { + "description": "helloworld-dvlperrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "nsrpfnr93g", + "name": "helloworld-dvlperrr" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 58, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 37 + }, + "id": "o48rplzmre", + "name": "Spheres-dev" + }, + { + "description": "restful-demo-dev4 Zappa", + "createdDate": { + "hour": 22, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 4, + "minute": 19 + }, + "id": "oo8j6uj6i1", + "name": "restful-demo-dev4" + }, + { + "description": "helloworld-badmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 49, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 59 + }, + "id": "owo37s7o0l", + "name": "helloworld-badmin" + }, + { + "description": "1453987169 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 19 + }, + "id": "p22u4b4hn9", + "name": "1453987169" + }, + { + "description": "1453847710 Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 35 + }, + "id": "pzdx6f20o9", + "name": "1453847710" + }, + { + "description": "helloworld-develo Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 33 + }, + "id": "qhikml2l0a", + "name": "helloworld-develo" + }, + { + "description": "1453992020 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 22, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 40 + }, + "id": "rmlote5cec", + "name": "1453992020" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 2, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 38 + }, + "id": "ry7mtnfmo3", + "name": "Spheres-dev" + }, + { + "description": "serverless-imagehost-nob2 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 5, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 54 + }, + "id": "s6svfqprs6", + "name": "serverless-imagehost-nob2" + }, + { + "description": "zappa-tester Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 31 + }, + "id": "sibzbaomqb", + "name": "zappa-tester" + }, + { + "description": "helloworld-fadmin Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 47 + }, + "id": "swe19z3zr7", + "name": "helloworld-fadmin" + }, + { + "description": "django-helloworld-prodope Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 4, + "second": 43, + "microsecond": 0, + "year": 2016, + "day": 9, + "minute": 46 + }, + "id": "sx5ifzldel", + "name": "django-helloworld-prodope" + }, + { + "description": "zappa-testerinoo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 0 + }, + "id": "tkfhn7uh1j", + "name": "zappa-testerinoo" + }, + { + "description": "flask-blog-dev Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 3, + "second": 20, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 30 + }, + "id": "u5k6g8qxu4", + "name": "flask-blog-dev" + }, + { + "description": "helloworld-poste Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 6 + }, + "id": "v3f3yz9ij6", + "name": "helloworld-poste" + }, + { + "description": "flask-test-test Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 3, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 46 + }, + "id": "vna1tr18s7", + "name": "flask-test-test" + }, + { + "description": "helloworld-dvlperrrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 41 + }, + "id": "voekyyz7v7", + "name": "helloworld-dvlperrrrr" + }, + { + "description": "zappa-ttt222 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 13, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 45 + }, + "id": "vzxj8vvejc", + "name": "zappa-ttt222" + }, + { + "description": "django-helloworld-prodo Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 4, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 8, + "minute": 48 + }, + "id": "wx029jbtva", + "name": "django-helloworld-prodo" + }, + { + "description": "helloworld-postal Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 22 + }, + "id": "xnozvcrt9f", + "name": "helloworld-postal" + }, + { + "description": "zappa-testerino Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 44 + }, + "id": "yxm125wqua", + "name": "zappa-testerino" + }, + { + "description": "helloworld-zz Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 11, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 56 + }, + "id": "yxu3hk4ss8", + "name": "helloworld-zz" + }, + { + "description": "helloworld-p Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 1, + "second": 17, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 58 + }, + "id": "zdmxiapwh9", + "name": "helloworld-p" + }, + { + "description": "serverless-imagehost-demodemo Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 7, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 10 + }, + "id": "zhrsy6zhl7", + "name": "serverless-imagehost-demodemo" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "684546ee-6a74-11e6-831b-43c278515a41", + "HTTPHeaders": { + "x-amzn-requestid": "684546ee-6a74-11e6-831b-43c278515a41", + "date": "Thu, 25 Aug 2016 03:31:27 GMT", + "content-length": "6217", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_8.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_8.json new file mode 100644 index 000000000..7ec39b24a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_8.json @@ -0,0 +1,872 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 56 + }, + "id": "4sm404ad2j", + "name": "baby-flask-devor" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "zappa-slack-inviter-prod Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 41, + "microsecond": 0, + "year": 2016, + "day": 22, + "minute": 54 + }, + "id": "9pi3dp8g4f", + "name": "zappa-slack-inviter-prod" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "baby-pyramid-dev Zappa", + "createdDate": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 20 + }, + "id": "css89s7off", + "name": "baby-pyramid-dev" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "zappa-ttt888 Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 48, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "jkib1pg4l1", + "name": "zappa-ttt888" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + }, + { + "description": "flask-test-eventer Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 26, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 0 + }, + "id": "lsw93ibofa", + "name": "flask-test-eventer" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 35 + }, + "id": "lvc59j5puf", + "name": "Spheres-dev" + }, + { + "description": "helloworld-qqqqq Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 34, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 16 + }, + "id": "lwbaruqt91", + "name": "helloworld-qqqqq" + }, + { + "description": "demo-dev Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 3, + "second": 8, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 17 + }, + "id": "m8atxlc1j9", + "name": "demo-dev" + }, + { + "description": "helloworld-dvlperrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 16, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 31 + }, + "id": "mco06c7adh", + "name": "helloworld-dvlperrrr" + }, + { + "description": "helloworld-rr Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 6, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 28 + }, + "id": "mgo7ssfnr8", + "name": "helloworld-rr" + }, + { + "description": "helloworld-dvlperrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "nsrpfnr93g", + "name": "helloworld-dvlperrr" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 58, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 37 + }, + "id": "o48rplzmre", + "name": "Spheres-dev" + }, + { + "description": "restful-demo-dev4 Zappa", + "createdDate": { + "hour": 22, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 4, + "minute": 19 + }, + "id": "oo8j6uj6i1", + "name": "restful-demo-dev4" + }, + { + "description": "helloworld-badmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 49, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 59 + }, + "id": "owo37s7o0l", + "name": "helloworld-badmin" + }, + { + "description": "1453987169 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 19 + }, + "id": "p22u4b4hn9", + "name": "1453987169" + }, + { + "description": "1453847710 Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 35 + }, + "id": "pzdx6f20o9", + "name": "1453847710" + }, + { + "description": "helloworld-develo Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 33 + }, + "id": "qhikml2l0a", + "name": "helloworld-develo" + }, + { + "description": "1453992020 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 22, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 40 + }, + "id": "rmlote5cec", + "name": "1453992020" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 2, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 38 + }, + "id": "ry7mtnfmo3", + "name": "Spheres-dev" + }, + { + "description": "serverless-imagehost-nob2 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 5, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 54 + }, + "id": "s6svfqprs6", + "name": "serverless-imagehost-nob2" + }, + { + "description": "zappa-tester Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 31 + }, + "id": "sibzbaomqb", + "name": "zappa-tester" + }, + { + "description": "helloworld-fadmin Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 47 + }, + "id": "swe19z3zr7", + "name": "helloworld-fadmin" + }, + { + "description": "django-helloworld-prodope Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 4, + "second": 43, + "microsecond": 0, + "year": 2016, + "day": 9, + "minute": 46 + }, + "id": "sx5ifzldel", + "name": "django-helloworld-prodope" + }, + { + "description": "zappa-testerinoo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 0 + }, + "id": "tkfhn7uh1j", + "name": "zappa-testerinoo" + }, + { + "description": "flask-blog-dev Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 3, + "second": 20, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 30 + }, + "id": "u5k6g8qxu4", + "name": "flask-blog-dev" + }, + { + "description": "helloworld-poste Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 6 + }, + "id": "v3f3yz9ij6", + "name": "helloworld-poste" + }, + { + "description": "flask-test-test Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 3, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 46 + }, + "id": "vna1tr18s7", + "name": "flask-test-test" + }, + { + "description": "helloworld-dvlperrrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 41 + }, + "id": "voekyyz7v7", + "name": "helloworld-dvlperrrrr" + }, + { + "description": "zappa-ttt222 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 13, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 45 + }, + "id": "vzxj8vvejc", + "name": "zappa-ttt222" + }, + { + "description": "django-helloworld-prodo Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 4, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 8, + "minute": 48 + }, + "id": "wx029jbtva", + "name": "django-helloworld-prodo" + }, + { + "description": "helloworld-postal Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 22 + }, + "id": "xnozvcrt9f", + "name": "helloworld-postal" + }, + { + "description": "zappa-testerino Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 44 + }, + "id": "yxm125wqua", + "name": "zappa-testerino" + }, + { + "description": "helloworld-zz Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 11, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 56 + }, + "id": "yxu3hk4ss8", + "name": "helloworld-zz" + }, + { + "description": "helloworld-p Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 1, + "second": 17, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 58 + }, + "id": "zdmxiapwh9", + "name": "helloworld-p" + }, + { + "description": "serverless-imagehost-demodemo Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 7, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 10 + }, + "id": "zhrsy6zhl7", + "name": "serverless-imagehost-demodemo" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a227164b-6a74-11e6-aaec-e994c773c0ae", + "HTTPHeaders": { + "x-amzn-requestid": "a227164b-6a74-11e6-aaec-e994c773c0ae", + "date": "Thu, 25 Aug 2016 03:33:05 GMT", + "content-length": "6217", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_9.json new file mode 100644 index 000000000..9619c0692 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetRestApis_9.json @@ -0,0 +1,872 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 56 + }, + "id": "4sm404ad2j", + "name": "baby-flask-devor" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "zappa-slack-inviter-prod Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 41, + "microsecond": 0, + "year": 2016, + "day": 22, + "minute": 54 + }, + "id": "9pi3dp8g4f", + "name": "zappa-slack-inviter-prod" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "baby-pyramid-dev Zappa", + "createdDate": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 23, + "minute": 20 + }, + "id": "css89s7off", + "name": "baby-pyramid-dev" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "zappa-ttt888 Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 48, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "jkib1pg4l1", + "name": "zappa-ttt888" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + }, + { + "description": "flask-test-eventer Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 26, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 0 + }, + "id": "lsw93ibofa", + "name": "flask-test-eventer" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 35 + }, + "id": "lvc59j5puf", + "name": "Spheres-dev" + }, + { + "description": "helloworld-qqqqq Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 34, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 16 + }, + "id": "lwbaruqt91", + "name": "helloworld-qqqqq" + }, + { + "description": "demo-dev Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 3, + "second": 8, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 17 + }, + "id": "m8atxlc1j9", + "name": "demo-dev" + }, + { + "description": "helloworld-dvlperrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 16, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 31 + }, + "id": "mco06c7adh", + "name": "helloworld-dvlperrrr" + }, + { + "description": "helloworld-rr Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 6, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 28 + }, + "id": "mgo7ssfnr8", + "name": "helloworld-rr" + }, + { + "description": "helloworld-dvlperrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "nsrpfnr93g", + "name": "helloworld-dvlperrr" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 58, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 37 + }, + "id": "o48rplzmre", + "name": "Spheres-dev" + }, + { + "description": "restful-demo-dev4 Zappa", + "createdDate": { + "hour": 22, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 4, + "minute": 19 + }, + "id": "oo8j6uj6i1", + "name": "restful-demo-dev4" + }, + { + "description": "helloworld-badmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 49, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 59 + }, + "id": "owo37s7o0l", + "name": "helloworld-badmin" + }, + { + "description": "1453987169 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 19 + }, + "id": "p22u4b4hn9", + "name": "1453987169" + }, + { + "description": "1453847710 Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 35 + }, + "id": "pzdx6f20o9", + "name": "1453847710" + }, + { + "description": "helloworld-develo Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 33 + }, + "id": "qhikml2l0a", + "name": "helloworld-develo" + }, + { + "description": "1453992020 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 22, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 40 + }, + "id": "rmlote5cec", + "name": "1453992020" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 2, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 38 + }, + "id": "ry7mtnfmo3", + "name": "Spheres-dev" + }, + { + "description": "serverless-imagehost-nob2 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 5, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 54 + }, + "id": "s6svfqprs6", + "name": "serverless-imagehost-nob2" + }, + { + "description": "zappa-tester Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 31 + }, + "id": "sibzbaomqb", + "name": "zappa-tester" + }, + { + "description": "helloworld-fadmin Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 47 + }, + "id": "swe19z3zr7", + "name": "helloworld-fadmin" + }, + { + "description": "django-helloworld-prodope Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 4, + "second": 43, + "microsecond": 0, + "year": 2016, + "day": 9, + "minute": 46 + }, + "id": "sx5ifzldel", + "name": "django-helloworld-prodope" + }, + { + "description": "zappa-testerinoo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 0 + }, + "id": "tkfhn7uh1j", + "name": "zappa-testerinoo" + }, + { + "description": "flask-blog-dev Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 3, + "second": 20, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 30 + }, + "id": "u5k6g8qxu4", + "name": "flask-blog-dev" + }, + { + "description": "helloworld-poste Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 6 + }, + "id": "v3f3yz9ij6", + "name": "helloworld-poste" + }, + { + "description": "flask-test-test Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 3, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 46 + }, + "id": "vna1tr18s7", + "name": "flask-test-test" + }, + { + "description": "helloworld-dvlperrrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 41 + }, + "id": "voekyyz7v7", + "name": "helloworld-dvlperrrrr" + }, + { + "description": "zappa-ttt222 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 13, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 45 + }, + "id": "vzxj8vvejc", + "name": "zappa-ttt222" + }, + { + "description": "django-helloworld-prodo Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 4, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 8, + "minute": 48 + }, + "id": "wx029jbtva", + "name": "django-helloworld-prodo" + }, + { + "description": "helloworld-postal Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 22 + }, + "id": "xnozvcrt9f", + "name": "helloworld-postal" + }, + { + "description": "zappa-testerino Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 44 + }, + "id": "yxm125wqua", + "name": "zappa-testerino" + }, + { + "description": "helloworld-zz Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 11, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 56 + }, + "id": "yxu3hk4ss8", + "name": "helloworld-zz" + }, + { + "description": "helloworld-p Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 1, + "second": 17, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 58 + }, + "id": "zdmxiapwh9", + "name": "helloworld-p" + }, + { + "description": "serverless-imagehost-demodemo Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 7, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 10 + }, + "id": "zhrsy6zhl7", + "name": "serverless-imagehost-demodemo" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a269c4ec-6a74-11e6-9e18-d13c6ce86685", + "HTTPHeaders": { + "x-amzn-requestid": "a269c4ec-6a74-11e6-9e18-d13c6ce86685", + "date": "Thu, 25 Aug 2016 03:33:05 GMT", + "content-length": "6217", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.GetStages_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetStages_1.json new file mode 100644 index 000000000..e2fd975be --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.GetStages_1.json @@ -0,0 +1,59 @@ +{ + "status_code": 200, + "data": { + "item": [ + { + "stageName": "ttt888", + "cacheClusterSize": "0.5", + "variables": {}, + "cacheClusterEnabled": false, + "cacheClusterStatus": "NOT_AVAILABLE", + "deploymentId": "43p5hj", + "lastUpdatedDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 31 + }, + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 30 + }, + "methodSettings": { + "*/*": { + "cacheTtlInSeconds": 300, + "loggingLevel": "OFF", + "dataTraceEnabled": false, + "metricsEnabled": false, + "unauthorizedCacheControlHeaderStrategy": "SUCCEED_WITH_RESPONSE_HEADER", + "throttlingRateLimit": 1000.0, + "cacheDataEncrypted": false, + "cachingEnabled": false, + "throttlingBurstLimit": 2000, + "requireAuthorizationForCacheControl": true + } + } + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a23bfe5b-6a74-11e6-831b-43c278515a41", + "HTTPHeaders": { + "x-amzn-requestid": "a23bfe5b-6a74-11e6-831b-43c278515a41", + "date": "Thu, 25 Aug 2016 03:33:05 GMT", + "content-length": "559", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_1.json deleted file mode 100644 index bb394e29c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54fb384f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_10.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_10.json deleted file mode 100644 index db6e1db6c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_10.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "558f8889-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_100.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_100.json deleted file mode 100644 index 24a0a1cb1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_100.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "618de8d2-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_101.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_101.json deleted file mode 100644 index 780604be1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_101.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61969adf-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_102.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_102.json deleted file mode 100644 index 4d1284b31..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_102.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "619e3c28-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_103.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_103.json deleted file mode 100644 index 2902f6e63..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_103.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61a6a022-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_104.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_104.json deleted file mode 100644 index b50f7a380..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_104.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61ae6923-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_105.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_105.json deleted file mode 100644 index cb35b2441..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_105.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "620cb4f5-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_106.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_106.json deleted file mode 100644 index 8c8def430..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_106.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62142fd6-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_107.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_107.json deleted file mode 100644 index 0b6f752ae..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_107.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "621bd074-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_108.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_108.json deleted file mode 100644 index 581b1cdbb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_108.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62234aac-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_109.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_109.json deleted file mode 100644 index b03036c14..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_109.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "622aeb56-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_11.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_11.json deleted file mode 100644 index a7106a0a6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_11.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "559666e4-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_110.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_110.json deleted file mode 100644 index ae4bcd619..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_110.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6232db67-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_111.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_111.json deleted file mode 100644 index e53f6f8d7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_111.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "623a54f5-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_112.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_112.json deleted file mode 100644 index 955e01b93..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_112.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6242b98d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_113.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_113.json deleted file mode 100644 index 228ffbdae..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_113.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62a2dac8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_114.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_114.json deleted file mode 100644 index d5a1f50e6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_114.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62aaf141-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_115.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_115.json deleted file mode 100644 index 7b1f6aea5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_115.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62b26ada-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_116.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_116.json deleted file mode 100644 index 6bbbce344..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_116.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62ba5aeb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_117.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_117.json deleted file mode 100644 index c0f78f4e0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_117.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62c270b9-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_118.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_118.json deleted file mode 100644 index fbea2b84c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_118.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62ca8733-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_119.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_119.json deleted file mode 100644 index 927fe5d01..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_119.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62d227db-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_12.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_12.json deleted file mode 100644 index 64ea896da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_12.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "559db9b7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_120.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_120.json deleted file mode 100644 index 93ed7b18d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_120.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62dbecac-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_121.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_121.json deleted file mode 100644 index e6d89306e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_121.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6357847e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_122.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_122.json deleted file mode 100644 index faace938c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_122.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "635f748f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_123.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_123.json deleted file mode 100644 index fadbfe1c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_123.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63678a5d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_124.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_124.json deleted file mode 100644 index 951396da0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_124.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63710067-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_125.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_125.json deleted file mode 100644 index 593e22d48..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_125.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "637a9cdf-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_126.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_126.json deleted file mode 100644 index 02a92e6fd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_126.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63830220-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_127.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_127.json deleted file mode 100644 index 119a46a8d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_127.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "638b17ee-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_128.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_128.json deleted file mode 100644 index 8a3396a73..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_128.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63959f68-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_129.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_129.json deleted file mode 100644 index 90fc0a4b3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_129.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64a4775b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_13.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_13.json deleted file mode 100644 index f2cf0e25f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_13.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55a53345-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_130.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_130.json deleted file mode 100644 index 19f2a317c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_130.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64b14823-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_131.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_131.json deleted file mode 100644 index 46cb66649..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_131.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64b98654-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_132.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_132.json deleted file mode 100644 index 26d7826e2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_132.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64c349d2-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_133.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_133.json deleted file mode 100644 index 4d89c74f0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_133.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64ce1f6c-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_134.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_134.json deleted file mode 100644 index 084cef294..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_134.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64daa214-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_135.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_135.json deleted file mode 100644 index f13f8b20c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_135.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64e2b935-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_136.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_136.json deleted file mode 100644 index 6dd54d80b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_136.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64eb1d23-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_137.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_137.json deleted file mode 100644 index 8c97203a9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_137.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "65f51316-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_138.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_138.json deleted file mode 100644 index 912e1d913..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_138.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "65feb030-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_139.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_139.json deleted file mode 100644 index 5c6ed59ab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_139.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66090ffa-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_14.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_14.json deleted file mode 100644 index e60c1ee29..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_14.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55ad22aa-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_140.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_140.json deleted file mode 100644 index 921076b41..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_140.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66123889-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_141.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_141.json deleted file mode 100644 index 2104e6615..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_141.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "661a9c77-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_142.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_142.json deleted file mode 100644 index 1d6490512..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_142.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "662523f1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_143.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_143.json deleted file mode 100644 index 70ed03509..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_143.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "662d87eb-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_144.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_144.json deleted file mode 100644 index 8889e2ca7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_144.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6636625a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_145.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_145.json deleted file mode 100644 index 426e5eeeb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_145.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66b618de-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_146.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_146.json deleted file mode 100644 index 9b13aca59..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_146.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66bcf77d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_147.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_147.json deleted file mode 100644 index 9d4d5d84b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_147.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66c449fc-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_148.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_148.json deleted file mode 100644 index 7435a3cec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_148.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66cc8785-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_149.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_149.json deleted file mode 100644 index a5305c65d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_149.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66d4282f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_15.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_15.json deleted file mode 100644 index 28b230650..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_15.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55b49d45-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_150.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_150.json deleted file mode 100644 index b9ba70823..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_150.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66dba30e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_151.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_151.json deleted file mode 100644 index 510df8bc2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_151.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66f481bd-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_152.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_152.json deleted file mode 100644 index 90ea6748b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_152.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66fd3476-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_153.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_153.json deleted file mode 100644 index 9876542b7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_153.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "68068e29-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_154.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_154.json deleted file mode 100644 index 6b2a8ef59..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_154.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6833df44-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_155.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_155.json deleted file mode 100644 index 9e452f646..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_155.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "684e45e5-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_156.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_156.json deleted file mode 100644 index ffa4b6669..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_156.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6868ab35-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_157.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_157.json deleted file mode 100644 index 49fb89d10..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_157.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "688497cc-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_158.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_158.json deleted file mode 100644 index 1dcb39d67..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_158.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "689eaf07-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_159.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_159.json deleted file mode 100644 index 182d60081..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_159.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "68cc4f87-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_16.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_16.json deleted file mode 100644 index 15033cd5c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_16.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55bbc908-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_160.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_160.json deleted file mode 100644 index dbcf72b80..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_160.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "68e77827-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_161.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_161.json deleted file mode 100644 index 558321250..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_161.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69b3060c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_162.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_162.json deleted file mode 100644 index ddfbe9a26..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_162.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69ba0a6c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_163.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_163.json deleted file mode 100644 index a2bd4879f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_163.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69c2bd25-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_164.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_164.json deleted file mode 100644 index e25d1273f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_164.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69cc0b7d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_165.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_165.json deleted file mode 100644 index 67599e051..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_165.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69d3865d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_166.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_166.json deleted file mode 100644 index 2737808e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_166.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69db4e0e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_167.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_167.json deleted file mode 100644 index c4d235394..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_167.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69e427d6-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_168.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_168.json deleted file mode 100644 index 5e91f6395..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_168.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69eb7a5e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_169.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_169.json deleted file mode 100644 index 8d8115bca..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_169.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a5e87f9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_17.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_17.json deleted file mode 100644 index 598378f5f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_17.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5625ae99-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_170.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_170.json deleted file mode 100644 index ea2483281..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_170.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a6a4751-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_171.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_171.json deleted file mode 100644 index 4e16c7a34..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_171.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a7347d2-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_172.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_172.json deleted file mode 100644 index f3bf0ba5c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_172.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a7c7012-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_173.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_173.json deleted file mode 100644 index 34af76604..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_173.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a8597fa-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_174.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_174.json deleted file mode 100644 index 8502e63fe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_174.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a8ebf42-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_175.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_175.json deleted file mode 100644 index 9b8e14bad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_175.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a97e6d3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_176.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_176.json deleted file mode 100644 index f3247c8e8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_176.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6aa04bc3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_177.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_177.json deleted file mode 100644 index 77053fa8c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_177.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b03ef16-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_178.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_178.json deleted file mode 100644 index 88c3fa169..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_178.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b0c2cf6-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_179.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_179.json deleted file mode 100644 index 7f6bd876e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_179.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b14b89e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_18.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_18.json deleted file mode 100644 index eff335622..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_18.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "562cda5c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_180.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_180.json deleted file mode 100644 index 023607cef..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_180.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b1cf588-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_181.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_181.json deleted file mode 100644 index cfc531ed8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_181.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b2532b7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_182.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_182.json deleted file mode 100644 index 64383805c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_182.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b2d97a7-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_183.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_183.json deleted file mode 100644 index 37f8124df..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_183.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b3782df-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_184.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_184.json deleted file mode 100644 index 0e60ae971..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_184.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b3f98b9-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_185.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_185.json deleted file mode 100644 index 2b535b0e0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_185.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ba89432-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_186.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_186.json deleted file mode 100644 index 3eb96ffe9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_186.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6bb082fc-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_187.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_187.json deleted file mode 100644 index 2046f09ba..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_187.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6bb90e4b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_188.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_188.json deleted file mode 100644 index 07c8bfea3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_188.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6bc1c15b-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_189.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_189.json deleted file mode 100644 index f627a048c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_189.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6cba038c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_19.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_19.json deleted file mode 100644 index c9b02c5a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_19.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56347afb-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_190.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_190.json deleted file mode 100644 index ed0376b66..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_190.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6cc304bc-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_191.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_191.json deleted file mode 100644 index 277bc8aad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_191.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ccdb344-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_192.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_192.json deleted file mode 100644 index 43163a317..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_192.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6cd6655e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_193.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_193.json deleted file mode 100644 index 4089158eb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_193.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d4ccde1-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_194.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_194.json deleted file mode 100644 index 32aa99d1a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_194.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d542130-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_195.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_195.json deleted file mode 100644 index 31195a723..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_195.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d5be988-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_196.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_196.json deleted file mode 100644 index 481659917..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_196.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d625183-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_197.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_197.json deleted file mode 100644 index 0ffc50222..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_197.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d692f82-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_198.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_198.json deleted file mode 100644 index e693f6d0b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_198.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d705bc1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_199.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_199.json deleted file mode 100644 index b2009077c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_199.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d784b29-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_2.json deleted file mode 100644 index a649c40de..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_2.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5501eee0-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_20.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_20.json deleted file mode 100644 index 61f57a1d7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_20.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "563dc9f0-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_200.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_200.json deleted file mode 100644 index 8cda2d5a2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_200.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d7f2855-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_201.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_201.json deleted file mode 100644 index c77a836df..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_201.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e418dfa-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_202.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_202.json deleted file mode 100644 index 4c8fb51c4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_202.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e492f4b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_203.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_203.json deleted file mode 100644 index 198cc0fbb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_203.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e50d0b9-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_204.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_204.json deleted file mode 100644 index 63a4859ba..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_204.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e587201-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_205.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_205.json deleted file mode 100644 index 80434a883..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_205.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e5fc45d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_206.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_206.json deleted file mode 100644 index 41016a0cb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_206.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e67178d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_207.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_207.json deleted file mode 100644 index 361eed288..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_207.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e6eb8fb-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_208.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_208.json deleted file mode 100644 index 0382f62ea..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_208.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e763333-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_209.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_209.json deleted file mode 100644 index fad3dcec9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_209.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f4c47eb-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_21.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_21.json deleted file mode 100644 index 8bec12f1f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_21.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56456b9b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_210.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_210.json deleted file mode 100644 index 4bd5ce33a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_210.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f52fe06-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_211.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_211.json deleted file mode 100644 index 031ac0509..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_211.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f5aed75-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_212.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_212.json deleted file mode 100644 index 0eae88408..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_212.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f62b5f4-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_213.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_213.json deleted file mode 100644 index 2360cb74a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_213.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f6b1a8d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_214.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_214.json deleted file mode 100644 index cd8248151..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_214.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f72bb08-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_215.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_215.json deleted file mode 100644 index 7b4c2f9d8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_215.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f7a8367-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_216.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_216.json deleted file mode 100644 index b667de561..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_216.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6fb96176-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_217.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_217.json deleted file mode 100644 index 257423cda..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_217.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71cadc60-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_218.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_218.json deleted file mode 100644 index f3848c877..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_218.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71d3dd39-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_219.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_219.json deleted file mode 100644 index b316d624a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_219.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71db2f94-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_22.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_22.json deleted file mode 100644 index f1bedeb31..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_22.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "564ce57d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_220.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_220.json deleted file mode 100644 index 2cd381b94..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_220.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71e282c6-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_221.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_221.json deleted file mode 100644 index 9c9f2bbd4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_221.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71eb35a3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_222.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_222.json deleted file mode 100644 index 375e9b690..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_222.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71f2fdfb-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_223.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_223.json deleted file mode 100644 index 18d3a16df..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_223.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71faec96-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_224.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_224.json deleted file mode 100644 index 00af8ebac..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_224.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72030317-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_225.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_225.json deleted file mode 100644 index 14fc47775..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_225.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7268c99a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_226.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_226.json deleted file mode 100644 index 9b7327ff9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_226.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7270e01c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_227.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_227.json deleted file mode 100644 index c7b203dbc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_227.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "727992f8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_228.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_228.json deleted file mode 100644 index 04531fe42..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_228.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7282e1f1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_229.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_229.json deleted file mode 100644 index 2c02fefac..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_229.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "728ad08b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_23.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_23.json deleted file mode 100644 index 07afc7941..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_23.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5654d43c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_230.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_230.json deleted file mode 100644 index a0c0e73e9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_230.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72946dad-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_231.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_231.json deleted file mode 100644 index fa630b2be..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_231.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "729d208a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_232.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_232.json deleted file mode 100644 index 43d7f6cd3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_232.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72a6bda3-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_233.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_233.json deleted file mode 100644 index 06622d4e1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_233.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73116631-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_234.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_234.json deleted file mode 100644 index cf2f8c3da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_234.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "731b0349-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_235.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_235.json deleted file mode 100644 index 6f7ad7864..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_235.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "732589f5-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_236.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_236.json deleted file mode 100644 index b5fc0f827..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_236.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73347e45-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_237.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_237.json deleted file mode 100644 index a10e34706..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_237.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "733d7f43-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_238.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_238.json deleted file mode 100644 index de49dcbb9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_238.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "735721ea-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_239.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_239.json deleted file mode 100644 index 68f58e53e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_239.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73626be7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_24.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_24.json deleted file mode 100644 index dcf168c83..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_24.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "565d38d1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_240.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_240.json deleted file mode 100644 index 4a8235abd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_240.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7378b336-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_241.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_241.json deleted file mode 100644 index a4a4b6306..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_241.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7408e54c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_242.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_242.json deleted file mode 100644 index 54dffdd97..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_242.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7424d18d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_243.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_243.json deleted file mode 100644 index f3f910602..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_243.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "742c9a3d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_244.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_244.json deleted file mode 100644 index a2ab921a3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_244.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74346291-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_245.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_245.json deleted file mode 100644 index 3a8f05217..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_245.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "743c786e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_246.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_246.json deleted file mode 100644 index d24e0c0cb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_246.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74452acf-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_247.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_247.json deleted file mode 100644 index b4c0c85fa..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_247.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "744d68ae-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_248.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_248.json deleted file mode 100644 index cde5d452c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_248.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74553102-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_249.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_249.json deleted file mode 100644 index 719b7efec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_249.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74b5a063-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_25.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_25.json deleted file mode 100644 index 911901ebd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_25.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5712f422-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_250.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_250.json deleted file mode 100644 index fcc520dcf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_250.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74bddde9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_251.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_251.json deleted file mode 100644 index 64a1aeffe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_251.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74c641e4-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_252.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_252.json deleted file mode 100644 index d354796d6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_252.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74cd94b4-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_253.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_253.json deleted file mode 100644 index 59f6b5998..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_253.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74d50f44-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_254.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_254.json deleted file mode 100644 index 19f2f7dfe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_254.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74dd9aea-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_255.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_255.json deleted file mode 100644 index 0483eb560..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_255.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74e69b25-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_256.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_256.json deleted file mode 100644 index dfc74edb9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_256.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74ee6325-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_257.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_257.json deleted file mode 100644 index 6bd446393..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_257.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7615088a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_258.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_258.json deleted file mode 100644 index e57d2a2b5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_258.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "761cf856-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_259.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_259.json deleted file mode 100644 index f635b0b80..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_259.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7624e766-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_26.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_26.json deleted file mode 100644 index 1e251fb1c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_26.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "572bac69-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_260.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_260.json deleted file mode 100644 index 691679599..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_260.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "762cb017-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_261.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_261.json deleted file mode 100644 index e954ecf7d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_261.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7635fe0b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_262.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_262.json deleted file mode 100644 index b3c23a546..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_262.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "763e14e7-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_263.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_263.json deleted file mode 100644 index ec64490a1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_263.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7646a037-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_264.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_264.json deleted file mode 100644 index 9ed676003..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_264.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "764e41d8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_265.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_265.json deleted file mode 100644 index f97312edf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_265.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76bfeeeb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_266.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_266.json deleted file mode 100644 index bda71fda5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_266.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76c7deab-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_267.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_267.json deleted file mode 100644 index 684aa811e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_267.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76d12ca0-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_268.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_268.json deleted file mode 100644 index 36127deec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_268.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76d8f55c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_269.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_269.json deleted file mode 100644 index 6dc46d9db..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_269.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76e180ac-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_27.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_27.json deleted file mode 100644 index 3d55263ab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_27.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "57649743-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_270.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_270.json deleted file mode 100644 index 13b657497..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_270.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76e9977c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_271.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_271.json deleted file mode 100644 index 3927d848d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_271.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76f29751-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_272.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_272.json deleted file mode 100644 index e280ab9d1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_272.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76fa871f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_273.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_273.json deleted file mode 100644 index b17d2d86d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_273.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7821a202-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_274.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_274.json deleted file mode 100644 index 5f31df398..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_274.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78396f90-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_275.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_275.json deleted file mode 100644 index db0188ec5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_275.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78549931-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_276.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_276.json deleted file mode 100644 index ae7886900..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_276.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "786f2535-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_277.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_277.json deleted file mode 100644 index 5760f2849..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_277.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78896483-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_278.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_278.json deleted file mode 100644 index fd0664b61..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_278.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78b61a22-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_279.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_279.json deleted file mode 100644 index 1b38770f1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_279.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78d19087-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_28.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_28.json deleted file mode 100644 index 20b2d9a0e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_28.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "577bc895-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_280.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_280.json deleted file mode 100644 index 2c37faf56..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_280.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "78eba8c4-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_281.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_281.json deleted file mode 100644 index 6558e4d1f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_281.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a1ad9f7-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_282.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_282.json deleted file mode 100644 index d933713a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_282.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a242899-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_283.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_283.json deleted file mode 100644 index e6e773e96..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_283.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a2cb49a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_284.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_284.json deleted file mode 100644 index 1bb9eb506..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_284.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a369ece-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_285.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_285.json deleted file mode 100644 index 3803ccad9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_285.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a3f03c8-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_286.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_286.json deleted file mode 100644 index c25c18c0c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_286.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a48044a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_287.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_287.json deleted file mode 100644 index 98687f404..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_287.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a50de6b-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_288.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_288.json deleted file mode 100644 index a78039480..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_288.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a5aa18f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_289.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_289.json deleted file mode 100644 index 9f5c782c7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_289.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b5afaef-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_29.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_29.json deleted file mode 100644 index 2ec633b07..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_29.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "57a8f294-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_290.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_290.json deleted file mode 100644 index 2898baf3c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_290.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b62004f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_291.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_291.json deleted file mode 100644 index 0c4056421..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_291.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b6a3d5d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_292.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_292.json deleted file mode 100644 index 2499111f5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_292.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b71b740-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_293.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_293.json deleted file mode 100644 index 58af3d08b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_293.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b789490-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_294.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_294.json deleted file mode 100644 index 891a4ddf3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_294.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b80847e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_295.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_295.json deleted file mode 100644 index ce71b1ea8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_295.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b887391-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_296.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_296.json deleted file mode 100644 index 8f46bbb7d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_296.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b901431-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_297.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_297.json deleted file mode 100644 index 61f4b3cde..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_297.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bf713e4-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_298.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_298.json deleted file mode 100644 index 4b4188907..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_298.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bfe6664-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_299.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_299.json deleted file mode 100644 index 42765ade3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_299.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c06caf6-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_3.json deleted file mode 100644 index ab975b36b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_3.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5509696e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_30.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_30.json deleted file mode 100644 index 1b9f24ec6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_30.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "57c4910b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_300.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_300.json deleted file mode 100644 index a4a2ba883..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_300.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c0e4592-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_301.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_301.json deleted file mode 100644 index fe362a5e9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_301.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c1634a5-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_302.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_302.json deleted file mode 100644 index b3aa8ab78..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_302.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c1e4a75-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_303.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_303.json deleted file mode 100644 index 34e448d7c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_303.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c2612c7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_304.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_304.json deleted file mode 100644 index 7f4fc4f28..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_304.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c2e9ed3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_305.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_305.json deleted file mode 100644 index 44bc7ad98..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_305.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c91a5da-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_306.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_306.json deleted file mode 100644 index f2aa65fcc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_306.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c9b9176-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_307.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_307.json deleted file mode 100644 index 6086c4398..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_307.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ca443d9-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_308.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_308.json deleted file mode 100644 index b1ebf411e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_308.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cab9659-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_309.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_309.json deleted file mode 100644 index ad212e507..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_309.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cb421fb-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_31.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_31.json deleted file mode 100644 index 8cbf34dfa..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_31.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "57df4586-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_310.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_310.json deleted file mode 100644 index 4ea171714..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_310.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cbbeab7-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_311.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_311.json deleted file mode 100644 index 93e854fec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_311.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cc44efa-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_312.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_312.json deleted file mode 100644 index 2b8c03810..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_312.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cd1e30a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_313.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_313.json deleted file mode 100644 index 4e3c4a6f0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_313.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d4f50ed-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_314.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_314.json deleted file mode 100644 index 21206cff3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_314.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d5766bd-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_315.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_315.json deleted file mode 100644 index 8bb46be23..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_315.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d5ff25f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_316.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_316.json deleted file mode 100644 index 47a7df061..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_316.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d763a0e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_317.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_317.json deleted file mode 100644 index 4d335ecc5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_317.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d80e83e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_318.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_318.json deleted file mode 100644 index 02f027743..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_318.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d894c2e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_319.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_319.json deleted file mode 100644 index 3593ddf17..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_319.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d924d00-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_32.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_32.json deleted file mode 100644 index d72269d8a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_32.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "57f9f947-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_320.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_320.json deleted file mode 100644 index 7b8826005..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_320.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d9a8aef-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_321.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_321.json deleted file mode 100644 index f0ac4c227..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_321.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e646aa3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_322.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_322.json deleted file mode 100644 index 4009b867c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_322.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e6db942-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_323.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_323.json deleted file mode 100644 index aa614b830..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_323.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e77f1f2-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_324.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_324.json deleted file mode 100644 index cef786867..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_324.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e818f04-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_325.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_325.json deleted file mode 100644 index efb5990d8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_325.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e8a1b14-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_326.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_326.json deleted file mode 100644 index b43766544..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_326.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e92f483-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_327.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_327.json deleted file mode 100644 index e66295d20..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_327.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e9b3163-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_328.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_328.json deleted file mode 100644 index c2b14951c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_328.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ea48055-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_329.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_329.json deleted file mode 100644 index 347c90dea..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_329.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fc903b8-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_33.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_33.json deleted file mode 100644 index b37df6db0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_33.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5917776c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_330.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_330.json deleted file mode 100644 index fb815190b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_330.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fd20439-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_331.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_331.json deleted file mode 100644 index a1ce8cb2d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_331.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fda6829-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_332.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_332.json deleted file mode 100644 index d2d2aed0a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_332.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fe45359-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_333.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_333.json deleted file mode 100644 index 26b64ddb3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_333.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fecdf69-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_334.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_334.json deleted file mode 100644 index 81e9d24bd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_334.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ff5dfea-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_335.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_335.json deleted file mode 100644 index 8e1699297..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_335.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8015755a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_336.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_336.json deleted file mode 100644 index adb115380..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_336.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8039783a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_337.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_337.json deleted file mode 100644 index 0bfd205b2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_337.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "81e182f1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_338.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_338.json deleted file mode 100644 index 32def3bcc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_338.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "81fc5e7f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_339.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_339.json deleted file mode 100644 index 86f5d4373..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_339.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82293a2e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_34.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_34.json deleted file mode 100644 index 51ed05cf5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_34.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "591f8d8d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_340.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_340.json deleted file mode 100644 index 4119e5885..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_340.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82448ae0-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_341.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_341.json deleted file mode 100644 index 96de77b04..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_341.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "824c0493-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_342.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_342.json deleted file mode 100644 index 07c4e6531..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_342.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8254b7b0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_343.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_343.json deleted file mode 100644 index efa3d2e50..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_343.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "825c310f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_344.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_344.json deleted file mode 100644 index fbc007c3f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_344.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82658061-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_345.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_345.json deleted file mode 100644 index 749761bc3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_345.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82bfadd3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_346.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_346.json deleted file mode 100644 index 64c364fce..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_346.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82c92434-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_347.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_347.json deleted file mode 100644 index 678f03c29..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_347.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82d09de7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_348.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_348.json deleted file mode 100644 index 5f6982758..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_348.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82d83f97-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_349.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_349.json deleted file mode 100644 index 52d72f5dd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_349.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82e00714-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_35.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_35.json deleted file mode 100644 index 1f47f5cd8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_35.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59299f2c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_350.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_350.json deleted file mode 100644 index af8053ce4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_350.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82e8e135-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_351.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_351.json deleted file mode 100644 index f122423bb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_351.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82f033d8-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_352.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_352.json deleted file mode 100644 index be484c954..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_352.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82f76058-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_353.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_353.json deleted file mode 100644 index 38724aa69..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_353.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "836e8b9b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_354.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_354.json deleted file mode 100644 index 84505a7e8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_354.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8376f09b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_355.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_355.json deleted file mode 100644 index c86434cde..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_355.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "837edf28-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_356.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_356.json deleted file mode 100644 index 26c30e88a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_356.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83871d09-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_357.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_357.json deleted file mode 100644 index 92c40f395..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_357.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "838ebdcc-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_358.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_358.json deleted file mode 100644 index 5699607d9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_358.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8396386c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_359.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_359.json deleted file mode 100644 index 4d25fe3ab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_359.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "839e7519-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_36.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_36.json deleted file mode 100644 index 383bd93af..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_36.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5932c713-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_360.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_360.json deleted file mode 100644 index 81194c69b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_360.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83a7011a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_361.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_361.json deleted file mode 100644 index 8082193d5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_361.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8421aedd-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_362.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_362.json deleted file mode 100644 index 1848108c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_362.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "842bc17e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_363.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_363.json deleted file mode 100644 index 2aef42439..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_363.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8434e8e0-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_364.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_364.json deleted file mode 100644 index 7b1172814..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_364.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "843efb90-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_365.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_365.json deleted file mode 100644 index 0c9233363..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_365.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8447865e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_366.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_366.json deleted file mode 100644 index b6c8fcb4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_366.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8450ae9f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_367.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_367.json deleted file mode 100644 index 269aa9ccb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_367.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8458c491-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_368.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_368.json deleted file mode 100644 index 121218479..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_368.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8460db71-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_369.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_369.json deleted file mode 100644 index 6ab4bf9d7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_369.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84c939a5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_37.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_37.json deleted file mode 100644 index 686e13831..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_37.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "593a41af-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_370.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_370.json deleted file mode 100644 index af3fdd8f5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_370.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8518b913-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_371.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_371.json deleted file mode 100644 index 7d7d00b54..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_371.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "85222f76-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_372.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_372.json deleted file mode 100644 index 0fc08c51a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_372.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "852b08b6-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_373.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_373.json deleted file mode 100644 index 942130686..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_373.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "85336db5-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_374.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_374.json deleted file mode 100644 index 25f042981..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_374.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "853c1f94-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_375.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_375.json deleted file mode 100644 index 34bdb3ee8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_375.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "854520c7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_376.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_376.json deleted file mode 100644 index 74fa1063e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_376.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "854d5dc7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_377.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_377.json deleted file mode 100644 index 0c1dc1967..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_377.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8639446a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_378.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_378.json deleted file mode 100644 index 3a1679c17..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_378.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8641343a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_379.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_379.json deleted file mode 100644 index 55c3d857f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_379.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "864a5b4b-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_38.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_38.json deleted file mode 100644 index 127a46400..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_38.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "594d544e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_380.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_380.json deleted file mode 100644 index 8ebbc6422..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_380.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8653356d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_381.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_381.json deleted file mode 100644 index 9b483c67d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_381.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "865be79b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_382.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_382.json deleted file mode 100644 index d5962b675..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_382.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8664258b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_383.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_383.json deleted file mode 100644 index 3034e141a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_383.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "866d4c9c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_384.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_384.json deleted file mode 100644 index 3ea7db77d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_384.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "86769bee-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_385.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_385.json deleted file mode 100644 index f728123e1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_385.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c2273dd-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_386.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_386.json deleted file mode 100644 index 52c569f89..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_386.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c292b20-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_387.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_387.json deleted file mode 100644 index bdf1db7a3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_387.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c3140a4-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_388.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_388.json deleted file mode 100644 index c65e7443b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_388.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c38e1c2-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_389.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_389.json deleted file mode 100644 index 6d6e167a5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_389.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c3fe6ee-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_39.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_39.json deleted file mode 100644 index 69c661d1a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_39.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5956065d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_390.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_390.json deleted file mode 100644 index 178232a64..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_390.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c46ec51-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_391.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_391.json deleted file mode 100644 index 92b7643f7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_391.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c4da245-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_392.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_392.json deleted file mode 100644 index 80e0c5f66..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_392.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c54ce34-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_393.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_393.json deleted file mode 100644 index 2fc5c0e51..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_393.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cb58c22-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_394.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_394.json deleted file mode 100644 index e7e230c85..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_394.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cbc6a75-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_395.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_395.json deleted file mode 100644 index 870e08807..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_395.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cc3e3b9-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_396.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_396.json deleted file mode 100644 index d94187833..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_396.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ccb36b9-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_397.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_397.json deleted file mode 100644 index a15b0aee1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_397.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cd26376-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_398.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_398.json deleted file mode 100644 index 11994bb82..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_398.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cda03ca-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_399.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_399.json deleted file mode 100644 index 6f4301e6d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_399.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ce1a534-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_4.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_4.json deleted file mode 100644 index 26df2b635..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_4.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "551130c5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_40.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_40.json deleted file mode 100644 index cff7f1baa..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_40.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5960b4e4-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_400.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_400.json deleted file mode 100644 index 039987094..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_400.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ce8d1a7-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_401.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_401.json deleted file mode 100644 index 0b26d754e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_401.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d5d167f-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_402.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_402.json deleted file mode 100644 index e19dc4fad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_402.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d652d9b-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_403.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_403.json deleted file mode 100644 index f1dd0ccb7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_403.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d7c373f-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_404.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_404.json deleted file mode 100644 index c2226e9c5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_404.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d8537f0-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_405.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_405.json deleted file mode 100644 index 601c3d6bf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_405.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d905bcb-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_406.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_406.json deleted file mode 100644 index a4cf0424b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_406.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d9823b0-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_407.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_407.json deleted file mode 100644 index 1568d6caf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_407.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d9fc4d1-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_408.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_408.json deleted file mode 100644 index 81450c3dd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_408.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8da8511e-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_409.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_409.json deleted file mode 100644 index fab90a448..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_409.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e098370-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_41.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_41.json deleted file mode 100644 index 40e97cfbe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_41.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59c47fa1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_410.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_410.json deleted file mode 100644 index 996cf6004..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_410.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e112513-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_411.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_411.json deleted file mode 100644 index 3bd09e6b3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_411.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e19afc4-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_412.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_412.json deleted file mode 100644 index 4d1fe2c79..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_412.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e2262a2-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_413.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_413.json deleted file mode 100644 index fb69e8142..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_413.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e2bb1f4-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_414.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_414.json deleted file mode 100644 index 215a4e9d7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_414.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e352708-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_415.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_415.json deleted file mode 100644 index 44e70e092..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_415.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e3ec443-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_416.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_416.json deleted file mode 100644 index 34e44bb9c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_416.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e4665e5-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_417.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_417.json deleted file mode 100644 index b9a27284f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_417.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8eaa08eb-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_418.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_418.json deleted file mode 100644 index 921dd5bfd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_418.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8eb2200a-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_419.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_419.json deleted file mode 100644 index ecfdebeee..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_419.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8eba5c9e-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_42.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_42.json deleted file mode 100644 index e146958a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_42.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59cdce98-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_420.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_420.json deleted file mode 100644 index f953f2b52..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_420.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ec299fc-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_421.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_421.json deleted file mode 100644 index 68bae6636..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_421.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8eca627a-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_422.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_422.json deleted file mode 100644 index ef8829fdb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_422.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ed314bf-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_423.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_423.json deleted file mode 100644 index ce195392d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_423.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8edb792d-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_424.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_424.json deleted file mode 100644 index f3b4f5982..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_424.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ee3422d-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_425.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_425.json deleted file mode 100644 index 427e47575..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_425.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f4a67ef-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_426.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_426.json deleted file mode 100644 index ab4eea4f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_426.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f52f2f2-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_427.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_427.json deleted file mode 100644 index efec40def..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_427.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f5b3085-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_428.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_428.json deleted file mode 100644 index 6d495e367..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_428.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f63bc03-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_429.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_429.json deleted file mode 100644 index 256931cb7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_429.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f6bd2a1-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_43.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_43.json deleted file mode 100644 index 9eeb30e2d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_43.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59d60c85-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_430.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_430.json deleted file mode 100644 index ab9a1841a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_430.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9056596c-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_431.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_431.json deleted file mode 100644 index 2a6eb4302..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_431.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "905ee4ea-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_432.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_432.json deleted file mode 100644 index bdb380f87..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_432.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9067bed7-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_433.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_433.json deleted file mode 100644 index 1d2b4cafb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_433.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90dd3c7d-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_434.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_434.json deleted file mode 100644 index 2ec634001..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_434.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90e66472-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_435.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_435.json deleted file mode 100644 index 2b94e3a7e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_435.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90ee53b0-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_436.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_436.json deleted file mode 100644 index f6a70252d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_436.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90f558dd-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_437.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_437.json deleted file mode 100644 index 71d85c661..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_437.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90fde3de-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_438.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_438.json deleted file mode 100644 index b14ccd3cc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_438.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91051003-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_439.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_439.json deleted file mode 100644 index 5b1b320eb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_439.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "910d4d61-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_44.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_44.json deleted file mode 100644 index 22250262f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_44.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59de22a4-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_440.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_440.json deleted file mode 100644 index 3a7e0174f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_440.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9114799e-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_441.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_441.json deleted file mode 100644 index 2424b0a93..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_441.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91d66a13-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_442.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_442.json deleted file mode 100644 index 6f01409f4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_442.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91dea6f3-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_443.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_443.json deleted file mode 100644 index 466a2ffda..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_443.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91e5ac08-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_444.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_444.json deleted file mode 100644 index 3c2e8799d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_444.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91ee3786-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_445.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_445.json deleted file mode 100644 index e3f22a0b0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_445.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91f7adb4-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_446.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_446.json deleted file mode 100644 index 77d48533d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_446.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91ff9c75-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_447.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_447.json deleted file mode 100644 index 23bb4b8b9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_447.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9208c469-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_448.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_448.json deleted file mode 100644 index 7c533e2c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_448.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "921101c7-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_449.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_449.json deleted file mode 100644 index f35b47d99..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_449.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9399eb91-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_45.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_45.json deleted file mode 100644 index d3115476b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_45.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59e6fbc3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_450.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_450.json deleted file mode 100644 index e8484ed1a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_450.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93a18ce5-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_451.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_451.json deleted file mode 100644 index f0096de4f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_451.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93a9a332-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_452.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_452.json deleted file mode 100644 index 563c3325c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_452.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93b1b9d1-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_453.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_453.json deleted file mode 100644 index 36d6fccad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_453.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93ba44d2-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_454.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_454.json deleted file mode 100644 index df812cc44..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_454.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93c25b56-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_455.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_455.json deleted file mode 100644 index 971adb990..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_455.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93ca98b3-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_456.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_456.json deleted file mode 100644 index 2a32fb382..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_456.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93d28842-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_457.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_457.json deleted file mode 100644 index 51cde00a6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_457.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9431e608-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_458.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_458.json deleted file mode 100644 index 4255450ae..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_458.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "943a98e6-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_459.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_459.json deleted file mode 100644 index afb6428df..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_459.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94434af8-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_46.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_46.json deleted file mode 100644 index 1ae53d20c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_46.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59f071c9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_460.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_460.json deleted file mode 100644 index f4796ed25..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_460.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "944ac53c-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_461.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_461.json deleted file mode 100644 index 1f418eeb8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_461.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9452db89-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_462.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_462.json deleted file mode 100644 index e1f8021c7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_462.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "945a7cf7-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_463.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_463.json deleted file mode 100644 index 336143004..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_463.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "946307f9-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_464.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_464.json deleted file mode 100644 index 86b482035..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_464.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "946af76d-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_465.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_465.json deleted file mode 100644 index 2ac251793..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_465.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "951ba99d-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_466.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_466.json deleted file mode 100644 index 8d92c70da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_466.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "95332971-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_467.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_467.json deleted file mode 100644 index 58d5fbd4c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_467.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "954db64f-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_468.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_468.json deleted file mode 100644 index b29dd0605..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_468.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9568919d-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_469.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_469.json deleted file mode 100644 index 384bf6a1c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_469.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9584567f-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_47.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_47.json deleted file mode 100644 index 96e8f7c49..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_47.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59f8fdd6-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_470.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_470.json deleted file mode 100644 index 849c08a2e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_470.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "95b1cf53-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_471.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_471.json deleted file mode 100644 index ed3b4d92b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_471.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "95cd6da2-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_472.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_472.json deleted file mode 100644 index 74ea9696c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_472.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "95e7859f-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_473.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_473.json deleted file mode 100644 index 2311cb657..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_473.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "971c0db7-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_474.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_474.json deleted file mode 100644 index 7ade2982d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_474.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "97242454-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_475.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_475.json deleted file mode 100644 index 496d17cc6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_475.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "972c6136-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_476.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_476.json deleted file mode 100644 index 5bcbc3e65..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_476.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9735fe5a-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_477.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_477.json deleted file mode 100644 index ff81c3df6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_477.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "973f4d28-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_478.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_478.json deleted file mode 100644 index 3dcad63c0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_478.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "97482715-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_479.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_479.json deleted file mode 100644 index 154ea1872..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_479.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "97514e57-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_48.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_48.json deleted file mode 100644 index 992b4077a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_48.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a01b035-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_480.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_480.json deleted file mode 100644 index e0973676f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_480.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9759da0b-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_49.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_49.json deleted file mode 100644 index 2405c4464..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_49.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a727369-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_5.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_5.json deleted file mode 100644 index 980904283..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_5.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5517e810-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_50.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_50.json deleted file mode 100644 index 0271f825d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_50.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a7a8938-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_51.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_51.json deleted file mode 100644 index 0d9a89199..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_51.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a81dc5f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_52.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_52.json deleted file mode 100644 index 965ca7a25..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_52.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a886c9d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_53.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_53.json deleted file mode 100644 index 78308a436..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_53.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a8fbf6b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_54.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_54.json deleted file mode 100644 index 711d87631..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_54.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a976009-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_55.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_55.json deleted file mode 100644 index c286fe9ad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_55.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a9f7680-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_56.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_56.json deleted file mode 100644 index 6aa28ad19..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_56.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5aa62dce-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_57.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_57.json deleted file mode 100644 index bb5087bbf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_57.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b16f075-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_58.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_58.json deleted file mode 100644 index 34b72b6ba..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_58.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b1df5e2-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_59.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_59.json deleted file mode 100644 index dca6977a6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_59.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b24fa91-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_6.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_6.json deleted file mode 100644 index 046dc19da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_6.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "551ec5b2-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_60.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_60.json deleted file mode 100644 index 57f55376d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_60.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b2bfeef-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_61.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_61.json deleted file mode 100644 index 70775354e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_61.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b33ee56-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_62.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_62.json deleted file mode 100644 index 4a4d0d807..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_62.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b3bde23-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_63.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_63.json deleted file mode 100644 index 5e6f2187b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_63.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b437f12-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_64.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_64.json deleted file mode 100644 index 25b50df1b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_64.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b4ad190-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_65.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_65.json deleted file mode 100644 index aac2861b9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_65.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ba79816-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_66.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_66.json deleted file mode 100644 index f13dc1cc2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_66.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5baf11a4-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_67.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_67.json deleted file mode 100644 index a4b2bec48..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_67.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bb7763a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_68.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_68.json deleted file mode 100644 index 5cbaff250..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_68.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bbfb427-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_69.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_69.json deleted file mode 100644 index 597cb51c2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_69.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bc75517-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_7.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_7.json deleted file mode 100644 index 4f861b59d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_7.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "552554e0-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_70.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_70.json deleted file mode 100644 index de9b40bbe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_70.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bcea795-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_71.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_71.json deleted file mode 100644 index 17f3bc983..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_71.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bd7815b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_72.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_72.json deleted file mode 100644 index 23429f2d9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_72.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5bdfbf48-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_73.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_73.json deleted file mode 100644 index 6882b8ebf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_73.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cacd34c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_74.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_74.json deleted file mode 100644 index 52df1a32e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_74.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cb55e9d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_75.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_75.json deleted file mode 100644 index b2852d889..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_75.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cbd4d5c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_76.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_76.json deleted file mode 100644 index a986187bc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_76.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cc58ae3-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_77.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_77.json deleted file mode 100644 index 3f03e502e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_77.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cce8c1d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_78.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_78.json deleted file mode 100644 index 635279686..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_78.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cd6f05f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_79.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_79.json deleted file mode 100644 index 74f446bc2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_79.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5cdf544d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_8.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_8.json deleted file mode 100644 index 65db252dc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_8.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "552ecae6-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_80.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_80.json deleted file mode 100644 index 19d73b232..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_80.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ce791d5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_81.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_81.json deleted file mode 100644 index 4ae575659..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_81.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e189826-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_82.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_82.json deleted file mode 100644 index a258d3d3e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_82.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e20adf3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_83.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_83.json deleted file mode 100644 index a57d5cb9d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_83.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e29128b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_84.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_84.json deleted file mode 100644 index 8514bd3ab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_84.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e323ad5-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_85.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_85.json deleted file mode 100644 index e9a4fc667..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_85.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e3a50f7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_86.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_86.json deleted file mode 100644 index b0d1ed90a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_86.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e4266c4-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_87.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_87.json deleted file mode 100644 index 9d0641755..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_87.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e4af26c-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_88.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_88.json deleted file mode 100644 index c8bba01cf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_88.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e552c27-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_89.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_89.json deleted file mode 100644 index 025e09f2c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_89.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5f906b4c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_9.json deleted file mode 100644 index dd669ed4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_9.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5587c034-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_90.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_90.json deleted file mode 100644 index 90d446eec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_90.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5faa82cb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_91.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_91.json deleted file mode 100644 index 1b9023411..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_91.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5fc53638-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_92.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_92.json deleted file mode 100644 index 6a9c9cbe3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_92.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "400", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ff287f1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_93.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_93.json deleted file mode 100644 index ab429baf5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_93.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "401", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "600dd8ad-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_94.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_94.json deleted file mode 100644 index e33d7bc23..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_94.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "403", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDAz.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6028655c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_95.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_95.json deleted file mode 100644 index 1dd32d625..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_95.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "404", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NDA0.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6042f1b9-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_96.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_96.json deleted file mode 100644 index 8802bd6a8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_96.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "500", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+NTAw.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "605da5d2-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_97.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_97.json deleted file mode 100644 index ecb52c255..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_97.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "200", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content" - }, - "selectionPattern": "", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6177530e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_98.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_98.json deleted file mode 100644 index 16d0017c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_98.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "201", - "responseTemplates": { - "text/html": "#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)" - }, - "selectionPattern": "PCFET0NUWVBFIGh0bWw\\+MjAx.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "617fdeb7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.Location", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_99.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_99.json deleted file mode 100644 index f4413126d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegrationResponse_99.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "statusCode": "301", - "responseTemplates": { - "text/html": null - }, - "selectionPattern": "https://.*|/.*", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6186bc11-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": "integration.response.body.Content-Type", - "method.response.header.Location": "integration.response.body.errorMessage", - "method.response.header.X-Frame-Options": "integration.response.body.X-Frame-Options", - "method.response.header.Status": "integration.response.body.Status", - "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_1.json deleted file mode 100644 index dc544494d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_1.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54b04c12-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_105.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_105.json deleted file mode 100644 index ad1ad5584..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_105.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61be9569-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_113.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_113.json deleted file mode 100644 index 79c3aea3f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_113.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6253d0e8-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_121.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_121.json deleted file mode 100644 index fee07df4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_121.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62ebf1e4-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_129.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_129.json deleted file mode 100644 index 441ee7755..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_129.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63a9eb11-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_137.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_137.json deleted file mode 100644 index e02b01c96..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_137.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64ffdd55-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_145.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_145.json deleted file mode 100644 index 04765a3bb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_145.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "666a6a52-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_153.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_153.json deleted file mode 100644 index 3670265f9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_153.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "670b8cb0-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_161.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_161.json deleted file mode 100644 index ffb11e29c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_161.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "691c1c69-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_169.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_169.json deleted file mode 100644 index 69b58a895..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_169.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69fb321f-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_17.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_17.json deleted file mode 100644 index cb35f47c0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_17.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55cd54db-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_177.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_177.json deleted file mode 100644 index 02a28a312..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_177.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ab13b63-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_185.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_185.json deleted file mode 100644 index cf63cb266..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_185.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b5061e8-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_193.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_193.json deleted file mode 100644 index db19fb730..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_193.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d03b6bf-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_201.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_201.json deleted file mode 100644 index c0f60d8ae..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_201.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d8e1cf2-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_209.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_209.json deleted file mode 100644 index 450182787..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_209.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e8574fe-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_217.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_217.json deleted file mode 100644 index 1d8f3c4db..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_217.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ff7545a-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_225.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_225.json deleted file mode 100644 index 766383118..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_225.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7215c83c-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_233.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_233.json deleted file mode 100644 index 0561f2d3d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_233.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72b69baf-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_241.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_241.json deleted file mode 100644 index c003418db..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_241.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73b6a70c-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_249.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_249.json deleted file mode 100644 index 07c2d1096..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_249.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74664760-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_25.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_25.json deleted file mode 100644 index 2a71ac17f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_25.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "566c063f-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_257.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_257.json deleted file mode 100644 index 0c6dc17e2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_257.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74fede8c-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_265.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_265.json deleted file mode 100644 index b104fda91..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_265.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "765ebc48-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_273.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_273.json deleted file mode 100644 index 2a66253d0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_273.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "770b293d-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_281.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_281.json deleted file mode 100644 index 81b0db5a2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_281.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79209bc6-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_289.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_289.json deleted file mode 100644 index 4e9fc9e64..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_289.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b0a69ec-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_297.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_297.json deleted file mode 100644 index 0e487fceb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_297.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ba1a10f-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_305.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_305.json deleted file mode 100644 index 4262e7992..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_305.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c3de066-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_313.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_313.json deleted file mode 100644 index bef2a1919..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_313.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ce56bba-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_321.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_321.json deleted file mode 100644 index 730986f66..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_321.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7dabc84f-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_329.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_329.json deleted file mode 100644 index 38815646b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_329.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7eb65b04-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_33.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_33.json deleted file mode 100644 index 31a91c92a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_33.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5843ac1d-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_337.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_337.json deleted file mode 100644 index 2a4ec567b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_337.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "80cb314b-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_345.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_345.json deleted file mode 100644 index caf4473d0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_345.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82733c31-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_353.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_353.json deleted file mode 100644 index 57cea2a2f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_353.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83093a76-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_361.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_361.json deleted file mode 100644 index e9c57e9c0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_361.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83b6dfcd-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_369.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_369.json deleted file mode 100644 index 4bc34fb4b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_369.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84726770-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_377.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_377.json deleted file mode 100644 index 2be8a6d6e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_377.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "855e74a5-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_385.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_385.json deleted file mode 100644 index cdb3c6cc5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_385.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bceae3f-28f7-11e6-a8d7-ffa4edbd5522" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_393.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_393.json deleted file mode 100644 index b93ceb9a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_393.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c621572-28f7-11e6-8233-6d2c402681cd" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_401.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_401.json deleted file mode 100644 index f11ce3830..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_401.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cf9c0cb-28f7-11e6-a8d7-ffa4edbd5522" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_409.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_409.json deleted file mode 100644 index baccfc7d0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_409.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8db855e2-28f7-11e6-939c-7385a6df1b20" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_41.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_41.json deleted file mode 100644 index 2986145d1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_41.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "597108f0-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_417.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_417.json deleted file mode 100644 index 5ff239fa4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_417.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e561cd5-28f7-11e6-a01d-971fdfddbf7e" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_425.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_425.json deleted file mode 100644 index 356a66312..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_425.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ef67b3f-28f7-11e6-a8d7-ffa4edbd5522" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_433.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_433.json deleted file mode 100644 index 587ce0742..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_433.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90918df9-28f7-11e6-a01d-971fdfddbf7e" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_441.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_441.json deleted file mode 100644 index 8eee7fc86..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_441.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9129af04-28f7-11e6-939c-7385a6df1b20" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_449.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_449.json deleted file mode 100644 index b17c73165..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_449.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "92268566-28f7-11e6-8233-6d2c402681cd" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_457.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_457.json deleted file mode 100644 index dbf600ec9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_457.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93e26677-28f7-11e6-939c-7385a6df1b20" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_465.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_465.json deleted file mode 100644 index 5153bdadd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_465.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "947b2459-28f7-11e6-a01d-971fdfddbf7e" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_473.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_473.json deleted file mode 100644 index 9d0ce2411..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_473.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "status_code": 201, - "data": { - "passthroughBehavior": "WHEN_NO_MATCH", - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "964d4c06-28f7-11e6-939c-7385a6df1b20" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_49.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_49.json deleted file mode 100644 index 9be664819..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_49.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a2abc39-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_57.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_57.json deleted file mode 100644 index c37ef2b38..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_57.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ab5484b-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_65.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_65.json deleted file mode 100644 index e79e28d66..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_65.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b5a89b4-28f4-11e6-b8f8-d1b42d374c32" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_73.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_73.json deleted file mode 100644 index 3c48ce3dd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_73.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c569c6c-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_81.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_81.json deleted file mode 100644 index 36607e663..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_81.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d39d088-28f4-11e6-805d-312f5a261f21" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_89.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_89.json deleted file mode 100644 index 7f02e6893..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_89.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e65f455-28f4-11e6-9152-ebe760f7884c" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_9.json deleted file mode 100644 index 9b2629bd8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_9.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "553d2323-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_97.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_97.json deleted file mode 100644 index e98ce0d26..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutIntegration_97.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "status_code": 201, - "data": { - "cacheKeyParameters": [], - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "60dbafcd-28f4-11e6-87ec-8f98a402daaf" - }, - "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666/invocations", - "httpMethod": "POST", - "requestTemplates": { - "application/json": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "multipart/form-data": "\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", - "application/x-www-form-urlencoded": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}" - }, - "cacheNamespace": "none", - "credentials": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "type": "AWS", - "requestParameters": {} - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_1.json deleted file mode 100644 index cc41037f7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_1.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54b7c6ad-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_10.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_10.json deleted file mode 100644 index 998da7763..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_10.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "554d7677-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_100.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_100.json deleted file mode 100644 index e12e4b708..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_100.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61465880-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_101.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_101.json deleted file mode 100644 index 34d3ce169..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_101.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "614df91d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_102.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_102.json deleted file mode 100644 index 407d7e84f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_102.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "615636a5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_103.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_103.json deleted file mode 100644 index 5c2036de9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_103.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6167c260-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_104.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_104.json deleted file mode 100644 index ca2215bd0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_104.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "616f8b61-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_105.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_105.json deleted file mode 100644 index 439d33c20..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_105.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61c5c0e3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_106.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_106.json deleted file mode 100644 index 4de59b12c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_106.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61cdd804-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_107.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_107.json deleted file mode 100644 index 5fe1e3311..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_107.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61d59fb1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_108.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_108.json deleted file mode 100644 index e24abbdc9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_108.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61e0001a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_109.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_109.json deleted file mode 100644 index d7aaf7ab5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_109.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61e83d04-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_11.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_11.json deleted file mode 100644 index 8a8d977f8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_11.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55553f32-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_110.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_110.json deleted file mode 100644 index f50890992..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_110.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61f02d15-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_111.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_111.json deleted file mode 100644 index 29bbbf633..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_111.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61f90633-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_112.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_112.json deleted file mode 100644 index 7a0db53d6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_112.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6202070b-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_113.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_113.json deleted file mode 100644 index f0b35e356..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_113.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "625be6b6-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_114.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_114.json deleted file mode 100644 index 8004aafd1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_114.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "626583ce-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_115.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_115.json deleted file mode 100644 index ebe1e649f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_115.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "626de7c8-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_116.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_116.json deleted file mode 100644 index cf0f934a9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_116.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62769b29-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_117.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_117.json deleted file mode 100644 index 262603da0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_117.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "627f4d37-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_118.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_118.json deleted file mode 100644 index 0d12e2e70..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_118.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6289386f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_119.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_119.json deleted file mode 100644 index 948736719..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_119.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6291c379-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_12.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_12.json deleted file mode 100644 index 13406b3b3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_12.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "555d2e45-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_120.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_120.json deleted file mode 100644 index 934573ec2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_120.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "629a76da-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_121.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_121.json deleted file mode 100644 index 838b34b1b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_121.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62f455dc-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_122.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_122.json deleted file mode 100644 index 746eb2c4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_122.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "630cc0ad-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_123.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_123.json deleted file mode 100644 index 16ceb5cd3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_123.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "631a2dab-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_124.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_124.json deleted file mode 100644 index 1720d6649..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_124.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63263bc5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_125.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_125.json deleted file mode 100644 index 6865467e8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_125.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "632f3bfd-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_126.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_126.json deleted file mode 100644 index cb672c3ce..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_126.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6338648e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_127.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_127.json deleted file mode 100644 index b4a7e2585..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_127.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6340c87c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_128.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_128.json deleted file mode 100644 index cfe9251bf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_128.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "634cfda6-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_129.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_129.json deleted file mode 100644 index 7ff875ff4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_129.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63b3395f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_13.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_13.json deleted file mode 100644 index 4f4c29010..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_13.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55662e73-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_130.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_130.json deleted file mode 100644 index d70dd0bd0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_130.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63be3609-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_131.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_131.json deleted file mode 100644 index 01099b3ef..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_131.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63c98031-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_132.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_132.json deleted file mode 100644 index e97f89092..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_132.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63d23392-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_133.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_133.json deleted file mode 100644 index d5a778775..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_133.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63df7980-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_134.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_134.json deleted file mode 100644 index 4a6f1b005..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_134.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "63eb879a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_135.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_135.json deleted file mode 100644 index db182c0a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_135.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "648e0983-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_136.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_136.json deleted file mode 100644 index 8bf739108..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_136.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "649a16f1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_137.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_137.json deleted file mode 100644 index 58c55e73c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_137.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "650890b6-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_138.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_138.json deleted file mode 100644 index 92cb8d051..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_138.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "651190e4-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_139.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_139.json deleted file mode 100644 index 01cc5f1d2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_139.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "651c185e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_14.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_14.json deleted file mode 100644 index 7ba71cd1f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_14.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "556f7d68-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_140.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_140.json deleted file mode 100644 index f92fa724f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_140.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "65295e58-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_141.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_141.json deleted file mode 100644 index cd1bee6d3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_141.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6532d507-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_142.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_142.json deleted file mode 100644 index 29113b3c6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_142.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "653c9885-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_143.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_143.json deleted file mode 100644 index fc341447a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_143.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "65480a5f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_144.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_144.json deleted file mode 100644 index 716d008b6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_144.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "65530669-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_145.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_145.json deleted file mode 100644 index 9b3df3521..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_145.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66720afc-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_146.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_146.json deleted file mode 100644 index b8126af25..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_146.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "667abe5b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_147.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_147.json deleted file mode 100644 index a25ff6982..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_147.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66825efa-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_148.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_148.json deleted file mode 100644 index af6af42e2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_148.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "668bd503-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_149.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_149.json deleted file mode 100644 index b78df5ec6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_149.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6693eadd-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_15.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_15.json deleted file mode 100644 index 2b0f84b2f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_15.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55774623-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_150.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_150.json deleted file mode 100644 index c66544c50..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_150.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "669c01fc-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_151.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_151.json deleted file mode 100644 index 1b11616a3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_151.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66a417cb-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_152.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_152.json deleted file mode 100644 index 90a78076c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_152.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "66ad3fb4-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_153.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_153.json deleted file mode 100644 index 24e739d14..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_153.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6712df2e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_154.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_154.json deleted file mode 100644 index 9d78dc4fd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_154.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "671be007-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_155.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_155.json deleted file mode 100644 index 8fb316467..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_155.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "67241cf1-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_156.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_156.json deleted file mode 100644 index a95f994b9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_156.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6775bfb0-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_157.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_157.json deleted file mode 100644 index a818d7154..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_157.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "679e7d88-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_158.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_158.json deleted file mode 100644 index 426c9ca62..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_158.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "67b671e2-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_159.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_159.json deleted file mode 100644 index 403171ef3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_159.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "67d126a3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_16.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_16.json deleted file mode 100644 index 433d68423..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_16.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "557f5c46-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_160.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_160.json deleted file mode 100644 index c811a92d0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_160.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "67ec7652-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_161.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_161.json deleted file mode 100644 index 0594c6ab5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_161.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69376d69-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_162.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_162.json deleted file mode 100644 index b330a756f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_162.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69649769-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_163.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_163.json deleted file mode 100644 index f4fd0247a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_163.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "697fc0b2-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_164.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_164.json deleted file mode 100644 index b27ef6a7c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_164.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6987d68b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_165.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_165.json deleted file mode 100644 index 0cb0ff6ef..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_165.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6990b0fb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_166.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_166.json deleted file mode 100644 index ef8252689..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_166.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "699914eb-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_167.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_167.json deleted file mode 100644 index 821fc4063..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_167.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69a28af4-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_168.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_168.json deleted file mode 100644 index da4dcf718..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_168.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69aac7dc-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_169.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_169.json deleted file mode 100644 index 9b97ed987..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_169.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a04f647-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_17.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_17.json deleted file mode 100644 index 05ea7b17c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_17.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55d4a866-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_170.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_170.json deleted file mode 100644 index 4226131c0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_170.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a0dcf6f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_171.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_171.json deleted file mode 100644 index d8371c42b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_171.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a1682cf-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_172.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_172.json deleted file mode 100644 index c32ba40e6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_172.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a1faa10-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_173.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_173.json deleted file mode 100644 index f2cf61ac0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_173.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a2acdc8-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_174.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_174.json deleted file mode 100644 index 349cff18e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_174.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a330ab0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_175.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_175.json deleted file mode 100644 index b280cf0c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_175.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a3c0b30-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_176.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_176.json deleted file mode 100644 index 1afc60a05..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_176.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6a450c61-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_177.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_177.json deleted file mode 100644 index 99e366a50..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_177.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ab9edc4-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_178.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_178.json deleted file mode 100644 index b456bef5b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_178.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ac252b4-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_179.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_179.json deleted file mode 100644 index 4c9a12792..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_179.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6acc8c0c-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_18.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_18.json deleted file mode 100644 index 1e621fe3f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_18.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55dd81d9-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_180.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_180.json deleted file mode 100644 index 0e88d8bfd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_180.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ad4f004-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_181.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_181.json deleted file mode 100644 index 9835e4deb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_181.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6addf085-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_182.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_182.json deleted file mode 100644 index 4693aadea..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_182.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ae7b505-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_183.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_183.json deleted file mode 100644 index 98e1a36d4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_183.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6af23c7d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_184.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_184.json deleted file mode 100644 index 3f2e4d0cb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_184.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6afaee96-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_185.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_185.json deleted file mode 100644 index 426146ce8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_185.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b5ae960-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_186.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_186.json deleted file mode 100644 index 49c810e7a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_186.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b63e99a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_187.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_187.json deleted file mode 100644 index 82da2f88f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_187.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b6dad69-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_188.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_188.json deleted file mode 100644 index 8345e4276..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_188.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b76fcb9-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_189.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_189.json deleted file mode 100644 index 9cea26201..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_189.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b81d251-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_19.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_19.json deleted file mode 100644 index cb394fae3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_19.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55e5e5c7-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_190.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_190.json deleted file mode 100644 index cb867dd55..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_190.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b8af99b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_191.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_191.json deleted file mode 100644 index 3df13cce5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_191.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b94483a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_192.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_192.json deleted file mode 100644 index 549b9fd49..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_192.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b9d496a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_193.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_193.json deleted file mode 100644 index 4ff700798..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_193.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d0b30ff-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_194.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_194.json deleted file mode 100644 index 01be6a79d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_194.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d12844d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_195.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_195.json deleted file mode 100644 index 64077f156..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_195.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d1b5e16-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_196.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_196.json deleted file mode 100644 index b44b22e22..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_196.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d22b070-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_197.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_197.json deleted file mode 100644 index eb314314e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_197.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d2ac6f0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_198.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_198.json deleted file mode 100644 index 35d2fcfee..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_198.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d328f6f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_199.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_199.json deleted file mode 100644 index dd40bd47a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_199.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d3c7aa7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_2.json deleted file mode 100644 index ffae9ad93..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_2.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54bf8eae-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_20.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_20.json deleted file mode 100644 index 954b02228..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_20.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55ef82dc-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_200.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_200.json deleted file mode 100644 index e5272957a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_200.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d449052-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_201.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_201.json deleted file mode 100644 index 0bd7f9074..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_201.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d96a89a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_202.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_202.json deleted file mode 100644 index 569a505d0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_202.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d9e4916-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_203.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_203.json deleted file mode 100644 index 7e2d07d45..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_203.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6da6fbd4-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_204.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_204.json deleted file mode 100644 index 9099eba25..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_204.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6daf6093-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_205.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_205.json deleted file mode 100644 index 791d5b53f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_205.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6db972db-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_206.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_206.json deleted file mode 100644 index a0edf76b5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_206.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e26b327-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_207.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_207.json deleted file mode 100644 index 51efbeafb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_207.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e2fb426-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_208.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_208.json deleted file mode 100644 index 8a5d86693..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_208.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e39513e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_209.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_209.json deleted file mode 100644 index b428e1d01..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_209.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e8d166c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_21.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_21.json deleted file mode 100644 index fdb9e2d3f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_21.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55f7e7d7-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_210.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_210.json deleted file mode 100644 index aa26bff2b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_210.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e963e55-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_211.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_211.json deleted file mode 100644 index 7f12ffd39..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_211.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e9e5401-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_212.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_212.json deleted file mode 100644 index 34331fe0e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_212.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ea69190-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_213.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_213.json deleted file mode 100644 index b6627bae1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_213.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ec0f7ae-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_214.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_214.json deleted file mode 100644 index 34b0de174..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_214.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ecb7f28-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_215.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_215.json deleted file mode 100644 index 996d189e8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_215.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6ed36dc3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_216.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_216.json deleted file mode 100644 index fb122a2fa..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_216.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6f4235a2-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_217.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_217.json deleted file mode 100644 index 9188800e1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_217.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7012cbca-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_218.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_218.json deleted file mode 100644 index 5ca2a13a7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_218.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "702e9178-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_219.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_219.json deleted file mode 100644 index be37b3550..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_219.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "704770d1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_22.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_22.json deleted file mode 100644 index 42f6f98ed..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_22.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "560a5e3a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_220.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_220.json deleted file mode 100644 index ad8e70e4b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_220.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "707536ed-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_221.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_221.json deleted file mode 100644 index 3c2f9d2a5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_221.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "715efb2e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_222.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_222.json deleted file mode 100644 index 177c38797..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_222.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "717a4b87-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_223.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_223.json deleted file mode 100644 index 840589cb6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_223.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71a7c382-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_224.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_224.json deleted file mode 100644 index d72b58300..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_224.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "71c22984-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_225.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_225.json deleted file mode 100644 index 62b95e896..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_225.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "721e7a27-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_226.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_226.json deleted file mode 100644 index 5eac28017..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_226.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7227f038-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_227.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_227.json deleted file mode 100644 index 0849ee099..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_227.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7231b485-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_228.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_228.json deleted file mode 100644 index b223be249..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_228.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "723b519e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_229.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_229.json deleted file mode 100644 index ee75d44fd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_229.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72442a99-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_23.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_23.json deleted file mode 100644 index 7d417aa61..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_23.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5613ac89-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_230.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_230.json deleted file mode 100644 index 318435643..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_230.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "724cdd5b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_231.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_231.json deleted file mode 100644 index 6b3d1bbfc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_231.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72562c77-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_232.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_232.json deleted file mode 100644 index c1a62c540..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_232.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "725fc990-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_233.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_233.json deleted file mode 100644 index 99099a73b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_233.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72bf9cad-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_234.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_234.json deleted file mode 100644 index 220cc09e2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_234.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72ca9955-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_235.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_235.json deleted file mode 100644 index eee53d845..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_235.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72d32431-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_236.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_236.json deleted file mode 100644 index 28a67e96b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_236.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72dfce91-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_237.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_237.json deleted file mode 100644 index a4c9af281..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_237.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72e9b9ef-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_238.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_238.json deleted file mode 100644 index 16ed1d34c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_238.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72f4b696-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_239.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_239.json deleted file mode 100644 index b5257276a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_239.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72fdddb3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_24.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_24.json deleted file mode 100644 index 6b8568c45..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_24.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "561d499e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_240.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_240.json deleted file mode 100644 index 797a8d14d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_240.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7307a1e3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_241.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_241.json deleted file mode 100644 index dea266f27..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_241.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73c1a318-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_242.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_242.json deleted file mode 100644 index ef632673f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_242.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73c9922a-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_243.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_243.json deleted file mode 100644 index 46ea23b81..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_243.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73d26c4a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_244.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_244.json deleted file mode 100644 index c487fc3f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_244.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73dbe24d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_245.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_245.json deleted file mode 100644 index bc83a9c81..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_245.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73e4bb7a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_246.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_246.json deleted file mode 100644 index 0fb0037dd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_246.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73ec837b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_247.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_247.json deleted file mode 100644 index efd600ae8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_247.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73f50f7b-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_248.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_248.json deleted file mode 100644 index be0376c3b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_248.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73fde93f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_249.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_249.json deleted file mode 100644 index b343b46cd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_249.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "746e853f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_25.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_25.json deleted file mode 100644 index 7ac3216cf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_25.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5674913e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_250.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_250.json deleted file mode 100644 index f8075d2e6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_250.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74782253-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_251.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_251.json deleted file mode 100644 index efb5e3095..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_251.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "748197c0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_252.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_252.json deleted file mode 100644 index 044a960da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_252.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74895fc1-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_253.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_253.json deleted file mode 100644 index 5b1a6ea73..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_253.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "749239e1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_254.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_254.json deleted file mode 100644 index 00bbd2549..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_254.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "749bd6f7-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_255.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_255.json deleted file mode 100644 index 8025587d1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_255.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74a4d732-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_256.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_256.json deleted file mode 100644 index 8900f40f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_256.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74aced53-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_257.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_257.json deleted file mode 100644 index b6521636c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_257.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7506a647-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_258.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_258.json deleted file mode 100644 index 9aefd3648..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_258.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "750f3198-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_259.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_259.json deleted file mode 100644 index d02cf7901..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_259.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "751832c8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_26.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_26.json deleted file mode 100644 index 817376ad7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_26.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "567db923-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_260.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_260.json deleted file mode 100644 index 5147a48f4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_260.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "75229230-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_261.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_261.json deleted file mode 100644 index 885b6fe37..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_261.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "752aa909-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_262.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_262.json deleted file mode 100644 index 0aa493c90..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_262.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "753445cb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_263.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_263.json deleted file mode 100644 index c3b1b3c4a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_263.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "753c0e7b-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_264.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_264.json deleted file mode 100644 index ad7235d0d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_264.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "75979bb0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_265.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_265.json deleted file mode 100644 index 48ff361b8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_265.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76672088-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_266.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_266.json deleted file mode 100644 index 2a60da1e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_266.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76706fd9-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_267.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_267.json deleted file mode 100644 index 786db8c15..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_267.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76841e0e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_268.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_268.json deleted file mode 100644 index 46ab84a35..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_268.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "768de29a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_269.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_269.json deleted file mode 100644 index 31f4722d6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_269.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "769842aa-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_27.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_27.json deleted file mode 100644 index 8fc730d64..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_27.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "568840fe-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_270.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_270.json deleted file mode 100644 index 253848aa9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_270.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76a11cca-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_271.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_271.json deleted file mode 100644 index 9f9ccdf77..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_271.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76abca4f-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_272.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_272.json deleted file mode 100644 index 61f8bd1f0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_272.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "76b6040b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_273.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_273.json deleted file mode 100644 index 419450b5d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_273.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77156192-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_274.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_274.json deleted file mode 100644 index 466ae1814..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_274.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7790855e-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_275.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_275.json deleted file mode 100644 index 5efb30545..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_275.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "779a22ce-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_276.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_276.json deleted file mode 100644 index ac9d63700..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_276.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77a4d053-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_277.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_277.json deleted file mode 100644 index 2c2801743..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_277.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77ae1fb1-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_278.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_278.json deleted file mode 100644 index 71620ec04..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_278.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77b7202f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_279.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_279.json deleted file mode 100644 index bd5916f21..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_279.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77d53000-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_28.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_28.json deleted file mode 100644 index 378e46b04..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_28.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56907e30-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_280.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_280.json deleted file mode 100644 index 57739b8e3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_280.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "77f86e94-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_281.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_281.json deleted file mode 100644 index 3cba104d3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_281.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "794e61a8-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_282.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_282.json deleted file mode 100644 index 0ccc797d5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_282.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79698b55-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_283.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_283.json deleted file mode 100644 index b5be60b9b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_283.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79848d36-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_284.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_284.json deleted file mode 100644 index 4258df03e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_284.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "799ef2a9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_285.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_285.json deleted file mode 100644 index eb1ecebd5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_285.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79b95906-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_286.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_286.json deleted file mode 100644 index 63bd238b2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_286.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79e65c47-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_287.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_287.json deleted file mode 100644 index 374f5891d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_287.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a01fb19-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_288.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_288.json deleted file mode 100644 index 10e06088e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_288.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7a10c74c-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_289.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_289.json deleted file mode 100644 index e6c2a1aab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_289.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b11e47c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_29.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_29.json deleted file mode 100644 index cb697fd4d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_29.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5699cc7f-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_290.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_290.json deleted file mode 100644 index 13e151fa2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_290.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b1c6b7a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_291.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_291.json deleted file mode 100644 index e2c41f399..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_291.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b262f4d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_292.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_292.json deleted file mode 100644 index 0a995b502..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_292.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b2df7fd-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_293.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_293.json deleted file mode 100644 index 8c6064fa4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_293.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b37467b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_294.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_294.json deleted file mode 100644 index 978f1fe83..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_294.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b4046fe-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_295.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_295.json deleted file mode 100644 index f06643f04..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_295.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b485dce-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_296.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_296.json deleted file mode 100644 index e680b9250..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_296.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b51fa6c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_297.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_297.json deleted file mode 100644 index 4594e16ac..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_297.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7baa0552-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_298.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_298.json deleted file mode 100644 index fd88a770c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_298.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bb24232-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_299.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_299.json deleted file mode 100644 index c66e779e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_299.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bbb9123-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_3.json deleted file mode 100644 index 543cc67e0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_3.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54c9050c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_30.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_30.json deleted file mode 100644 index 36cc81a57..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_30.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56a390a4-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_300.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_300.json deleted file mode 100644 index 2b856c4c2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_300.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bc6b540-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_301.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_301.json deleted file mode 100644 index a9ece5329..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_301.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bcf67a3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_302.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_302.json deleted file mode 100644 index 4676d88b0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_302.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bd77d73-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_303.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_303.json deleted file mode 100644 index 8023f4797..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_303.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7be11a84-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_304.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_304.json deleted file mode 100644 index b1a7b0f02..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_304.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7bee3a71-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_305.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_305.json deleted file mode 100644 index 078b84e56..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_305.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c469318-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_306.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_306.json deleted file mode 100644 index 5a6de1218..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_306.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c500984-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_307.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_307.json deleted file mode 100644 index 5386e46ad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_307.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c593117-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_308.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_308.json deleted file mode 100644 index dc3356813..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_308.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c619507-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_309.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_309.json deleted file mode 100644 index e16cf6253..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_309.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c6ba749-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_31.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_31.json deleted file mode 100644 index c6d88a923..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_31.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56c57110-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_310.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_310.json deleted file mode 100644 index 82b61d6e2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_310.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c75e105-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_311.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_311.json deleted file mode 100644 index 51ff503bf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_311.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c7f0898-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_312.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_312.json deleted file mode 100644 index f21769c6e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_312.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c87baa8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_313.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_313.json deleted file mode 100644 index 9d4e029ba..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_313.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cefcbcb-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_314.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_314.json deleted file mode 100644 index 9e259a83e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_314.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cf856cb-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_315.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_315.json deleted file mode 100644 index c801edcd7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_315.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d0c2d0d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_316.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_316.json deleted file mode 100644 index c5d8763e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_316.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d17ed6b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_317.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_317.json deleted file mode 100644 index d7fc380bf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_317.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d22748c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_318.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_318.json deleted file mode 100644 index 489c7ab4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_318.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d2ad87c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_319.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_319.json deleted file mode 100644 index 27cdf23cc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_319.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d3cb2ee-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_32.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_32.json deleted file mode 100644 index 87f11dfbe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_32.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56eb4863-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_320.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_320.json deleted file mode 100644 index 614c9d260..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_320.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7d46024c-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_321.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_321.json deleted file mode 100644 index 8b6e18c3c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_321.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7db64fc1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_322.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_322.json deleted file mode 100644 index ec573241d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_322.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7dbe8db0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_323.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_323.json deleted file mode 100644 index abd492248..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_323.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e2983d0-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_324.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_324.json deleted file mode 100644 index ded0a4f6e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_324.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e343252-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_325.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_325.json deleted file mode 100644 index 3e50ac1be..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_325.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e3d0c82-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_326.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_326.json deleted file mode 100644 index a105b2d96..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_326.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e4793a1-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_327.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_327.json deleted file mode 100644 index f000de0cc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_327.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e510901-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_328.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_328.json deleted file mode 100644 index 8cb1e8ce2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_328.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7e5c2cb3-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_329.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_329.json deleted file mode 100644 index 50caae50e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_329.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ebf0d14-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_33.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_33.json deleted file mode 100644 index d80bfebe0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_33.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "585d9d48-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_330.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_330.json deleted file mode 100644 index c8c37aef9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_330.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7ec9bb96-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_331.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_331.json deleted file mode 100644 index 1064fb24f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_331.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7f8c6f36-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_332.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_332.json deleted file mode 100644 index 38c88e693..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_332.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7f97e107-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_333.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_333.json deleted file mode 100644 index 38b9760d1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_333.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fa0e247-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_334.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_334.json deleted file mode 100644 index 4f156db7e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_334.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fabde98-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_335.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_335.json deleted file mode 100644 index 1070e1bdc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_335.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fb505d8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_336.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_336.json deleted file mode 100644 index c39812714..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_336.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7fbfb458-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_337.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_337.json deleted file mode 100644 index fc5e5790b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_337.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "80f8345e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_338.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_338.json deleted file mode 100644 index ece0e6340..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_338.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8112e8dc-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_339.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_339.json deleted file mode 100644 index 3798bdd4a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_339.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "812dea3c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_34.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_34.json deleted file mode 100644 index d04d66226..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_34.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "587829f9-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_340.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_340.json deleted file mode 100644 index 432887636..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_340.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8148508c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_341.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_341.json deleted file mode 100644 index ff16e4de1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_341.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "81632b30-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_342.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_342.json deleted file mode 100644 index 63d587aa7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_342.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8190a45d-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_343.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_343.json deleted file mode 100644 index 2c06be637..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_343.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "81ada18d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_344.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_344.json deleted file mode 100644 index facafd6d3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_344.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "81c6a84d-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_345.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_345.json deleted file mode 100644 index 2bd56ac22..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_345.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "827adca0-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_346.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_346.json deleted file mode 100644 index 219c3570d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_346.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "828404e2-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_347.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_347.json deleted file mode 100644 index ee7b03222..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_347.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "828bf3c5-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_348.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_348.json deleted file mode 100644 index a6364ff4e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_348.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82936e62-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_349.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_349.json deleted file mode 100644 index cc2f665ca..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_349.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "829c2041-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_35.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_35.json deleted file mode 100644 index 524eabf58..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_35.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "58932b88-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_350.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_350.json deleted file mode 100644 index 2a61b680e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_350.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82a659f3-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_351.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_351.json deleted file mode 100644 index 05c7d9e7b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_351.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82aee516-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_352.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_352.json deleted file mode 100644 index c4a9bf8f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_352.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "82b6d4e3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_353.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_353.json deleted file mode 100644 index 56a5406db..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_353.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83110249-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_354.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_354.json deleted file mode 100644 index 53558bfc1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_354.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8319dc79-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_355.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_355.json deleted file mode 100644 index 1303a6161..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_355.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83221926-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_356.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_356.json deleted file mode 100644 index 6400f7e0e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_356.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "832b6877-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_357.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_357.json deleted file mode 100644 index a7a076410..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_357.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83337e6a-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_358.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_358.json deleted file mode 100644 index 84d3e9665..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_358.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "833b201a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_359.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_359.json deleted file mode 100644 index a25c5eafd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_359.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83444727-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_36.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_36.json deleted file mode 100644 index 85f687109..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_36.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "58ae2dbf-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_360.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_360.json deleted file mode 100644 index 3b18fa0aa..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_360.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83656438-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_361.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_361.json deleted file mode 100644 index 771beea82..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_361.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83bf438a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_362.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_362.json deleted file mode 100644 index a7f4b60c2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_362.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83c97d3b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_363.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_363.json deleted file mode 100644 index f39d9f1f8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_363.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83d2cbae-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_364.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_364.json deleted file mode 100644 index b01f6fe72..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_364.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83db099e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_365.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_365.json deleted file mode 100644 index 76a0e2298..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_365.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83e430ab-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_366.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_366.json deleted file mode 100644 index aa8e856e3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_366.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83ef2dad-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_367.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_367.json deleted file mode 100644 index b494a769d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_367.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83f806ef-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_368.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_368.json deleted file mode 100644 index 272ceac22..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_368.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84006bef-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_369.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_369.json deleted file mode 100644 index 14dd54432..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_369.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "847b19a2-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_37.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_37.json deleted file mode 100644 index d61a12a45..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_37.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "58da957b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_370.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_370.json deleted file mode 100644 index 3bfd62c7e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_370.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84846902-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_371.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_371.json deleted file mode 100644 index 40e05fdad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_371.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "848dde30-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_372.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_372.json deleted file mode 100644 index 67c182019..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_372.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84988d11-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_373.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_373.json deleted file mode 100644 index ff17fecd8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_373.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84a13f44-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_374.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_374.json deleted file mode 100644 index 3acf6bc1c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_374.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84aab5b3-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_375.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_375.json deleted file mode 100644 index 894d6d91e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_375.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84b4a011-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_376.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_376.json deleted file mode 100644 index de75a8913..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_376.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "84bf7604-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_377.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_377.json deleted file mode 100644 index 2d091bf8c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_377.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8568ae58-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_378.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_378.json deleted file mode 100644 index 80b6b465b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_378.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "857223d8-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_379.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_379.json deleted file mode 100644 index 3f5250a44..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_379.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "857a61c8-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_38.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_38.json deleted file mode 100644 index 6dd2bf453..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_38.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "58f60c8c-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_380.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_380.json deleted file mode 100644 index 5fa0f6752..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_380.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8583d6f6-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_381.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_381.json deleted file mode 100644 index 91e5a17e5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_381.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "86131ec9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_382.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_382.json deleted file mode 100644 index 5a69b408e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_382.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "861c4719-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_383.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_383.json deleted file mode 100644 index e4250833d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_383.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8625bc4a-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_384.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_384.json deleted file mode 100644 index b7e050de6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_384.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "862ff5fc-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_385.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_385.json deleted file mode 100644 index 2cba1658a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_385.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bd6289b-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_386.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_386.json deleted file mode 100644 index cded470b9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_386.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bde3f6e-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_387.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_387.json deleted file mode 100644 index feaff9773..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_387.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8be7db92-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_388.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_388.json deleted file mode 100644 index 8d32d75a2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_388.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8befcad0-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_389.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_389.json deleted file mode 100644 index 96dd1a447..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_389.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bf7e16c-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_39.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_39.json deleted file mode 100644 index 6bd0d7489..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_39.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "58ff5ada-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_390.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_390.json deleted file mode 100644 index 85ae1fc5d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_390.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bff830f-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_391.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_391.json deleted file mode 100644 index 889eca7eb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_391.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c072363-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_392.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_392.json deleted file mode 100644 index 77ec83aa5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_392.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c19e811-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_393.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_393.json deleted file mode 100644 index 4f87e7d1e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_393.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c6967a6-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_394.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_394.json deleted file mode 100644 index 7c700f270..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_394.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c785bc5-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_395.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_395.json deleted file mode 100644 index b8dcffa3d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_395.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c7fd620-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_396.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_396.json deleted file mode 100644 index 099b5f26a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_396.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c879ed3-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_397.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_397.json deleted file mode 100644 index f713f9c02..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_397.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c929a87-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_398.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_398.json deleted file mode 100644 index 6c5cb15b5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_398.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c9b7426-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_399.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_399.json deleted file mode 100644 index 2bc97e3a8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_399.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ca49cb4-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_4.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_4.json deleted file mode 100644 index e7b0d7bc1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_4.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54d1ddd3-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_40.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_40.json deleted file mode 100644 index a45cba00c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_40.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "590d16a1-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_400.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_400.json deleted file mode 100644 index c8b2d36d4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_400.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cacd948-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_401.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_401.json deleted file mode 100644 index 439495109..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_401.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d0162b8-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_402.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_402.json deleted file mode 100644 index 29902c8ec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_402.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d20a9bc-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_403.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_403.json deleted file mode 100644 index ebdab698b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_403.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d28c00d-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_404.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_404.json deleted file mode 100644 index e00abfbe3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_404.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d317369-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_405.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_405.json deleted file mode 100644 index f193aa4e8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_405.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d39d70d-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_406.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_406.json deleted file mode 100644 index 29c0d3708..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_406.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d42146e-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_407.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_407.json deleted file mode 100644 index 8bf3e6129..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_407.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d4b8b1a-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_408.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_408.json deleted file mode 100644 index de149caac..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_408.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8d543d29-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_409.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_409.json deleted file mode 100644 index 14697a7c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_409.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8dc0938d-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_41.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_41.json deleted file mode 100644 index f71bb2e04..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_41.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5979baff-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_410.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_410.json deleted file mode 100644 index c8c878f91..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_410.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8dc91ec2-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_411.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_411.json deleted file mode 100644 index 0e8b4fe91..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_411.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8dd21f73-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_412.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_412.json deleted file mode 100644 index 090f2d487..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_412.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8dde2e31-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_413.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_413.json deleted file mode 100644 index 63617bbe5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_413.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8de6b8e4-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_414.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_414.json deleted file mode 100644 index 2579b1324..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_414.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8def92cf-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_415.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_415.json deleted file mode 100644 index 6d43ee232..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_415.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8df7d0b2-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_416.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_416.json deleted file mode 100644 index 1215ff608..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_416.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e00a985-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_417.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_417.json deleted file mode 100644 index 33d1ca011..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_417.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e5de586-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_418.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_418.json deleted file mode 100644 index 211928456..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_418.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e66e56a-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_419.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_419.json deleted file mode 100644 index 2691c2c21..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_419.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e700d76-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_42.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_42.json deleted file mode 100644 index 2b00e2c56..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_42.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59849095-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_420.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_420.json deleted file mode 100644 index 1bfff3b2f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_420.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e789978-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_421.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_421.json deleted file mode 100644 index a2bbe1a60..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_421.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e8569e9-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_422.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_422.json deleted file mode 100644 index c3c6db454..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_422.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e8da797-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_423.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_423.json deleted file mode 100644 index 20d256f6a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_423.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e976c19-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_424.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_424.json deleted file mode 100644 index d882594da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_424.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8ea01ddd-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_425.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_425.json deleted file mode 100644 index 8d147cf0f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_425.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8efe91dc-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_426.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_426.json deleted file mode 100644 index 28d2c9ca6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_426.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f082e82-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_427.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_427.json deleted file mode 100644 index a92b43d6e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_427.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f1267b0-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_428.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_428.json deleted file mode 100644 index 50f4a2f68..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_428.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f1af3ff-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_429.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_429.json deleted file mode 100644 index 2b1c38cf8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_429.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f255373-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_43.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_43.json deleted file mode 100644 index 198cbc9a8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_43.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "598e0702-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_430.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_430.json deleted file mode 100644 index 9e6f7e9d2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_430.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f2f1771-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_431.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_431.json deleted file mode 100644 index 431e27584..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_431.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f37c9d0-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_432.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_432.json deleted file mode 100644 index ca82bd86e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_432.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8f40cab4-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_433.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_433.json deleted file mode 100644 index c808cfce8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_433.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9099078b-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_434.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_434.json deleted file mode 100644 index f3becc4f9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_434.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90a0f6fe-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_435.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_435.json deleted file mode 100644 index 066fc5ebe..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_435.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90a95b6e-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_436.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_436.json deleted file mode 100644 index f1de75d50..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_436.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90b14afa-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_437.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_437.json deleted file mode 100644 index b7e582b3a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_437.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90b9d5fc-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_438.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_438.json deleted file mode 100644 index 3acb638f9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_438.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90c2afcf-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_439.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_439.json deleted file mode 100644 index 2ddeae263..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_439.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90cb625f-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_44.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_44.json deleted file mode 100644 index e9fb99a4f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_44.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59970781-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_440.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_440.json deleted file mode 100644 index ba81652eb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_440.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "90d4153b-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_441.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_441.json deleted file mode 100644 index 6c01f604c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_441.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91323a82-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_442.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_442.json deleted file mode 100644 index 130a0b6c2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_442.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "913bd7bf-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_443.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_443.json deleted file mode 100644 index dbb5f265f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_443.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91a324c6-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_444.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_444.json deleted file mode 100644 index 220d01c35..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_444.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91abd754-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_445.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_445.json deleted file mode 100644 index d3b1f0889..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_445.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91b43c12-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_446.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_446.json deleted file mode 100644 index c4d0fe6a6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_446.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91bcc712-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_447.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_447.json deleted file mode 100644 index b72d1b084..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_447.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91c48f77-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_448.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_448.json deleted file mode 100644 index 2e9b83d36..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_448.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "91cd4205-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_449.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_449.json deleted file mode 100644 index 2b91f79fc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_449.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "92315b0a-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_45.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_45.json deleted file mode 100644 index 42c08a8d8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_45.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59a02ec0-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_450.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_450.json deleted file mode 100644 index 7678bc1dc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_450.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "923b943a-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_451.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_451.json deleted file mode 100644 index b896e00b4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_451.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "92488cd6-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_452.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_452.json deleted file mode 100644 index 122639295..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_452.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "925165f7-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_453.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_453.json deleted file mode 100644 index 0f781e6ca..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_453.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "92597c7c-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_454.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_454.json deleted file mode 100644 index e0153131e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_454.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "937e4d73-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_455.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_455.json deleted file mode 100644 index bd466b222..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_455.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9387ea61-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_456.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_456.json deleted file mode 100644 index 917ed5103..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_456.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93904f1f-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_457.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_457.json deleted file mode 100644 index 59ec5d9a2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_457.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93eacae6-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_458.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_458.json deleted file mode 100644 index af0687c91..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_458.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93f37dc3-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_459.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_459.json deleted file mode 100644 index 00efb8c63..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_459.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93fccc15-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_46.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_46.json deleted file mode 100644 index c2d8b3e0c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_46.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59aa4107-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_460.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_460.json deleted file mode 100644 index 7df34f496..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_460.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "940557c8-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_461.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_461.json deleted file mode 100644 index 7852df222..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_461.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "940e7f87-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_462.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_462.json deleted file mode 100644 index d0620662f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_462.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94170b55-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_463.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_463.json deleted file mode 100644 index 6f7571b5c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_463.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "942059a7-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_464.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_464.json deleted file mode 100644 index f84859e4f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_464.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9428be4a-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_465.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_465.json deleted file mode 100644 index a890ee9b0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_465.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "948472aa-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_466.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_466.json deleted file mode 100644 index ef9adab37..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_466.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "948d256e-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_467.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_467.json deleted file mode 100644 index fd0deb854..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_467.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9496743c-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_468.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_468.json deleted file mode 100644 index 35d369a42..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_468.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "949ed8fa-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_469.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_469.json deleted file mode 100644 index 366e8af27..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_469.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94a89c7b-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_47.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_47.json deleted file mode 100644 index a1d373c14..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_47.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59b2f424-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_470.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_470.json deleted file mode 100644 index af697ced7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_470.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94b19d5f-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_471.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_471.json deleted file mode 100644 index 791ac9398..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_471.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94d1334d-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_472.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_472.json deleted file mode 100644 index 5272e30f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_472.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "94f2291b-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_473.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_473.json deleted file mode 100644 index d1d6d74e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_473.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "96667955-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_474.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_474.json deleted file mode 100644 index c70f95236..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_474.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9680b861-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_475.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_475.json deleted file mode 100644 index 99f7a8209..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_475.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "969be104-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_476.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_476.json deleted file mode 100644 index cfdc207ad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_476.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "96b61ff7-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_477.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_477.json deleted file mode 100644 index ef20e17dc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_477.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "96e37186-28f7-11e6-a8d7-ffa4edbd5522" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_478.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_478.json deleted file mode 100644 index fb278e5ba..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_478.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "96ffd373-28f7-11e6-a01d-971fdfddbf7e" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_479.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_479.json deleted file mode 100644 index faa2944d2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_479.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9708d3a5-28f7-11e6-8233-6d2c402681cd" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_48.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_48.json deleted file mode 100644 index 8bc919331..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_48.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "59bc42c2-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_480.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_480.json deleted file mode 100644 index bbfc69571..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_480.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9711d489-28f7-11e6-939c-7385a6df1b20" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_49.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_49.json deleted file mode 100644 index 90bee5b98..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_49.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a31c0e7-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_5.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_5.json deleted file mode 100644 index e6f30a3b4..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_5.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54d9cd9e-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_50.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_50.json deleted file mode 100644 index 904c0a644..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_50.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a39afa5-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_51.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_51.json deleted file mode 100644 index e3095d81d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_51.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a41ed2c-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_52.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_52.json deleted file mode 100644 index 6ba142e75..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_52.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a49b5ea-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_53.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_53.json deleted file mode 100644 index 34da4e6e9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_53.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a51a4f8-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_54.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_54.json deleted file mode 100644 index ddd6fa2f5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_54.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a59bac7-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_55.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_55.json deleted file mode 100644 index 89626f441..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_55.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a62466d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_56.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_56.json deleted file mode 100644 index bbe904952..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_56.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a6a845b-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_57.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_57.json deleted file mode 100644 index 961c5b312..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_57.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5abe4922-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_58.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_58.json deleted file mode 100644 index cbaf9f0b3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_58.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ac5ead0-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_59.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_59.json deleted file mode 100644 index c07854d8b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_59.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5acdb2cd-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_6.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_6.json deleted file mode 100644 index 4c948f445..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_6.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54e16e8f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_60.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_60.json deleted file mode 100644 index 2140d890d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_60.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ad5c89c-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_61.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_61.json deleted file mode 100644 index b06c2b985..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_61.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5adfdae3-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_62.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_62.json deleted file mode 100644 index c86473429..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_62.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ae77c91-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_63.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_63.json deleted file mode 100644 index c72b6bad8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_63.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b05167f-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_64.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_64.json deleted file mode 100644 index 0748cfd5f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_64.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b0dc88e-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_65.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_65.json deleted file mode 100644 index 5582add2c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_65.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b62c6e4-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_66.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_66.json deleted file mode 100644 index c69ca2084..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_66.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b6b2ad2-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_67.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_67.json deleted file mode 100644 index a75a45f3c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_67.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b756428-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_68.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_68.json deleted file mode 100644 index e0d148b34..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_68.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b7d05d5-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_69.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_69.json deleted file mode 100644 index 2a4cd37da..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_69.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b854305-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_7.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_7.json deleted file mode 100644 index b8617e266..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_7.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54e9855d-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_70.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_70.json deleted file mode 100644 index 9ec0f46d8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_70.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b8d58d3-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_71.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_71.json deleted file mode 100644 index b695d7fc1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_71.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b971cf9-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_72.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_72.json deleted file mode 100644 index 1f852762b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_72.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b9f5ae6-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_73.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_73.json deleted file mode 100644 index 6c7df1c63..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_73.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c5eb349-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_74.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_74.json deleted file mode 100644 index 0988d331d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_74.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c67dada-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_75.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_75.json deleted file mode 100644 index a8b70b08d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_75.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c70b3f8-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_76.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_76.json deleted file mode 100644 index d29f46c6b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_76.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c7aed4d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_77.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_77.json deleted file mode 100644 index 79509e294..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_77.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c84159a-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_78.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_78.json deleted file mode 100644 index f010e86fc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_78.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c8d161b-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_79.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_79.json deleted file mode 100644 index cf4e4e807..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_79.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c957a09-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_8.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_8.json deleted file mode 100644 index 29f3bf2d5..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_8.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54f2fa64-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_80.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_80.json deleted file mode 100644 index 9f9aae5ad..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_80.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5ca0ebdf-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_81.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_81.json deleted file mode 100644 index c49e26de7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_81.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d431fe2-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_82.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_82.json deleted file mode 100644 index 762e5f7a0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_82.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d4bf954-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_83.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_83.json deleted file mode 100644 index bb1098fd0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_83.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d54f981-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_84.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_84.json deleted file mode 100644 index c12933021..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_84.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d5e2169-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_85.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_85.json deleted file mode 100644 index 15e133a98..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_85.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5df076b5-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_86.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_86.json deleted file mode 100644 index 1e9c7aa29..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_86.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5df928c2-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_87.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_87.json deleted file mode 100644 index aafcafb20..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_87.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e02c5da-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_88.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_88.json deleted file mode 100644 index 4ad869cdc..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_88.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e0efb64-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_89.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_89.json deleted file mode 100644 index f50f6c7c0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_89.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e6fdf8d-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_9.json deleted file mode 100644 index 1dfa705c1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_9.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "554475a1-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_90.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_90.json deleted file mode 100644 index 60e120388..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_90.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e7c8a48-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_91.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_91.json deleted file mode 100644 index 9859f1f99..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_91.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e862709-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_92.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_92.json deleted file mode 100644 index 0b0fee7f7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_92.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "400", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e8f2736-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_93.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_93.json deleted file mode 100644 index 4344d8f18..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_93.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "401", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e99126e-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_94.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_94.json deleted file mode 100644 index 0855ae6eb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_94.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "403", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5f3356fa-28f4-11e6-87ec-8f98a402daaf" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_95.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_95.json deleted file mode 100644 index 57f9927c8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_95.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "404", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5f5cd777-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_96.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_96.json deleted file mode 100644 index 128b793f0..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_96.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "500", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5f76c840-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_97.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_97.json deleted file mode 100644 index be8ba4092..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_97.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "200", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "60f5c6fa-28f4-11e6-9152-ebe760f7884c" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_98.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_98.json deleted file mode 100644 index b2ccb6681..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_98.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "201", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6122f1a4-28f4-11e6-805d-312f5a261f21" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_99.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_99.json deleted file mode 100644 index 88a6441d9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethodResponse_99.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "status_code": 201, - "data": { - "responseModels": { - "text/html": "Empty" - }, - "statusCode": "301", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "613e425f-28f4-11e6-b8f8-d1b42d374c32" - }, - "responseParameters": { - "method.response.header.Content-Type": false, - "method.response.header.Location": false, - "method.response.header.X-Frame-Options": false, - "method.response.header.Status": false, - "method.response.header.Set-Cookie": false - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_1.json deleted file mode 100644 index 2242eefe9..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_1.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "54a80f8b-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_105.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_105.json deleted file mode 100644 index dcbc8cc69..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_105.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "61b54670-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_113.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_113.json deleted file mode 100644 index dd1b5ad4d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_113.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "624c07e7-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_121.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_121.json deleted file mode 100644 index f68d250ec..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_121.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "62e3b45a-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_129.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_129.json deleted file mode 100644 index 887d1dacf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_129.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "639f8a00-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_137.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_137.json deleted file mode 100644 index d21cb073e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_137.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "64f4ba3d-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_145.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_145.json deleted file mode 100644 index 818f2b316..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_145.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "666253d9-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_153.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_153.json deleted file mode 100644 index 1e9487d3e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_153.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "67045ff0-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_161.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_161.json deleted file mode 100644 index fa0f541ca..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_161.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69022c40-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_169.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_169.json deleted file mode 100644 index e72ae2b7c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_169.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "69f3435e-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_17.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_17.json deleted file mode 100644 index 141c8f40e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_17.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55c369a6-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_177.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_177.json deleted file mode 100644 index 36df788fd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_177.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6aa973ab-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_185.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_185.json deleted file mode 100644 index 5773c4ef8..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_185.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6b47d5e8-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_193.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_193.json deleted file mode 100644 index 546976657..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_193.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6cfcb285-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_201.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_201.json deleted file mode 100644 index 56cc4f556..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_201.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6d862d63-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_209.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_209.json deleted file mode 100644 index ca146da7f..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_209.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6e7dac9f-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_217.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_217.json deleted file mode 100644 index b1d56e503..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_217.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "6fdf8740-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_225.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_225.json deleted file mode 100644 index 30598ffb7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_225.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "720b40c4-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_233.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_233.json deleted file mode 100644 index a1358b773..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_233.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "72aeac3e-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_241.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_241.json deleted file mode 100644 index ff7a6bd78..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_241.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "73ae4278-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_249.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_249.json deleted file mode 100644 index 9c4acc4f2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_249.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "745ea66f-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_25.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_25.json deleted file mode 100644 index 3fac6ae3b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_25.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "56643e3c-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_257.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_257.json deleted file mode 100644 index 0d7b0cd41..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_257.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "74f604c5-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_265.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_265.json deleted file mode 100644 index 8ec401338..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_265.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "765741ad-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_273.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_273.json deleted file mode 100644 index 4eb0458d2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_273.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7702eb5d-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_281.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_281.json deleted file mode 100644 index 590876000..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_281.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "79060e63-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_289.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_289.json deleted file mode 100644 index 0e33bd50c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_289.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b02c8f9-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_297.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_297.json deleted file mode 100644 index af22bbf20..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_297.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7b980392-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_305.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_305.json deleted file mode 100644 index 2063c342a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_305.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7c3618b6-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_313.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_313.json deleted file mode 100644 index 3691bd1b2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_313.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7cdb590c-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_321.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_321.json deleted file mode 100644 index 4d45651e3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_321.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7da33d4f-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_329.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_329.json deleted file mode 100644 index c87a802ef..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_329.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "7eac4915-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_33.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_33.json deleted file mode 100644 index e1c99d58c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_33.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5814acb6-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_337.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_337.json deleted file mode 100644 index 52c657200..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_337.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "80af927b-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_345.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_345.json deleted file mode 100644 index d7d6cf35d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_345.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "826c36c4-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_353.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_353.json deleted file mode 100644 index 939df6388..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_353.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83001235-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_361.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_361.json deleted file mode 100644 index 1100a13ab..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_361.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "83af170d-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_369.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_369.json deleted file mode 100644 index 43c0e4ce3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_369.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8469181f-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_377.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_377.json deleted file mode 100644 index 49bdbdc34..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_377.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "85554d96-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_385.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_385.json deleted file mode 100644 index dd233c086..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_385.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8bc75b41-28f7-11e6-939c-7385a6df1b20" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_393.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_393.json deleted file mode 100644 index cfeb21e5b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_393.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8c5b371f-28f7-11e6-a01d-971fdfddbf7e" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_401.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_401.json deleted file mode 100644 index 589c98e51..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_401.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8cf1f8e5-28f7-11e6-a01d-971fdfddbf7e" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_409.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_409.json deleted file mode 100644 index 59737987b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_409.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8db03f91-28f7-11e6-a8d7-ffa4edbd5522" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_41.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_41.json deleted file mode 100644 index 7eca3f9e7..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_41.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5968a4b1-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_417.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_417.json deleted file mode 100644 index 190f192b2..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_417.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8e4e7b66-28f7-11e6-a8d7-ffa4edbd5522" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_425.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_425.json deleted file mode 100644 index 940e275d3..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_425.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "8eed5380-28f7-11e6-939c-7385a6df1b20" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_433.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_433.json deleted file mode 100644 index 4f78263cf..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_433.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9089504b-28f7-11e6-a8d7-ffa4edbd5522" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_441.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_441.json deleted file mode 100644 index 94b36269e..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_441.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9121e6a0-28f7-11e6-8233-6d2c402681cd" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_449.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_449.json deleted file mode 100644 index f565fac5b..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_449.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "921c73c5-28f7-11e6-a01d-971fdfddbf7e" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_457.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_457.json deleted file mode 100644 index 2987ad460..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_457.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "93dac524-28f7-11e6-8233-6d2c402681cd" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_465.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_465.json deleted file mode 100644 index 5de633460..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_465.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9473a9fa-28f7-11e6-a8d7-ffa4edbd5522" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_473.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_473.json deleted file mode 100644 index 55ce9d512..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_473.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "9601eaf1-28f7-11e6-8233-6d2c402681cd" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_49.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_49.json deleted file mode 100644 index 45b95162d..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_49.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5a2368ab-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_57.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_57.json deleted file mode 100644 index 7196cd4dd..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_57.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5aad0b6c-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_65.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_65.json deleted file mode 100644 index 60df0a555..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_65.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "HEAD", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5b5299e7-28f4-11e6-805d-312f5a261f21" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_73.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_73.json deleted file mode 100644 index d7d7353d6..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_73.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "OPTIONS", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5c4d4d77-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_81.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_81.json deleted file mode 100644 index ec1c1818a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_81.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "PATCH", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5d311dd0-28f4-11e6-9152-ebe760f7884c" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_89.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_89.json deleted file mode 100644 index 1dd78f91a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_89.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "POST", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "5e5d9068-28f4-11e6-87ec-8f98a402daaf" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_9.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_9.json deleted file mode 100644 index afbc1c397..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_9.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "GET", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "55364581-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_97.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_97.json deleted file mode 100644 index 0f3e4b718..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/apigateway.PutMethod_97.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "status_code": 201, - "data": { - "apiKeyRequired": false, - "httpMethod": "DELETE", - "authorizationType": "NONE", - "ResponseMetadata": { - "HTTPStatusCode": 201, - "RequestId": "60c4cc9e-28f4-11e6-b8f8-d1b42d374c32" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_1.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_1.json new file mode 100644 index 000000000..50a1ae86e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_1.json @@ -0,0 +1,28 @@ +{ + "status_code": 201, + "data": { + "deploymentId" : "aioOASIHD1h", + "stageName" : "ttt888", + "description" : "Deployed by Zappa.", + "cacheClusterEnabled" : false, + "cacheClusterSize" : "1", + "cacheClusterStatus" : "AVAILABLE", + "methodSettings" : { + "String" : { + "metricsEnabled" : false, + "loggingLevel" : "OFF", + "dataTraceEnabled" : false, + "throttlingBurstLimit" : 100, + "throttlingRateLimit" : 100, + "cachingEnabled" : false, + "cacheTtlInSeconds" : 100, + "cacheDataEncrypted" : false, + "requireAuthorizationForCacheControl" : false + } + }, + "variables" : { + }, + "createdDate" : "2011-01-01T01:01:01Z+0000", + "lastUpdatedDate" : "2011-01-01T01:01:01Z+0000" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_2.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_2.json new file mode 100644 index 000000000..baaa6c927 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_2.json @@ -0,0 +1,55 @@ +{ + "status_code": 200, + "data": { + "stageName": "ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "45629d34-6a74-11e6-aaec-e994c773c0ae", + "HTTPHeaders": { + "x-amzn-requestid": "45629d34-6a74-11e6-aaec-e994c773c0ae", + "date": "Thu, 25 Aug 2016 03:30:28 GMT", + "content-length": "548", + "content-type": "application/json" + } + }, + "cacheClusterSize": "0.5", + "variables": {}, + "cacheClusterEnabled": false, + "cacheClusterStatus": "NOT_AVAILABLE", + "deploymentId": "43p5hj", + "lastUpdatedDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 30 + }, + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 30 + }, + "methodSettings": { + "*/*": { + "cacheTtlInSeconds": 300, + "loggingLevel": "OFF", + "dataTraceEnabled": false, + "metricsEnabled": false, + "unauthorizedCacheControlHeaderStrategy": "SUCCEED_WITH_RESPONSE_HEADER", + "throttlingRateLimit": 1000.0, + "cacheDataEncrypted": false, + "cachingEnabled": false, + "throttlingBurstLimit": 2000, + "requireAuthorizationForCacheControl": true + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_3.json b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_3.json new file mode 100644 index 000000000..aa6f1d954 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/apigateway.UpdateStage_3.json @@ -0,0 +1,55 @@ +{ + "status_code": 200, + "data": { + "stageName": "ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "685acb8b-6a74-11e6-9e18-d13c6ce86685", + "HTTPHeaders": { + "x-amzn-requestid": "685acb8b-6a74-11e6-9e18-d13c6ce86685", + "date": "Thu, 25 Aug 2016 03:31:27 GMT", + "content-length": "548", + "content-type": "application/json" + } + }, + "cacheClusterSize": "0.5", + "variables": {}, + "cacheClusterEnabled": false, + "cacheClusterStatus": "NOT_AVAILABLE", + "deploymentId": "43p5hj", + "lastUpdatedDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 31 + }, + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 8, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 30 + }, + "methodSettings": { + "*/*": { + "cacheTtlInSeconds": 300, + "loggingLevel": "OFF", + "dataTraceEnabled": false, + "metricsEnabled": false, + "unauthorizedCacheControlHeaderStrategy": "SUCCEED_WITH_RESPONSE_HEADER", + "throttlingRateLimit": 1000.0, + "cacheDataEncrypted": false, + "cachingEnabled": false, + "throttlingBurstLimit": 2000, + "requireAuthorizationForCacheControl": true + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.CreateStack_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.CreateStack_1.json new file mode 100644 index 000000000..3b4c1b2f8 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.CreateStack_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "081486b3-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "081486b3-7f76-11e6-b951-6975199b9748", + "date": "Tue, 20 Sep 2016 21:05:59 GMT", + "content-length": "382", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DeleteStack_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DeleteStack_1.json new file mode 100644 index 000000000..41c79af6b --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DeleteStack_1.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "3fd15252-7f76-11e6-9c9d-1d2b104a5cbc", + "HTTPHeaders": { + "x-amzn-requestid": "3fd15252-7f76-11e6-9c9d-1d2b104a5cbc", + "date": "Tue, 20 Sep 2016 21:07:33 GMT", + "content-length": "212", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_1.json new file mode 100644 index 000000000..ec2915700 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_1.json @@ -0,0 +1,35 @@ +{ + "status_code": 200, + "data": { + "StackResourceDetail": { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "ResourceStatus": "CREATE_COMPLETE", + "ResourceType": "AWS::ApiGateway::RestApi", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "PhysicalResourceId": "hekjfezvfl", + "Metadata": "{}\n", + "LogicalResourceId": "Api" + }, + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "218ce97d-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "218ce97d-7f76-11e6-b951-6975199b9748", + "date": "Tue, 20 Sep 2016 21:06:42 GMT", + "content-length": "848", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_2.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_2.json new file mode 100644 index 000000000..7cf8735cf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_2.json @@ -0,0 +1,35 @@ +{ + "status_code": 200, + "data": { + "StackResourceDetail": { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "ResourceStatus": "CREATE_COMPLETE", + "ResourceType": "AWS::ApiGateway::RestApi", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "PhysicalResourceId": "hekjfezvfl", + "Metadata": "{}\n", + "LogicalResourceId": "Api" + }, + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "314bf9eb-7f76-11e6-adb1-97dc59990589", + "HTTPHeaders": { + "x-amzn-requestid": "314bf9eb-7f76-11e6-adb1-97dc59990589", + "date": "Tue, 20 Sep 2016 21:07:08 GMT", + "content-length": "848", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_3.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_3.json new file mode 100644 index 000000000..49a47df44 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStackResource_3.json @@ -0,0 +1,35 @@ +{ + "status_code": 200, + "data": { + "StackResourceDetail": { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "ResourceStatus": "CREATE_COMPLETE", + "ResourceType": "AWS::ApiGateway::RestApi", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "PhysicalResourceId": "hekjfezvfl", + "Metadata": "{}\n", + "LogicalResourceId": "Api" + }, + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "3fba6fee-7f76-11e6-9c9d-1d2b104a5cbc", + "HTTPHeaders": { + "x-amzn-requestid": "3fba6fee-7f76-11e6-9c9d-1d2b104a5cbc", + "date": "Tue, 20 Sep 2016 21:07:33 GMT", + "content-length": "848", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_1.json new file mode 100644 index 000000000..44e1adf7c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_1.json @@ -0,0 +1,22 @@ +{ + "status_code": 400, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 400, + "RequestId": "07f3de96-7f76-11e6-8ba2-2b306877d289", + "HTTPHeaders": { + "x-amzn-requestid": "07f3de96-7f76-11e6-8ba2-2b306877d289", + "date": "Tue, 20 Sep 2016 21:05:59 GMT", + "content-length": "298", + "content-type": "text/xml", + "connection": "close" + } + }, + "Error": { + "Message": "Stack with id zappa-ttt888 does not exist", + "Code": "ValidationError", + "Type": "Sender" + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_10.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_10.json new file mode 100644 index 000000000..7a3a04f21 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_10.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1961b144-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1961b144-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:29 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_11.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_11.json new file mode 100644 index 000000000..9f400db65 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_11.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1b45658e-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1b45658e-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:31 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_12.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_12.json new file mode 100644 index 000000000..c3c511db4 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_12.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1d2ac77f-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1d2ac77f-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:35 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_13.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_13.json new file mode 100644 index 000000000..0eda82692 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_13.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1f12c188-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1f12c188-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:37 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_14.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_14.json new file mode 100644 index 000000000..9155236cf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_14.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_COMPLETE", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "20f84a95-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "20f84a95-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4245", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:41 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_15.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_15.json new file mode 100644 index 000000000..85fdc64d6 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_15.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_COMPLETE", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "30d82959-7f76-11e6-9295-3308821d25df", + "HTTPHeaders": { + "x-amzn-requestid": "30d82959-7f76-11e6-9295-3308821d25df", + "vary": "Accept-Encoding", + "content-length": "4245", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:07:07 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_16.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_16.json new file mode 100644 index 000000000..bd883bebf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_16.json @@ -0,0 +1,15 @@ +{ + "status_code": 400, + "data": { + "Error": {"Code": "ValidationError", + "Message": "Stack with id zappa-ttt888 does not exist", + "Type": "Sender"}, + "ResponseMetadata": {"HTTPHeaders": {"connection": "close", + "content-length": "298", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 22:13:54 GMT", + "x-amzn-requestid": "853a18e4-7f7f-11e6-ab28-0d18db97cbd1"}, + "HTTPStatusCode": 400, + "RequestId": "853a18e4-7f7f-11e6-ab28-0d18db97cbd1"} + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_2.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_2.json new file mode 100644 index 000000000..233c4d979 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_2.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0a3a9a2e-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0a3a9a2e-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:03 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_3.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_3.json new file mode 100644 index 000000000..edb736909 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_3.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0c229427-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0c229427-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:05 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_4.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_4.json new file mode 100644 index 000000000..0b63ed1bf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_4.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0e0473ae-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0e0473ae-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:09 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_5.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_5.json new file mode 100644 index 000000000..f978f721e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_5.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0ff01736-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0ff01736-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:12 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_6.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_6.json new file mode 100644 index 000000000..b69ab28bd --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_6.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "11d0e573-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "11d0e573-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:15 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_7.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_7.json new file mode 100644 index 000000000..9be13d23a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_7.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "13b6205a-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "13b6205a-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:19 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_8.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_8.json new file mode 100644 index 000000000..09303a3fe --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_8.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "159a96f6-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "159a96f6-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:22 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_9.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_9.json new file mode 100644 index 000000000..ffa8ea055 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.DescribeStacks_9.json @@ -0,0 +1,85 @@ +{ + "status_code": 200, + "data": { + "Stacks": [ + { + "StackId": "arn:aws:cloudformation:us-east-1:123456789123:stack/zappa-ttt888/081b8ab0-7f76-11e6-b5f4-50a686e4bbe6", + "Description": "Automatically generated with Zappa", + "Parameters": [ + { + "ParameterValue": "#set($rawPostData = $input.path(\"$\"))\n{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "A" + }, + { + "ParameterValue": "{\n \"body\" : \"$util.base64Encode($input.body)\",\n \"headers\": {\n #foreach($header in $input.params().header.keySet())\n \"$header\": \"$util.escapeJavaScript($input.params().header.get($header))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"method\": \"$context.httpMethod\",\n \"params\": {\n #foreach($param in $input.params().path.keySet())\n \"$param\": \"$util.escapeJavaScript($input.params().path.get($param))\" #if($foreach.hasNext),#end\n\n #end\n },\n \"query\": {\n #foreach($queryParam in $input.params().querystring.keySet())\n \"$queryParam\": \"$util.escapeJavaScript($input.params().querystring.get($queryParam))\" #if($foreach.hasNext),#end\n\n #end\n }\n}", + "ParameterKey": "B" + }, + { + "ParameterValue": "integration.response.body.Content-Type", + "ParameterKey": "C" + }, + { + "ParameterValue": "integration.response.body.Location", + "ParameterKey": "D" + }, + { + "ParameterValue": "integration.response.body.Status", + "ParameterKey": "E" + }, + { + "ParameterValue": "integration.response.body.X-Frame-Options", + "ParameterKey": "F" + }, + { + "ParameterValue": "integration.response.body.Set-Cookie", + "ParameterKey": "G" + }, + { + "ParameterValue": "#set($inputRoot = $input.path('$'))\n$inputRoot.Content", + "ParameterKey": "H" + }, + { + "ParameterValue": "#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)", + "ParameterKey": "I" + }, + { + "ParameterValue": "integration.response.body.errorMessage", + "ParameterKey": "J" + } + ], + "Tags": [ + { + "Value": "zappa-ttt888", + "Key": "ZappaProject" + } + ], + "CreationTime": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 0, + "microsecond": 142000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "StackName": "zappa-ttt888", + "NotificationARNs": [], + "StackStatus": "CREATE_IN_PROGRESS", + "DisableRollback": false + } + ], + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "177e4b29-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "177e4b29-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "4248", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:25 GMT" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_1.json new file mode 100644 index 000000000..45fd0df4c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0a4d37d0-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0a4d37d0-7f76-11e6-b951-6975199b9748", + "date": "Tue, 20 Sep 2016 21:06:03 GMT", + "content-length": "315", + "content-type": "text/xml" + } + }, + "StackResourceSummaries": [] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_10.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_10.json new file mode 100644 index 000000000..1843aae74 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_10.json @@ -0,0 +1,279 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1b5236d0-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1b5236d0-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6331", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:31 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 23, + "microsecond": 140000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1DIACCZRJR5BU", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 26, + "microsecond": 766000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 29, + "microsecond": 718000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 504000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 31, + "microsecond": 167000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 383000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 27, + "microsecond": 460000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_11.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_11.json new file mode 100644 index 000000000..a60a49776 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_11.json @@ -0,0 +1,278 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1d38d143-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1d38d143-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6247", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:35 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1DIACCZRJR5BU", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 34, + "microsecond": 939000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 26, + "microsecond": 766000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 29, + "microsecond": 718000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 504000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 31, + "microsecond": 167000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 383000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 27, + "microsecond": 460000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_12.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_12.json new file mode 100644 index 000000000..2ad679dd8 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_12.json @@ -0,0 +1,275 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1f1e0c2d-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "1f1e0c2d-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "5995", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:38 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1DIACCZRJR5BU", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 34, + "microsecond": 939000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 26, + "microsecond": 766000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 35, + "microsecond": 279000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 29, + "microsecond": 718000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 504000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 31, + "microsecond": 167000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 35, + "microsecond": 365000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 383000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 27, + "microsecond": 460000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 36, + "microsecond": 363000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_2.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_2.json new file mode 100644 index 000000000..e01173df6 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_2.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0c2e53f9-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0c2e53f9-7f76-11e6-b951-6975199b9748", + "date": "Tue, 20 Sep 2016 21:06:05 GMT", + "content-length": "683", + "content-type": "text/xml" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_3.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_3.json new file mode 100644 index 000000000..2de55b43f --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_3.json @@ -0,0 +1,129 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0e1081a1-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0e1081a1-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "2699", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:09 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 834000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LogicalResourceId": "GET0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 697000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 748000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 890000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LogicalResourceId": "POST0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 661000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "PUT0" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 329000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_4.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_4.json new file mode 100644 index 000000000..57a7b6de0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_4.json @@ -0,0 +1,134 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0ffb3aca-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "0ffb3aca-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "3063", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:12 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 834000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 161000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 748000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 9, + "microsecond": 890000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LogicalResourceId": "POST0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 218000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LogicalResourceId": "PUT0" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_5.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_5.json new file mode 100644 index 000000000..38a8d5265 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_5.json @@ -0,0 +1,267 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "11dc7e37-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "11dc7e37-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6323", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:15 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 632000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 650000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 356000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 520000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 220000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 644000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LogicalResourceId": "POST1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 218000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_6.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_6.json new file mode 100644 index 000000000..126992c74 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_6.json @@ -0,0 +1,267 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "13c16afe-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "13c16afe-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6323", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:19 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 632000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 650000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 356000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 520000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 220000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 644000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LogicalResourceId": "POST1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 218000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_7.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_7.json new file mode 100644 index 000000000..ee58d65cb --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_7.json @@ -0,0 +1,283 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "15a5ba88-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "15a5ba88-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6679", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:22 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 22, + "microsecond": 364000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_IN_PROGRESS", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 632000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 40000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 356000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 520000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 220000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 644000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_8.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_8.json new file mode 100644 index 000000000..7305b3d27 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_8.json @@ -0,0 +1,285 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "17896ebb-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "17896ebb-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6835", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:25 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 23, + "microsecond": 140000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1DIACCZRJR5BU", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 632000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 40000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 356000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 520000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 220000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 644000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_9.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_9.json new file mode 100644 index 000000000..470b1dfeb --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.ListStackResources_9.json @@ -0,0 +1,281 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "196cadc7-7f76-11e6-b951-6975199b9748", + "HTTPHeaders": { + "x-amzn-requestid": "196cadc7-7f76-11e6-b951-6975199b9748", + "vary": "Accept-Encoding", + "content-length": "6499", + "content-type": "text/xml", + "date": "Tue, 20 Sep 2016 21:06:29 GMT" + } + }, + "StackResourceSummaries": [ + { + "ResourceType": "AWS::ApiGateway::RestApi", + "PhysicalResourceId": "hekjfezvfl", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 6, + "microsecond": 196000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Api" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 23, + "microsecond": 140000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-DELET-1DIACCZRJR5BU", + "LogicalResourceId": "DELETE0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-DELET-1JK4SZOIK0707", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 26, + "microsecond": 766000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "DELETE1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-GET0-1TC7D2726JX2T", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 8000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "GET0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 9000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-GET1-96GHNT9AFMME", + "LogicalResourceId": "GET1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 40000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-HEAD0-97FT504P6Q9K", + "LogicalResourceId": "HEAD0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-HEAD1-1DVREDZVQF491", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 504000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "HEAD1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-OPTIO-14ELHMS3EGLB1", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 631000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "OPTIONS0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 14, + "microsecond": 520000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-OPTIO-1TD9GFGGTAQI9", + "LogicalResourceId": "OPTIONS1" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 873000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PATCH-1J45WIOLFVTU5", + "LogicalResourceId": "PATCH0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PATCH-12E8GBG6L5S4P", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 28, + "microsecond": 383000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PATCH1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST0-TKUBVZLX28A7", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 15, + "microsecond": 291000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST0" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-POST1-WVJLSEIQZY6H", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 27, + "microsecond": 460000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "POST1" + }, + { + "ResourceType": "AWS::ApiGateway::Method", + "PhysicalResourceId": "zappa-PUT0-1T3JX7U0FAPYQ", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 20, + "microsecond": 248000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "PUT0" + }, + { + "ResourceStatus": "CREATE_IN_PROGRESS", + "ResourceType": "AWS::ApiGateway::Method", + "ResourceStatusReason": "Resource creation Initiated", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 13, + "microsecond": 893000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "PhysicalResourceId": "zappa-PUT1-1QG4RKEWK5YVY", + "LogicalResourceId": "PUT1" + }, + { + "ResourceType": "AWS::ApiGateway::Resource", + "PhysicalResourceId": "7y1l9s", + "LastUpdatedTimestamp": { + "hour": 21, + "__class__": "datetime", + "month": 9, + "second": 10, + "microsecond": 308000, + "year": 2016, + "day": 20, + "minute": 6 + }, + "ResourceStatus": "CREATE_COMPLETE", + "LogicalResourceId": "Resource1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/cloudformation.UpdateStack_1.json b/tests/placebo/TestZappa.test_cli_aws/cloudformation.UpdateStack_1.json new file mode 100644 index 000000000..729aa2a53 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/cloudformation.UpdateStack_1.json @@ -0,0 +1,22 @@ +{ + "status_code": 400, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 400, + "RequestId": "30e82eed-7f76-11e6-9295-3308821d25df", + "HTTPHeaders": { + "x-amzn-requestid": "30e82eed-7f76-11e6-9295-3308821d25df", + "date": "Tue, 20 Sep 2016 21:07:07 GMT", + "content-length": "288", + "content-type": "text/xml", + "connection": "close" + } + }, + "Error": { + "Message": "No updates are to be performed.", + "Code": "ValidationError", + "Type": "Sender" + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_1.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_1.json index 67ae21f77..c226aef56 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_1.json @@ -6,4 +6,4 @@ "RequestId": "aff3a3f9-28f4-11e6-9dbb-5dd116b9ddf1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_2.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_2.json index 196dee3b8..c2741537d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_2.json @@ -6,4 +6,4 @@ "RequestId": "a391c043-28f7-11e6-b030-5b78d1137742" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_3.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_3.json index 8ec4e5058..5ab106459 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_3.json @@ -6,4 +6,4 @@ "RequestId": "b105f6f0-28f7-11e6-8bbf-b1fb71361919" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_4.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_4.json new file mode 100644 index 000000000..d2d5c1a27 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_4.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "66a81238-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "66a81238-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:24 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_5.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_5.json new file mode 100644 index 000000000..f30ba1f87 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_5.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "670a080b-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "670a080b-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:25 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_6.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_6.json new file mode 100644 index 000000000..c714f46e3 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_6.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a061bfe1-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a061bfe1-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:01 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_7.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_7.json new file mode 100644 index 000000000..cba405f16 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_7.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a099988f-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a099988f-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_8.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_8.json new file mode 100644 index 000000000..4fc32995a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_8.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1d77053-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1d77053-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_9.json b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_9.json new file mode 100644 index 000000000..62fd0ccd7 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.DeleteRule_9.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a20a8e32-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a20a8e32-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_1.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_1.json index fb08562e8..6c6802a29 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_1.json @@ -16,4 +16,4 @@ "RequestId": "afe859ba-28f4-11e6-aa28-4d9f2eb25de5" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_2.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_2.json index 076f40c9f..c77631415 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_2.json @@ -16,4 +16,4 @@ "RequestId": "a38b5763-28f7-11e6-a108-6908dca1b4ef" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_3.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_3.json index fb976624e..d354abb8d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_3.json @@ -16,4 +16,4 @@ "RequestId": "b0f57c27-28f7-11e6-8e21-7d2bd33e0450" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_4.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_4.json new file mode 100644 index 000000000..2747c7a68 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_4.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "Rules": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2b5f3901-6a74-11e6-945c-0b1ddee71d5d", + "HTTPHeaders": { + "x-amzn-requestid": "2b5f3901-6a74-11e6-945c-0b1ddee71d5d", + "date": "Thu, 25 Aug 2016 03:29:45 GMT", + "content-length": "12", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_5.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_5.json new file mode 100644 index 000000000..43f143992 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_5.json @@ -0,0 +1,33 @@ +{ + "status_code": 200, + "data": { + "Rules": [ + { + "ScheduleExpression": "rate(1 minute)", + "Name": "zappa-ttt888-tests.test_app.schedule_me", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "Description": "tests.test_app.schedule_me" + }, + { + "ScheduleExpression": "rate(4 minutes)", + "Name": "zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "Description": "Zappa Keep Warm - zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "665efadb-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "665efadb-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:24 GMT", + "content-length": "658", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_6.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_6.json new file mode 100644 index 000000000..ce16ee1cd --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_6.json @@ -0,0 +1,33 @@ +{ + "status_code": 200, + "data": { + "Rules": [ + { + "ScheduleExpression": "rate(1 minute)", + "Name": "zappa-ttt888-tests.test_app.schedule_me", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "Description": "tests.test_app.schedule_me" + }, + { + "ScheduleExpression": "rate(4 minutes)", + "Name": "zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "Description": "Zappa Keep Warm - zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a01e26f3-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a01e26f3-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:01 GMT", + "content-length": "658", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_7.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_7.json new file mode 100644 index 000000000..02a0e14d4 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_7.json @@ -0,0 +1,33 @@ +{ + "status_code": 200, + "data": { + "Rules": [ + { + "ScheduleExpression": "rate(1 minute)", + "Name": "zappa-ttt888-tests.test_app.schedule_me", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "Description": "tests.test_app.schedule_me" + }, + { + "ScheduleExpression": "rate(4 minutes)", + "Name": "zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "Description": "Zappa Keep Warm - zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1a786d2-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1a786d2-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "658", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListRules_8.json b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_8.json new file mode 100644 index 000000000..46bd3ac07 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListRules_8.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "Rules": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a34ea70f-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a34ea70f-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:06 GMT", + "content-length": "12", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_1.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_1.json index db15b7bfa..23f646c87 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_1.json @@ -10,4 +10,4 @@ "Code": "ResourceNotFoundException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_10.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_10.json new file mode 100644 index 000000000..67b9f3aa0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_10.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id091815528307", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + }, + { + "Id": "Id238892486553", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a073e89a-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a073e89a-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:01 GMT", + "content-length": "197", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_11.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_11.json new file mode 100644 index 000000000..8dd38a2c8 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_11.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id854580722537", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1b73d85-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1b73d85-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "105", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_12.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_12.json new file mode 100644 index 000000000..785d3a0a0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_12.json @@ -0,0 +1,29 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id006403247915", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + }, + { + "Id": "Id418990627953", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + }, + { + "Id": "Id765326959363", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1e7ea75-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1e7ea75-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "289", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_2.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_2.json index 0847a80f6..a61dd255e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_2.json @@ -12,4 +12,4 @@ "RequestId": "afd8efac-28f4-11e6-8544-73f7fd03d944" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_3.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_3.json index 117869683..3a2e6b240 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_3.json @@ -10,4 +10,4 @@ "Code": "ResourceNotFoundException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_4.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_4.json index 9b9d039c2..70d341444 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_4.json @@ -10,4 +10,4 @@ "Code": "ResourceNotFoundException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_5.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_5.json index b2498226d..c67e0f3e9 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_5.json @@ -12,4 +12,4 @@ "RequestId": "a37f230a-28f7-11e6-af9c-c96fcfc9a8ce" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_6.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_6.json index a297cf3fd..dd5a64cb1 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_6.json @@ -12,4 +12,4 @@ "RequestId": "b0e1f4a9-28f7-11e6-81bf-2d60e05ac7fd" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_7.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_7.json new file mode 100644 index 000000000..bdb053ce1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_7.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id756017120335", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "6675de5a-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "6675de5a-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:24 GMT", + "content-length": "105", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_8.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_8.json new file mode 100644 index 000000000..e72aa8324 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_8.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id249251389162", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "66d6276a-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "66d6276a-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:25 GMT", + "content-length": "105", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_9.json b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_9.json new file mode 100644 index 000000000..a538cf401 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.ListTargetsByRule_9.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "Targets": [ + { + "Id": "Id656622160450", + "Arn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a0413ff8-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a0413ff8-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:01 GMT", + "content-length": "105", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_1.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_1.json index b207330ce..510f8d6d5 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_1.json @@ -7,4 +7,4 @@ "RequestId": "5384eb91-28f4-11e6-a567-41a2fedb6435" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_10.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_10.json new file mode 100644 index 000000000..4a27f9dc9 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_10.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "6803aa43-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "6803aa43-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_11.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_11.json new file mode 100644 index 000000000..aa6d5722d --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_11.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a0ab9a29-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a0ab9a29-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "content-length": "96", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_12.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_12.json new file mode 100644 index 000000000..fc4a7a2ac --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_12.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a0f748e8-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a0f748e8-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_13.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_13.json new file mode 100644 index 000000000..392c06e14 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_13.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1314583-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1314583-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_14.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_14.json new file mode 100644 index 000000000..dd1248177 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_14.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a164b18e-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a164b18e-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_2.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_2.json index 1f7befbf4..6abb485f7 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_2.json @@ -7,4 +7,4 @@ "RequestId": "b009279e-28f4-11e6-a04e-f7cf2cf61140" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_3.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_3.json index ca0be85c8..305b83c67 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_3.json @@ -7,4 +7,4 @@ "RequestId": "1210693a-28f6-11e6-99b2-03de7e10bcbf" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_4.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_4.json index 6c2797b71..678dd7741 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_4.json @@ -7,4 +7,4 @@ "RequestId": "89e6187a-28f7-11e6-b77e-d3bc5df75ed1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_5.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_5.json index 65de8f7fc..44d4fc400 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_5.json @@ -7,4 +7,4 @@ "RequestId": "a3a7b9c4-28f7-11e6-aca4-1fb2cb248ecc" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_6.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_6.json new file mode 100644 index 000000000..4561b415e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_6.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2b750b13-6a74-11e6-945c-0b1ddee71d5d", + "HTTPHeaders": { + "x-amzn-requestid": "2b750b13-6a74-11e6-945c-0b1ddee71d5d", + "date": "Thu, 25 Aug 2016 03:29:45 GMT", + "content-length": "96", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_7.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_7.json new file mode 100644 index 000000000..296aadbbe --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_7.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2bbf0bba-6a74-11e6-945c-0b1ddee71d5d", + "HTTPHeaders": { + "x-amzn-requestid": "2bbf0bba-6a74-11e6-945c-0b1ddee71d5d", + "date": "Thu, 25 Aug 2016 03:29:46 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_8.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_8.json new file mode 100644 index 000000000..56865b559 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_8.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "6724e341-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "6724e341-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:25 GMT", + "content-length": "96", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutRule_9.json b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_9.json new file mode 100644 index 000000000..54bbeab67 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutRule_9.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "RuleArn": "arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "67a0c9c6-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "67a0c9c6-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "content-length": "112", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_1.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_1.json index 2a089df53..0c1e99fe8 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_1.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_10.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_10.json new file mode 100644 index 000000000..93f8e7fdf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_10.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "6831716b-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "6831716b-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:27 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_11.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_11.json new file mode 100644 index 000000000..144d92660 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_11.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a0e2b047-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a0e2b047-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_12.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_12.json new file mode 100644 index 000000000..1b9de2989 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_12.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1205550-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1205550-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_13.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_13.json new file mode 100644 index 000000000..429a419ea --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_13.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a152afd9-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a152afd9-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_14.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_14.json new file mode 100644 index 000000000..7bb00c3ce --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_14.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1853154-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1853154-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_2.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_2.json index 80a8590ec..7649ac96b 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_2.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_3.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_3.json index 7865942bf..a6d5433dd 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_3.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_4.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_4.json index 8c11ec042..3d88ff869 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_4.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_5.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_5.json index 809c541ab..7d94b1649 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_5.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_6.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_6.json new file mode 100644 index 000000000..1bbdc45f5 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_6.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2ba960ba-6a74-11e6-945c-0b1ddee71d5d", + "HTTPHeaders": { + "x-amzn-requestid": "2ba960ba-6a74-11e6-945c-0b1ddee71d5d", + "date": "Thu, 25 Aug 2016 03:29:45 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_7.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_7.json new file mode 100644 index 000000000..113941f91 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_7.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2c0ba5bb-6a74-11e6-945c-0b1ddee71d5d", + "HTTPHeaders": { + "x-amzn-requestid": "2c0ba5bb-6a74-11e6-945c-0b1ddee71d5d", + "date": "Thu, 25 Aug 2016 03:29:46 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_8.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_8.json new file mode 100644 index 000000000..7aef34e3a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_8.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "6789bf2d-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "6789bf2d-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_9.json b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_9.json new file mode 100644 index 000000000..f6ce3dbc8 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.PutTargets_9.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "67d5bcf7-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "67d5bcf7-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_1.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_1.json index 69c436b6b..a1b44103d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_1.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_2.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_2.json index f8ee0ea3c..87770fba1 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_2.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_3.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_3.json index 2b5a6c915..6304283d7 100644 --- a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_3.json @@ -8,4 +8,4 @@ }, "FailedEntryCount": 0 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_4.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_4.json new file mode 100644 index 000000000..51871cbd1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_4.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "668f8104-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "668f8104-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:24 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_5.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_5.json new file mode 100644 index 000000000..99751a363 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_5.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "66f128aa-6a74-11e6-b1df-6905c3c8daa6", + "HTTPHeaders": { + "x-amzn-requestid": "66f128aa-6a74-11e6-b1df-6905c3c8daa6", + "date": "Thu, 25 Aug 2016 03:31:25 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_6.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_6.json new file mode 100644 index 000000000..dea2d5e72 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_6.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a05192fa-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a05192fa-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:01 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_7.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_7.json new file mode 100644 index 000000000..4efa9339e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_7.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a0865f69-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a0865f69-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_8.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_8.json new file mode 100644 index 000000000..3bbccfba4 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_8.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1c7b88c-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1c7b88c-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_9.json b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_9.json new file mode 100644 index 000000000..68eef8c63 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/events.RemoveTargets_9.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "FailedEntries": [], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a1f7c927-6a74-11e6-a237-bb13171f213e", + "HTTPHeaders": { + "x-amzn-requestid": "a1f7c927-6a74-11e6-a237-bb13171f213e", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "41", + "content-type": "application/x-amz-json-1.1" + } + }, + "FailedEntryCount": 0 + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_1.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_1.json index e30dfb965..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_1.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "4da0b33c-28f3-11e6-b455-b3e4bc23726a" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_10.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_10.json index 6880aaaaa..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_10.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_10.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "99d64b69-28f7-11e6-8296-0db40e88750e" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_11.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_11.json new file mode 100644 index 000000000..2464c0bcc --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_11.json @@ -0,0 +1,18 @@ +{ + "status_code": 200, + "data": { + "RoleName": "ZappaLambdaExecution", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "0ef3ada5-6a74-11e6-94a8-7fe6b973411e", + "HTTPHeaders": { + "x-amzn-requestid": "0ef3ada5-6a74-11e6-94a8-7fe6b973411e", + "date": "Thu, 25 Aug 2016 03:28:57 GMT", + "content-length": "3773", + "content-type": "text/xml" + } + }, + "PolicyName": "zappa-permissions" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_12.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_12.json new file mode 100644 index 000000000..09df916e9 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_12.json @@ -0,0 +1,18 @@ +{ + "status_code": 200, + "data": { + "RoleName": "ZappaLambdaExecution", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "48920b7e-6a74-11e6-90df-c50dd5221118", + "HTTPHeaders": { + "x-amzn-requestid": "48920b7e-6a74-11e6-90df-c50dd5221118", + "date": "Thu, 25 Aug 2016 03:30:34 GMT", + "content-length": "3773", + "content-type": "text/xml" + } + }, + "PolicyName": "zappa-permissions" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_2.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_2.json index ce00ecc9f..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_2.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "2cc63fc8-28f4-11e6-a120-7113b0af4e40" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_3.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_3.json index a19bcac17..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_3.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "8adb558d-28f4-11e6-8f14-4d8f80324ce8" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_4.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_4.json index 106157ded..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_4.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "c1dacfac-28f5-11e6-9d76-fbfa24d3c2ae" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_5.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_5.json index 74807745d..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_5.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "eeddf1c9-28f5-11e6-8296-0db40e88750e" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_6.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_6.json index bbd271e9f..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_6.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "bab24571-28f6-11e6-967a-8b57d96c38fa" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_7.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_7.json index b2c3c5389..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_7.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_7.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "d7d9f482-28f6-11e6-b455-b3e4bc23726a" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_8.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_8.json index ea7e66514..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_8.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_8.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, - "RequestId": "50ecfb0e-28f7-11e6-b791-1dff148dc09d" + "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_9.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_9.json index cb93c5ecb..d8166723e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_9.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRolePolicy_9.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sns%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asns%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, "RequestId": "81a584b4-28f7-11e6-8296-0db40e88750e" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_1.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_1.json index a2051def9..0a49dad68 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_1.json @@ -23,4 +23,4 @@ "RequestId": "4d88be55-28f3-11e6-b455-b3e4bc23726a" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_10.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_10.json index 5563d8db7..e208a4e80 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_10.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_10.json @@ -23,4 +23,4 @@ "RequestId": "99cb75ea-28f7-11e6-8296-0db40e88750e" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_11.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_11.json new file mode 100644 index 000000000..f13289839 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_11.json @@ -0,0 +1,32 @@ +{ + "status_code": 200, + "data": { + "Role": { + "AssumeRolePolicyDocument": "%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%5B%22lambda.amazonaws.com%22%2C%22apigateway.amazonaws.com%22%2C%22events.amazonaws.com%22%5D%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D", + "RoleId": "AROAJP6JO7RI37FHZGQ6A", + "CreateDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 33 + }, + "RoleName": "ZappaLambdaExecution", + "Path": "/", + "Arn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "0ede77c9-6a74-11e6-94a8-7fe6b973411e", + "HTTPHeaders": { + "x-amzn-requestid": "0ede77c9-6a74-11e6-94a8-7fe6b973411e", + "date": "Thu, 25 Aug 2016 03:28:57 GMT", + "content-length": "844", + "content-type": "text/xml" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_12.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_12.json new file mode 100644 index 000000000..f37c204eb --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_12.json @@ -0,0 +1,32 @@ +{ + "status_code": 200, + "data": { + "Role": { + "AssumeRolePolicyDocument": "%7B%22Version%22%3A%222012-10-17%22%2C%22Statement%22%3A%5B%7B%22Sid%22%3A%22%22%2C%22Effect%22%3A%22Allow%22%2C%22Principal%22%3A%7B%22Service%22%3A%5B%22events.amazonaws.com%22%2C%22apigateway.amazonaws.com%22%2C%22lambda.amazonaws.com%22%5D%7D%2C%22Action%22%3A%22sts%3AAssumeRole%22%7D%5D%7D", + "RoleId": "AROAJP6JO7RI37FHZGQ6A", + "CreateDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 29, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 33 + }, + "RoleName": "ZappaLambdaExecution", + "Path": "/", + "Arn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "482825c1-6a74-11e6-90df-c50dd5221118", + "HTTPHeaders": { + "x-amzn-requestid": "482825c1-6a74-11e6-90df-c50dd5221118", + "date": "Thu, 25 Aug 2016 03:30:33 GMT", + "content-length": "844", + "content-type": "text/xml" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_2.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_2.json index 0c13092cc..5a966ff33 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_2.json @@ -23,4 +23,4 @@ "RequestId": "2cbf61f6-28f4-11e6-a120-7113b0af4e40" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_3.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_3.json index 98db6556d..0e1b5b585 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_3.json @@ -23,4 +23,4 @@ "RequestId": "8ad450a4-28f4-11e6-8f14-4d8f80324ce8" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_4.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_4.json index 00dc61df9..08bad5daf 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_4.json @@ -23,4 +23,4 @@ "RequestId": "c1d4b527-28f5-11e6-9d76-fbfa24d3c2ae" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_5.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_5.json index 26309cb77..8ff8aad35 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_5.json @@ -23,4 +23,4 @@ "RequestId": "eed2a711-28f5-11e6-8296-0db40e88750e" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_6.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_6.json index 6db7455cf..5a469530d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_6.json @@ -23,4 +23,4 @@ "RequestId": "baaaa444-28f6-11e6-967a-8b57d96c38fa" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_7.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_7.json index 62e7b87f0..1070e5d97 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_7.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_7.json @@ -23,4 +23,4 @@ "RequestId": "d7d22c50-28f6-11e6-b455-b3e4bc23726a" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_8.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_8.json index 6efa43354..2fb2c3da7 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_8.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_8.json @@ -23,4 +23,4 @@ "RequestId": "50d3f5b4-28f7-11e6-b791-1dff148dc09d" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_9.json b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_9.json index 142cb9d6b..2cfdfdbe0 100644 --- a/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_9.json +++ b/tests/placebo/TestZappa.test_cli_aws/iam.GetRole_9.json @@ -23,4 +23,4 @@ "RequestId": "81802243-28f7-11e6-8296-0db40e88750e" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_1.json index a90f3ff8f..acc533431 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_1.json @@ -7,4 +7,4 @@ "RequestId": "53ac22de-28f4-11e6-9feb-e32cbf4d45d4" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_10.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_10.json new file mode 100644 index 000000000..beb71f928 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_10.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"SHT7F5TS\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "681d9abb-6a74-11e6-8483-ad8555bfc90e", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:27 GMT", + "x-amzn-requestid": "681d9abb-6a74-11e6-8483-ad8555bfc90e", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_11.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_11.json new file mode 100644 index 000000000..633e785fa --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_11.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"UQVB3BGF\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "a0d0fc2e-6a74-11e6-954f-91387b9177fe", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "x-amzn-requestid": "a0d0fc2e-6a74-11e6-954f-91387b9177fe", + "content-length": "363", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_12.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_12.json new file mode 100644 index 000000000..a44d2825f --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_12.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"WHOAAU7W\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "a10b94e1-6a74-11e6-b979-d738397cab13", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:02 GMT", + "x-amzn-requestid": "a10b94e1-6a74-11e6-b979-d738397cab13", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_13.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_13.json new file mode 100644 index 000000000..6fb542d15 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_13.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"0D59E6S3\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "a1414a73-6a74-11e6-9346-db4e16abbc55", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "x-amzn-requestid": "a1414a73-6a74-11e6-9346-db4e16abbc55", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_14.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_14.json new file mode 100644 index 000000000..ea9e93552 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_14.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"RK9ORZQ5\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "a1749012-6a74-11e6-b65f-c5206d4f8203", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "x-amzn-requestid": "a1749012-6a74-11e6-b65f-c5206d4f8203", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_2.json index fa8bae4f2..449da4306 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_2.json @@ -7,4 +7,4 @@ "RequestId": "b02e14cf-28f4-11e6-9dd8-4b08e3c52023" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_3.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_3.json index c54393c7f..cf0da0c97 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_3.json @@ -7,4 +7,4 @@ "RequestId": "12442376-28f6-11e6-b81e-f9a73f6721a8" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_4.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_4.json index 4314df677..4ea9b12a9 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_4.json @@ -7,4 +7,4 @@ "RequestId": "8a323d39-28f7-11e6-8116-01b0f23dfa05" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_5.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_5.json index 7f9042fc1..4d0c5b460 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_5.json @@ -7,4 +7,4 @@ "RequestId": "a3cea27d-28f7-11e6-9ef0-2d25b6dbc6b7" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_6.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_6.json new file mode 100644 index 000000000..767b2b51e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_6.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"9LTNB0L6\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "2b9738e5-6a74-11e6-b885-3d75db80b5c5", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:29:45 GMT", + "x-amzn-requestid": "2b9738e5-6a74-11e6-b885-3d75db80b5c5", + "content-length": "363", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_7.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_7.json new file mode 100644 index 000000000..868be647c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_7.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"H5GBSCQ1\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "2be66a1e-6a74-11e6-aa2e-e9ecfa4b7177", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:29:46 GMT", + "x-amzn-requestid": "2be66a1e-6a74-11e6-aa2e-e9ecfa4b7177", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_8.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_8.json new file mode 100644 index 000000000..6a445d594 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_8.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"EQHY0KON\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "676aed34-6a74-11e6-92f5-8d9fb7451a83", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "x-amzn-requestid": "676aed34-6a74-11e6-92f5-8d9fb7451a83", + "content-length": "363", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_9.json b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_9.json new file mode 100644 index 000000000..67ac0bb6d --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.AddPermission_9.json @@ -0,0 +1,17 @@ +{ + "status_code": 201, + "data": { + "Statement": "{\"Condition\":{\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback\"}},\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"events.amazonaws.com\"},\"Sid\":\"CP8FF9KR\"}", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "67bc19e9-6a74-11e6-a060-3bf8dcc72e5f", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:26 GMT", + "x-amzn-requestid": "67bc19e9-6a74-11e6-a060-3bf8dcc72e5f", + "content-length": "379", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_1.json index bb61ec4b8..2173d8186 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_1.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_2.json index 035724ba2..d0e1f1bb5 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_2.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_3.json b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_3.json index 734ce19a6..046b5160c 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_3.json @@ -10,4 +10,4 @@ "Code": "ResourceConflictException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_4.json b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_4.json index 345b7606a..c781ee0cc 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_4.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_5.json b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_5.json new file mode 100644 index 000000000..460f29f11 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.CreateFunction_5.json @@ -0,0 +1,28 @@ +{ + "status_code": 201, + "data": { + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 201, + "RequestId": "26ec757d-6a74-11e6-b534-e9ce29846b3c", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:29:44 GMT", + "x-amzn-requestid": "26ec757d-6a74-11e6-b534-e9ce29846b3c", + "content-length": "502", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "CodeSize": 34119501, + "MemorySize": 512, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Version": "4", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:29:40.612+0000", + "Handler": "handler.lambda_handler", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_1.json index a7f71bbf9..bde4d230b 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_1.json @@ -6,4 +6,4 @@ "RequestId": "b1a1c1c0-28f7-11e6-8db2-597c5c8eebe5" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_2.json new file mode 100644 index 000000000..605358cf5 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.DeleteFunction_2.json @@ -0,0 +1,15 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "RequestId": "a35f4884-6a74-11e6-9c66-eba57f539c2b", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:06 GMT", + "x-amzn-requestid": "a35f4884-6a74-11e6-9c66-eba57f539c2b", + "connection": "keep-alive", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_1.json index 411443801..988e64f53 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_1.json @@ -24,4 +24,4 @@ "RequestId": "b0c042d3-28f4-11e6-be90-6dca90616b3e" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_2.json index f02eea350..689419c61 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_2.json @@ -24,4 +24,4 @@ "RequestId": "a4a838ef-28f7-11e6-b71d-85d581e5b915" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_3.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_3.json new file mode 100644 index 000000000..e616cbf54 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_3.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-db31118d-0fdc-42a1-9014-70c08bd08a09?x-amz-security-token=FQoDYXdzEJz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDJ3nTVvWKW4soAwQ4iK3AwnuaHkjRUcGm5S0yWxwHXe1b2DX1nWoP3Vvant62mEvzPeg5EjdL%2FdZAR%2FQxCUruyCQN%2BkHOWcA2Ene1fRRo7N97kuSDVxCjsLAri0xBnhjn6TJRqAjZ3JGgHtpbNcY9Cy5vVgVrREMP5X32Z0z5Kl8KHnILTqRciupvIzOKEcsdFpR7bspTMMeVWItbNiIE2BdsKfLZFegZ2MuVnMXPPE9l2Q2LFugO9SZFuxSv6eZc2l9gB%2FPS4452i2KoKIJ%2BA%2FNMBn7Qx%2BIvFGD2Zo1m0JdhhJJ3Do1sa4OCB%2FQDUOB%2FHPMPRBLVdBTeqBHUyznHk7McSCye53RX2jtX3J0RnDgml98dBiD4P8CIeFzm6ak9URMAXKCNkB5bgJBu4lfldm0%2Bohjo0EQf9WcdeZ8rdfjBxGWnu81YU%2FxUKjyWzerTwPaYEe6VFDo6u05nAz0Wh1bN52Bbms%2FbpYC1AYk%2B8cuTon4e2F62TJQ4B2Je6ww7KsyqlsrqTwKzL%2FnNwkiy%2Fsrz8WXsBANtVwaGZqKTt%2BW41rVSv%2FMbg1nof77EpbhAOhqtpX1pFVPhwC9JlCElNcI6shxjYAomrL5vQU%3D&AWSAccessKeyId=ASIAIFVY3TIJOTWTCXQA&Expires=1472096384&Signature=5fFXOXrM5FQ4N8SlIR4GC2DZl1Q%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:29:40.612+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "2abcddc1-6a74-11e6-92cb-fd2bf2ec2010", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:29:43 GMT", + "x-amzn-requestid": "2abcddc1-6a74-11e6-92cb-fd2bf2ec2010", + "content-length": "1501", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_4.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_4.json new file mode 100644 index 000000000..b6e8aac03 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_4.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-9bb0789d-615b-48c7-87a0-9c210d0ceb82?x-amz-security-token=FQoDYXdzEJz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDJg3XIOe9RH06LQqfiK3A2yFIkcVCqmFYjzGTnkcuWwQhOUhyDE2um98JQQrGqCb5INiSTDxZVBEKM%2BiCn8WQg6ELfpgBpQ3EqlP8j5kBZTk%2BQjnc6p2JrmvrmTba%2Fti26EGi%2FBn1jwlwydTJrrjOgNAJv7m5WP8%2FU%2BT4XgUaf1d7bYhiTQy02d7SrgbycrKWOyYmP5mphwhKYL9w1pKd65A3Kw%2Ft4I5Qw2rGA8EOHPqk0l%2BJjJT0P29%2BVM%2BUKfVb9oEsZQcZmSHANAgTioy3OaiQVtHiaO69zFZS%2F8VWfvI2jiUkVraax4dAR9R7bwjCIJrQeP0T9VSQPmvZqguVX0GdcMKZAOvtKf44EUAQdJ7rz3vKFGJo%2BQbRbM4aqRsmGk8hBxUm0GXxb%2B4tX0EMPx58TxMPGX4UnjsyP5QlNc5O6yrFzCkiWVPeGAXsvlZV5Dsy0a1qDsrfAxBkN9C1sEbxVUqoCy6Lye7GxhVTjshrUrze97dmp24GMXhwUh9Hv84mH%2FSaN4o1L%2FBcXGOfqCSoKx1ZJwvVKDZqB1HIiMmp592vNoXmR144HuMofeSsE7N1qHBuMLnkYCAxNZniX0L1%2BT%2BAcoot8L5vQU%3D&AWSAccessKeyId=ASIAI5VEVZGEWFHMOVWQ&Expires=1472096483&Signature=%2BCd8eErPQJJgrl5grkqb7Gem%2FnE%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "EfObQbLlLpQdP82QkHDKIMpEXIZjPWs2ArMptozG7K0=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34293478, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:31:23.343+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "65ca5ca5-6a74-11e6-8fbb-53ef6e599bed", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:23 GMT", + "x-amzn-requestid": "65ca5ca5-6a74-11e6-8fbb-53ef6e599bed", + "content-length": "1505", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_5.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_5.json new file mode 100644 index 000000000..a1ada05f7 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_5.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-c2503000-ec0b-4d51-ac5b-9a708b62e9c2?x-amz-security-token=FQoDYXdzEJz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDGltMtQEdG7%2FQybqtSK3AzojhGTsmaH7E%2FFWhbCn1acHdhBCixkmhUPH8Yu85QePAwCp4HAkJj0hMHR9Tjd0o0LtWrpm47jFUU9Aqdi1tyFguHBzung8AzJ7KfvKMqj4A%2FJAYgwLeiy%2BTuxGjrwXU4hjOkL%2B2NUmw27IrcN9kX6stK%2BzUHn7d3xMKlvdfGfGcP53AmkNx87WcsyE3GF4HC5cy1s%2B75paLsywVMK02Zka8YSYs2%2B%2B%2Bs6gIXFZ8WjMhGtzpTvIOsq%2Fej8OsNFBFFrmPk91hCclsSa4hTOTEIMjNrtcaIbx8ySAV3pN8OXE82ZaaONQVpRRDxmON2bxYztsg1aNHzP7RicKK3RbVWGFJsT2ZYholSAUznptcXRd1Y7KqkTrZukTheWpakBZ9hmQiEjOJmQBNAGZGSNgeeS3h2GJP1Wox3UBV8bS5oAHa%2FGMFVl%2B85X%2B4vPLdoKWJO7%2FRa3T5eie6OQJWUfRy3KJNmZD8nCUZ%2FmdSQgT%2B3K%2Bc5GJFvqY%2Bmn8RV3wE%2Fz6Q%2FjloxD%2B0btLOTfX76%2BK799M1e4ifv1%2FrwAUnr393crdjE7pnwM4PqQ8%2FzqBQcwi5H%2BYy2alcAIopa%2F5vQU%3D&AWSAccessKeyId=ASIAJL7FKN53NCZ5ESOQ&Expires=1472096488&Signature=baMLnU%2BCtGpln1PAsVxJox0gC2Y%3D" + }, + "Configuration": { + "Version": "4", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:4", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:29:40.612+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "68b8c9f3-6a74-11e6-a583-b36fb60f2d42", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:28 GMT", + "x-amzn-requestid": "68b8c9f3-6a74-11e6-a583-b36fb60f2d42", + "content-length": "1519", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_6.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_6.json new file mode 100644 index 000000000..45af116bf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_6.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-47e64943-2164-4733-96e0-588022c9c061?x-amz-security-token=FQoDYXdzEJz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDFUxKflDi1l2uqp5zCK3A8sjCwuyeF522Y9pcR%2B6ncisebCzplNH%2F09xYgXGibtOAWNj2SqUNnkPaeAPHDHwgH6yFihGdz86rf%2F8acuBmo2sl2wKcteaywiKHfoQAXTIgghs876K4SwjqrBlJcBqMbabyJPr5MdAMK2jlHiaZY0qxqGglypCNM3DXkL%2FQxH7KjRVoFhKo%2FGarB7uzXCUvFmUhsCp1rLm1mzZRt27Hu%2Bdhavq1%2BJYNseihmviAGmu7A6oyhFa8DQaUWB2ysUJwCg2egF%2FCGM77bAWhHZF7VLDOQy1KbipJtoh1vSjP%2F%2BKMhOy7Zhly4AEY%2FJwjh7L%2BYRpKOxH3mm9zcp1kI%2FOj8EHdFF63HFs9Njh3dyFomFoJqvVqPo7z3OnE9lGRvJfKQHHfGvDHopLDZuICGRREnSLu2yZxVE0YfEiXpgj8A3wPErS%2F2EsRM2AxV6gswyNBe1AkAYuuTNPbT6Hm%2BdoRE%2BAKr7gK0978PpyaAygyr%2FxPg4a7Fpvhlo3oKBd3nvhC5p37rBX87d9THh%2BJE2IRagOZnwcLpIyORphVQztCaKqNAIH3v5qP0kny6JXmvprWV5Gu%2FDE2u0o98L5vQU%3D&AWSAccessKeyId=ASIAIT7J7OEDUOZDNJLA&Expires=1472096581&Signature=JYGl2jKRAQm7UzsFiya1P0dUSNY%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:32:54.145+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9fce80d3-6a74-11e6-814e-ed78a2ae26f6", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:00 GMT", + "x-amzn-requestid": "9fce80d3-6a74-11e6-814e-ed78a2ae26f6", + "content-length": "1505", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_7.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_7.json new file mode 100644 index 000000000..b6a0824a9 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_7.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-47e64943-2164-4733-96e0-588022c9c061?x-amz-security-token=FQoDYXdzEJv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDIwrhOaYJqnbdhsz9SK3A9pKAnVdYSMXgSY9wTStThBM0kdVgxnsA%2Fa%2FpUQRw9AdTWqup4bXDSah3B50GQhAlkQsQ6kJHePxDUSBCAPJHTSk4rZh%2BEZc220ZhoyM2cjaQCwcjzBNQL2gODBtusZSWh5LERWuACdq2Y5eDY%2BNAL%2FHmR1A11dVQW8SnOsH045%2BCMYSxWIwWkV1yHCtsm8tLiUbP%2FEksL6RQh3ys%2FFHrL%2B1bknvcnqDgS9VvvDCtw4KhP9PzzsNERB2E9A%2B4lQwUrSey2URf3jnID83Y9HvSAQ%2B%2BslfvOHvMnKF9%2FWXLdsKN49kedHDPXQ5u4p8jRF6h6urRIQ4XPA%2FPFwtIqrdZ%2BZRYcs7PoVioAgpEI94b%2B8amXzBKoEi6ZKQ%2Ft%2FMzomqJnB0W5NfQEvYdpZeSFl92EvWgTFago9tyXY37OmDlFEK4DxYwewRNPaJPIx36YldP9AGAbL7ROXzjCYCpU7Wir2Jr9So5KlFbq2dkqVOY4VIbs%2FnyjCgD4eZiAv2ZR%2BgmGLZx7xIzH64Bc50RY10C5tPojUsKcJmo9taEvvg%2Bju0IHUeKnrhyK0VPRxR9pE%2BOdDwIYZW7e0ouaj5vQU%3D&AWSAccessKeyId=ASIAIWUBNU3UFJU4CKXA&Expires=1472096584&Signature=e7pnnExZVTLOVVJDmodurT2CSFw%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:32:54.145+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a198b90e-6a74-11e6-a16f-7fad14073a60", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:03 GMT", + "x-amzn-requestid": "a198b90e-6a74-11e6-a16f-7fad14073a60", + "content-length": "1511", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_8.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_8.json new file mode 100644 index 000000000..45ff71f65 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetFunction_8.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/zappa-ttt888-47e64943-2164-4733-96e0-588022c9c061?x-amz-security-token=FQoDYXdzEJz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDKCZVm2BJCHyVU93niK3A5fs49d4SgGBiKqnQ%2FSfvoVDuW6Pkje%2FwERLhwutiI7iZiPz9uhgetuzgHL1%2BAoayxI%2BHHEagHeFgVtCvnmSOZfK%2F2PfpTXhcRGpg4sIq6Mb%2BLL38rMXCGOb%2Brp3Mvtd5VrlyAobIuQT6BdX0AETVJYD8vanX0UOD1OXic%2BtZJViJoDlt7raSStU05msNz9e%2BMi%2B7PcONRNckyoFglk%2BXRFq4yENMtE2TXlJGVXt%2FuHUdhWdnu5kILm25wlCahZ%2BTHKQHlPCePTk3tJ1LFwWImlzB%2BfTsKf%2F1intGJmAtYama9OyyKBk2eJhk8HJLF9vvQ2jM2BelA2piZfCYc3ttWQko60J38Xy2AFa7P%2BEF6W78fBu6P74vJDWCWurSrPw9HtJ7UVAIxt0TTd%2BIIGS1UZWZUNMhnPgVi8s0BLi%2Bn5bQk1SDIIW2aDKFhuWVKqXsenUj9uU1ZhBxzccaIExi6UVj9xTivleyV%2B1NMv7QEWsRaGgqoh7HI2NBDgJ4g1Nhu9BJAW8WqSz5wYJwaEd8QCfiVnxiUejgXKS3T%2FdpMqQpCwqAZjWGlk%2FFD84zUan2TOC8w0sNPAo8rP5vQU%3D&AWSAccessKeyId=ASIAIZLVHN722DS2BVHQ&Expires=1472096586&Signature=y03JR9%2FNzNosGIoLOC6dyAjPni0%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:32:54.145+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a33fd9e2-6a74-11e6-b711-ffca1def474c", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:33:05 GMT", + "x-amzn-requestid": "a33fd9e2-6a74-11e6-b711-ffca1def474c", + "content-length": "1511", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.GetPolicy_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.GetPolicy_1.json new file mode 100644 index 000000000..51ac06d14 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.GetPolicy_1.json @@ -0,0 +1,22 @@ +{ + "status_code": 404, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 404, + "RequestId": "43c3f6fc-7105-11e6-b082-7b8efc14ebe8", + "HTTPHeaders": { + "x-amzn-requestid": "43c3f6fc-7105-11e6-b082-7b8efc14ebe8", + "content-length": "107", + "connection": "keep-alive", + "date": "Fri, 02 Sep 2016 12:03:30 GMT", + "content-type": "application/json", + "x-amzn-errortype": "ResourceNotFoundException" + } + }, + "Error": { + "Message": "Policy not found: arn:aws:lambda:us-east-1:032345039960:function:zappa-ttt888", + "Code": "ResourceNotFoundException" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_1.json index aff6870f0..962224766 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_1.json @@ -6,48 +6,6 @@ "RequestId": "b0bc99a5-28f4-11e6-973f-fd5204f1d818" }, "Versions": [ - { - "Version": "$LATEST", - "CodeSha256": "O+UgQQT1ppytR9/n9r3ULukBw473iimxxyoQUUzNiuQ=", - "FunctionName": "zappa-ttt666", - "MemorySize": 512, - "CodeSize": 53489678, - "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666:$LATEST", - "Handler": "handler.lambda_handler", - "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "Timeout": 30, - "LastModified": "2016-06-02T19:03:19.892+0000", - "Runtime": "python2.7", - "Description": "Zappa Deployment" - }, - { - "Version": "1", - "CodeSha256": "cWF57Szks5dHvRXo5yI6Ob0OPhD8TFF8IsmuTeM3vko=", - "FunctionName": "zappa-ttt666", - "MemorySize": 512, - "CodeSize": 53011393, - "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666:1", - "Handler": "handler.lambda_handler", - "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "Timeout": 30, - "LastModified": "2016-06-02T19:00:43.958+0000", - "Runtime": "python2.7", - "Description": "Zappa Deployment" - }, - { - "Version": "2", - "CodeSha256": "O+UgQQT1ppytR9/n9r3ULukBw473iimxxyoQUUzNiuQ=", - "FunctionName": "zappa-ttt666", - "MemorySize": 512, - "CodeSize": 53489678, - "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt666:2", - "Handler": "handler.lambda_handler", - "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", - "Timeout": 30, - "LastModified": "2016-06-02T19:03:19.892+0000", - "Runtime": "python2.7", - "Description": "Zappa Deployment" - } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_2.json index c55cc62f9..f939d9acc 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_2.json @@ -50,4 +50,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_3.json b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_3.json new file mode 100644 index 000000000..871d08e65 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_3.json @@ -0,0 +1,21 @@ +{ + "status_code": 404, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 404, + "RequestId": "0e2c6581-6a74-11e6-a715-5f05be30fa57", + "HTTPHeaders": { + "x-amzn-requestid": "0e2c6581-6a74-11e6-a715-5f05be30fa57", + "content-length": "107", + "connection": "keep-alive", + "date": "Thu, 25 Aug 2016 03:28:56 GMT", + "content-type": "application/json", + "x-amzn-errortype": "ResourceNotFoundException" + } + }, + "Error": { + "Message": "Function not found: arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Code": "ResourceNotFoundException" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_4.json b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_4.json new file mode 100644 index 000000000..f0241afd6 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.ListVersionsByFunction_4.json @@ -0,0 +1,60 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "68a9d580-6a74-11e6-8630-ef2f366ba5b9", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:27 GMT", + "x-amzn-requestid": "68a9d580-6a74-11e6-8630-ef2f366ba5b9", + "content-length": "1559", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "Versions": [ + { + "Version": "$LATEST", + "CodeSha256": "EfObQbLlLpQdP82QkHDKIMpEXIZjPWs2ArMptozG7K0=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34293478, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:$LATEST", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:31:23.343+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + { + "Version": "4", + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34119501, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:4", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:29:40.612+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + { + "Version": "5", + "CodeSha256": "EfObQbLlLpQdP82QkHDKIMpEXIZjPWs2ArMptozG7K0=", + "FunctionName": "zappa-ttt888", + "MemorySize": 512, + "CodeSize": 34293478, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:5", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:31:18.572+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_1.json index 9b96d23b1..96d0ea13d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_1.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_2.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_2.json index 140761507..670a2f769 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_2.json @@ -10,4 +10,4 @@ "Code": "RequestEntityTooLargeException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_3.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_3.json index f96363344..5db6a7aba 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_3.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_4.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_4.json index 801198156..680586a52 100644 --- a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_4.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_5.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_5.json new file mode 100644 index 000000000..3b1c8b265 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_5.json @@ -0,0 +1,28 @@ +{ + "status_code": 200, + "data": { + "CodeSha256": "EfObQbLlLpQdP82QkHDKIMpEXIZjPWs2ArMptozG7K0=", + "FunctionName": "zappa-ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "620dc9a2-6a74-11e6-9e11-0bd5ffc6198c", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:21 GMT", + "x-amzn-requestid": "620dc9a2-6a74-11e6-9e11-0bd5ffc6198c", + "content-length": "504", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "CodeSize": 34293478, + "MemorySize": 512, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:5", + "Version": "5", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:31:18.572+0000", + "Handler": "handler.lambda_handler", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_6.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_6.json new file mode 100644 index 000000000..03dc38c3e --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionCode_6.json @@ -0,0 +1,28 @@ +{ + "status_code": 200, + "data": { + "CodeSha256": "WNV6eF5pp/4LV7Q3pyMcpDxzqS8LUJ4jPGB/xBNCk+I=", + "FunctionName": "zappa-ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "78fa29eb-6a74-11e6-aab9-f34ee8cdd438", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:32:57 GMT", + "x-amzn-requestid": "78fa29eb-6a74-11e6-aab9-f34ee8cdd438", + "content-length": "504", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "CodeSize": 34119501, + "MemorySize": 512, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888:6", + "Version": "6", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:32:54.145+0000", + "Handler": "handler.lambda_handler", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionConfiguration_1.json b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionConfiguration_1.json new file mode 100644 index 000000000..8e1b4b3db --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/lambda.UpdateFunctionConfiguration_1.json @@ -0,0 +1,28 @@ +{ + "status_code": 200, + "data": { + "CodeSha256": "EfObQbLlLpQdP82QkHDKIMpEXIZjPWs2ArMptozG7K0=", + "FunctionName": "zappa-ttt888", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "65858b4f-6a74-11e6-a4c1-a9af34892afa", + "HTTPHeaders": { + "date": "Thu, 25 Aug 2016 03:31:22 GMT", + "x-amzn-requestid": "65858b4f-6a74-11e6-a4c1-a9af34892afa", + "content-length": "508", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "CodeSize": 34293478, + "MemorySize": 512, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:zappa-ttt888", + "Version": "$LATEST", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-25T03:31:23.343+0000", + "Handler": "handler.lambda_handler", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_1.json b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_1.json new file mode 100644 index 000000000..007142683 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_1.json @@ -0,0 +1,9 @@ +{ + "status_code": 202, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 202, + "RequestId": "aasdf-asdfasdf-asdfasdf-asdf" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_2.json b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_2.json new file mode 100644 index 000000000..9a2c5add1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_2.json @@ -0,0 +1,20 @@ +{ + "status_code": 400, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 400, + "RequestId": "a24d6324-6a74-11e6-a70f-c33a89881a7c", + "HTTPHeaders": { + "x-amzn-requestid": "a24d6324-6a74-11e6-a70f-c33a89881a7c", + "date": "Thu, 25 Aug 2016 03:33:04 GMT", + "content-length": "90", + "content-type": "application/x-amz-json-1.1", + "nncoection": "close" + } + }, + "Error": { + "Message": "The specified log group does not exist.", + "Code": "ResourceNotFoundException" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_3.json b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_3.json new file mode 100644 index 000000000..a089a601a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DeleteLogGroup_3.json @@ -0,0 +1,15 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "a38483ff-6a74-11e6-9e89-1f53bd0bcaf8", + "HTTPHeaders": { + "x-amzn-requestid": "a38483ff-6a74-11e6-9e89-1f53bd0bcaf8", + "date": "Thu, 25 Aug 2016 03:33:06 GMT", + "content-length": "0", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_1.json b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_1.json index 112412b00..e7baf34f9 100644 --- a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_1.json @@ -28,4 +28,4 @@ "RequestId": "ae195e73-28f7-11e6-9607-0576b04ab9e4" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_2.json b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_2.json index 4e06a5b93..75bc2083d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_2.json @@ -28,4 +28,4 @@ "RequestId": "ae99d8a5-28f7-11e6-96a6-8fce84da63ed" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_3.json b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_3.json new file mode 100644 index 000000000..52b82e523 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_3.json @@ -0,0 +1,57 @@ +{ + "status_code": 200, + "data": { + "logStreams": [ + { + "firstEventTimestamp": 1472095939120, + "lastEventTimestamp": 1472095939120, + "creationTime": 1472095937253, + "uploadSequenceToken": "49564431587761396782395039936735939781482269179597839650", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f", + "lastIngestionTime": 1472095954272, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f", + "storedBytes": 0 + }, + { + "firstEventTimestamp": 1472095819556, + "lastEventTimestamp": 1472095876909, + "creationTime": 1472095817710, + "uploadSequenceToken": "49561406310035646461334886483372352431653111873568533778", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff", + "lastIngestionTime": 1472095891991, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff", + "storedBytes": 0 + }, + { + "firstEventTimestamp": 1464895458307, + "lastEventTimestamp": 1464895458308, + "creationTime": 1464895458318, + "uploadSequenceToken": "49547819337008687716864754247034213471967449977953728562", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab", + "lastIngestionTime": 1464895473352, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab", + "storedBytes": 246 + }, + { + "firstEventTimestamp": 1464895458119, + "lastEventTimestamp": 1464895458156, + "creationTime": 1464895457790, + "uploadSequenceToken": "49557759006499770114619173424197784266225544958614456930", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4", + "lastIngestionTime": 1464895473222, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4", + "storedBytes": 447 + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9e48f2af-6a74-11e6-b9c8-4beb0a79aaee", + "HTTPHeaders": { + "x-amzn-requestid": "9e48f2af-6a74-11e6-b9c8-4beb0a79aaee", + "date": "Thu, 25 Aug 2016 03:32:57 GMT", + "content-length": "1808", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_4.json b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_4.json new file mode 100644 index 000000000..e155ed65a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.DescribeLogStreams_4.json @@ -0,0 +1,57 @@ +{ + "status_code": 200, + "data": { + "logStreams": [ + { + "firstEventTimestamp": 1472095939120, + "lastEventTimestamp": 1472095939120, + "creationTime": 1472095937253, + "uploadSequenceToken": "49564431587761396782395039936735939781482269179597839650", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f", + "lastIngestionTime": 1472095954272, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f", + "storedBytes": 0 + }, + { + "firstEventTimestamp": 1472095819556, + "lastEventTimestamp": 1472095876909, + "creationTime": 1472095817710, + "uploadSequenceToken": "49561406310035646461334886483372352431653111873568533778", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff", + "lastIngestionTime": 1472095891991, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff", + "storedBytes": 0 + }, + { + "firstEventTimestamp": 1464895458307, + "lastEventTimestamp": 1464895458308, + "creationTime": 1464895458318, + "uploadSequenceToken": "49547819337008687716864754247034213471967449977953728562", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab", + "lastIngestionTime": 1464895473352, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab", + "storedBytes": 246 + }, + { + "firstEventTimestamp": 1464895458119, + "lastEventTimestamp": 1464895458156, + "creationTime": 1464895457790, + "uploadSequenceToken": "49557759006499770114619173424197784266225544958614456930", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4", + "lastIngestionTime": 1464895473222, + "arn": "arn:aws:logs:us-east-1:724336686645:log-group:/aws/lambda/zappa-ttt888:log-stream:2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4", + "storedBytes": 447 + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9f38a9c8-6a74-11e6-b4b1-bdca786ad91f", + "HTTPHeaders": { + "x-amzn-requestid": "9f38a9c8-6a74-11e6-b4b1-bdca786ad91f", + "date": "Thu, 25 Aug 2016 03:33:00 GMT", + "content-length": "1808", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_1.json b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_1.json index 47071fc72..cc266b96e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_1.json @@ -67,4 +67,4 @@ "RequestId": "ae3571d6-28f7-11e6-a82e-edf0fadbb1e7" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_2.json b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_2.json index 6bda5f1ee..bcbb50f2f 100644 --- a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_2.json @@ -67,4 +67,4 @@ "RequestId": "aeb158e9-28f7-11e6-93eb-53411ab5fae6" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_3.json b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_3.json new file mode 100644 index 000000000..89a9d095c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_3.json @@ -0,0 +1,259 @@ +{ + "status_code": 200, + "data": { + "searchedLogStreams": [ + { + "searchedCompletely": true, + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + } + ], + "events": [ + { + "ingestionTime": 1464895458153, + "timestamp": 1464895458119, + "message": "START RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb Version: $LATEST\n", + "eventId": "32668260353996606794341458938610688159080211542579544064", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "[INFO]\t2016-06-02T19:24:18.156Z\t9940e9d3-28f7-11e6-806c-8d2d134ad5bb\t96.90.37.59 - - [02/Jun/2016:19:24:18 +0000] \"GET / HTTP/1.1\" 200 30 \"\" \"python-requests/2.10.0\" 0/36.71\n", + "eventId": "32668260354821734366687092013064740005169577899195826176", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "END RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb\n", + "eventId": "32668260354821734366687092013064740005169577899195826177", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "REPORT RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb\tDuration: 37.62 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 18 MB\t\n", + "eventId": "32668260354821734366687092013064740005169577899195826178", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458307, + "message": "START RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a Version: $LATEST\n", + "eventId": "32668260358189146891665216107594067979796140253731815424", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458308, + "message": "END RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a\n", + "eventId": "32668260358211447636863746730735603698068788615237795841", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458308, + "message": "REPORT RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a\tDuration: 0.79 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 17 MB\t\n", + "eventId": "32668260358211447636863746730735603698068788615237795842", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1472095819575, + "timestamp": 1472095819556, + "message": "START RequestId: 3e40e698-6a74-11e6-b010-0796037628bd Version: $LATEST\n", + "eventId": "32828833779740469602282057220252583220417675906808610816", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:29:50Z', u'id': u'd9ec5db0-e7f5-408c-981d-0960207128d7', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828833779762770347480587861595779102676387676361785344", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "END RequestId: 3e40e698-6a74-11e6-b010-0796037628bd\n", + "eventId": "32828833779762770347480587861595779102676387676361785345", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "REPORT RequestId: 3e40e698-6a74-11e6-b010-0796037628bd\tDuration: 0.94 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828833779762770347480587861595779102676387676361785346", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831701, + "message": "START RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b Version: $LATEST\n", + "eventId": "32828834050583020038436475292405541805718089804987957251", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831703, + "message": "Zappa Event: {u'body': u'e30=', u'headers': {u'Via': u'1.1 b04a4cffa8fb4f524ff7edcab1b5ae31.cloudfront.net (CloudFront)', u'Accept-Encoding': u'gzip, deflate', u'CloudFront-Is-SmartTV-Viewer': u'false', u'CloudFront-Forwarded-Proto': u'https', u'X-Forwarded-For': u'24.23.178.45, 54.239.203.109', u'CloudFront-Viewer-Country': u'US', u'Accept': u'*/*', u'User-Agent': u'python-requests/2.10.0', u'Host': u'jkib1pg4l1.execute-api.us-east-1.amazonaws.com', u'X-Forwarded-Proto': u'https', u'X-Amz-Cf-Id': u'FheO8UOp1Mo2tBR9kxg5I8ChIcrsW2I5Ob5u3dEIeH3pg6jqbS7a-Q==', u'CloudFront-Is-Tablet-Viewer': u'false', u'X-Forwarded-Port': u'443', u'CloudFront-Is-Mobile-Viewer': u'false', u'CloudFront-Is-Desktop-Viewer': u'true'}, u'params': {}, u'method': u'GET', u'query': {}}\n", + "eventId": "32828834050627621528833536538688613242263386527999918084", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831704, + "message": "[DEBUG]\t2016-08-25T03:30:31.704Z\t463d939d-6a74-11e6-9e46-4372c0a7957b\tZappa Event: {u'body': u'e30=', u'headers': {u'Via': u'1.1 b04a4cffa8fb4f524ff7edcab1b5ae31.cloudfront.net (CloudFront)', u'Accept-Encoding': u'gzip, deflate', u'CloudFront-Is-SmartTV-Viewer': u'false', u'CloudFront-Forwarded-Proto': u'https', u'X-Forwarded-For': u'24.23.178.45, 54.239.203.109', u'CloudFront-Viewer-Country': u'US', u'Accept': u'*/*', u'User-Agent': u'python-requests/2.10.0', u'Host': u'jkib1pg4l1.execute-api.us-east-1.amazonaws.com', u'X-Forwarded-Proto': u'https', u'X-Amz-Cf-Id': u'FheO8UOp1Mo2tBR9kxg5I8ChIcrsW2I5Ob5u3dEIeH3pg6jqbS7a-Q==', u'CloudFront-Is-Tablet-Viewer': u'false', u'X-Forwarded-Port': u'443', u'CloudFront-Is-Mobile-Viewer': u'false', u'CloudFront-Is-Desktop-Viewer': u'true'}, u'params': {}, u'method': u'GET', u'query': {}}\n", + "eventId": "32828834050649922274032067161830148960536034889505898501", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "[INFO]\t2016-08-25T03:30:31.705Z\t463d939d-6a74-11e6-9e46-4372c0a7957b\t24.23.178.45 - - [25/Aug/2016:03:30:31 +0000] \"GET / HTTP/1.1\" 200 30 \"\" \"python-requests/2.10.0\" 0/1.132\n", + "eventId": "32828834050672223019230597784971684678808683251011878918", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "END RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b\n", + "eventId": "32828834050672223019230597784971684678808683251011878919", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "REPORT RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b\tDuration: 2.02 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828834050672223019230597784971684678808683251011878920", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095837489, + "timestamp": 1472095837474, + "message": "START RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560 Version: $LATEST\n", + "eventId": "32828834179325222069553762691946502590087704378856177664", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837478, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:29:50Z', u'id': u'c6c1bea9-5846-4008-9947-57c1c5fb03d5', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback']}\n", + "eventId": "32828834179414425050347885202716289686015888095690031104", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837478, + "message": "Zappa Event: {}\n", + "eventId": "32828834179414425050347885202716289686015888095690031105", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "[DEBUG]\t2016-08-25T03:30:37.478Z\t4a180eae-6a74-11e6-a770-3dfd80db1560\tZappa Event: {}\n", + "eventId": "32828834179436725795546415825857825404288536457196011522", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "END RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560\n", + "eventId": "32828834179436725795546415825857825404288536457196011523", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "REPORT RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560\tDuration: 0.73 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828834179436725795546415825857825404288536457196011524", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095876933, + "timestamp": 1472095876906, + "message": "START RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9 Version: $LATEST\n", + "eventId": "32828835058688206738013294456667706850429642808481021952", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:30:50Z', u'id': u'8cc9414a-09ad-4e98-94c0-61cf8d913a54', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828835058755108973608886344296130140153400867786457088", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "[DEBUG]\t2016-08-25T03:31:16.909Z\t619f5090-6a74-11e6-bea3-9380ecc2bed9\tZappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:30:50Z', u'id': u'8cc9414a-09ad-4e98-94c0-61cf8d913a54', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828835058755108973608886344296130140153400867786457089", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "END RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9\n", + "eventId": "32828835058755108973608886344296130140153400867786457090", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "REPORT RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9\tDuration: 0.61 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828835058755108973608886344296130140153400867786457091", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095939205, + "timestamp": 1472095939120, + "message": "START RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517 Version: $LATEST\n", + "eventId": "32828836446106768519397482659453111578474681979771748352", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939120, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:31:50Z', u'id': u'ed6d27eb-a878-4a17-ac83-55dea0af1a04', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828836446106768519397482677667903964769906316644384768", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939121, + "message": "END RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517\n", + "eventId": "32828836446129069264596013300809439683042554678150365185", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939121, + "message": "REPORT RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517\tDuration: 1.00 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828836446129069264596013300809439683042554678150365186", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9e5e4e9d-6a74-11e6-8722-a741ba7570d8", + "HTTPHeaders": { + "x-amzn-requestid": "9e5e4e9d-6a74-11e6-8722-a741ba7570d8", + "date": "Thu, 25 Aug 2016 03:32:59 GMT", + "content-length": "13280", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_4.json b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_4.json new file mode 100644 index 000000000..7e6275b06 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/logs.FilterLogEvents_4.json @@ -0,0 +1,259 @@ +{ + "status_code": 200, + "data": { + "searchedLogStreams": [ + { + "searchedCompletely": true, + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "searchedCompletely": true, + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + } + ], + "events": [ + { + "ingestionTime": 1464895458153, + "timestamp": 1464895458119, + "message": "START RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb Version: $LATEST\n", + "eventId": "32668260353996606794341458938610688159080211542579544064", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "[INFO]\t2016-06-02T19:24:18.156Z\t9940e9d3-28f7-11e6-806c-8d2d134ad5bb\t96.90.37.59 - - [02/Jun/2016:19:24:18 +0000] \"GET / HTTP/1.1\" 200 30 \"\" \"python-requests/2.10.0\" 0/36.71\n", + "eventId": "32668260354821734366687092013064740005169577899195826176", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "END RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb\n", + "eventId": "32668260354821734366687092013064740005169577899195826177", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473222, + "timestamp": 1464895458156, + "message": "REPORT RequestId: 9940e9d3-28f7-11e6-806c-8d2d134ad5bb\tDuration: 37.62 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 18 MB\t\n", + "eventId": "32668260354821734366687092013064740005169577899195826178", + "logStreamName": "2016/06/02/[$LATEST]a51710ea77034373868eeb2ca461c8f4" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458307, + "message": "START RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a Version: $LATEST\n", + "eventId": "32668260358189146891665216107594067979796140253731815424", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458308, + "message": "END RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a\n", + "eventId": "32668260358211447636863746730735603698068788615237795841", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1464895473352, + "timestamp": 1464895458308, + "message": "REPORT RequestId: 9995728f-28f7-11e6-8401-a1f02f9e795a\tDuration: 0.79 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 17 MB\t\n", + "eventId": "32668260358211447636863746730735603698068788615237795842", + "logStreamName": "2016/06/02/[$LATEST]f03059c510ca4976987d6a56b799e4ab" + }, + { + "ingestionTime": 1472095819575, + "timestamp": 1472095819556, + "message": "START RequestId: 3e40e698-6a74-11e6-b010-0796037628bd Version: $LATEST\n", + "eventId": "32828833779740469602282057220252583220417675906808610816", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:29:50Z', u'id': u'd9ec5db0-e7f5-408c-981d-0960207128d7', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828833779762770347480587861595779102676387676361785344", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "END RequestId: 3e40e698-6a74-11e6-b010-0796037628bd\n", + "eventId": "32828833779762770347480587861595779102676387676361785345", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095819557, + "message": "REPORT RequestId: 3e40e698-6a74-11e6-b010-0796037628bd\tDuration: 0.94 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828833779762770347480587861595779102676387676361785346", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831701, + "message": "START RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b Version: $LATEST\n", + "eventId": "32828834050583020038436475292405541805718089804987957251", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831703, + "message": "Zappa Event: {u'body': u'e30=', u'headers': {u'Via': u'1.1 b04a4cffa8fb4f524ff7edcab1b5ae31.cloudfront.net (CloudFront)', u'Accept-Encoding': u'gzip, deflate', u'CloudFront-Is-SmartTV-Viewer': u'false', u'CloudFront-Forwarded-Proto': u'https', u'X-Forwarded-For': u'24.23.178.45, 54.239.203.109', u'CloudFront-Viewer-Country': u'US', u'Accept': u'*/*', u'User-Agent': u'python-requests/2.10.0', u'Host': u'jkib1pg4l1.execute-api.us-east-1.amazonaws.com', u'X-Forwarded-Proto': u'https', u'X-Amz-Cf-Id': u'FheO8UOp1Mo2tBR9kxg5I8ChIcrsW2I5Ob5u3dEIeH3pg6jqbS7a-Q==', u'CloudFront-Is-Tablet-Viewer': u'false', u'X-Forwarded-Port': u'443', u'CloudFront-Is-Mobile-Viewer': u'false', u'CloudFront-Is-Desktop-Viewer': u'true'}, u'params': {}, u'method': u'GET', u'query': {}}\n", + "eventId": "32828834050627621528833536538688613242263386527999918084", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831704, + "message": "[DEBUG]\t2016-08-25T03:30:31.704Z\t463d939d-6a74-11e6-9e46-4372c0a7957b\tZappa Event: {u'body': u'e30=', u'headers': {u'Via': u'1.1 b04a4cffa8fb4f524ff7edcab1b5ae31.cloudfront.net (CloudFront)', u'Accept-Encoding': u'gzip, deflate', u'CloudFront-Is-SmartTV-Viewer': u'false', u'CloudFront-Forwarded-Proto': u'https', u'X-Forwarded-For': u'24.23.178.45, 54.239.203.109', u'CloudFront-Viewer-Country': u'US', u'Accept': u'*/*', u'User-Agent': u'python-requests/2.10.0', u'Host': u'jkib1pg4l1.execute-api.us-east-1.amazonaws.com', u'X-Forwarded-Proto': u'https', u'X-Amz-Cf-Id': u'FheO8UOp1Mo2tBR9kxg5I8ChIcrsW2I5Ob5u3dEIeH3pg6jqbS7a-Q==', u'CloudFront-Is-Tablet-Viewer': u'false', u'X-Forwarded-Port': u'443', u'CloudFront-Is-Mobile-Viewer': u'false', u'CloudFront-Is-Desktop-Viewer': u'true'}, u'params': {}, u'method': u'GET', u'query': {}}\n", + "eventId": "32828834050649922274032067161830148960536034889505898501", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "[INFO]\t2016-08-25T03:30:31.705Z\t463d939d-6a74-11e6-9e46-4372c0a7957b\t24.23.178.45 - - [25/Aug/2016:03:30:31 +0000] \"GET / HTTP/1.1\" 200 30 \"\" \"python-requests/2.10.0\" 0/1.132\n", + "eventId": "32828834050672223019230597784971684678808683251011878918", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "END RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b\n", + "eventId": "32828834050672223019230597784971684678808683251011878919", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095834631, + "timestamp": 1472095831705, + "message": "REPORT RequestId: 463d939d-6a74-11e6-9e46-4372c0a7957b\tDuration: 2.02 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828834050672223019230597784971684678808683251011878920", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095837489, + "timestamp": 1472095837474, + "message": "START RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560 Version: $LATEST\n", + "eventId": "32828834179325222069553762691946502590087704378856177664", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837478, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:29:50Z', u'id': u'c6c1bea9-5846-4008-9947-57c1c5fb03d5', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-zappa-keep-warm-handler.keep_warm_callback']}\n", + "eventId": "32828834179414425050347885202716289686015888095690031104", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837478, + "message": "Zappa Event: {}\n", + "eventId": "32828834179414425050347885202716289686015888095690031105", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "[DEBUG]\t2016-08-25T03:30:37.478Z\t4a180eae-6a74-11e6-a770-3dfd80db1560\tZappa Event: {}\n", + "eventId": "32828834179436725795546415825857825404288536457196011522", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "END RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560\n", + "eventId": "32828834179436725795546415825857825404288536457196011523", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095852547, + "timestamp": 1472095837479, + "message": "REPORT RequestId: 4a180eae-6a74-11e6-a770-3dfd80db1560\tDuration: 0.73 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828834179436725795546415825857825404288536457196011524", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095876933, + "timestamp": 1472095876906, + "message": "START RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9 Version: $LATEST\n", + "eventId": "32828835058688206738013294456667706850429642808481021952", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:30:50Z', u'id': u'8cc9414a-09ad-4e98-94c0-61cf8d913a54', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828835058755108973608886344296130140153400867786457088", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "[DEBUG]\t2016-08-25T03:31:16.909Z\t619f5090-6a74-11e6-bea3-9380ecc2bed9\tZappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:30:50Z', u'id': u'8cc9414a-09ad-4e98-94c0-61cf8d913a54', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828835058755108973608886344296130140153400867786457089", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "END RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9\n", + "eventId": "32828835058755108973608886344296130140153400867786457090", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095891991, + "timestamp": 1472095876909, + "message": "REPORT RequestId: 619f5090-6a74-11e6-bea3-9380ecc2bed9\tDuration: 0.61 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828835058755108973608886344296130140153400867786457091", + "logStreamName": "2016/08/25/[$LATEST]927fa33f345348748e693430dd9975ff" + }, + { + "ingestionTime": 1472095939205, + "timestamp": 1472095939120, + "message": "START RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517 Version: $LATEST\n", + "eventId": "32828836446106768519397482659453111578474681979771748352", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939120, + "message": "Zappa Event: {u'account': u'724336686645', u'region': u'us-east-1', u'detail': {}, u'detail-type': u'Scheduled Event', u'source': u'aws.events', u'version': u'0', u'time': u'2016-08-25T03:31:50Z', u'id': u'ed6d27eb-a878-4a17-ac83-55dea0af1a04', u'resources': [u'arn:aws:events:us-east-1:724336686645:rule/zappa-ttt888-tests.test_app.schedule_me']}\n", + "eventId": "32828836446106768519397482677667903964769906316644384768", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939121, + "message": "END RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517\n", + "eventId": "32828836446129069264596013300809439683042554678150365185", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + }, + { + "ingestionTime": 1472095954272, + "timestamp": 1472095939121, + "message": "REPORT RequestId: 858894b4-6a74-11e6-9c5d-dfc74bd9e517\tDuration: 1.00 ms\tBilled Duration: 100 ms \tMemory Size: 512 MB\tMax Memory Used: 28 MB\t\n", + "eventId": "32828836446129069264596013300809439683042554678150365186", + "logStreamName": "2016/08/25/[$LATEST]5b770117f3054648a526f9ea34aa950f" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9f4bbca1-6a74-11e6-9da3-c567afd11da4", + "HTTPHeaders": { + "x-amzn-requestid": "9f4bbca1-6a74-11e6-9da3-c567afd11da4", + "date": "Thu, 25 Aug 2016 03:33:00 GMT", + "content-length": "13280", + "content-type": "application/x-amz-json-1.1" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_1.json index 2f7343512..096053d61 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_1.json @@ -11,4 +11,4 @@ }, "Key": "zappa-ttt666-1464893986.zip" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_2.json index 3bfbd055d..b1b7aa901 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_2.json @@ -11,4 +11,4 @@ }, "Key": "zappa-ttt666-1464894143.zip" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_3.json index f65435380..983ff2ab6 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_3.json @@ -11,4 +11,4 @@ }, "Key": "zappa-ttt777-1464894741.zip" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_4.json index 8537f07db..66dac2583 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_4.json @@ -11,4 +11,4 @@ }, "Key": "zappa-ttt888-1464895457.zip" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_5.json new file mode 100644 index 000000000..649c25514 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_5.json @@ -0,0 +1,22 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"4cff7333c284cf98d32e9c234078a260-5\"", + "Bucket": "lmbda", + "Location": "https://lmbda.s3.amazonaws.com/zappa-ttt888-1472095738.zip", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "1rYmoqWiCpm9xab8SHg7A0bHqRmOC2C0uTWEA0kMJlnRjYp5P8sJsABafj/56NcV6NKxkq/qKyA=", + "RequestId": "C174B5610428C046", + "HTTPHeaders": { + "x-amz-id-2": "1rYmoqWiCpm9xab8SHg7A0bHqRmOC2C0uTWEA0kMJlnRjYp5P8sJsABafj/56NcV6NKxkq/qKyA=", + "server": "AmazonS3", + "transfer-encoding": "chunked", + "x-amz-request-id": "C174B5610428C046", + "date": "Thu, 25 Aug 2016 03:29:39 GMT", + "content-type": "application/xml" + } + }, + "Key": "zappa-ttt888-1472095738.zip" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_6.json new file mode 100644 index 000000000..55095ef20 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CompleteMultipartUpload_6.json @@ -0,0 +1,22 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"d3baeac4e66f3403809c1deb5e76ae40-5\"", + "Bucket": "lmbda", + "Location": "https://lmbda.s3.amazonaws.com/zappa-ttt888-1472095835.zip", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "DU1b7lEUxvZ8CZzg6z4YPUr/WI1yLurRUXoVZ2eELwWVsg6ojDzcRBq7a3RkFCW2t/skLr81CIg=", + "RequestId": "3099CD772CC83FD5", + "HTTPHeaders": { + "x-amz-id-2": "DU1b7lEUxvZ8CZzg6z4YPUr/WI1yLurRUXoVZ2eELwWVsg6ojDzcRBq7a3RkFCW2t/skLr81CIg=", + "server": "AmazonS3", + "transfer-encoding": "chunked", + "x-amz-request-id": "3099CD772CC83FD5", + "date": "Thu, 25 Aug 2016 03:31:18 GMT", + "content-type": "application/xml" + } + }, + "Key": "zappa-ttt888-1472095835.zip" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_1.json index 366f3d4f4..004e993a7 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_1.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_10.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_10.json new file mode 100644 index 000000000..085f67ebc --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_10.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "Location": "/lmbda", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "/YSJwqqetw2S1gPvBA/OdTp0m8jqv7ZrN5gPA3OOviJvRgaqknRtLSo5iX9PPNDdfvewQWArLKI=", + "RequestId": "E294822D6B451239", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "/YSJwqqetw2S1gPvBA/OdTp0m8jqv7ZrN5gPA3OOviJvRgaqknRtLSo5iX9PPNDdfvewQWArLKI=", + "server": "AmazonS3", + "x-amz-request-id": "E294822D6B451239", + "location": "/lmbda", + "date": "Thu, 25 Aug 2016 03:30:45 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_2.json index 028367e9c..24e30b581 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_2.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_3.json index 7d00a5320..bd75df422 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_3.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_4.json index 37474207a..093da195f 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_4.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_5.json index d5046270a..b2aab302e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_5.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_6.json index 4c7f662c1..9a799bac8 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_6.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_7.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_7.json index cfff3cbd2..fc29b0963 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_7.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_7.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_8.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_8.json index 1aa2b0a29..1b3d3d9fc 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_8.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_8.json @@ -12,4 +12,4 @@ "LocationConstraint": "us-east-1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_9.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_9.json new file mode 100644 index 000000000..09380f4f2 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateBucket_9.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "Location": "/lmbda", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "ZgZJ98oqBfCvDXQ9uKmsTb+Jg7NKAqdR6bg7BtmmE941CWnUXSF0qdfwOkYoQqhaJSw1M9goVbg=", + "RequestId": "FB82CE06E5269737", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "ZgZJ98oqBfCvDXQ9uKmsTb+Jg7NKAqdR6bg7BtmmE941CWnUXSF0qdfwOkYoQqhaJSw1M9goVbg=", + "server": "AmazonS3", + "x-amz-request-id": "FB82CE06E5269737", + "location": "/lmbda", + "date": "Thu, 25 Aug 2016 03:29:07 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_1.json index d52e9e27f..35a2e9276 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_1.json @@ -10,4 +10,4 @@ "RequestId": "F180A947964EED25" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_2.json index fd98a842c..3d452f23e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_2.json @@ -10,4 +10,4 @@ "RequestId": "729D63EA69A183CD" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_3.json index 702409c8a..79b4b329a 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_3.json @@ -10,4 +10,4 @@ "RequestId": "D0D2A50BA855F11F" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_4.json index 6741bb68f..833590c20 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_4.json @@ -10,4 +10,4 @@ "RequestId": "AEE878A166629949" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_5.json index f3530510e..a658f6703 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_5.json @@ -10,4 +10,4 @@ "RequestId": "57CC7AACBA21B328" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_6.json index 377d7b11d..96a61b251 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_6.json @@ -10,4 +10,4 @@ "RequestId": "165233E17319C4F3" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_7.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_7.json new file mode 100644 index 000000000..6d169ab8c --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_7.json @@ -0,0 +1,20 @@ +{ + "status_code": 200, + "data": { + "Bucket": "lmbda", + "UploadId": "A3T4vXHQEd9dw1uK8y1S2E6qArCsvZaXFXXtbMOVND8uqtMKqqnkqf9e_lrLlcyLIZi7lr_HY5ClRFopCO.4Ig--", + "Key": "zappa-ttt888-1472095738.zip", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "1sYhVpDz0fFArHH3ypjaroVzsgy8BR9R5vPA7s/cc7sEqKrXBwsDidNoirib0x1eLX+myjUh4/8=", + "RequestId": "16D622C42C6154BE", + "HTTPHeaders": { + "x-amz-id-2": "1sYhVpDz0fFArHH3ypjaroVzsgy8BR9R5vPA7s/cc7sEqKrXBwsDidNoirib0x1eLX+myjUh4/8=", + "date": "Thu, 25 Aug 2016 03:29:08 GMT", + "transfer-encoding": "chunked", + "x-amz-request-id": "16D622C42C6154BE", + "server": "AmazonS3" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_8.json b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_8.json new file mode 100644 index 000000000..dd8824058 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.CreateMultipartUpload_8.json @@ -0,0 +1,20 @@ +{ + "status_code": 200, + "data": { + "Bucket": "lmbda", + "UploadId": "Of02Ii9bKP99Q0IeesyEkV7a2bEF7Uv4AuBw_MDipQE7N_5iR0ptMrQXP7FYotBiU0emwfNMem_96euqrXxeIQ--", + "Key": "zappa-ttt888-1472095835.zip", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "4kRjYO9wNrV4HuGRMvaH+Mo6kgNFjQQ9ntg5dN9+9VHrtI53/dYzOIbPO++s6MjNpyEkY6V/mbI=", + "RequestId": "B1AFC8BD862E8A41", + "HTTPHeaders": { + "x-amz-id-2": "4kRjYO9wNrV4HuGRMvaH+Mo6kgNFjQQ9ntg5dN9+9VHrtI53/dYzOIbPO++s6MjNpyEkY6V/mbI=", + "date": "Thu, 25 Aug 2016 03:30:45 GMT", + "transfer-encoding": "chunked", + "x-amz-request-id": "B1AFC8BD862E8A41", + "server": "AmazonS3" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_1.json new file mode 100644 index 000000000..5983d5c85 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_2.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_2.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_3.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_3.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_4.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_4.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_5.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_5.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_6.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObject_6.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_1.json deleted file mode 100644 index 797ae467a..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_1.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status_code": 200, - "data": { - "Deleted": [ - { - "Key": "zappa-ttt666-1464893986.zip" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", - "RequestId": "A112859017E5977B" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_2.json deleted file mode 100644 index 7e759633c..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_2.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status_code": 200, - "data": { - "Deleted": [ - { - "Key": "zappa-ttt666-1464894143.zip" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "HostId": "v+g/JFltU/BZBpNeBUHYP1aAnUaTRZtKJi3/isC+6F7OkzcRDb3VzegOCD5gNhHoCQ9Q8pViE9s=", - "RequestId": "AE99FE6C560E7C08" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_3.json deleted file mode 100644 index cf92da7f1..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_3.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status_code": 200, - "data": { - "Deleted": [ - { - "Key": "zappa-ttt888-1464895417.zip" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "HostId": "bxnA50EBn315JJXQsVJxVNoXoyobCZtmW37YeqqzgZz4CdD0bTu5bDkJUu0xiDCgEi2B+g2xUO0=", - "RequestId": "18784590F325639F" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_4.json deleted file mode 100644 index 9201e4cfb..000000000 --- a/tests/placebo/TestZappa.test_cli_aws/s3.DeleteObjects_4.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status_code": 200, - "data": { - "Deleted": [ - { - "Key": "zappa-ttt888-1464895457.zip" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "HostId": "x0tbpEkQqndDTELjzm0tdhn54c+WUFW1VkBke0Z5kwi2AlrdElnrNkV1Ww+y12BHoHn0VOu2O6o=", - "RequestId": "9450BE2325C2B94C" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_1.json index 2b786dd3f..95f3723d2 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_1.json @@ -7,4 +7,4 @@ "RequestId": "4AF5E5D5B7DD6424" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_2.json index 9f1d5d77e..7dd147dcf 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_2.json @@ -7,4 +7,4 @@ "RequestId": "447BAF343E73D371" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_3.json index 16399e251..c43e699ed 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_3.json @@ -7,4 +7,4 @@ "RequestId": "1781FF8E001574B5" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_4.json index 196eddde7..d09cc0f8b 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_4.json @@ -7,4 +7,4 @@ "RequestId": "484B95A4A0FB9451" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_5.json new file mode 100644 index 000000000..95ff85b9f --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_5.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "eO/GhHTRpS+CUu157mnKhejp/Hu85BlJ3GbrR7TsxT5iU8F4TaaCJvwRtlTrS4S3KSQG5QyXkaA=", + "RequestId": "694DA0BE4C6E334D", + "HTTPHeaders": { + "x-amz-bucket-region": "us-east-1", + "x-amz-id-2": "eO/GhHTRpS+CUu157mnKhejp/Hu85BlJ3GbrR7TsxT5iU8F4TaaCJvwRtlTrS4S3KSQG5QyXkaA=", + "server": "AmazonS3", + "transfer-encoding": "chunked", + "x-amz-request-id": "694DA0BE4C6E334D", + "date": "Thu, 25 Aug 2016 03:30:33 GMT", + "content-type": "application/xml" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_6.json new file mode 100644 index 000000000..0f6bd40dd --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.HeadBucket_6.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "FifYdur0PVNCEXZe/jSHaLp/NpQzXcYKHCGXWO5Lsbi1Fu2zhbfM9/i61//u3PL5AA2zi3XSy1M=", + "RequestId": "B51935E006CEB74A", + "HTTPHeaders": { + "x-amz-bucket-region": "us-east-1", + "x-amz-id-2": "FifYdur0PVNCEXZe/jSHaLp/NpQzXcYKHCGXWO5Lsbi1Fu2zhbfM9/i61//u3PL5AA2zi3XSy1M=", + "server": "AmazonS3", + "transfer-encoding": "chunked", + "x-amz-request-id": "B51935E006CEB74A", + "date": "Thu, 25 Aug 2016 03:31:23 GMT", + "content-type": "application/xml" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_1.json index 95a880ee4..6b2bff0b5 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_1.json @@ -8,4 +8,4 @@ "RequestId": "417985B0ADD8BCB0" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_2.json index 90df501c7..0544a2c55 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.PutObject_2.json @@ -8,4 +8,4 @@ "RequestId": "FBEB40B5C3E49393" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_1.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_1.json index f67ec291e..855a2e9bc 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_1.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_1.json @@ -8,4 +8,4 @@ "RequestId": "734C4C70E100D4C6" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_10.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_10.json index a0bb43e98..d1d9b5a40 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_10.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_10.json @@ -8,4 +8,4 @@ "RequestId": "CF52E43AB50169C9" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_11.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_11.json index c36691c29..fe0da8ee3 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_11.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_11.json @@ -8,4 +8,4 @@ "RequestId": "641375B0D0F17519" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_12.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_12.json index de5d6cc1f..d9be043d8 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_12.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_12.json @@ -8,4 +8,4 @@ "RequestId": "4F83278171F2D0D1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_13.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_13.json index 64c1a9034..f18fd7d90 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_13.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_13.json @@ -8,4 +8,4 @@ "RequestId": "E1033839A2210EA6" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_14.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_14.json index d040b1803..f0eaa8dd3 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_14.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_14.json @@ -8,4 +8,4 @@ "RequestId": "52C56A59B2CD9DB6" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_15.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_15.json index f1bfb627e..35e52a7f7 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_15.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_15.json @@ -8,4 +8,4 @@ "RequestId": "04AA1E715E8C160A" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_16.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_16.json index aebcae14c..5fdbee774 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_16.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_16.json @@ -8,4 +8,4 @@ "RequestId": "5282C18C7DB82F25" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_17.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_17.json index ecf9e13c4..9eddf6398 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_17.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_17.json @@ -8,4 +8,4 @@ "RequestId": "75D22D39A79EDFD2" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_18.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_18.json index 983dd8856..562578b68 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_18.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_18.json @@ -8,4 +8,4 @@ "RequestId": "D8B0D08C2444330C" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_19.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_19.json index 76241052c..0b5c0746f 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_19.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_19.json @@ -8,4 +8,4 @@ "RequestId": "ADF2101C71860122" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_2.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_2.json index f0fe0dc57..3f4db1436 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_2.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_2.json @@ -8,4 +8,4 @@ "RequestId": "68BBEA9F860B426F" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_20.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_20.json index 63ed8b1e1..0bc7effba 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_20.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_20.json @@ -8,4 +8,4 @@ "RequestId": "99BCAEADB87D8130" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_21.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_21.json index abfd3b10f..649c23ff0 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_21.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_21.json @@ -8,4 +8,4 @@ "RequestId": "270D6D409C05B385" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_22.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_22.json index a53000c30..2be8d7752 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_22.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_22.json @@ -8,4 +8,4 @@ "RequestId": "D2BD17C8F86EAE73" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_23.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_23.json index fb348cf70..ce450b9ac 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_23.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_23.json @@ -8,4 +8,4 @@ "RequestId": "B814B11452F79FD1" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_24.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_24.json index 58cbda30d..5da7f1dc4 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_24.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_24.json @@ -8,4 +8,4 @@ "RequestId": "B1AA2E6D00EC0E38" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_25.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_25.json index 7a98713c1..0f4515bd5 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_25.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_25.json @@ -8,4 +8,4 @@ "RequestId": "4D9DE8D7ECC279E8" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_26.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_26.json index c93dbfb8f..366161cb1 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_26.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_26.json @@ -8,4 +8,4 @@ "RequestId": "2F1D8B14B8F46195" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_27.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_27.json index df7b255bf..f11d4179d 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_27.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_27.json @@ -8,4 +8,4 @@ "RequestId": "CC86CC3DF4DDC42C" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_28.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_28.json index 26a880a9d..ce3c70d0c 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_28.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_28.json @@ -8,4 +8,4 @@ "RequestId": "BFC2014C8B57F200" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_29.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_29.json index 93a17e3d3..b86f2911e 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_29.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_29.json @@ -8,4 +8,4 @@ "RequestId": "43403A445017CE93" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_3.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_3.json index 0f9c2eef7..2c3055aef 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_3.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_3.json @@ -8,4 +8,4 @@ "RequestId": "335FC6FE0BA8B8BC" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_30.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_30.json index d400f2d28..163219bf2 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_30.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_30.json @@ -8,4 +8,4 @@ "RequestId": "F2A4FC0F994C8BC5" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_31.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_31.json index d8c913016..884c8f170 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_31.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_31.json @@ -8,4 +8,4 @@ "RequestId": "34DBF90CACF01699" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_32.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_32.json index 0fbe9c41f..a421aa89a 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_32.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_32.json @@ -8,4 +8,4 @@ "RequestId": "63236EF2E576FD0C" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_33.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_33.json index 625d62f91..345a14421 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_33.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_33.json @@ -8,4 +8,4 @@ "RequestId": "94BA9014F8216639" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_34.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_34.json index dbd48206a..e8521d54f 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_34.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_34.json @@ -8,4 +8,4 @@ "RequestId": "C92A13FFBF7FB473" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_35.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_35.json index 1e1ed143d..3f394f111 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_35.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_35.json @@ -8,4 +8,4 @@ "RequestId": "1207CAC55752D828" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_36.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_36.json index 4636cbe9f..2ec221c64 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_36.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_36.json @@ -8,4 +8,4 @@ "RequestId": "4D2C812CD712564C" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_37.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_37.json index edc635a7c..358396f54 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_37.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_37.json @@ -8,4 +8,4 @@ "RequestId": "F36DA6AD7E7C2E31" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_38.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_38.json index 09c5a590a..aa63b9041 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_38.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_38.json @@ -8,4 +8,4 @@ "RequestId": "CB63DB4A78312EE4" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_39.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_39.json new file mode 100644 index 000000000..d29c6a402 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_39.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"6f31fde6eac0db6d8cf9d36574edae76\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "JhFm5wKTQ05uYlEqMbPZbQOrijXV/Lw1cfIVYgnxtj/xBwLUtpKVStNPOFPX9J0P6G4OQYpAHxg=", + "RequestId": "A1DE373066AA8630", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "JhFm5wKTQ05uYlEqMbPZbQOrijXV/Lw1cfIVYgnxtj/xBwLUtpKVStNPOFPX9J0P6G4OQYpAHxg=", + "server": "AmazonS3", + "x-amz-request-id": "A1DE373066AA8630", + "etag": "\"6f31fde6eac0db6d8cf9d36574edae76\"", + "date": "Thu, 25 Aug 2016 03:29:08 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_4.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_4.json index f6c8b70f1..306597353 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_4.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_4.json @@ -8,4 +8,4 @@ "RequestId": "CF34CDE701525DCB" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_40.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_40.json new file mode 100644 index 000000000..74ea54655 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_40.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"ffe251ee24979b203f03ffbde9870812\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "/1x8BkaDAVO9kyQYF2csb5izdE8vZ4CYtjWUvhgorSXhYWup7wz6wLAnvt91SinG3mabyt//xd0=", + "RequestId": "9A093022B713DCF4", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "/1x8BkaDAVO9kyQYF2csb5izdE8vZ4CYtjWUvhgorSXhYWup7wz6wLAnvt91SinG3mabyt//xd0=", + "server": "AmazonS3", + "x-amz-request-id": "9A093022B713DCF4", + "etag": "\"ffe251ee24979b203f03ffbde9870812\"", + "date": "Thu, 25 Aug 2016 03:29:08 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_41.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_41.json new file mode 100644 index 000000000..105898bc0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_41.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"51646df403d058f25946f72d2b5ec2fc\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "S5zQSd3mBgjIPZ/N8g9DctwPBcvnmZwSM/dR5RQX4Fp+wPvcaiiDSXg2kf1UP7lNPTCOZlgDZqs=", + "RequestId": "E09E422C330CF95B", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "S5zQSd3mBgjIPZ/N8g9DctwPBcvnmZwSM/dR5RQX4Fp+wPvcaiiDSXg2kf1UP7lNPTCOZlgDZqs=", + "server": "AmazonS3", + "x-amz-request-id": "E09E422C330CF95B", + "etag": "\"51646df403d058f25946f72d2b5ec2fc\"", + "date": "Thu, 25 Aug 2016 03:29:08 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_42.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_42.json new file mode 100644 index 000000000..d725a02e2 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_42.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"196f426a3d95fb259671abb5b64cb821\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "8+9xyM/9b9Ftlpy1P0vGFWPB7qBrduUP9p1OK/g4/UWJJhy8DTg/2be1rln2QJet7kXh30fsAMk=", + "RequestId": "4BFD6B36A802B621", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "8+9xyM/9b9Ftlpy1P0vGFWPB7qBrduUP9p1OK/g4/UWJJhy8DTg/2be1rln2QJet7kXh30fsAMk=", + "server": "AmazonS3", + "x-amz-request-id": "4BFD6B36A802B621", + "etag": "\"196f426a3d95fb259671abb5b64cb821\"", + "date": "Thu, 25 Aug 2016 03:29:08 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_43.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_43.json new file mode 100644 index 000000000..5b1602121 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_43.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"3b1e1b10238bee30f78f99e0f3500afa\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "mochGukzAh7oWfp6GeZyM44RCpwnwg/T4IFKhygtjg1bJu+hExf5OpgBzDupO7nk7gfLbgvTAhM=", + "RequestId": "5804B5614A7F329F", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "mochGukzAh7oWfp6GeZyM44RCpwnwg/T4IFKhygtjg1bJu+hExf5OpgBzDupO7nk7gfLbgvTAhM=", + "server": "AmazonS3", + "x-amz-request-id": "5804B5614A7F329F", + "etag": "\"3b1e1b10238bee30f78f99e0f3500afa\"", + "date": "Thu, 25 Aug 2016 03:29:08 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_44.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_44.json new file mode 100644 index 000000000..369069b4b --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_44.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"431d4b26b394c1be968be51a1434bb3a\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "ss6Ao8qiMh1h32aJKQcTdgMEkTaZOhd26OU+0QiTsa63rqTRW/dXcduu+x0t4zYYNHL0c1nfVP4=", + "RequestId": "303545496641952D", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "ss6Ao8qiMh1h32aJKQcTdgMEkTaZOhd26OU+0QiTsa63rqTRW/dXcduu+x0t4zYYNHL0c1nfVP4=", + "server": "AmazonS3", + "x-amz-request-id": "303545496641952D", + "etag": "\"431d4b26b394c1be968be51a1434bb3a\"", + "date": "Thu, 25 Aug 2016 03:30:45 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_45.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_45.json new file mode 100644 index 000000000..b58e4fdaf --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_45.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"3fba89af0a653de117462fa256ebb7fb\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "+d02fd3+fBnCAPioAzVQuaKhZP6X3zFcTPKIBWq8m9dHuFBo4GzCqsUm3ARb/Wb6rvzJaIMPJ2I=", + "RequestId": "7E801289795EE342", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "+d02fd3+fBnCAPioAzVQuaKhZP6X3zFcTPKIBWq8m9dHuFBo4GzCqsUm3ARb/Wb6rvzJaIMPJ2I=", + "server": "AmazonS3", + "x-amz-request-id": "7E801289795EE342", + "etag": "\"3fba89af0a653de117462fa256ebb7fb\"", + "date": "Thu, 25 Aug 2016 03:30:46 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_46.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_46.json new file mode 100644 index 000000000..0b4a7f6ed --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_46.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"196f426a3d95fb259671abb5b64cb821\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "ZVv/P4S1Dtl9W/KvfxXQ6l4QetzFCvUT2UQV8sFyqnu1/wvXelZ4NnCOK+uy8jYpNRkM22Pz2OM=", + "RequestId": "798BFF2B7F0394B1", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "ZVv/P4S1Dtl9W/KvfxXQ6l4QetzFCvUT2UQV8sFyqnu1/wvXelZ4NnCOK+uy8jYpNRkM22Pz2OM=", + "server": "AmazonS3", + "x-amz-request-id": "798BFF2B7F0394B1", + "etag": "\"196f426a3d95fb259671abb5b64cb821\"", + "date": "Thu, 25 Aug 2016 03:30:46 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_47.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_47.json new file mode 100644 index 000000000..ceeead299 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_47.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"ffe251ee24979b203f03ffbde9870812\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "lKHv5xxVg0fJ58luBBEMcKoqfMBGtrzMIPaS1ckFGk8/BLtPs0LNnyN3ebicsoMAxK776Ik0N4w=", + "RequestId": "CEE49B7A2E8F437A", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "lKHv5xxVg0fJ58luBBEMcKoqfMBGtrzMIPaS1ckFGk8/BLtPs0LNnyN3ebicsoMAxK776Ik0N4w=", + "server": "AmazonS3", + "x-amz-request-id": "CEE49B7A2E8F437A", + "etag": "\"ffe251ee24979b203f03ffbde9870812\"", + "date": "Thu, 25 Aug 2016 03:30:46 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_48.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_48.json new file mode 100644 index 000000000..e6e3191b7 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_48.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "ETag": "\"79a5d6bfe5444b4c326fc27db439dfa0\"", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "WQs9g8sXtaq+b5cwdH/MB0tsCjlAMJHKZeY2YVrzO2xeDuS8tXLfUhthMw6cPR3M1euVi3+vwpE=", + "RequestId": "446260E896C426FF", + "HTTPHeaders": { + "content-length": "0", + "x-amz-id-2": "WQs9g8sXtaq+b5cwdH/MB0tsCjlAMJHKZeY2YVrzO2xeDuS8tXLfUhthMw6cPR3M1euVi3+vwpE=", + "server": "AmazonS3", + "x-amz-request-id": "446260E896C426FF", + "etag": "\"79a5d6bfe5444b4c326fc27db439dfa0\"", + "date": "Thu, 25 Aug 2016 03:30:46 GMT" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_5.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_5.json index 1e2cf97b2..d1b29299a 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_5.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_5.json @@ -8,4 +8,4 @@ "RequestId": "DFBCC402A76C7432" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_6.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_6.json index 5c0140ba9..a3ae45130 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_6.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_6.json @@ -8,4 +8,4 @@ "RequestId": "C72D8E1E8C1DA9F5" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_7.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_7.json index ff3b3df19..c14157341 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_7.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_7.json @@ -8,4 +8,4 @@ "RequestId": "E0EA066ACCB1980A" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_8.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_8.json index 85c3f095f..63437fbd6 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_8.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_8.json @@ -8,4 +8,4 @@ "RequestId": "F5EA56E331AAB17D" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_9.json b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_9.json index 0e9690ada..93106a270 100644 --- a/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_9.json +++ b/tests/placebo/TestZappa.test_cli_aws/s3.UploadPart_9.json @@ -8,4 +8,4 @@ "RequestId": "ED811ABDFD6014EB" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_1.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_1.json new file mode 100644 index 000000000..539e0c0b8 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "5a9c3f2b-b163-5a8c-b4b7-6f701e2ec4ee", + "HTTPHeaders": { + "x-amzn-requestid": "5a9c3f2b-b163-5a8c-b4b7-6f701e2ec4ee", + "date": "Tue, 20 Sep 2016 21:41:32 GMT", + "content-length": "319", + "content-type": "text/xml" + } + }, + "Subscriptions": [] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_2.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_2.json new file mode 100644 index 000000000..27bceab6a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_2.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "c31b8bb1-05e2-52c5-8c71-dbeaaa6a1b4e", + "HTTPHeaders": { + "x-amzn-requestid": "c31b8bb1-05e2-52c5-8c71-dbeaaa6a1b4e", + "date": "Tue, 20 Sep 2016 21:42:32 GMT", + "content-length": "720", + "content-type": "text/xml" + } + }, + "Subscriptions": [ + { + "Owner": "123456789123", + "Endpoint": "arn:aws:lambda:us-east-1:123456789123:function:zappa-ttt888", + "Protocol": "lambda", + "TopicArn": "arn:aws:sns:::1", + "SubscriptionArn": "arn:aws:sns:::1" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_3.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_3.json new file mode 100644 index 000000000..f4278f5fc --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_3.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "4b297fb0-32e1-5466-8b32-2feb82122ee6", + "HTTPHeaders": { + "x-amzn-requestid": "4b297fb0-32e1-5466-8b32-2feb82122ee6", + "date": "Tue, 20 Sep 2016 21:48:34 GMT", + "content-length": "720", + "content-type": "text/xml" + } + }, + "Subscriptions": [ + { + "Owner": "123456789123", + "Endpoint": "arn:aws:lambda:us-east-1:123456789123:function:zappa-ttt888", + "Protocol": "lambda", + "TopicArn": "arn:aws:sns:::1", + "SubscriptionArn": "arn:aws:sns:::1:1833de9b-d325-4610-bc69-139311499f5d" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_4.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_4.json new file mode 100644 index 000000000..0a450c586 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_4.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "d1ee6794-b714-55ec-8434-37cf06b42cdc", + "HTTPHeaders": { + "x-amzn-requestid": "d1ee6794-b714-55ec-8434-37cf06b42cdc", + "date": "Tue, 20 Sep 2016 21:51:28 GMT", + "content-length": "319", + "content-type": "text/xml" + } + }, + "Subscriptions": [] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_5.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_5.json new file mode 100644 index 000000000..f8747c342 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_5.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "4d8b41db-39d2-57af-b9e9-1180883901a2", + "HTTPHeaders": { + "x-amzn-requestid": "4d8b41db-39d2-57af-b9e9-1180883901a2", + "date": "Tue, 20 Sep 2016 21:52:42 GMT", + "content-length": "720", + "content-type": "text/xml" + } + }, + "Subscriptions": [ + { + "Owner": "123456789123", + "Endpoint": "arn:aws:lambda:us-east-1:123456789123:function:zappa-ttt888", + "Protocol": "lambda", + "TopicArn": "arn:aws:sns:::1", + "SubscriptionArn": "arn:aws:sns:::1:57ae90d2-0fe8-4204-85a3-bcd4848545f6" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_6.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_6.json new file mode 100644 index 000000000..b62fc9b6f --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_6.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "e51e3ca3-a2ca-5748-98dd-6cf813310bcc", + "HTTPHeaders": { + "x-amzn-requestid": "e51e3ca3-a2ca-5748-98dd-6cf813310bcc", + "date": "Tue, 20 Sep 2016 21:52:58 GMT", + "content-length": "720", + "content-type": "text/xml" + } + }, + "Subscriptions": [ + { + "Owner": "123456789123", + "Endpoint": "arn:aws:lambda:us-east-1:123456789123:function:zappa-ttt888", + "Protocol": "lambda", + "TopicArn": "arn:aws:sns:::1", + "SubscriptionArn": "arn:aws:sns:::1:8e52fdf5-49ec-4fab-93d8-29502b2899d4" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_7.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_7.json new file mode 100644 index 000000000..53be6e3ef --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_7.json @@ -0,0 +1,25 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "1d25a7ba-9a6b-53cb-b029-f7e12b951045", + "HTTPHeaders": { + "x-amzn-requestid": "1d25a7ba-9a6b-53cb-b029-f7e12b951045", + "date": "Tue, 20 Sep 2016 21:53:01 GMT", + "content-length": "720", + "content-type": "text/xml" + } + }, + "Subscriptions": [ + { + "Owner": "123456789123", + "Endpoint": "arn:aws:lambda:us-east-1:123456789123:function:zappa-ttt888", + "Protocol": "lambda", + "TopicArn": "arn:aws:sns:::1", + "SubscriptionArn": "arn:aws:sns:::1:e62db82e-757c-4356-ab9b-a2441b0662c8" + } + ] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_8.json b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_8.json new file mode 100644 index 000000000..15a64fbc0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.ListSubscriptionsByTopic_8.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "99b53069-3e2a-50ef-a5a0-60328c34a964", + "HTTPHeaders": { + "x-amzn-requestid": "99b53069-3e2a-50ef-a5a0-60328c34a964", + "date": "Tue, 20 Sep 2016 21:53:34 GMT", + "content-length": "319", + "content-type": "text/xml" + } + }, + "Subscriptions": [] + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_1.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_1.json new file mode 100644 index 000000000..3e9ef6c45 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "ba6b9df2-b2c7-5c29-86c9-cda91d89fa8b", + "HTTPHeaders": { + "x-amzn-requestid": "ba6b9df2-b2c7-5c29-86c9-cda91d89fa8b", + "date": "Tue, 20 Sep 2016 21:41:33 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_2.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_2.json new file mode 100644 index 000000000..ef547227a --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_2.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "5fc669e7-9952-5cd5-8a41-39bc36d8d93c", + "HTTPHeaders": { + "x-amzn-requestid": "5fc669e7-9952-5cd5-8a41-39bc36d8d93c", + "date": "Tue, 20 Sep 2016 21:42:34 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1:1833de9b-d325-4610-bc69-139311499f5d" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_3.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_3.json new file mode 100644 index 000000000..986fecf0d --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_3.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "a735afa5-04c9-5ddc-b6fa-fffeb43afd23", + "HTTPHeaders": { + "x-amzn-requestid": "a735afa5-04c9-5ddc-b6fa-fffeb43afd23", + "date": "Tue, 20 Sep 2016 21:48:35 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1:221eb6cc-2fcb-496c-87c2-3af0f81cf34e" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_4.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_4.json new file mode 100644 index 000000000..acdb00387 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_4.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "4f2c7f44-73ba-5f13-bd94-2f1fc21b4ca1", + "HTTPHeaders": { + "x-amzn-requestid": "4f2c7f44-73ba-5f13-bd94-2f1fc21b4ca1", + "date": "Tue, 20 Sep 2016 21:51:29 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1:57ae90d2-0fe8-4204-85a3-bcd4848545f6" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_5.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_5.json new file mode 100644 index 000000000..a78661ecd --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_5.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "e682d70b-5a4f-51e7-9791-8750eba3af24", + "HTTPHeaders": { + "x-amzn-requestid": "e682d70b-5a4f-51e7-9791-8750eba3af24", + "date": "Tue, 20 Sep 2016 21:52:44 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1:8e52fdf5-49ec-4fab-93d8-29502b2899d4" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_6.json b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_6.json new file mode 100644 index 000000000..3bd8c85d5 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Subscribe_6.json @@ -0,0 +1,17 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "dccdb21f-87c2-5b69-8e47-e244363ec978", + "HTTPHeaders": { + "x-amzn-requestid": "dccdb21f-87c2-5b69-8e47-e244363ec978", + "date": "Tue, 20 Sep 2016 21:53:00 GMT", + "content-length": "354", + "content-type": "text/xml" + } + }, + "SubscriptionArn": "arn:aws:sns:::1:e62db82e-757c-4356-ab9b-a2441b0662c8" + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_1.json b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_1.json new file mode 100644 index 000000000..3dbe2626d --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_1.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "8679c068-9d47-5867-917a-903332cf01ec", + "HTTPHeaders": { + "x-amzn-requestid": "8679c068-9d47-5867-917a-903332cf01ec", + "date": "Tue, 20 Sep 2016 21:42:33 GMT", + "content-length": "201", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_2.json b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_2.json new file mode 100644 index 000000000..980e06997 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_2.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "0eade3ea-75e0-53c3-a2ca-b3b1c5133943", + "HTTPHeaders": { + "x-amzn-requestid": "0eade3ea-75e0-53c3-a2ca-b3b1c5133943", + "date": "Tue, 20 Sep 2016 21:48:34 GMT", + "content-length": "201", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_3.json b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_3.json new file mode 100644 index 000000000..de4e75fd0 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_3.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "e76604b6-a417-50eb-ac0d-54ed15fc96e6", + "HTTPHeaders": { + "x-amzn-requestid": "e76604b6-a417-50eb-ac0d-54ed15fc96e6", + "date": "Tue, 20 Sep 2016 21:52:43 GMT", + "content-length": "201", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_4.json b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_4.json new file mode 100644 index 000000000..6db9d22db --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_4.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "598228fc-f2d6-55f0-ac86-78a7432df974", + "HTTPHeaders": { + "x-amzn-requestid": "598228fc-f2d6-55f0-ac86-78a7432df974", + "date": "Tue, 20 Sep 2016 21:52:58 GMT", + "content-length": "201", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_5.json b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_5.json new file mode 100644 index 000000000..412397031 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws/sns.Unsubscribe_5.json @@ -0,0 +1,16 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "RetryAttempts": 0, + "HTTPStatusCode": 200, + "RequestId": "4e12e243-7bb1-5689-8a5a-b218ca4fb507", + "HTTPHeaders": { + "x-amzn-requestid": "4e12e243-7bb1-5689-8a5a-b218ca4fb507", + "date": "Tue, 20 Sep 2016 21:53:01 GMT", + "content-length": "201", + "content-type": "text/xml" + } + } + } +} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetApiKeys_1.json b/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetApiKeys_1.json new file mode 100644 index 000000000..1395f4906 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetApiKeys_1.json @@ -0,0 +1,38 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "Api Key for rdrde6pecd", + "enabled": true, + "stageKeys": [ + "rdrde6pecd/devor" + ], + "lastUpdatedDate": 1470384739, + "createdDate": 1470384739, + "id": "W9QTptojpE3bsg816Rrjh4was83amtaAx5s6NXaAl", + "name": "devor_rdrde6pecd" + }, + { + "description": "test", + "enabled": true, + "stageKeys": [], + "lastUpdatedDate": 1472205619, + "createdDate": 1472126924, + "id": "BbMa34BFOj6fKevBXPhUc61L3R2eh4sz7QzC6NWK", + "name": "test" + }, + { + "description": "test2", + "enabled": true, + "stageKeys": [ + "eoeoeo/test" + ], + "lastUpdatedDate": 1472205619, + "createdDate": 1472126924, + "id": "CbMa34BFOj6fKevBXPhUc61L3R2eh4sz7QzC6NWK", + "name": "test2" + } + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetRestApis_1.json b/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetRestApis_1.json new file mode 100644 index 000000000..8c1c52c31 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/apigateway.GetRestApis_1.json @@ -0,0 +1,917 @@ +{ + "status_code": 200, + "data": { + "items": [ + { + "description": "hackathon-starter-devo Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 7, + "second": 42, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 51 + }, + "id": "11j2q35yf8", + "name": "hackathon-starter-devo" + }, + { + "description": "poops2js-dev Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 8 + }, + "id": "1yae9gfwab", + "name": "poops2js-dev" + }, + { + "description": "spheres-beta Zappa", + "createdDate": { + "hour": 17, + "__class__": "datetime", + "month": 2, + "second": 45, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 20 + }, + "id": "2djdovx6f3", + "name": "spheres-beta" + }, + { + "description": "helloworld-zeta Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 2, + "second": 9, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 53 + }, + "id": "2uj5ini1yb", + "name": "helloworld-zeta" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 57, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 29 + }, + "id": "60sck4xxob", + "name": "Spheres-dev" + }, + { + "description": "hackathon-starter-dev Zappa", + "createdDate": { + "hour": 20, + "__class__": "datetime", + "month": 7, + "second": 21, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 46 + }, + "id": "7s8qhskdc2", + "name": "hackathon-starter-dev" + }, + { + "description": "django-helloworld-unicode Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 2, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 39 + }, + "id": "arb9clq9k9", + "name": "django-helloworld-unicode" + }, + { + "description": "issue110-dev Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 2, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 29 + }, + "id": "bo02obhd7c", + "name": "issue110-dev" + }, + { + "description": "serverless-imagehost-nob Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 5, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 14 + }, + "id": "cc1o38ldtb", + "name": "serverless-imagehost-nob" + }, + { + "description": "oort-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 5, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 20, + "minute": 28 + }, + "id": "cdvt3njuhk", + "name": "oort-dev" + }, + { + "description": "serverless-imagehost-devuh Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 3, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 6 + }, + "id": "ezjhledye7", + "name": "serverless-imagehost-devuh" + }, + { + "description": "website-production Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 7 + }, + "id": "fhbea4d5o6", + "name": "website-production" + }, + { + "description": "helloworld-radmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 51, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 38 + }, + "id": "h0ttqz46qc", + "name": "helloworld-radmin" + }, + { + "description": "helloworld-dvlp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 49 + }, + "id": "h7twhyqkie", + "name": "helloworld-dvlp" + }, + { + "description": "helloworld-devel Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 30 + }, + "id": "hbj992tfwl", + "name": "helloworld-devel" + }, + { + "description": "Spheres-demonstration Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 2, + "second": 25, + "microsecond": 0, + "year": 2016, + "day": 16, + "minute": 53 + }, + "id": "ho43d1vcyb", + "name": "Spheres-demonstration" + }, + { + "description": "helloworld-qq Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "hro3nhl7t4", + "name": "helloworld-qq" + }, + { + "description": "helloworld-dvlperr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 36, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 12 + }, + "id": "i2zrw3wku1", + "name": "helloworld-dvlperr" + }, + { + "description": "website-derp Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 4, + "second": 40, + "microsecond": 0, + "year": 2016, + "day": 7, + "minute": 45 + }, + "id": "i75y1kwi47", + "name": "website-derp" + }, + { + "description": "zappa-testerinooo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 10, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 11 + }, + "id": "ijs8po6ul8", + "name": "zappa-testerinooo" + }, + { + "description": "helloworld-delloo Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 1, + "second": 47, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 38 + }, + "id": "j3rs1jti9g", + "name": "helloworld-delloo" + }, + { + "description": "serverless-imagehost-dever Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 24, + "minute": 6 + }, + "id": "jr75b74ip8", + "name": "serverless-imagehost-dever" + }, + { + "description": "1453976638 Zappa", + "createdDate": { + "hour": 2, + "__class__": "datetime", + "month": 1, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 23 + }, + "id": "kwzshzpitk", + "name": "1453976638" + }, + { + "description": "1453989570 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 32, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 59 + }, + "id": "lkiug68ek9", + "name": "1453989570" + }, + { + "description": "1453845110 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 1, + "second": 52, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 51 + }, + "id": "lo9vjezry6", + "name": "1453845110" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 37, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 0 + }, + "id": "lphfaxj84g", + "name": "Spheres-dev" + }, + { + "description": "flask-test-eventer Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 5, + "second": 26, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 0 + }, + "id": "lsw93ibofa", + "name": "flask-test-eventer" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 35 + }, + "id": "lvc59j5puf", + "name": "Spheres-dev" + }, + { + "description": "helloworld-qqqqq Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 34, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 16 + }, + "id": "lwbaruqt91", + "name": "helloworld-qqqqq" + }, + { + "description": "demo-dev Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 3, + "second": 8, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 17 + }, + "id": "m8atxlc1j9", + "name": "demo-dev" + }, + { + "description": "helloworld-dvlperrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 16, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 31 + }, + "id": "mco06c7adh", + "name": "helloworld-dvlperrrr" + }, + { + "description": "helloworld-rr Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 1, + "second": 6, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 28 + }, + "id": "mgo7ssfnr8", + "name": "helloworld-rr" + }, + { + "description": "zappa-ttt666 Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 6, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 2, + "minute": 0 + }, + "id": "mj9gnteqc9", + "name": "zappa-ttt666" + }, + { + "description": "helloworld-dvlperrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 44, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 21 + }, + "id": "nsrpfnr93g", + "name": "helloworld-dvlperrr" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 2, + "second": 58, + "microsecond": 0, + "year": 2016, + "day": 6, + "minute": 37 + }, + "id": "o48rplzmre", + "name": "Spheres-dev" + }, + { + "description": "restful-demo-dev4 Zappa", + "createdDate": { + "hour": 22, + "__class__": "datetime", + "month": 4, + "second": 3, + "microsecond": 0, + "year": 2016, + "day": 4, + "minute": 19 + }, + "id": "oo8j6uj6i1", + "name": "restful-demo-dev4" + }, + { + "description": "helloworld-badmin Zappa", + "createdDate": { + "hour": 4, + "__class__": "datetime", + "month": 2, + "second": 49, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 59 + }, + "id": "owo37s7o0l", + "name": "helloworld-badmin" + }, + { + "description": "1453987169 Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 19 + }, + "id": "p22u4b4hn9", + "name": "1453987169" + }, + { + "description": "1453847710 Zappa", + "createdDate": { + "hour": 14, + "__class__": "datetime", + "month": 1, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 26, + "minute": 35 + }, + "id": "pzdx6f20o9", + "name": "1453847710" + }, + { + "description": "helloworld-develo Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 1, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 33 + }, + "id": "qhikml2l0a", + "name": "helloworld-develo" + }, + { + "description": "baby-flask-devor Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 17 + }, + "id": "rdrde6pecd", + "name": "baby-flask-devor" + }, + { + "description": "1453992020 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 22, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 40 + }, + "id": "rmlote5cec", + "name": "1453992020" + }, + { + "description": "Spheres-dev Zappa", + "createdDate": { + "hour": 9, + "__class__": "datetime", + "month": 2, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 5, + "minute": 38 + }, + "id": "ry7mtnfmo3", + "name": "Spheres-dev" + }, + { + "description": "serverless-imagehost-nob2 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 5, + "second": 53, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 54 + }, + "id": "s6svfqprs6", + "name": "serverless-imagehost-nob2" + }, + { + "description": "zappa-tester Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 59, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 31 + }, + "id": "sibzbaomqb", + "name": "zappa-tester" + }, + { + "description": "helloworld-fadmin Zappa", + "createdDate": { + "hour": 5, + "__class__": "datetime", + "month": 2, + "second": 38, + "microsecond": 0, + "year": 2016, + "day": 1, + "minute": 47 + }, + "id": "swe19z3zr7", + "name": "helloworld-fadmin" + }, + { + "description": "django-helloworld-prodope Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 4, + "second": 43, + "microsecond": 0, + "year": 2016, + "day": 9, + "minute": 46 + }, + "id": "sx5ifzldel", + "name": "django-helloworld-prodope" + }, + { + "description": "zappa-testerinoo Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 28, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 0 + }, + "id": "tkfhn7uh1j", + "name": "zappa-testerinoo" + }, + { + "description": "1453992953 Zappa", + "createdDate": { + "hour": 6, + "__class__": "datetime", + "month": 1, + "second": 56, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 55 + }, + "id": "tpwx2chyc9", + "name": "1453992953" + }, + { + "description": "flask-blog-dev Zappa", + "createdDate": { + "hour": 18, + "__class__": "datetime", + "month": 3, + "second": 20, + "microsecond": 0, + "year": 2016, + "day": 29, + "minute": 30 + }, + "id": "u5k6g8qxu4", + "name": "flask-blog-dev" + }, + { + "description": "helloworld-poste Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 1, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 6 + }, + "id": "v3f3yz9ij6", + "name": "helloworld-poste" + }, + { + "description": "flask-test-test Zappa", + "createdDate": { + "hour": 10, + "__class__": "datetime", + "month": 3, + "second": 35, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 46 + }, + "id": "vna1tr18s7", + "name": "flask-test-test" + }, + { + "description": "helloworld-dvlperrrrr Zappa", + "createdDate": { + "hour": 3, + "__class__": "datetime", + "month": 1, + "second": 30, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 41 + }, + "id": "voekyyz7v7", + "name": "helloworld-dvlperrrrr" + }, + { + "description": "zappa-ttt222 Zappa", + "createdDate": { + "hour": 13, + "__class__": "datetime", + "month": 3, + "second": 13, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 45 + }, + "id": "vzxj8vvejc", + "name": "zappa-ttt222" + }, + { + "description": "django-helloworld-prodo Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 4, + "second": 18, + "microsecond": 0, + "year": 2016, + "day": 8, + "minute": 48 + }, + "id": "wx029jbtva", + "name": "django-helloworld-prodo" + }, + { + "description": "helloworld-postal Zappa", + "createdDate": { + "hour": 15, + "__class__": "datetime", + "month": 1, + "second": 55, + "microsecond": 0, + "year": 2016, + "day": 31, + "minute": 22 + }, + "id": "xnozvcrt9f", + "name": "helloworld-postal" + }, + { + "description": "zappa-testerino Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 3, + "second": 12, + "microsecond": 0, + "year": 2016, + "day": 25, + "minute": 44 + }, + "id": "yxm125wqua", + "name": "zappa-testerino" + }, + { + "description": "helloworld-zz Zappa", + "createdDate": { + "hour": 8, + "__class__": "datetime", + "month": 1, + "second": 11, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 56 + }, + "id": "yxu3hk4ss8", + "name": "helloworld-zz" + }, + { + "description": "helloworld-p Zappa", + "createdDate": { + "hour": 12, + "__class__": "datetime", + "month": 1, + "second": 17, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 58 + }, + "id": "zdmxiapwh9", + "name": "helloworld-p" + }, + { + "description": "serverless-imagehost-demodemo Zappa", + "createdDate": { + "hour": 11, + "__class__": "datetime", + "month": 3, + "second": 7, + "microsecond": 0, + "year": 2016, + "day": 28, + "minute": 10 + }, + "id": "zhrsy6zhl7", + "name": "serverless-imagehost-demodemo" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "91c49bff-5ffb-11e6-afc2-854f31b98fbf", + "HTTPHeaders": { + "x-amzn-requestid": "91c49bff-5ffb-11e6-afc2-854f31b98fbf", + "date": "Thu, 11 Aug 2016 19:41:16 GMT", + "content-length": "6585", + "content-type": "application/json" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/events.DescribeRule_1.json b/tests/placebo/TestZappa.test_cli_aws_status/events.DescribeRule_1.json new file mode 100644 index 000000000..9bad13187 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/events.DescribeRule_1.json @@ -0,0 +1,21 @@ +{ + "status_code": 200, + "data": { + "ScheduleExpression": "rate(1 minute)", + "Name": "app.event_me", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "926cea0c-5ffb-11e6-9780-4b9d2dcb5a98", + "HTTPHeaders": { + "x-amzn-requestid": "926cea0c-5ffb-11e6-9780-4b9d2dcb5a98", + "date": "Thu, 11 Aug 2016 19:41:17 GMT", + "content-length": "236", + "content-type": "application/x-amz-json-1.1" + } + }, + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/app.event_me", + "Description": "app.event_me" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/events.ListRuleNamesByTarget_1.json b/tests/placebo/TestZappa.test_cli_aws_status/events.ListRuleNamesByTarget_1.json new file mode 100644 index 000000000..ed78be647 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/events.ListRuleNamesByTarget_1.json @@ -0,0 +1,18 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "925b84b7-5ffb-11e6-9780-4b9d2dcb5a98", + "HTTPHeaders": { + "x-amzn-requestid": "925b84b7-5ffb-11e6-9780-4b9d2dcb5a98", + "date": "Thu, 11 Aug 2016 19:41:17 GMT", + "content-length": "30", + "content-type": "application/x-amz-json-1.1" + } + }, + "RuleNames": [ + "app.event_me" + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/events.ListRules_1.json b/tests/placebo/TestZappa.test_cli_aws_status/events.ListRules_1.json new file mode 100644 index 000000000..6c6802a29 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/events.ListRules_1.json @@ -0,0 +1,19 @@ +{ + "status_code": 200, + "data": { + "Rules": [ + { + "ScheduleExpression": "rate(5 minutes)", + "Name": "zappa-keep-warm-zappa-ttt666", + "RoleArn": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "State": "ENABLED", + "Arn": "arn:aws:events:us-east-1:724336686645:rule/zappa-keep-warm-zappa-ttt666", + "Description": "Zappa Keep Warm - zappa-ttt666" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "afe859ba-28f4-11e6-aa28-4d9f2eb25de5" + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/lambda.GetFunction_1.json b/tests/placebo/TestZappa.test_cli_aws_status/lambda.GetFunction_1.json new file mode 100644 index 000000000..2bf27c95f --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/lambda.GetFunction_1.json @@ -0,0 +1,34 @@ +{ + "status_code": 200, + "data": { + "Code": { + "RepositoryType": "S3", + "Location": "https://prod-04-2014-tasks.s3.amazonaws.com/snapshots/724336686645/baby-flask-devor-0ba7b1e0-d5f7-4c97-8505-0c87bc14acfd?x-amz-security-token=FQoDYXdzEEwaDIv4tcF%2F2xSicOq1SiK3A7fgryt%2BF1cKCoNU1pX0xyK3jEDV81HGpXAHhAYMD4R7XbnWN%2BeUfjieAaGkgoPbKkr2RZmA2iXjsazEdyq7sZIpZAo5VkhYSoSy1PBm0Apc6txwmnLB18n5WV5Ulyq90tdm0SplVgmaww%2FxHt9KgWMfRkl8uz7Zw5JfLz%2FPadYT7e4ZkJmKEL4upYSgBxnXXDgU3A1IafXfACcOd5GJ1JrOVR%2BYO4Kqud%2F6Q3BWhDYcLAFwO7xUZlaI2hzWRYxlVQk1wbNvIq7ZX98GAZzxnZFGhqoSs0xMo4wZ1kAPtwfBt%2BsquluiCQt9EntWPZmyfUvBktE0JKbaEl%2Fly01iL34mLB52wdCXYeCSid6xEHGrRiBgbUnuHGqMmXls5%2FS7PF0wbWZKsibdXylMrup%2F1sEqYS5r33yaS8em9kBcjHhbbkiBN2oYiCHB4B4xCe01hAiGUkx8DI0OZGCNn8ljyutKvBX1dlpU3LbxM%2F17CD9VVdXBq7Vp8SkNTckK284o%2Fa4a1PUyCCyYCq7SJVvJ72mWjmzNx0NYDGvlUPi4IUhQxm88874Pi6SFt7Ql8eir1FJPe3fXwagorZGzvQU%3D&AWSAccessKeyId=ASIAIPXCFPJ7VAQMZYGQ&Expires=1470945074&Signature=4c9u5HvYw6eVtgbuyT5teEB07gk%3D" + }, + "Configuration": { + "Version": "$LATEST", + "CodeSha256": "U8ckfxet4WSu22aYpYd2GrVG2E3HX4ifSoWCe8nr4ig=", + "FunctionName": "baby-flask-devor", + "MemorySize": 512, + "CodeSize": 2882611, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:baby-flask-devor", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-11T19:05:11.100+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "909b374b-5ffb-11e6-a630-0daa311dcaa5", + "HTTPHeaders": { + "date": "Thu, 11 Aug 2016 19:41:14 GMT", + "x-amzn-requestid": "909b374b-5ffb-11e6-a630-0daa311dcaa5", + "content-length": "1472", + "content-type": "application/json", + "connection": "keep-alive" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/lambda.ListVersionsByFunction_1.json b/tests/placebo/TestZappa.test_cli_aws_status/lambda.ListVersionsByFunction_1.json new file mode 100644 index 000000000..12ecd13ff --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/lambda.ListVersionsByFunction_1.json @@ -0,0 +1,60 @@ +{ + "status_code": 200, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9089f947-5ffb-11e6-8e26-cfa6e63f64ef", + "HTTPHeaders": { + "date": "Thu, 11 Aug 2016 19:41:13 GMT", + "x-amzn-requestid": "9089f947-5ffb-11e6-8e26-cfa6e63f64ef", + "content-length": "1582", + "content-type": "application/json", + "connection": "keep-alive" + } + }, + "Versions": [ + { + "Version": "$LATEST", + "CodeSha256": "U8ckfxet4WSu22aYpYd2GrVG2E3HX4ifSoWCe8nr4ig=", + "FunctionName": "baby-flask-devor", + "MemorySize": 512, + "CodeSize": 2882611, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:baby-flask-devor:$LATEST", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-11T19:05:11.100+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + { + "Version": "9", + "CodeSha256": "co4evUvVhHBjrUhoV6ZiDI5L20TDGStV1FUZrr7CK6M=", + "FunctionName": "baby-flask-devor", + "MemorySize": 512, + "CodeSize": 2881914, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:baby-flask-devor:9", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-11T01:17:51.058+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + }, + { + "Version": "10", + "CodeSha256": "U8ckfxet4WSu22aYpYd2GrVG2E3HX4ifSoWCe8nr4ig=", + "FunctionName": "baby-flask-devor", + "MemorySize": 512, + "CodeSize": 2882611, + "FunctionArn": "arn:aws:lambda:us-east-1:724336686645:function:baby-flask-devor:10", + "Handler": "handler.lambda_handler", + "Role": "arn:aws:iam::724336686645:role/ZappaLambdaExecution", + "Timeout": 30, + "LastModified": "2016-08-11T19:05:12.968+0000", + "Runtime": "python2.7", + "Description": "Zappa Deployment" + } + ] + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_1.json b/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_1.json new file mode 100644 index 000000000..59afe2395 --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_1.json @@ -0,0 +1,774 @@ +{ + "status_code": 200, + "data": { + "Datapoints": [ + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 7, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 29 + }, + "Sum": 14.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 17, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 24.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 5, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 11, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 19, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 1, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 24.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 11, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 23, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 13, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 7, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 23, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 41 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 9, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 44.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 25.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 1, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 24.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 3, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 3, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 47.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 17, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 9, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 5 + }, + "Sum": 6.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 48.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 13, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 49.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 5, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 49.0, + "Unit": "Count" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9113e934-5ffb-11e6-ac84-f3a13624f777", + "HTTPHeaders": { + "x-amzn-requestid": "9113e934-5ffb-11e6-ac84-f3a13624f777", + "date": "Thu, 11 Aug 2016 19:41:15 GMT", + "content-length": "7586", + "content-type": "text/xml" + } + }, + "Label": "Invocations" + } +} diff --git a/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_2.json b/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_2.json new file mode 100644 index 000000000..a8ff959fd --- /dev/null +++ b/tests/placebo/TestZappa.test_cli_aws_status/monitoring.GetMetricStatistics_2.json @@ -0,0 +1,774 @@ +{ + "status_code": 200, + "data": { + "Datapoints": [ + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 7, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 17, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 5, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 11, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 19, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 1, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 10, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 14, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 11, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 23, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 16, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 8, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 13, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 7, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 23, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 4, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 9, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 12, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 53 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 2, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 1, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 3, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 6, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 3, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 17, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 9, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 18, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 0, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 29 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 22, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 10, + "minute": 5 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 15, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 17 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 13, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + }, + { + "Timestamp": { + "hour": 5, + "__class__": "datetime", + "month": 8, + "second": 0, + "microsecond": 0, + "year": 2016, + "day": 11, + "minute": 41 + }, + "Sum": 0.0, + "Unit": "Count" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "9129e2da-5ffb-11e6-81a6-1b774a17dc99", + "HTTPHeaders": { + "x-amzn-requestid": "9129e2da-5ffb-11e6-81a6-1b774a17dc99", + "date": "Thu, 11 Aug 2016 19:41:15 GMT", + "content-length": "7528", + "content-type": "text/xml" + } + }, + "Label": "Errors" + } +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetResources_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetResources_1.json index 87db89ad0..6aa47e08b 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetResources_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetResources_1.json @@ -12,4 +12,4 @@ "RequestId": "dee74371-dc3a-11e5-adc8-c7e9cc4e6647" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetRestApi_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetRestApi_1.json index 60dbb71a0..4fb423ef8 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetRestApi_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.GetRestApi_1.json @@ -10,4 +10,4 @@ "Code": "NotFoundException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegrationResponse_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegrationResponse_1.json index e5efd1b9c..28de5a479 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegrationResponse_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegrationResponse_1.json @@ -18,4 +18,4 @@ "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegration_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegration_1.json index c9eb9767c..d063f7ee0 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegration_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutIntegration_1.json @@ -17,4 +17,4 @@ "type": "AWS", "requestParameters": {} } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethodResponse_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethodResponse_1.json index f6180da60..5531e9857 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethodResponse_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethodResponse_1.json @@ -17,4 +17,4 @@ "method.response.header.Set-Cookie": false } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethod_1.json b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethod_1.json index f8c496919..e93937d67 100644 --- a/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethod_1.json +++ b/tests/placebo/TestZappa.test_create_api_gateway_routes/apigateway.PutMethod_1.json @@ -9,4 +9,4 @@ "RequestId": "df048f72-dc3a-11e5-adc8-c7e9cc4e6647" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_1.json b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_1.json index da35ed214..db12d88b2 100644 --- a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_1.json +++ b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_1.json @@ -11,4 +11,4 @@ "Type": "Sender" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_2.json b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_2.json index 59415953d..fcf126937 100644 --- a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_2.json +++ b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRolePolicy_2.json @@ -2,11 +2,11 @@ "status_code": 200, "data": { "RoleName": "ZappaLambdaExecution", - "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", + "PolicyDocument": "%7B%0A%20%20%20%20%22Version%22%3A%20%222012-10-17%22%2C%0A%20%20%20%20%22Statement%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22logs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Alogs%3A%2A%3A%2A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22lambda%3AInvokeFunction%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AAttachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ACreateNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADeleteNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeInstances%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADescribeNetworkInterfaces%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3ADetachNetworkInterface%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AModifyNetworkInterfaceAttribute%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ec2%3AResetNetworkInterfaceAttribute%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22s3%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3As3%3A%3A%3A%2A%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22sqs%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Asqs%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22dynamodb%3A%2A%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22arn%3Aaws%3Adynamodb%3A*%3A*%3A*%22%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Effect%22%3A%20%22Allow%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Action%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22route53%3A*%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%22Resource%22%3A%20%22*%22%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%0A%7D", "ResponseMetadata": { "HTTPStatusCode": 200, "RequestId": "75ea0f95-123c-11e6-a7da-b932a8a18034" }, "PolicyName": "zappa-permissions" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_1.json b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_1.json index a59c1fb68..1e99c7e7c 100644 --- a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_1.json +++ b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_1.json @@ -11,4 +11,4 @@ "Type": "Sender" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_2.json b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_2.json index 337f483b7..287acaaeb 100644 --- a/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_2.json +++ b/tests/placebo/TestZappa.test_create_iam_roles/iam.GetRole_2.json @@ -23,4 +23,4 @@ "RequestId": "75e22050-123c-11e6-a7da-b932a8a18034" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_iam_roles/iam.PutRolePolicy_1.json b/tests/placebo/TestZappa.test_create_iam_roles/iam.PutRolePolicy_1.json index 7ee6e50f9..b2936733b 100644 --- a/tests/placebo/TestZappa.test_create_iam_roles/iam.PutRolePolicy_1.json +++ b/tests/placebo/TestZappa.test_create_iam_roles/iam.PutRolePolicy_1.json @@ -6,4 +6,4 @@ "RequestId": "0e619422-db5f-11e5-9d89-67e11bce6785" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_lambda_function/lambda.CreateFunction_1.json b/tests/placebo/TestZappa.test_create_lambda_function/lambda.CreateFunction_1.json index 994fad25e..e0ff85074 100644 --- a/tests/placebo/TestZappa.test_create_lambda_function/lambda.CreateFunction_1.json +++ b/tests/placebo/TestZappa.test_create_lambda_function/lambda.CreateFunction_1.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_create_lambda_function/lambda.UpdateFunctionCode_1.json b/tests/placebo/TestZappa.test_create_lambda_function/lambda.UpdateFunctionCode_1.json index 853980294..04c2b2994 100644 --- a/tests/placebo/TestZappa.test_create_lambda_function/lambda.UpdateFunctionCode_1.json +++ b/tests/placebo/TestZappa.test_create_lambda_function/lambda.UpdateFunctionCode_1.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateDeployment_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateDeployment_1.json index 93b26db87..6135fd0c7 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateDeployment_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateDeployment_1.json @@ -17,4 +17,4 @@ "minute": 11 } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateRestApi_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateRestApi_1.json index 07b3ae9cf..b9231b486 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateRestApi_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.CreateRestApi_1.json @@ -19,4 +19,4 @@ "minute": 11 } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetResources_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetResources_1.json index cfd5b5fb3..4e61fc67d 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetResources_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetResources_1.json @@ -12,4 +12,4 @@ "RequestId": "2fd191fa-e22c-11e5-9e01-73fb17f4973b" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetRestApi_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetRestApi_1.json index ddfc71ae5..a111bb262 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetRestApi_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.GetRestApi_1.json @@ -10,4 +10,4 @@ "Code": "NotFoundException" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutIntegrationResponse_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutIntegrationResponse_1.json index 1e77c32c0..8522337d0 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutIntegrationResponse_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutIntegrationResponse_1.json @@ -18,4 +18,4 @@ "method.response.header.Set-Cookie": "integration.response.body.Set-Cookie" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethodResponse_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethodResponse_1.json index 2dec60094..c9c3b3697 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethodResponse_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethodResponse_1.json @@ -17,4 +17,4 @@ "method.response.header.Set-Cookie": false } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethod_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethod_1.json index d5be4ce85..48b765d74 100644 --- a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethod_1.json +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.PutMethod_1.json @@ -9,4 +9,4 @@ "RequestId": "303053cb-e22c-11e5-9e01-73fb17f4973b" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.UpdateStage_1.json b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.UpdateStage_1.json new file mode 100644 index 000000000..50a1ae86e --- /dev/null +++ b/tests/placebo/TestZappa.test_deploy_api_gateway/apigateway.UpdateStage_1.json @@ -0,0 +1,28 @@ +{ + "status_code": 201, + "data": { + "deploymentId" : "aioOASIHD1h", + "stageName" : "ttt888", + "description" : "Deployed by Zappa.", + "cacheClusterEnabled" : false, + "cacheClusterSize" : "1", + "cacheClusterStatus" : "AVAILABLE", + "methodSettings" : { + "String" : { + "metricsEnabled" : false, + "loggingLevel" : "OFF", + "dataTraceEnabled" : false, + "throttlingBurstLimit" : 100, + "throttlingRateLimit" : 100, + "cachingEnabled" : false, + "cacheTtlInSeconds" : 100, + "cacheDataEncrypted" : false, + "requireAuthorizationForCacheControl" : false + } + }, + "variables" : { + }, + "createdDate" : "2011-01-01T01:01:01Z+0000", + "lastUpdatedDate" : "2011-01-01T01:01:01Z+0000" + } +} diff --git a/tests/placebo/TestZappa.test_fetch_logs/logs.DescribeLogStreams_1.json b/tests/placebo/TestZappa.test_fetch_logs/logs.DescribeLogStreams_1.json index 0743226e8..5f60370b3 100644 --- a/tests/placebo/TestZappa.test_fetch_logs/logs.DescribeLogStreams_1.json +++ b/tests/placebo/TestZappa.test_fetch_logs/logs.DescribeLogStreams_1.json @@ -38,4 +38,4 @@ "RequestId": "a1385218-e228-11e5-bc06-23d39c48cbaa" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_fetch_logs/logs.FilterLogEvents_1.json b/tests/placebo/TestZappa.test_fetch_logs/logs.FilterLogEvents_1.json index 349e6d7ff..fd90084c9 100644 --- a/tests/placebo/TestZappa.test_fetch_logs/logs.FilterLogEvents_1.json +++ b/tests/placebo/TestZappa.test_fetch_logs/logs.FilterLogEvents_1.json @@ -113,4 +113,4 @@ "RequestId": "a36395e1-e228-11e5-b098-a7148bebd5d9" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_get_api_url/apigateway.GetRestApis_1.json b/tests/placebo/TestZappa.test_get_api_url/apigateway.GetRestApis_1.json index 7fe2a497e..6420570b8 100644 --- a/tests/placebo/TestZappa.test_get_api_url/apigateway.GetRestApis_1.json +++ b/tests/placebo/TestZappa.test_get_api_url/apigateway.GetRestApis_1.json @@ -908,4 +908,4 @@ "RequestId": "9ac03233-e231-11e5-8630-d13cf2bbed5d" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_handler/s3.GetObject_1.json b/tests/placebo/TestZappa.test_handler/s3.GetObject_1.json new file mode 100644 index 000000000..8acd6ce70 --- /dev/null +++ b/tests/placebo/TestZappa.test_handler/s3.GetObject_1.json @@ -0,0 +1,41 @@ +{ + "status_code": 200, + "data": { + "Body": { + "body": "{\n\t\"hello\": \"world\"\n}\n", + "__module__": "botocore.response", + "__class__": "StreamingBody" + }, + "AcceptRanges": "bytes", + "ContentType": "application/json", + "ResponseMetadata": { + "HTTPStatusCode": 200, + "HostId": "lVaFp3nkEtsVe+4Dm5eMCifL68dHBxqkCRU8pYt+H1A2no2oYcgeyTKOIDYnujWZK1CvUaRd2VY=", + "RequestId": "70200E61AF5D2966", + "HTTPHeaders": { + "content-length": "22", + "x-amz-id-2": "lVaFp3nkEtsVe+4Dm5eMCifL68dHBxqkCRU8pYt+H1A2no2oYcgeyTKOIDYnujWZK1CvUaRd2VY=", + "accept-ranges": "bytes", + "server": "AmazonS3", + "last-modified": "Thu, 30 Jun 2016 22:53:14 GMT", + "x-amz-request-id": "70200E61AF5D2966", + "etag": "\"4623dd8d925106bedd88a1b82f69f5b5\"", + "date": "Thu, 30 Jun 2016 22:53:27 GMT", + "content-type": "application/json" + } + }, + "LastModified": { + "hour": 22, + "__class__": "datetime", + "month": 6, + "second": 14, + "microsecond": 0, + "year": 2016, + "day": 30, + "minute": 53 + }, + "ContentLength": 22, + "ETag": "\"4623dd8d925106bedd88a1b82f69f5b5\"", + "Metadata": {} + } +} diff --git a/tests/placebo/TestZappa.test_invoke_lambda_function/lambda.Invoke_1.json b/tests/placebo/TestZappa.test_invoke_lambda_function/lambda.Invoke_1.json index 8dbd4eabe..e10532af3 100644 --- a/tests/placebo/TestZappa.test_invoke_lambda_function/lambda.Invoke_1.json +++ b/tests/placebo/TestZappa.test_invoke_lambda_function/lambda.Invoke_1.json @@ -12,4 +12,4 @@ }, "StatusCode": 202 } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.GetFunction_1.json b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.GetFunction_1.json index 045815369..84a27b01f 100644 --- a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.GetFunction_1.json +++ b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.GetFunction_1.json @@ -24,4 +24,4 @@ "RequestId": "78da1863-e22e-11e5-a5ae-01cbfdebdc8f" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_1.json b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_1.json index 68a3f62c3..d88e58f13 100644 --- a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_1.json +++ b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_1.json @@ -134,4 +134,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_2.json b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_2.json index 68b7ff365..0970214cb 100644 --- a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_2.json +++ b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.ListVersionsByFunction_2.json @@ -134,4 +134,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.UpdateFunctionCode_1.json b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.UpdateFunctionCode_1.json index dec57ebce..c55e704e3 100644 --- a/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.UpdateFunctionCode_1.json +++ b/tests/placebo/TestZappa.test_rollback_lambda_function_version/lambda.UpdateFunctionCode_1.json @@ -18,4 +18,4 @@ "Runtime": "python2.7", "Description": "Zappa Deployment" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CompleteMultipartUpload_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CompleteMultipartUpload_1.json index 366e6541d..6f1427efe 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CompleteMultipartUpload_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CompleteMultipartUpload_1.json @@ -11,4 +11,4 @@ }, "Key": "lambda_package-1456273359.zip" } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateBucket_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateBucket_1.json index 0d563c77c..2fc71a10d 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateBucket_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateBucket_1.json @@ -8,4 +8,4 @@ "RequestId": "B99377D822A42891" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateMultipartUpload_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateMultipartUpload_1.json index 9ac6e7c16..2955cf363 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateMultipartUpload_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.CreateMultipartUpload_1.json @@ -10,4 +10,4 @@ "RequestId": "7CE018CCC678149E" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObject_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObject_1.json new file mode 100644 index 000000000..a66d288d1 --- /dev/null +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObject_1.json @@ -0,0 +1,17 @@ +{ + "status_code": 204, + "data": { + "ResponseMetadata": { + "HTTPStatusCode": 204, + "HostId": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "RequestId": "A112859017E5977B", + "RetryAttempts": 0, + "HTTPHeaders": { + "date": "Tue, 20 Sep 2016 19:58:20 GMT", + "server": "AmazonS3", + "x-amz-id-2": "ldu8D2RVRw0NbQAkx/6NrC87k8c8NR8fI1JxN1PLjFw/+GkMir3UIRjU25z/p4it0ppVHY8epWs=", + "x-amz-request-id": "A112859017E5977B" + } + } + } +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObjects_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObjects_1.json deleted file mode 100644 index 2e48c98d6..000000000 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.DeleteObjects_1.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "status_code": 200, - "data": { - "Deleted": [ - { - "Key": "lambda_package-1456270327.zip" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "HostId": "RtzLPvqK1eewm6bThj4KtGvX3PdIPqFpf1JneTROSZHrGkGI5lLu2cX1dy6HT1By", - "RequestId": "825CD42880E8F693" - } - } -} \ No newline at end of file diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadBucket_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadBucket_1.json index 5d0d60046..a7aba50ef 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadBucket_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadBucket_1.json @@ -7,4 +7,4 @@ "RequestId": "501E18A0BFB1B76C" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadObject_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadObject_1.json index cc5da2215..cab2b239e 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadObject_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.HeadObject_1.json @@ -22,4 +22,4 @@ "ETag": "\"58098b238b9a6ed2b3a954601e9b8e5f\"", "Metadata": {} } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.PutObject_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.PutObject_1.json index ab4e7faf1..43b7a88a4 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.PutObject_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.PutObject_1.json @@ -8,4 +8,4 @@ "RequestId": "D90365BC22767711" } } -} \ No newline at end of file +} diff --git a/tests/placebo/TestZappa.test_upload_remove_s3/s3.UploadPart_1.json b/tests/placebo/TestZappa.test_upload_remove_s3/s3.UploadPart_1.json index 89c2b0ef8..7c450d9e7 100644 --- a/tests/placebo/TestZappa.test_upload_remove_s3/s3.UploadPart_1.json +++ b/tests/placebo/TestZappa.test_upload_remove_s3/s3.UploadPart_1.json @@ -8,4 +8,4 @@ "RequestId": "C3816300C7FA5E5F" } } -} \ No newline at end of file +} diff --git a/tests/test_bad_settings.json b/tests/test_bad_settings.json new file mode 100644 index 000000000..a064a783d --- /dev/null +++ b/tests/test_bad_settings.json @@ -0,0 +1,49 @@ +{ + "ttt888": { + "s3_bucket": "lmbda" + // note: missing comma is not enough to make hjson raise + // ValueError, however missing quote is enough; + "app_function": "tests.test_app.hello_world + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_zip": true, + "debug": true, + "parameter_depth": 2, + "prebuild_script": "test_settings.prebuild_me", + "events": [ + { + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }, + { + "function": "test.test_app.method", + "event_source": { + "arn": "arn:aws:sns:::1", + "events": [ + "sns:Publish" + ] + } + } + ] + }, + "devor": { + "s3_bucket": "lmbda", + "app_function": "tests.test_app.hello_world", + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_zip": true, + "debug": true, + "parameter_depth": 2, + "prebuild_script": "test_settings.prebuild_me", + "events": [{ + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }] + } +} diff --git a/tests/test_bad_stage_name_settings.json b/tests/test_bad_stage_name_settings.json new file mode 100644 index 000000000..65f1aa723 --- /dev/null +++ b/tests/test_bad_stage_name_settings.json @@ -0,0 +1,48 @@ +{ + "ttt-888": { + "touch": false, + "s3_bucket": "lmbda", + "app_function": "tests.test_app.hello_world", + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_local_zip": true, + "debug": true, + "parameter_depth": 2, + "prebuild_script": "test_settings.prebuild_me", + "events": [ + { + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }, + { + "function": "test.test_app.method", + "event_source": { + "arn": "arn:aws:sns:::1", + "events": [ + "sns:Publish" + ] + } + } + ] + }, + "devor": { + "s3_bucket": "lmbda", + "app_function": "tests.test_app.hello_world", + "callbacks": { + "settings": "test_settings.callback", + "post": "test_settings.callback", + "zip": "test_settings.callback" + }, + "delete_local_zip": true, + "debug": true, + "parameter_depth": 2, + "prebuild_script": "test_settings.prebuild_me", + "events": [{ + "function": "tests.test_app.schedule_me", + "expression": "rate(1 minute)" + }] + } +} diff --git a/tests/test_handler.py b/tests/test_handler.py new file mode 100644 index 000000000..9ea37092d --- /dev/null +++ b/tests/test_handler.py @@ -0,0 +1,41 @@ +import unittest +from zappa.handler import LambdaHandler + + +def no_args(): + return + + +def one_arg(first): + return first + + +def two_args(first, second): + return first, second + + +def var_args(*args): + return args + + +def var_args_with_one(first, *args): + return first, args[0] + +def unsupported(first, second, third): + return first, second, third + + +class TestZappa(unittest.TestCase): + + def test_run_function(self): + self.assertIsNone(LambdaHandler.run_function(no_args, 'e', 'c')) + self.assertEqual(LambdaHandler.run_function(one_arg, 'e', 'c'), 'e') + self.assertEqual(LambdaHandler.run_function(two_args, 'e', 'c'), ('e', 'c')) + self.assertEqual(LambdaHandler.run_function(var_args, 'e', 'c'), ('e', 'c')) + self.assertEqual(LambdaHandler.run_function(var_args_with_one, 'e', 'c'), ('e', 'c')) + + try: + LambdaHandler.run_function(unsupported, 'e', 'c') + self.fail('Exception expected') + except RuntimeError, e: + pass \ No newline at end of file diff --git a/tests/tests.py b/tests/tests.py index 72c3949d8..9cb084a4b 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -12,17 +12,28 @@ from .utils import placebo_session -from zappa.cli import ZappaCLI +from zappa.cli import ZappaCLI, shamelessly_promote +from zappa.ext.django_zappa import get_django_wsgi from zappa.handler import LambdaHandler, lambda_handler +from zappa.letsencrypt import get_cert_and_update_domain, create_domain_key, create_domain_csr, create_chained_certificate, get_cert, cleanup, parse_account_key, parse_csr, sign_certificate, encode_certificate, register_account, verify_challenge +from zappa.util import detect_django_settings, copytree, detect_flask_apps, add_event_source, remove_event_source, get_event_source_status from zappa.wsgi import create_wsgi_request, common_log from zappa.zappa import Zappa, ASSUME_POLICY, ATTACH_POLICY - def random_string(length): return ''.join(random.choice(string.printable) for _ in range(length)) class TestZappa(unittest.TestCase): + def setUp(self): + self.sleep_patch = mock.patch('time.sleep', return_value=None) + if not os.environ.get('PLACEBO_MODE') == 'record': + self.sleep_patch.start() + + def tearDown(self): + if not os.environ.get('PLACEBO_MODE') == 'record': + self.sleep_patch.stop() + ## # Sanity Tests ## @@ -110,16 +121,16 @@ def test_create_lambda_function(self, session): z.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution' arn = z.create_lambda_function( - bucket=bucket_name, - s3_key=zip_path, - function_name='test_lmbda_function55', + bucket=bucket_name, + s3_key=zip_path, + function_name='test_lmbda_function55', handler='runme.lambda_handler' ) arn = z.update_lambda_function( - bucket=bucket_name, - s3_key=zip_path, - function_name='test_lmbda_function55', + bucket=bucket_name, + s3_key=zip_path, + function_name='test_lmbda_function55', ) @placebo_session @@ -145,7 +156,7 @@ def test_invoke_lambda_function(self, session): @placebo_session def test_create_iam_roles(self, session): z = Zappa(session) - arn = z.create_iam_roles() + arn, updated = z.create_iam_roles() self.assertEqual(arn, "arn:aws:iam::123:role/{}".format(z.role_name)) @placebo_session @@ -157,29 +168,13 @@ def test_create_api_gateway_routes(self, session): z.http_methods = ['GET'] z.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution' lambda_arn = 'arn:aws:lambda:us-east-1:12345:function:helloworld' - with mock.patch('time.time', return_value=123.456): - api_id = z.create_api_gateway_routes(lambda_arn) - self.assertEqual(api_id, 'j27idab94h') - - @placebo_session - def test_deploy_api_gateway(self, session): - z = Zappa(session) - z.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution' - - z.parameter_depth = 1 - z.integration_response_codes = [200] - z.method_response_codes = [200] - z.http_methods = ['GET'] - - lambda_arn = 'arn:aws:lambda:us-east-1:12345:function:django-helloworld-unicode' - api_id = z.create_api_gateway_routes(lambda_arn) - endpoint_url = z.deploy_api_gateway(api_id, "test_stage") + z.create_api_gateway_routes(lambda_arn) @placebo_session def test_get_api_url(self, session): z = Zappa(session) z.credentials_arn = 'arn:aws:iam::724336686645:role/ZappaLambdaExecution' - url = z.get_api_url('Spheres-demonstration') + url = z.get_api_url('Spheres-demonstration', 'demonstration') @placebo_session def test_fetch_logs(self, session): @@ -229,12 +224,12 @@ def test_redirect_pattern(self): self.assertRegexpMatches(url, pattern) def test_b64_pattern(self): - head = '' + head = '\{"http_status": ' for code in ['400', '401', '402', '403', '404', '500']: pattern = Zappa.selection_pattern(code) - document = base64.b64encode(head + code + random_string(50)) + document = head + code + random_string(50) self.assertRegexpMatches(document, pattern) for bad_code in ['200', '301', '302']: @@ -345,8 +340,16 @@ def test_wsgi_multipart(self): # Handler ## - def test_handler(self): - lh = LambdaHandler('test_settings') + @placebo_session + def test_handler(self, session): + # Init will test load_remote_settings + lh = LambdaHandler('test_settings', session=session) + + # Annoyingly, this will fail during record, but + # the result will actually be okay to use in playback. + # See: https://github.com/garnaat/placebo/issues/48 + self.assertEqual(os.environ['hello'], 'world') + event = { "body": {}, "headers": {}, @@ -360,19 +363,139 @@ def test_handler(self): lh.handler(event, None) # Test scheduled event - event = { - u'account': u'72333333333', - u'region': u'us-east-1', - u'detail': {}, - u'detail-type': u'Scheduled Event', - u'source': u'aws.events', - u'version': u'0', - u'time': u'2016-05-10T21:05:39Z', - u'id': u'0d6a6db0-d5e7-4755-93a0-750a8bf49d55', + event = { + u'account': u'72333333333', + u'region': u'us-east-1', + u'detail': {}, + u'detail-type': u'Scheduled Event', + u'source': u'aws.events', + u'version': u'0', + u'time': u'2016-05-10T21:05:39Z', + u'id': u'0d6a6db0-d5e7-4755-93a0-750a8bf49d55', u'resources': [u'arn:aws:events:us-east-1:72333333333:rule/tests.test_app.schedule_me'] } lh.handler(event, None) + # Test command event + event = { + u'account': u'72333333333', + u'region': u'us-east-1', + u'detail': {}, + u'command': u'test_settings.command', + u'source': u'aws.events', + u'version': u'0', + u'time': u'2016-05-10T21:05:39Z', + u'id': u'0d6a6db0-d5e7-4755-93a0-750a8bf49d55', + u'resources': [u'arn:aws:events:us-east-1:72333333333:rule/tests.test_app.schedule_me'] + } + lh.handler(event, None) + + # Test AWS S3 event + event = { + u'account': u'72333333333', + u'region': u'us-east-1', + u'detail': {}, + u'Records': [{'s3': {'configurationId': 'test_settings.aws_s3_event'}}], + u'source': u'aws.events', + u'version': u'0', + u'time': u'2016-05-10T21:05:39Z', + u'id': u'0d6a6db0-d5e7-4755-93a0-750a8bf49d55', + u'resources': [u'arn:aws:events:us-east-1:72333333333:rule/tests.test_app.schedule_me'] + } + self.assertEqual("AWS S3 EVENT", lh.handler(event, None)) + + # Test AWS SNS event + event = { + u'account': u'72333333333', + u'region': u'us-east-1', + u'detail': {}, + u'Records': [ + { + u'EventVersion': u'1.0', + u'EventSource': u'aws:sns', + u'EventSubscriptionArn': u'arn:aws:sns:EXAMPLE', + u'Sns': { + u'SignatureVersion': u'1', + u'Timestamp': u'1970-01-01T00:00:00.000Z', + u'Signature': u'EXAMPLE', + u'SigningCertUrl': u'EXAMPLE', + u'MessageId': u'95df01b4-ee98-5cb9-9903-4c221d41eb5e', + u'Message': u'Hello from SNS!', + u'Subject': u'TestInvoke', + u'Type': u'Notification', + u'UnsubscribeUrl': u'EXAMPLE', + u'TopicArn': u'arn:aws:sns:1', + u'MessageAttributes': { + u'Test': {u'Type': u'String', u'Value': u'TestString'}, + u'TestBinary': {u'Type': u'Binary', u'Value': u'TestBinary'} + } + } + } + ] + } + self.assertEqual("AWS SNS EVENT", lh.handler(event, None)) + + # Test AWS DynamoDB event + event = { + u'Records': [ + { + u'eventID': u'1', + u'eventVersion': u'1.0', + u'dynamodb': { + u'Keys': {u'Id': {u'N': u'101'}}, + u'NewImage': {u'Message': {u'S': u'New item!'}, u'Id': {u'N': u'101'}}, + u'StreamViewType': u'NEW_AND_OLD_IMAGES', + u'SequenceNumber': u'111', u'SizeBytes': 26 + }, + u'awsRegion': u'us-west-2', + u'eventName': u'INSERT', + u'eventSourceARN': u'arn:aws:dynamodb:1', + u'eventSource': u'aws:dynamodb' + } + ] + } + self.assertEqual("AWS DYNAMODB EVENT", lh.handler(event, None)) + + # Test AWS kinesis event + event = { + u'Records': [ + { + u'eventID': u'shardId-000000000000:49545115243490985018280067714973144582180062593244200961', + u'eventVersion': u'1.0', + u'kinesis': { + u'partitionKey': u'partitionKey-3', + u'data': u'SGVsbG8sIHRoaXMgaXMgYSB0ZXN0IDEyMy4=', + u'kinesisSchemaVersion': u'1.0', + u'sequenceNumber': u'49545115243490985018280067714973144582180062593244200961' + }, + u'invokeIdentityArn': u'arn:aws:iam::EXAMPLE', + u'eventName': u'aws:kinesis:record', + u'eventSourceARN': u'arn:aws:kinesis:1', + u'eventSource': u'aws:kinesis', + u'awsRegion': u'us-east-1' + } + ] + } + self.assertEqual("AWS KINESIS EVENT", lh.handler(event, None)) + + # Unhandled event + event = { + u'Records': [ + { + u'eventID': u'shardId-000000000000:49545115243490985018280067714973144582180062593244200961', + u'eventVersion': u'1.0', + u'kinesis': { + u'partitionKey': u'partitionKey-3', + u'data': u'SGVsbG8sIHRoaXMgaXMgYSB0ZXN0IDEyMy4=', + u'kinesisSchemaVersion': u'1.0', + u'sequenceNumber': u'49545115243490985018280067714973144582180062593244200961' + }, + u'eventSourceARN': u'bad:arn:1', + } + ] + } + self.assertIsNone(lh.handler(event, None)) + ## # CLI ## @@ -400,12 +523,13 @@ def test_cli_utility(self): 'timestamp': '12345', 'message': '[END RequestId] test' }, - { + { 'timestamp': '12345', 'message': 'test' } ] zappa_cli.print_logs(logs) + zappa_cli.check_for_update() def test_cli_args(self): zappa_cli = ZappaCLI() @@ -413,18 +537,276 @@ def test_cli_args(self): argv = '-s test_settings.json derp ttt888'.split() zappa_cli.handle(argv) + def test_bad_json_catch(self): + zappa_cli = ZappaCLI() + self.assertRaises(ValueError, zappa_cli.load_settings_file, 'tests/test_bad_settings.json') + + def test_bad_stage_name_catch(self): + zappa_cli = ZappaCLI() + self.assertRaises(ValueError, zappa_cli.load_settings, 'tests/test_bad_stage_name_settings.json') + @placebo_session def test_cli_aws(self, session): zappa_cli = ZappaCLI() zappa_cli.api_stage = 'ttt888' + zappa_cli.api_key_required = True + zappa_cli.authorization_type = 'NONE' zappa_cli.load_settings('test_settings.json', session) - zappa_cli.zappa.credentials_arn = 'arn:aws:iam::724336686645:role/ZappaLambdaExecution' + zappa_cli.zappa.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution' zappa_cli.deploy() zappa_cli.update() zappa_cli.rollback(1) zappa_cli.tail(False) zappa_cli.schedule() - zappa_cli.undeploy(noconfirm=True) + zappa_cli.unschedule() + zappa_cli.undeploy(noconfirm=True, remove_logs=True) + + @placebo_session + def test_cli_aws_status(self, session): + zappa_cli = ZappaCLI() + zappa_cli.api_stage = 'ttt888' + zappa_cli.load_settings('test_settings.json', session) + zappa_cli.api_stage = 'devor' + zappa_cli.lambda_name = 'baby-flask-devor' + zappa_cli.zappa.credentials_arn = 'arn:aws:iam::12345:role/ZappaLambdaExecution' + resp = zappa_cli.status() + + def test_cli_init(self): + + if os.path.isfile('zappa_settings.json'): + os.remove('zappa_settings.json') + + # Test directly + zappa_cli = ZappaCLI() + # Via http://stackoverflow.com/questions/2617057/how-to-supply-stdin-files-and-environment-variable-inputs-to-python-unit-tests + inputs = ['dev', 'lmbda', 'test_settings', ''] + input_generator = (i for i in inputs) + with mock.patch('__builtin__.raw_input', lambda prompt: next(input_generator)): + zappa_cli.init() + + if os.path.isfile('zappa_settings.json'): + os.remove('zappa_settings.json') + + # Test via handle() + input_generator = (i for i in inputs) + with mock.patch('__builtin__.raw_input', lambda prompt: next(input_generator)): + zappa_cli = ZappaCLI() + argv = ['init'] + zappa_cli.handle(argv) + + if os.path.isfile('zappa_settings.json'): + os.remove('zappa_settings.json') + + def test_domain_name_match(self): + # Simple sanity check + zone = Zappa._get_best_match_zone(all_zones={ 'HostedZones': [ + { + 'Name': 'example.com.au.', + 'Id': 'zone-correct' + } + ]}, + domain='www.example.com.au') + assert zone == 'zone-correct' + + # No match test + zone = Zappa._get_best_match_zone(all_zones={'HostedZones': [ + { + 'Name': 'example.com.au.', + 'Id': 'zone-incorrect' + } + ]}, + domain='something-else.com.au') + assert zone is None + + # More involved, better match should win. + zone = Zappa._get_best_match_zone(all_zones={'HostedZones': [ + { + 'Name': 'example.com.au.', + 'Id': 'zone-incorrect' + }, + { + 'Name': 'subdomain.example.com.au.', + 'Id': 'zone-correct' + } + ]}, + domain='www.subdomain.example.com.au') + assert zone == 'zone-correct' + + + ## + # Let's Encrypt / ACME + ## + + def test_lets_encrypt_sanity(self): + + # We need a fake account key and crt + import subprocess + proc = subprocess.Popen(["openssl genrsa 2048 > /tmp/account.key"], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + proc = subprocess.Popen(["openssl req -x509 -newkey rsa:2048 -subj '/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com' -passout pass:foo -keyout /tmp/key.key -out test_signed.crt -days 1 > /tmp/signed.crt"], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + + DEFAULT_CA = "https://acme-staging.api.letsencrypt.org" + CA = "https://acme-staging.api.letsencrypt.org" + + try: + result = register_account() + except ValueError as e: + pass # that's fine. + + create_domain_key() + create_domain_csr('herp.derp.wtf') + parse_account_key() + parse_csr() + create_chained_certificate() + + try: + result = sign_certificate() + except ValueError as e: + pass # that's fine. + + result = verify_challenge('http://echo.jsontest.com/status/valid') + try: + result = verify_challenge('http://echo.jsontest.com/status/fail') + except ValueError as e: + pass # that's fine. + try: + result = verify_challenge('http://bing.com') + except ValueError as e: + pass # that's fine. + + encode_certificate(b'123') + + os.remove('test_signed.crt') + cleanup() + + ## + # Django + ## + + def test_detect_dj(self): + # Sanity + settings_modules = detect_django_settings() + + def test_dj_wsgi(self): + # Sanity + settings_modules = detect_django_settings() + + settings = """ +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) +import os +BASE_DIR = os.path.dirname(os.path.dirname(__file__)) + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'alskdfjalsdkf=0*%do-ayvy*m2k=vss*$7)j8q!@u0+d^na7mi2(^!l!d' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +TEMPLATE_DEBUG = True + +ALLOWED_HOSTS = [] + +# Application definition + +INSTALLED_APPS = ( + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', +) + +MIDDLEWARE_CLASSES = ( + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +) + +ROOT_URLCONF = 'blah.urls' +WSGI_APPLICATION = 'hackathon_starter.wsgi.application' + +# Database +# https://docs.djangoproject.com/en/1.7/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + } +} + +# Internationalization +# https://docs.djangoproject.com/en/1.7/topics/i18n/ + +LANGUAGE_CODE = 'en-us' +TIME_ZONE = 'UTC' +USE_I18N = True +USE_L10N = True +USE_TZ = True + """ + + djts = open("dj_test_settings.py", "w") + djts.write(settings) + djts.close() + + app = get_django_wsgi('dj_test_settings') + os.remove('dj_test_settings.py') + os.remove('dj_test_settings.pyc') + + ## + # Util / Misc + ## + + def test_human_units(self): + zappa = Zappa() + zappa.human_size(1) + zappa.human_size(9999999999999) + + def test_detect_dj(self): + # Sanity + settings_modules = detect_django_settings() + + def test_detect_flask(self): + # Sanity + settings_modules = detect_flask_apps() + + @placebo_session + def test_add_event_source(self, session): + + event_source = {'arn': 'blah:blah:blah:blah', 'events': [ + "s3:ObjectCreated:*" + ]} + # Sanity. This should fail. + try: + es = add_event_source(event_source, 'blah:blah:blah:blah', 'test_settings.callback', session) + self.fail("Success should have failed.") + except ValueError: + pass + + event_source = {'arn': 's3:s3:s3:s3', 'events': [ + "s3:ObjectCreated:*" + ]} + add_event_source(event_source, 'lambda:lambda:lambda:lambda', 'test_settings.callback', session, dry=True) + remove_event_source(event_source, 'lambda:lambda:lambda:lambda', 'test_settings.callback', session, dry=True) + # get_event_source_status(event_source, 'lambda:lambda:lambda:lambda', 'test_settings.callback', session, dry=True) + + def test_shameless(self): + shamelessly_promote() if __name__ == '__main__': unittest.main() diff --git a/tests/tests_middleware.py b/tests/tests_middleware.py index 3ab4f96d4..e5fb36f84 100644 --- a/tests/tests_middleware.py +++ b/tests/tests_middleware.py @@ -162,7 +162,8 @@ def test_wsgi_middleware_redirect(self): def simple_app(environ, start_response): status = '301 Moved Permanently' response_headers = [('Location', url), - ('Set-Cookie', 'foo=456')] + ('Set-Cookie', 'foo=456'), + ('Content-Type', 'text/html; charset blahblah')] start_response(status, response_headers) return [body] @@ -176,13 +177,13 @@ def simple_app(environ, start_response): self.assertEqual(self.status[0], '200 OK') # Assert there is only one zappa cookie - self.assertEqual(len(self.headers), 2) + self.assertEqual(len(self.headers), 3) self.assertEqual(self.headers[0][0], 'Location') self.assertEqual(self.headers[0][1], url) - self.assertEqual(self.headers[1][0], 'Set-Cookie') - self.assertTrue(self.headers[1][1].startswith('zappa=')) + self.assertEqual(self.headers[2][0], 'Set-Cookie') + self.assertTrue(self.headers[2][1].startswith('zappa=')) self.assertNotEqual(''.join(resp), body) @@ -201,8 +202,8 @@ def simple_app(environ, start_response): # Call with empty WSGI Environment resp = app(dict(), self._start_response) - #self.assertEqual(self.status[0], '302 Found') - self.assertEqual(self.status[0], '200 OK') + self.assertEqual(self.status[0], '302 Found') + #self.assertEqual(self.status[0], '200 OK') self.assertEqual(len(self.headers), 3) self.assertEqual(self.headers[1][0], 'Location') @@ -211,7 +212,7 @@ def simple_app(environ, start_response): self.assertEqual(self.headers[2][0], 'Set-Cookie') self.assertTrue(self.headers[2][1].startswith('zappa=')) - self.assertNotEqual(''.join(resp), body) + self.assertEqual(''.join(resp), body) def test_wsgi_middleware_uglystring(self): ugly_string = unicode("˝ÓÔÒÚÆ☃ЗИЙКЛМФХЦЧШ차를 타고 온 펲시맨(╯°□°)╯︵ ┻━┻)" diff --git a/zappa/cli.py b/zappa/cli.py index 041797848..87c6ed3b8 100644 --- a/zappa/cli.py +++ b/zappa/cli.py @@ -1,6 +1,7 @@ -#! /usr/bin/env python -""" +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" Zappa CLI Deploy arbitrary Python programs as serverless Zappa applications. @@ -8,40 +9,71 @@ """ from __future__ import unicode_literals +from __future__ import division import argparse +import base64 +import botocore +import click +import hjson as json import inspect import imp -import hjson as json +import importlib +import logging import os +import pkg_resources +import random +import re import requests import slugify +import string import sys import tempfile +import time import zipfile -import pkg_resources - -from zappa import Zappa +from dateutil import parser +from datetime import datetime,timedelta +from zappa import Zappa, logger +from util import check_new_version_available, detect_django_settings, detect_flask_apps CUSTOM_SETTINGS = [ + 'assume_policy', + 'attach_policy', 'aws_region', - 'delete_zip', + 'delete_local_zip', + 'delete_s3_zip', 'exclude', 'http_methods', 'integration_response_codes', + 'method_header_types', 'method_response_codes', 'parameter_depth', 'role_name', 'touch', ] +CLI_COMMANDS = [ + 'certify', + 'deploy', + 'init', + 'invoke', + 'manage', + 'rollback', + 'schedule', + 'status', + 'tail', + 'undeploy', + 'unschedule', + 'update' +] + ## # Main Input Processing ## class ZappaCLI(object): """ - ZappaCLI object is responsible for loading the settings, + ZappaCLI object is responsible for loading the settings, handling the input arguments and executing the calls to the core library. """ @@ -49,6 +81,7 @@ class ZappaCLI(object): # Zappa settings zappa = None zappa_settings = None + load_credentials = True api_stage = None app_function = None @@ -59,11 +92,29 @@ class ZappaCLI(object): profile_name = None lambda_arn = None lambda_name = None + lambda_description = None s3_bucket_name = None settings_file = None zip_path = None vpc_config = None memory_size = None + use_apigateway = None + lambda_handler = None + django_settings = None + manage_roles = True + exception_handler = None + environment_variables = None + + stage_name_env_pattern = re.compile('^[a-zA-Z0-9_]+$') + + @property + def stage_config(self): + """A shortcut property for settings of staging.""" + # Backwards compatible for delete_zip setting that was more explicitly named delete_local_zip + settings = self.zappa_settings[self.api_stage] + if u'delete_zip' in settings: + settings[u'delete_local_zip'] = settings.get(u'delete_zip') + return settings def handle(self, argv=None): """ @@ -72,10 +123,10 @@ def handle(self, argv=None): Parses command, load settings and dispatches accordingly. """ + help_message = "Please supply a command to execute. Can be one of: {}".format(', '.join(x for x in sorted(CLI_COMMANDS))) parser = argparse.ArgumentParser(description='Zappa - Deploy Python applications to AWS Lambda and API Gateway.\n') - parser.add_argument('command_env', metavar='U', type=str, nargs='*', - help="Command to execute. Can be one of 'deploy', 'update', 'tail' and 'rollback'.") + parser.add_argument('command_env', metavar='U', type=str, nargs='*', help=help_message) parser.add_argument('-n', '--num-rollback', type=int, default=0, help='The number of versions to rollback.') parser.add_argument('-s', '--settings_file', type=str, default='zappa_settings.json', @@ -83,40 +134,59 @@ def handle(self, argv=None): parser.add_argument('-a', '--app_function', type=str, default=None, help='The WSGI application function.') parser.add_argument('-v', '--version', action='store_true', help='Print the zappa version', default=False) + parser.add_argument('-y', '--yes', action='store_true', help='Auto confirm yes', default=False) + parser.add_argument('--remove-logs', action='store_true', help='Removes log groups of api gateway and lambda task during the undeployment.', default=False) args = parser.parse_args(argv) + vargs = vars(args) vargs_nosettings = vargs.copy() vargs_nosettings.pop('settings_file') if not any(vargs_nosettings.values()): # pragma: no cover - parser.error("Please supply a command to execute. Can be one of 'deploy', 'update', 'tail', rollback', 'invoke'.'") + parser.error(help_message) return # Version requires no arguments if args.version: # pragma: no cover self.print_version() - sys.exit(0) + sys.exit(-1) # Parse the input command_env = vargs['command_env'] command = command_env[0] - if len(command_env) < 2: # pragma: no cover + + if command not in CLI_COMMANDS: + print("The command '{}' is not recognized. {}".format(command, help_message)) + return + + # Settings-based interactions will fail + # before a project has been initialized. + if command != 'init': + + # Load and Validate Settings File self.load_settings_file(vargs['settings_file']) - # If there's only one environment defined in the settings, - # use that as the default. - if len(self.zappa_settings.keys()) is 1: - self.api_stage = self.zappa_settings.keys()[0] + if len(command_env) < 2: # pragma: no cover + # If there's only one environment defined in the settings, + # use that as the default. + if len(self.zappa_settings.keys()) is 1: + self.api_stage = self.zappa_settings.keys()[0] + else: + parser.error("Please supply an environment to interact with.") + return else: - parser.error("Please supply an environment to interact with.") - return - else: - self.api_stage = command_env[1] + self.api_stage = command_env[1] - # Load our settings - self.load_settings(vargs['settings_file']) - if vargs['app_function'] is not None: - self.app_function = vargs['app_function'] + if vargs['app_function'] is not None: + self.app_function = vargs['app_function'] + + # Load our settings + try: + self.load_settings(vargs['settings_file']) + except ValueError as e: + print("Error: {}".format(e.message)) + sys.exit(-1) + self.callback('settings') # Hand it off if command == 'deploy': # pragma: no cover @@ -126,21 +196,42 @@ def handle(self, argv=None): elif command == 'rollback': # pragma: no cover if vargs['num_rollback'] < 1: # pragma: no cover parser.error("Please enter the number of iterations to rollback.") - return + return self.rollback(vargs['num_rollback']) elif command == 'invoke': # pragma: no cover - self.invoke() + + if len(command_env) < 2: + parser.error("Please enter the function to invoke.") + return + + self.invoke(command_env[-1]) + elif command == 'manage': # pragma: no cover + + if len(command_env) < 2: + parser.error("Please enter the management command to invoke.") + return + + if not self.django_settings: + print("This command is for Django projects only!") + print("If this is a Django project, please define django_settings in your zappa_settings.") + return + + self.invoke(command_env[-1], "manage") + elif command == 'tail': # pragma: no cover self.tail() elif command == 'undeploy': # pragma: no cover - self.undeploy() + self.undeploy(noconfirm=vargs['yes'], remove_logs=vargs['remove_logs']) elif command == 'schedule': # pragma: no cover self.schedule() elif command == 'unschedule': # pragma: no cover self.unschedule() - else: - print("The command '{0!s}' is not recognized.".format(command)) - return + elif command == 'status': # pragma: no cover + self.status() + elif command == 'init': # pragma: no cover + self.init() + elif command == 'certify': # pragma: no cover + self.certify() ## # The Commands @@ -157,60 +248,104 @@ def deploy(self): if self.prebuild_script: self.execute_prebuild_script() + # Make sure this isn't already deployed. + deployed_versions = self.zappa.get_lambda_function_versions(self.lambda_name) + if len(deployed_versions) > 0: + click.echo("This application is " + click.style("already deployed", fg="red") + " - did you mean to call " + click.style("update", bold=True) + "?") + return + + # Make sure there isn't a new version available + self.check_for_update() + # Make sure the necessary IAM execution roles are available - self.zappa.create_iam_roles() + if self.manage_roles: + try: + self.zappa.create_iam_roles() + except botocore.client.ClientError: + click.echo(click.style("Failed", fg="red") + " to " + click.style("manage IAM roles", bold=True) + "!") + click.echo("You may " + click.style("lack the necessary AWS permissions", bold=True) + " to automatically manage a Zappa execution role.") + click.echo("To fix this, see here: " + click.style("https://github.com/Miserlou/Zappa#using-custom-aws-iam-roles-and-policie", bold=True)) + sys.exit(-1) # Create the Lambda Zip self.create_package() + self.callback('zip') # Upload it to S3 success = self.zappa.upload_to_s3( self.zip_path, self.s3_bucket_name) if not success: # pragma: no cover print("Unable to upload to S3. Quitting.") - return + sys.exit(-1) # Register the Lambda function with that zip as the source # You'll also need to define the path to your lambda_handler code. self.lambda_arn = self.zappa.create_lambda_function(bucket=self.s3_bucket_name, s3_key=self.zip_path, function_name=self.lambda_name, - handler='handler.lambda_handler', + handler=self.lambda_handler, + description=self.lambda_description, vpc_config=self.vpc_config, timeout=self.timeout_seconds, memory_size=self.memory_size) - # Create a Keep Warm for this deployment - if self.zappa_settings[self.api_stage].get('keep_warm', True): - self.zappa.create_keep_warm(self.lambda_arn, self.lambda_name) - - # Create and configure the API Gateway - api_id = self.zappa.create_api_gateway_routes( - self.lambda_arn, self.lambda_name) - - # Deploy the API! - cache_cluster_enabled = self.zappa_settings[self.api_stage].get('cache_cluster_enabled', False) - cache_cluster_size = str(self.zappa_settings[self.api_stage].get('cache_cluster_size', .5)) - endpoint_url = self.zappa.deploy_api_gateway( - api_id=api_id, - stage_name=self.api_stage, - cache_cluster_enabled=cache_cluster_enabled, - cache_cluster_size=cache_cluster_size - ) + # Schedule events for this deployment + self.schedule() + + endpoint_url = '' + if self.use_apigateway: + + if self.iam_authorization: + auth_type = "AWS_IAM" + else: + auth_type = "NONE" + + # Create and configure the API Gateway + + template = self.zappa.create_stack_template(self.lambda_arn, + self.lambda_name, + self.api_key_required, + self.integration_content_type_aliases, + auth_type) + + self.zappa.update_stack(self.lambda_name, self.s3_bucket_name, wait=True) + api_id = self.zappa.get_api_id(self.lambda_name) + + # Deploy the API! + cache_cluster_enabled = self.stage_config.get('cache_cluster_enabled', False) + cache_cluster_size = str(self.stage_config.get('cache_cluster_size', .5)) + endpoint_url = self.zappa.deploy_api_gateway( + api_id=api_id, + stage_name=self.api_stage, + cache_cluster_enabled=cache_cluster_enabled, + cache_cluster_size=cache_cluster_size, + cloudwatch_log_level=self.zappa_settings[self.api_stage].get('cloudwatch_log_level', 'OFF'), + cloudwatch_data_trace=self.zappa_settings[self.api_stage].get('cloudwatch_data_trace', False), + cloudwatch_metrics_enabled=self.zappa_settings[self.api_stage].get('cloudwatch_metrics_enabled', False), + ) + + # Create/link API key + if self.api_key_required: + if self.api_key is None: + self.zappa.create_api_key(api_id=api_id, stage_name=self.api_stage) + else: + self.zappa.add_api_stage_to_api_key(api_key=self.api_key, api_id=api_id, stage_name=self.api_stage) + + if self.stage_config.get('touch', True): + requests.get(endpoint_url) # Finally, delete the local copy our zip package - if self.zappa_settings[self.api_stage].get('delete_zip', True): - os.remove(self.zip_path) + if self.stage_config.get('delete_local_zip', True): + self.remove_local_zip() # Remove the uploaded zip from S3, because it is now registered.. - self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) + if self.stage_config.get('delete_s3_zip', True): + self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) - if self.zappa_settings[self.api_stage].get('touch', True): - requests.get(endpoint_url) + self.callback('post') - print("Your Zappa deployment is live!: " + endpoint_url) + click.echo(click.style("Deployment complete", fg="green", bold=True) + "!: {}".format(endpoint_url)) - return def update(self): """ @@ -221,35 +356,115 @@ def update(self): if self.prebuild_script: self.execute_prebuild_script() + # Make sure there isn't a new version available + self.check_for_update() + + # Temporary version check + try: + updated_time = 1472581018 + function_response = self.zappa.lambda_client.get_function(FunctionName=self.lambda_name) + conf = function_response['Configuration'] + last_updated = parser.parse(conf['LastModified']) + last_updated_unix = time.mktime(last_updated.timetuple()) + except Exception as e: + click.echo(click.style("Warning!", fg="red") + " Couldn't get function - have you deployed yet?") + sys.exit(-1) + + if last_updated_unix <= updated_time: + click.echo(click.style("Warning!", fg="red") + " You may have upgraded Zappa since deploying this application. You will need to " + click.style("redeploy", bold=True) + " for this deployment to work properly!") + # Make sure the necessary IAM execution roles are available - self.zappa.create_iam_roles() + if self.manage_roles: + try: + self.zappa.create_iam_roles() + except botocore.client.ClientError: + click.echo(click.style("Failed", fg="red") + " to " + click.style("manage IAM roles", bold=True) + "!") + click.echo("You may " + click.style("lack the necessary AWS permissions", bold=True) + " to automatically manage a Zappa execution role.") + click.echo("To fix this, see here: " + click.style("https://github.com/Miserlou/Zappa#using-custom-aws-iam-roles-and-policie", bold=True)) + sys.exit(-1) # Create the Lambda Zip, self.create_package() + self.callback('zip') # Upload it to S3 success = self.zappa.upload_to_s3(self.zip_path, self.s3_bucket_name) if not success: # pragma: no cover print("Unable to upload to S3. Quitting.") - return + sys.exit(-1) # Register the Lambda function with that zip as the source # You'll also need to define the path to your lambda_handler code. self.lambda_arn = self.zappa.update_lambda_function( self.s3_bucket_name, self.zip_path, self.lambda_name) - # Create a Keep Warm for this deployment - if self.zappa_settings[self.api_stage].get('keep_warm', True): - self.zappa.create_keep_warm(self.lambda_arn, self.lambda_name) - # Remove the uploaded zip from S3, because it is now registered.. - self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) + if self.stage_config.get('delete_s3_zip', True): + self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) + + # Update the configuration, in case there are changes. + self.lambda_arn = self.zappa.update_lambda_configuration(lambda_arn=self.lambda_arn, + function_name=self.lambda_name, + handler=self.lambda_handler, + description=self.lambda_description, + vpc_config=self.vpc_config, + timeout=self.timeout_seconds, + memory_size=self.memory_size) # Finally, delete the local copy our zip package - if self.zappa_settings[self.api_stage].get('delete_zip', True): - os.remove(self.zip_path) + if self.stage_config.get('delete_local_zip', True): + self.remove_local_zip() + + if self.iam_authorization: + auth_type = "AWS_IAM" + else: + auth_type = "NONE" + + template = self.zappa.create_stack_template(self.lambda_arn, + self.lambda_name, + self.api_key_required, + self.integration_content_type_aliases, + auth_type) + self.zappa.update_stack(self.lambda_name, self.s3_bucket_name, wait=True, update_only=True) + + if self.stage_config.get('domain', None): + endpoint_url = self.stage_config.get('domain') + else: + endpoint_url = self.zappa.get_api_url(self.lambda_name, self.api_stage) + + self.schedule() + + self.zappa.update_stage_config( + self.lambda_name, + self.api_stage, + self.zappa_settings[self.api_stage].get('cloudwatch_log_level', 'OFF'), + self.zappa_settings[self.api_stage].get('cloudwatch_data_trace', False), + self.zappa_settings[self.api_stage].get('cloudwatch_metrics_enabled', False) + ) + + self.callback('post') + + if endpoint_url and 'https://' not in endpoint_url: + endpoint_url = 'https://' + endpoint_url + + deployed_string = "Your updated Zappa deployment is " + click.style("live", fg='green', bold=True) + "!: " + click.style("{}".format(endpoint_url), bold=True) + + api_url = None + if endpoint_url and 'amazonaws.com' not in endpoint_url: + api_url = self.zappa.get_api_url( + self.lambda_name, + self.api_stage) - print("Your updated Zappa deployment is live!") + if endpoint_url != api_url: + deployed_string = deployed_string + " (" + api_url + ")" + + if self.stage_config.get('touch', True): + if api_url: + requests.get(api_url) + elif endpoint_url: + requests.get(endpoint_url) + + click.echo(deployed_string) return @@ -295,9 +510,9 @@ def tail(self, keep_open=True): try: sys.exit(0) except SystemExit: - os._exit(0) + os._exit(130) - def undeploy(self, noconfirm=False): + def undeploy(self, noconfirm=False, remove_logs=False): """ Tear down an exiting deployment. """ @@ -307,14 +522,28 @@ def undeploy(self, noconfirm=False): if confirm != 'y': return - self.zappa.undeploy_api_gateway(self.lambda_name) - if self.zappa_settings[self.api_stage].get('keep_warm', True): - self.zappa.remove_keep_warm(self.lambda_name) - self.zappa.delete_lambda_function(self.lambda_name) + if remove_logs: + self.zappa.remove_api_gateway_logs(self.lambda_name) - print("Done!") + domain_name = self.stage_config.get('domain', None) - return + # Only remove the api key when not specified + if self.api_key_required and self.api_key is None: + api_id = self.zappa.get_api_id(self.lambda_name) + self.zappa.remove_api_key(api_id, self.api_stage) + + gateway_id = self.zappa.undeploy_api_gateway( + self.lambda_name, + domain_name=domain_name + ) + + self.unschedule() # removes event triggers, including warm up event. + + self.zappa.delete_lambda_function(self.lambda_name) + if remove_logs: + self.zappa.remove_lambda_function_logs(self.lambda_name) + + click.echo(click.style("Done", fg="green", bold=True) + "!") def schedule(self): """ @@ -322,24 +551,51 @@ def schedule(self): setup up regular execution. """ + events = self.stage_config.get('events') - if self.zappa_settings[self.api_stage].get('events'): - events = self.zappa_settings[self.api_stage]['events'] - - if type(events) != type([]): + if events: + if not isinstance(events, list): # pragma: no cover print("Events must be supplied as a list.") return - # Update, as we need to get the Lambda ARN. - # There is probably a better way to do this. - # XXX - # http://boto3.readthedocs.io/en/latest/reference/services/lambda.html#Lambda.Client.get_function - self.update() + if self.zappa_settings[self.api_stage].get('keep_warm', True): + if not events: + events = [] + keep_warm_rate = self.zappa_settings[self.api_stage].get('keep_warm_expression', "rate(4 minutes)") + events.append({'name': 'zappa-keep-warm', + 'function': 'handler.keep_warm_callback', + 'expression': keep_warm_rate, + 'description': 'Zappa Keep Warm - {}'.format(self.lambda_name)}) + + + if self.zappa_settings[self.api_stage].get('lets_encrypt_expression'): + + function_response = self.zappa.lambda_client.get_function(FunctionName=self.lambda_name) + conf = function_response['Configuration'] + timeout = conf['Timeout'] + + if timeout < 60: + click.echo(click.style("Unable to schedule certificate autorenewer!", fg="red", bold=True) + " Please redeploy with a " + click.style("timeout_seconds", bold=True) + " greater than 60!") + else: + events.append({'name': 'zappa-le-certify', + 'function': 'handler.certify_callback', + 'expression': self.zappa_settings[self.api_stage].get('lets_encrypt_expression'), + 'description': 'Zappa LE Certificate Renewer - {}'.format(self.lambda_name)}) + + if events: + try: + function_response = self.zappa.lambda_client.get_function(FunctionName=self.lambda_name) + except botocore.exceptions.ClientError as e: # pragma: no cover + print("Function does not exist, please deploy first. Ex: zappa deploy {}.".format(self.api_stage)) + sys.exit(-1) print("Scheduling..") - self.zappa.schedule_events(self.lambda_arn, self.lambda_name, events) + self.zappa.schedule_events( + lambda_arn=function_response['Configuration']['FunctionArn'], + lambda_name=self.lambda_name, + events=events + ) - return def unschedule(self): """ @@ -348,69 +604,461 @@ def unschedule(self): """ - if self.zappa_settings[self.api_stage].get('events', None): - events = self.zappa_settings[self.api_stage]['events'] + # Run even if events are not defined to remove previously existing ones (thus default to []). + events = self.stage_config.get('events', []) - if type(events) != type([]): - print("Events must be supplied as a list.") - return + if not isinstance(events, list): # pragma: no cover + print("Events must be supplied as a list.") + return - print("Unscheduling..") - self.zappa.unschedule_events(events) + function_arn = None + try: + function_response = self.zappa.lambda_client.get_function(FunctionName=self.lambda_name) + function_arn = function_response['Configuration']['FunctionArn'] + except botocore.exceptions.ClientError as e: # pragma: no cover + print("Function does not exist, you should deploy first. Ex: zappa deploy {}. " + "Proceeding to unschedule CloudWatch based events.".format(self.api_stage)) + sys.exit(-1) + + print("Unscheduling..") + self.zappa.unschedule_events( + lambda_name=self.lambda_name, + lambda_arn=function_arn, + events=events, + ) - return - def print_version(self): + def invoke(self, function_name, command="command"): + """ + Invoke a remote function. + """ + + # Invoke it! + command = {command: function_name} + + # Can't use hjson + import json as json + + response = self.zappa.invoke_lambda_function( + self.lambda_name, + json.dumps(command), + invocation_type='RequestResponse' + ) + + if 'LogResult' in response: + print(base64.b64decode(response['LogResult'])) + else: + print(response) + + def status(self): + """ + Describe the status of the current deployment. + """ + + click.echo("Status for " + click.style(self.lambda_name, bold=True) + ": ") + + def tabular_print(title, value): + """ + Convience function for priting formatted table items. + """ + click.echo('%-*s%s' % (32, click.style("\t" + title, fg='green') + ':', str(value))) + return + + # Lambda Env Details + lambda_versions = self.zappa.get_lambda_function_versions(self.lambda_name) + if not lambda_versions: + click.echo(click.style("\tNo Lambda detected - have you deployed yet?", fg='red')) + return False + else: + tabular_print("Lambda Versions", len(lambda_versions)) + function_response = self.zappa.lambda_client.get_function(FunctionName=self.lambda_name) + conf = function_response['Configuration'] + tabular_print("Lambda Name", self.lambda_name) + tabular_print("Lambda ARN", conf['FunctionArn']) + tabular_print("Lambda Role ARN", conf['Role']) + tabular_print("Lambda Handler", conf['Handler']) + tabular_print("Lambda Code Size", conf['CodeSize']) + tabular_print("Lambda Version", conf['Version']) + tabular_print("Lambda Last Modified", conf['LastModified']) + tabular_print("Lambda Memory Size", conf['MemorySize']) + tabular_print("Lambda Timeout", conf['Timeout']) + tabular_print("Lambda Runtime", conf['Runtime']) + if 'VpcConfig' in conf.keys(): + tabular_print("Lambda VPC ID", conf.get('VpcConfig', {}).get('VpcId', 'Not assigned')) + else: + tabular_print("Lambda VPC ID", None) + + # Calculated statistics + try: + function_invocations = self.zappa.cloudwatch.get_metric_statistics( + Namespace='AWS/Lambda', + MetricName='Invocations', + StartTime=datetime.utcnow()-timedelta(days=1), + EndTime=datetime.utcnow(), + Period=1440, + Statistics=['Sum'], + Dimensions=[{'Name': 'FunctionName', + 'Value': '{}'.format(self.lambda_name)}] + )['Datapoints'][0]['Sum'] + except Exception as e: + function_invocations = 0 + try: + function_errors = self.zappa.cloudwatch.get_metric_statistics( + Namespace='AWS/Lambda', + MetricName='Errors', + StartTime=datetime.utcnow()-timedelta(days=1), + EndTime=datetime.utcnow(), + Period=1440, + Statistics=['Sum'], + Dimensions=[{'Name': 'FunctionName', + 'Value': '{}'.format(self.lambda_name)}] + )['Datapoints'][0]['Sum'] + except Exception as e: + function_errors = 0 + + try: + error_rate = "{0:.2f}%".format(function_errors / function_invocations * 100) + except: + error_rate = "Error calculating" + tabular_print("Invocations (24h)", int(function_invocations)) + tabular_print("Errors (24h)", int(function_errors)) + tabular_print("Error Rate (24h)", error_rate) + + # URLs + api_url = self.zappa.get_api_url( + self.lambda_name, + self.api_stage) + + tabular_print("API Gateway URL", api_url) + + # Api Keys + api_id = self.zappa.get_api_id(self.lambda_name) + for api_key in self.zappa.get_api_keys(api_id, self.api_stage): + tabular_print("API Gateway x-api-key", api_key) + + # There literally isn't a better way to do this. + # AWS provides no way to tie a APIGW domain name to its Lambda funciton. + domain_url = self.stage_config.get('domain', None) + if domain_url: + tabular_print("Domain URL", 'https://' + domain_url) + else: + tabular_print("Domain URL", "None Supplied") + + # Scheduled Events + event_rules = self.zappa.get_event_rules_for_lambda(lambda_name=self.lambda_name) + tabular_print("Num. Event Rules", len(event_rules)) + for rule in event_rules: + rule_name = rule['Name'] + print('') + tabular_print("Event Rule Name", rule_name) + tabular_print("Event Rule Schedule", rule.get(u'ScheduleExpression', None)) + tabular_print("Event Rule State", rule.get(u'State', None).title()) + tabular_print("Event Rule ARN", rule.get(u'Arn', None)) + + # TODO: S3/SQS/etc. type events? + + return True + + def print_version(self): # pragma: no cover """ Print the current zappa version. """ version = pkg_resources.require("zappa")[0].version print(version) + def check_stage_name(self, stage_name): + """ + Make sure the stage name matches the AWS-allowed pattern + + (calls to apigateway_client.create_deployment, will fail with error + message "ClientError: An error occurred (BadRequestException) when + calling the CreateDeployment operation: Stage name only allows + a-zA-Z0-9_" if the pattern does not match) + """ + if self.stage_name_env_pattern.match(stage_name): + return True + raise ValueError("AWS requires stage name to match a-zA-Z0-9_") + + + def init(self, settings_file="zappa_settings.json"): + """ + Initialize a new Zappa project by creating a new zappa_settings.json in a guided process. + + This should probably be broken up into few separate componants once it's stable. + Testing these raw_inputs requires monkeypatching with mock, which isn't pretty. + + """ + + # Ensure that we don't already have a zappa_settings file. + if os.path.isfile(settings_file): + click.echo("This project is " + click.style("already initialized", fg="red", bold=True) + "!") + sys.exit() # pragma: no cover + + # Ensure P2 until Lambda supports it. + if sys.version_info >= (3,0): # pragma: no cover + print("Zappa curently only works with Python 2, until AWS Lambda adds Python 3 support.") + sys.exit() # pragma: no cover + + # Ensure inside virtualenv. + if not ( hasattr(sys, 'prefix') or hasattr(sys, 'real_prefix') or hasattr(sys, 'base_prefix') ): # pragma: no cover + print("Zappa must be run inside of a virtual environment!") + print("Learn more about virtual environments here: http://docs.python-guide.org/en/latest/dev/virtualenvs/") + sys.exit() + + # Explain system. + click.echo(click.style(u"""\n███████╗ █████╗ ██████╗ ██████╗ █████╗ +╚══███╔╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗ + ███╔╝ ███████║██████╔╝██████╔╝███████║ + ███╔╝ ██╔══██║██╔═══╝ ██╔═══╝ ██╔══██║ +███████╗██║ ██║██║ ██║ ██║ ██║ +╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝\n""", fg='green', bold=True)) + + click.echo(click.style("Welcome to ", bold=True) + click.style("Zappa", fg='green', bold=True) + click.style("!\n", bold=True)) + click.echo(click.style("Zappa", bold=True) + " is a system for running server-less Python web applications on AWS Lambda and AWS API Gateway.") + click.echo("This `init` command will help you create and configure your new Zappa deployment.") + click.echo("Let's get started!\n") + + # Create Env + while True: + click.echo("Your Zappa configuration can support multiple production environments, like '" + click.style("dev", bold=True) + "', '" + click.style("staging", bold=True) + "', and '" + click.style("production", bold=True) + "'.") + env = raw_input("What do you want to call this environment (default 'dev'): ") or "dev" + try: + self.check_stage_name(env) + break + except ValueError: + click.echo(click.style("Environment names must match a-zA-Z0-9_", fg='red')) + + # Create Bucket + click.echo("\nYour Zappa deployments will need to be uploaded to a " + click.style("private S3 bucket", bold=True) + ".") + click.echo("If you don't have a bucket yet, we'll create one for you too.") + default_bucket = "zappa-" + ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(9)) + bucket = raw_input("What do you want call your bucket? (default '%s'): " % default_bucket) or default_bucket + # TODO actually create bucket. + + # Detect Django/Flask + try: # pragma: no cover + import django + has_django = True + except ImportError, e: + has_django = False + + try: # pragma: no cover + import flask + has_flask = True + except ImportError, e: + has_flask = False + + print('') + # App-specific + if has_django: # pragma: no cover + click.echo("It looks like this is a " + click.style("Django", bold=True) + " application!") + click.echo("What is the " + click.style("module path", bold=True) + " to your projects's Django settings?") + django_settings = None + + matches = detect_django_settings() + while django_settings in [None, '']: + if matches: + click.echo("We discovered: " + click.style(', '.join('{}'.format(i) for v, i in enumerate(matches)), bold=True)) + django_settings = raw_input("Where are your project's settings? (default '%s'): " % matches[0]) or matches[0] + else: + click.echo("(This will likely be something like 'your_project.settings')") + django_settings = raw_input("Where are your project's settings?: ") + django_settings = django_settings.replace("'", "") + django_settings = django_settings.replace('"', "") + else: + matches = None + if has_flask: + click.echo("It looks like this is a " + click.style("Flask", bold=True) + " application.") + matches = detect_flask_apps() + click.echo("What's the " + click.style("modular path", bold=True) + " to your app's function?") + click.echo("This will likely be something like 'your_module.app'.") + app_function = None + while app_function in [None, '']: + if matches: + click.echo("We discovered: " + click.style(', '.join('{}'.format(i) for v, i in enumerate(matches)), bold=True)) + app_function = raw_input("Where is your app's function? (default '%s'): " % matches[0]) or matches[0] + else: + app_function = raw_input("Where is your app's function?: ") + app_function = app_function.replace("'", "") + app_function = app_function.replace('"', "") + + # TODO: Create VPC? + # Memory size? Time limit? + + # Confirm + zappa_settings = { + env: { + 's3_bucket': bucket, + } + } + if has_django: + zappa_settings[env]['django_settings'] = django_settings + else: + zappa_settings[env]['app_function'] = app_function + + import json as json # hjson is fine for loading, not fine for writing. + zappa_settings_json = json.dumps(zappa_settings, sort_keys=True, indent=4) + + click.echo("\nOkay, here's your " + click.style("zappa_settings.js", bold=True) + ":\n") + click.echo(click.style(zappa_settings_json, fg="yellow", bold=False)) + + confirm = raw_input("\nDoes this look " + click.style("okay", bold=True, fg="green") + "? (default y) [y/n]: ") or 'yes' + if confirm[0] not in ['y', 'Y', 'yes', 'YES']: + click.echo("" + click.style("Sorry", bold=True, fg='red') + " to hear that! Please init again.") + return + + # Write + with open("zappa_settings.json", "w") as zappa_settings_file: + zappa_settings_file.write(zappa_settings_json) + + click.echo("\n" + click.style("Done", bold=True) + "! Now you can " + click.style("deploy", bold=True) + " your Zappa application by executing:\n") + click.echo(click.style("\t$ zappa deploy %s" % env, bold=True)) + + click.echo("\nAfter that, you can " + click.style("update", bold=True) + " your application code with:\n") + click.echo(click.style("\t$ zappa update %s" % env, bold=True)) + + click.echo("\nTo learn more, check out our project page on " + click.style("GitHub", bold=True) + " here: " + click.style("https://github.com/Miserlou/Zappa", fg="cyan", bold=True)) + click.echo("and stop by our " + click.style("Slack", bold=True) + " channel here: " + click.style("http://bit.do/zappa", fg="cyan", bold=True)) + click.echo("\nEnjoy!,") + click.echo(" ~ Team " + click.style("Zappa", bold=True) + "!") + + return + + def certify(self): + """ + Register or update a domain certificate for this env. + """ + + # Make sure this isn't already deployed. + deployed_versions = self.zappa.get_lambda_function_versions(self.lambda_name) + if len(deployed_versions) == 0: + click.echo("This application " + click.style("isn't deployed yet", fg="red") + " - did you mean to call " + click.style("deploy", bold=True) + "?") + return + + # Get install account_key to /tmp/account_key.pem + account_key_location = self.stage_config.get('lets_encrypt_key') + domain = self.stage_config.get('domain') + + if not account_key_location: + click.echo("Can't certify a domain without " + click.style("lets_encrypt_key", fg="red", bold=True) + " configured!") + return + if not domain: + click.echo("Can't certify a domain without " + click.style("domain", fg="red", bold=True) + " configured!") + return + + if 's3://' in account_key_location: + bucket, key_name = account_key_location.split('s3://')[1].split('/', 1) + self.zappa.s3_client.download_file(bucket, key_name, '/tmp/account.key') + else: + from shutil import copyfile + copyfile(account_key_location, '/tmp/account.key') + + click.echo("Certifying domain " + click.style(domain, fg="green", bold=True) + "..") + + # Get cert and update domain. + from letsencrypt import get_cert_and_update_domain, cleanup + cert_success = get_cert_and_update_domain( + self.zappa, + self.lambda_name, + self.api_stage, + domain + ) + cleanup() + + if cert_success: + click.echo("Certificate " + click.style("updated", fg="green", bold=True) + "!") + else: + click.echo(click.style("Failed", fg="red", bold=True) + " to generate or install certificate! :(") + click.echo("\n==============\n") + shamelessly_promote() + ## # Utility ## + def callback(self, position): + """ + Allows the execution of custom code between creation of the zip file and deployment to AWS. + + :return: None + """ + callbacks = self.stage_config.get('callbacks', {}) + callback = callbacks.get(position) + + if callback: + (mod_name, cb_func) = callback.rsplit('.', 1) + + module_ = importlib.import_module(mod_name) + getattr(module_, cb_func)(self) # Call the function passing self + + def check_for_update(self): + """ + Print a warning if there's a new Zappa version available. + """ + try: + version = pkg_resources.require("zappa")[0].version + updateable = check_new_version_available(version) + if updateable: + click.echo(click.style("Important!", fg="yellow", bold=True) + " A new version of " + click.style("Zappa", bold=True) + " is available!") + click.echo("Upgrade with: " + click.style("pip install zappa --upgrade", bold=True)) + click.echo("Visit the project page on GitHub to see the latest changes: " + click.style("https://github.com/Miserlou/Zappa", bold=True)) + except Exception as e: # pragma: no cover + print(e) + return + def load_settings(self, settings_file="zappa_settings.json", session=None): """ - Load the local zappa_settings.json file. + Load the local zappa_settings.json file. An existing boto session can be supplied, though this is likely for testing purposes. Returns the loaded Zappa object. """ - # Ensure we're passesd a valid settings file. + # Ensure we're passed a valid settings file. if not os.path.isfile(settings_file): print("Please configure your zappa_settings file.") - quit() # pragma: no cover + sys.exit(-1) # pragma: no cover # Load up file self.load_settings_file(settings_file) + # Make sure that the environments are valid names: + for stage_name in self.zappa_settings.keys(): + try: + self.check_stage_name(stage_name) + except ValueError: + raise ValueError("API stage names must match a-zA-Z0-9_ ; '{0!s}' does not.".format(stage_name)) + # Make sure that this environment is our settings if self.api_stage not in self.zappa_settings.keys(): print("Please define '{0!s}' in your Zappa settings.".format(self.api_stage)) - quit() # pragma: no cover + sys.exit(-1) # pragma: no cover # We need a working title for this project. Use one if supplied, else cwd dirname. - if 'project_name' in self.zappa_settings[self.api_stage]: # pragma: no cover - self.project_name = self.zappa_settings[self.api_stage]['project_name'] + if 'project_name' in self.stage_config: # pragma: no cover + self.project_name = self.stage_config['project_name'] else: - self.project_name = slugify.slugify(os.getcwd().split(os.sep)[-1]) + self.project_name = slugify.slugify(os.getcwd().split(os.sep)[-1])[:15] + + if len(self.project_name) > 15: # pragma: no cover + click.echo(click.style("Warning", fg="red", bold=True) + "! Your " + click.style("project_name", bold=True) + " may be too long to deploy! Please make it <16 characters.") # The name of the actual AWS Lambda function, ex, 'helloworld-dev' # Django's slugify doesn't replace _, but this does. self.lambda_name = slugify.slugify(self.project_name + '-' + self.api_stage) # Load environment-specific settings - self.s3_bucket_name = self.zappa_settings[self.api_stage]['s3_bucket'] + self.s3_bucket_name = self.zappa_settings[ + self.api_stage].get('s3_bucket', "zappa-" + ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(9))) self.vpc_config = self.zappa_settings[ self.api_stage].get('vpc_config', {}) self.memory_size = self.zappa_settings[ self.api_stage].get('memory_size', 512) self.app_function = self.zappa_settings[ self.api_stage].get('app_function', None) + self.exception_handler = self.zappa_settings[ + self.api_stage].get('exception_handler', None) self.aws_region = self.zappa_settings[ self.api_stage].get('aws_region', 'us-east-1') self.debug = self.zappa_settings[ @@ -425,32 +1073,58 @@ def load_settings(self, settings_file="zappa_settings.json", session=None): self.api_stage].get('domain', None) self.timeout_seconds = self.zappa_settings[ self.api_stage].get('timeout_seconds', 30) + self.use_apigateway = self.zappa_settings[ + self.api_stage].get('use_apigateway', True) + self.integration_content_type_aliases = self.zappa_settings[ + self.api_stage].get('integration_content_type_aliases', {}) + self.lambda_handler = self.zappa_settings[ + self.api_stage].get('lambda_handler', 'handler.lambda_handler') + self.remote_env_bucket = self.zappa_settings[ + self.api_stage].get('remote_env_bucket', None) + self.remote_env_file = self.zappa_settings[ + self.api_stage].get('remote_env_file', None) + self.settings_file = self.zappa_settings[ + self.api_stage].get('settings_file', None) + self.django_settings = self.zappa_settings[ + self.api_stage].get('django_settings', None) + self.manage_roles = self.zappa_settings[ + self.api_stage].get('manage_roles', True) + self.api_key_required = self.stage_config.get('api_key_required', False) + self.api_key = self.zappa_settings[ + self.api_stage].get('api_key') + self.iam_authorization = self.stage_config.get('iam_authorization', False) + self.lambda_description = self.zappa_settings[ + self.api_stage].get('lambda_description', "Zappa Deployment") + self.environment_variables = self.zappa_settings[ + self.api_stage].get('environment_variables', {}) + + self.zappa = Zappa( boto_session=session, + profile_name=self.profile_name, + aws_region=self.aws_region, + load_credentials=self.load_credentials + ) - # Create an Zappa object.. - self.zappa = Zappa(session) - - # Explicitly set our AWS Region - self.zappa.aws_region = self.aws_region - - # Load your AWS credentials from ~/.aws/credentials - self.zappa.load_credentials(session, self.profile_name) - - # ..and configure it for setting in CUSTOM_SETTINGS: - if setting in self.zappa_settings[self.api_stage]: - setattr(self.zappa, setting, self.zappa_settings[ - self.api_stage][setting]) + if setting in self.stage_config: + setting_val = self.stage_config[setting] + # Read the policy file contents. + if setting.endswith('policy'): + with open(setting_val, 'r') as f: + setting_val = f.read() + setattr(self.zappa, setting, setting_val) return self.zappa def load_settings_file(self, settings_file="zappa_settings.json"): - try: - with open(settings_file) as json_file: + """ + Load our settings file. + """ + + with open(settings_file) as json_file: + try: self.zappa_settings = json.load(json_file) - except Exception as e: # pragma: no cover - print("Problem parsing settings file.") - print(e) - quit() # pragma: no cover + except ValueError: + raise ValueError("Unable to load the zappa settings JSON. It may be malformed.") def create_package(self): """ @@ -470,51 +1144,103 @@ def create_package(self): self.zip_path = self.zappa.create_lambda_zip( self.lambda_name, handler_file=handler_file, - use_precompiled_packages=self.zappa_settings[self.api_stage].get('use_precompiled_packages', True), - exclude=self.zappa_settings[self.api_stage].get('exclude', []) + use_precompiled_packages=self.stage_config.get('use_precompiled_packages', True), + exclude=self.stage_config.get('exclude', []) ) - # Throw our setings into it - with zipfile.ZipFile(self.zip_path, 'a') as lambda_zip: - app_module, app_function = self.app_function.rsplit('.', 1) - settings_s = "# Generated by Zappa\nAPP_MODULE='{0!s}'\nAPP_FUNCTION='{1!s}'\n".format(app_module, app_function) - - if self.debug is not None: - settings_s = settings_s + "DEBUG='{0!s}'\n".format((self.debug)) # Cast to Bool in handler - settings_s = settings_s + "LOG_LEVEL='{0!s}'\n".format((self.log_level)) - - # If we're on a domain, we don't need to define the /<> in - # the WSGI PATH - if self.domain: - settings_s = settings_s + "DOMAIN='{0!s}'\n".format((self.domain)) - else: - settings_s = settings_s + "DOMAIN=None\n" - - # We can be environment-aware - settings_s = settings_s + "API_STAGE='{0!s}'\n".format((self.api_stage)) - - # Lambda requires a specific chmod - temp_settings = tempfile.NamedTemporaryFile(delete=False) - os.chmod(temp_settings.name, 0644) - temp_settings.write(settings_s) - temp_settings.close() - lambda_zip.write(temp_settings.name, 'zappa_settings.py') - os.remove(temp_settings.name) - - lambda_zip.close() - - return + if self.app_function or self.django_settings: + # Throw custom setings into the zip file + with zipfile.ZipFile(self.zip_path, 'a') as lambda_zip: + + settings_s = "# Generated by Zappa\n" + + if self.app_function: + app_module, app_function = self.app_function.rsplit('.', 1) + settings_s = settings_s + "APP_MODULE='{0!s}'\nAPP_FUNCTION='{1!s}'\n".format(app_module, app_function) + + if self.exception_handler: + settings_s += "EXCEPTION_HANDLER='{0!s}'\n".format(self.exception_handler) + else: + settings_s += "EXCEPTION_HANDLER=None\n" + + if self.debug: + settings_s = settings_s + "DEBUG=True\n" + else: + settings_s = settings_s + "DEBUG=False\n" + + settings_s = settings_s + "LOG_LEVEL='{0!s}'\n".format((self.log_level)) + + # If we're on a domain, we don't need to define the /<> in + # the WSGI PATH + if self.domain: + settings_s = settings_s + "DOMAIN='{0!s}'\n".format((self.domain)) + else: + settings_s = settings_s + "DOMAIN=None\n" + + # Pass through remote config bucket and path + if self.remote_env_bucket and self.remote_env_file: + settings_s = settings_s + "REMOTE_ENV_BUCKET='{0!s}'\n".format( + self.remote_env_bucket + ) + settings_s = settings_s + "REMOTE_ENV_FILE='{0!s}'\n".format( + self.remote_env_file + ) + + # Local envs + settings_s = settings_s + "ENVIRONMENT_VARIABLES={0}\n".format( + dict(self.environment_variables) + ) + + # We can be environment-aware + settings_s = settings_s + "API_STAGE='{0!s}'\n".format((self.api_stage)) + settings_s = settings_s + "PROJECT_NAME='{0!s}'\n".format((self.project_name)) + + if self.settings_file: + settings_s = settings_s + "SETTINGS_FILE='{0!s}'\n".format((self.settings_file)) + else: + settings_s = settings_s + "SETTINGS_FILE=None\n" + + if self.django_settings: + settings_s = settings_s + "DJANGO_SETTINGS='{0!s}'\n".format((self.django_settings)) + else: + settings_s = settings_s + "DJANGO_SETTINGS=None\n" + + # AWS Events function mapping + event_mapping = {} + events = self.stage_config.get('events', []) + for event in events: + arn = event.get('event_source', {}).get('arn') + function = event.get('function') + if arn and function: + event_mapping[arn] = function + settings_s = settings_s + "AWS_EVENT_MAPPING={0!s}\n".format(event_mapping) + + # Copy our Django app into root of our package. + # It doesn't work otherwise. + if self.django_settings: + base = __file__.rsplit(os.sep, 1)[0] + django_py = ''.join(os.path.join([base, os.sep, 'ext', os.sep, 'django_zappa.py'])) + lambda_zip.write(django_py, 'django_zappa_app.py') + + # Lambda requires a specific chmod + temp_settings = tempfile.NamedTemporaryFile(delete=False) + os.chmod(temp_settings.name, 0644) + temp_settings.write(settings_s) + temp_settings.close() + lambda_zip.write(temp_settings.name, 'zappa_settings.py') + os.remove(temp_settings.name) def remove_local_zip(self): """ Remove our local zip file. """ - if self.zappa_settings[self.api_stage].get('delete_zip', True): + if self.stage_config.get('delete_local_zip', True): try: - os.remove(self.zip_path) + if os.path.isfile(self.zip_path): + os.remove(self.zip_path) except Exception as e: # pragma: no cover - pass + sys.exit(-1) def remove_uploaded_zip(self): """ @@ -522,15 +1248,13 @@ def remove_uploaded_zip(self): """ # Remove the uploaded zip from S3, because it is now registered.. - self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) - - # Finally, delete the local copy our zip package - self.remove_local_zip() + if self.stage_config.get('delete_s3_zip', True): + self.zappa.remove_from_s3(self.zip_path, self.s3_bucket_name) def print_logs(self, logs): """ Parse, filter and print logs to the console. - + """ for log in logs: @@ -567,21 +1291,50 @@ def execute_prebuild_script(self): # Main #################################################################### +def shamelessly_promote(): + """ + Shamelessly promote our little community. + """ + + click.echo("Need " + click.style("help", fg='green', bold=True) + "? Found a " + click.style("bug", fg='green', bold=True) + "? Let us " + click.style("know", fg='green', bold=True) + "! :D") + click.echo("File bug reports on " + click.style("GitHub", bold=True) + " here: " + click.style("https://github.com/Miserlou/Zappa", fg='cyan', bold=True)) + click.echo("And join our " + click.style("Slack", bold=True) + " channel here: " + click.style("http://bit.do/zappa", fg='cyan', bold=True)) + click.echo("Love!,") + click.echo(" ~ Team " + click.style("Zappa", bold=True) + "!") + def handle(): # pragma: no cover """ Main program execution handler. """ + try: cli = ZappaCLI() sys.exit(cli.handle()) - except (KeyboardInterrupt, SystemExit): # pragma: no cover + except SystemExit as e: # pragma: no cover + if cli.zip_path: + cli.remove_uploaded_zip() + cli.remove_local_zip() + + sys.exit(e.code) + + except KeyboardInterrupt: # pragma: no cover if cli.zip_path: # Remove the Zip from S3 upon failure. cli.remove_uploaded_zip() - return + cli.remove_local_zip() + sys.exit(130) except Exception as e: if cli.zip_path: # Remove the Zip from S3 upon failure. cli.remove_uploaded_zip() - print(e) + cli.remove_local_zip() + + click.echo("Oh no! An " + click.style("error occurred", fg='red', bold=True) + "! :(") + click.echo("\n==============\n") + import traceback + traceback.print_exc() + click.echo("\n==============\n") + shamelessly_promote() + + sys.exit(-1) if __name__ == '__main__': # pragma: no cover handle() diff --git a/zappa/ext/__init__.py b/zappa/ext/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/zappa/ext/django_zappa.py b/zappa/ext/django_zappa.py new file mode 100644 index 000000000..aa19f06e3 --- /dev/null +++ b/zappa/ext/django_zappa.py @@ -0,0 +1,20 @@ +import os +import sys + +# add the Lambda root path into the sys.path +sys.path.append('/var/task') + + +def get_django_wsgi(settings_module): + from django.core.wsgi import get_wsgi_application + os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module) + + import django + + if django.VERSION[0] <= 1 and django.VERSION[1] < 7: + # call django.setup only for django <1.7.0 + # (because setup already in get_wsgi_application since that) + # https://github.com/django/django/commit/80d74097b4bd7186ad99b6d41d0ed90347a39b21 + django.setup() + + return get_wsgi_application() diff --git a/zappa/handler.py b/zappa/handler.py index 8d94ab399..10b60ae0c 100644 --- a/zappa/handler.py +++ b/zappa/handler.py @@ -5,26 +5,53 @@ import importlib import logging import traceback +import os +import json +import inspect +import collections +import boto3 +import sys from werkzeug.wrappers import Response # This file may be copied into a project's root, # so handle both scenarios. try: - from zappa.wsgi import create_wsgi_request, common_log + from zappa.cli import ZappaCLI from zappa.middleware import ZappaWSGIMiddleware -except ImportError as e: # pragma: no cover - from .wsgi import create_wsgi_request, common_log + from zappa.wsgi import create_wsgi_request, common_log +except ImportError as e: # pragma: no cover + from .cli import ZappaCLI from .middleware import ZappaWSGIMiddleware + from .wsgi import create_wsgi_request, common_log # Set up logging logging.basicConfig() logger = logging.getLogger() -logger.setLevel(logging.DEBUG) +logger.setLevel(logging.INFO) + +ERROR_CODES = [400, 401, 403, 404, 500] + + +class WSGIException(Exception): + """ + This exception is used by the handler to indicate that underlying WSGI app has returned a non-2xx(3xx) code. + """ -class LambdaException(Exception): pass + +class UncaughtWSGIException(Exception): + """ + Indicates a problem that happened outside of WSGI app context (and thus wasn't handled by the WSGI app itself) + while processing a request from API Gateway. + """ + + def __init__(self, message, original=None): + super(UncaughtWSGIException, self).__init__(message) + self.original = original + + class LambdaHandler(object): """ Singleton for avoiding duplicate setup. @@ -33,64 +60,296 @@ class LambdaHandler(object): """ __instance = None + settings = None + settings_name = None + session = None - def __new__(cls, settings_name="zappa_settings"): - """Singleton instance to avoid repeat setup""" + # Application + app_module = None + wsgi_app = None + trailing_slash = False + def __new__(cls, settings_name="zappa_settings", session=None): + """Singleton instance to avoid repeat setup""" if LambdaHandler.__instance is None: - LambdaHandler.__instance = object.__new__(cls) + LambdaHandler.__instance = object.__new__(cls, settings_name, session) return LambdaHandler.__instance - def __init__(self, settings_name="zappa_settings"): + def __init__(self, settings_name="zappa_settings", session=None): + + # We haven't cached our settings yet, load the settings and app. + if not self.settings: + # Loading settings from a python module + self.settings = importlib.import_module(settings_name) + self.settings_name = settings_name + self.session = session + + # Custom log level + if self.settings.LOG_LEVEL: + level = logging.getLevelName(self.settings.LOG_LEVEL) + logger.setLevel(level) + + remote_bucket = getattr(self.settings, 'REMOTE_ENV_BUCKET', None) + remote_file = getattr(self.settings, 'REMOTE_ENV_FILE', None) + + if remote_bucket and remote_file: + self.load_remote_settings(remote_bucket, remote_file) + + # Let the system know that this will be a Lambda/Zappa/Stack + os.environ["SERVERTYPE"] = "AWS Lambda" + os.environ["FRAMEWORK"] = "Zappa" + try: + os.environ["PROJECT"] = self.settings.PROJECT_NAME + os.environ["STAGE"] = self.settings.API_STAGE + except Exception: # pragma: no cover + pass + + # Set any locally defined env vars + for key in self.settings.ENVIRONMENT_VARIABLES.keys(): + os.environ[key] = self.settings.ENVIRONMENT_VARIABLES[key] + + # Django gets special treatment. + if not self.settings.DJANGO_SETTINGS: + # The app module + self.app_module = importlib.import_module(self.settings.APP_MODULE) + + # The application + wsgi_app_function = getattr(self.app_module, self.settings.APP_FUNCTION) + self.trailing_slash = False + else: + + try: # Support both for tests + from zappa.ext.django import get_django_wsgi + except ImportError as e: # pragma: no cover + from django_zappa_app import get_django_wsgi + + # Get the Django WSGI app from our extension + wsgi_app_function = get_django_wsgi(self.settings.DJANGO_SETTINGS) + self.trailing_slash = True + + self.wsgi_app = ZappaWSGIMiddleware(wsgi_app_function) + + def load_remote_settings(self, remote_bucket, remote_file): + """ + Attempt to read a file from s3 containing a flat json object. Adds each + key->value pair as environment variables. Helpful for keeping + sensitiZve or stage-specific configuration variables in s3 instead of + version control. + """ + if not self.session: + boto_session = boto3.Session() + else: + boto_session = self.session + + s3 = boto_session.resource('s3') + try: + remote_env_object = s3.Object(remote_bucket, remote_file).get() + except Exception as e: # pragma: no cover + # catch everything aws might decide to raise + print('Could not load remote settings file.', e) + return + + try: + content = remote_env_object['Body'].read().decode('utf-8') + except Exception as e: # pragma: no cover + # catch everything aws might decide to raise + print('Exception while reading remote settings file.', e) + return + + try: + settings_dict = json.loads(content) + except (ValueError, TypeError): # pragma: no cover + print('Failed to parse remote settings!') + return + + # add each key-value to environment - overwrites existing keys! + for key, value in settings_dict.items(): + if self.settings.LOG_LEVEL == "DEBUG": + print('Adding {} -> {} to environment'.format( + key, + value + )) + os.environ[key] = value + + @staticmethod + def import_module_and_get_function(whole_function): + """ + Given a modular path to a function, import that module + and return the function. + """ + module, function = whole_function.rsplit('.', 1) + app_module = importlib.import_module(module) + app_function = getattr(app_module, function) + return app_function - # Loading settings from a python module - self.settings = importlib.import_module(settings_name) - self.settings_name = settings_name + @classmethod + def lambda_handler(cls, event, context): # pragma: no cover + handler = cls() + exception_handler = handler.settings.EXCEPTION_HANDLER + try: + return handler.handler(event, context) + except WSGIException as wsgi_ex: + # do nothing about LambdaExceptions since those are already handled (or should be handled by the WSGI app). + raise wsgi_ex + except UncaughtWSGIException as u_wsgi_ex: + # hand over original error to exception handler, since the exception happened outside of WSGI app context + # (it wasn't propertly processed by the app itself) + cls._process_exception(exception_handler=exception_handler, + event=event, context=context, exception=u_wsgi_ex.original) + # raise unconditionally since it's an API gateway error (i.e. client expects to see a 500 and execution + # won't be retried). + raise u_wsgi_ex + except Exception as ex: + exception_processed = cls._process_exception(exception_handler=exception_handler, + event=event, context=context, exception=ex) + if not exception_processed: + # Only re-raise exception if handler directed so. Allows handler to control if lambda has to retry + # an event execution in case of failure. + raise ex @classmethod - def lambda_handler(cls, event, context): # pragma: no cover - return cls().handler(event, context) + def _process_exception(cls, exception_handler, event, context, exception): + exception_processed = False + if exception_handler: + try: + handler_function = cls.import_module_and_get_function(exception_handler) + exception_processed = handler_function(exception, event, context) + except Exception as cex: + logger.error(msg='Failed to process exception via custom handler.') + print(cex) + return exception_processed + + @staticmethod + def run_function(app_function, event, context): + """ + Given a function and event context, + detect signature and execute, returning any result. + """ + args, varargs, keywords, defaults = inspect.getargspec(app_function) + num_args = len(args) + if num_args == 0: + result = app_function(event, context) if varargs else app_function() + elif num_args == 1: + result = app_function(event, context) if varargs else app_function(event) + elif num_args == 2: + result = app_function(event, context) + else: + raise RuntimeError("Function signature is invalid. Expected a function that accepts at most " + "2 arguments or varargs.") + return result + + def update_certificate(self): + """ + Call 'certify' locally. + """ + import boto3 + session = boto3.Session() + + z_cli = ZappaCLI() + z_cli.api_stage = self.settings.API_STAGE + z_cli.load_settings(session=session) + z_cli.certify() + + return + + def get_function_for_aws_event(self, record): + """ + Get the associated function to execute for a triggered AWS event + + Support S3, SNS, DynamoDB and kinesis events + """ + if 's3' in record: + return record['s3']['configurationId'] + + arn = None + if 'Sns' in record: + arn = record['Sns'].get('TopicArn') + elif 'dynamodb' in record or 'kinesis' in record: + arn = record.get('eventSourceARN') + + if arn: + return self.settings.AWS_EVENT_MAPPING.get(arn) + + return None def handler(self, event, context): - """ + """ An AWS Lambda function which parses specific API Gateway input into a WSGI request, feeds it to our WSGI app, procceses the response, and returns that back to the API Gateway. - + """ + settings = self.settings - # TODO If this is invoked from a non-APIGW/Scheduled event source, - # extract the method and process separately. + # If in DEBUG mode, log all raw incoming events. + if settings.DEBUG: + print('Zappa Event: {}'.format(event)) + logger.debug('Zappa Event: {}'.format(event)) + # This is the result of a keep alive, recertify + # or scheduled event. if event.get('detail-type') == u'Scheduled Event': - - whole_function = event['resources'][0].split('/')[-1] - module, function = whole_function.rsplit('.', 1) - app_module = importlib.import_module(module) - app_function = getattr(app_module, function) + whole_function = event['resources'][0].split('/')[-1].split('-')[-1] - # Execute the function! - app_function() - return + # This is a scheduled function. + if '.' in whole_function: + app_function = self.import_module_and_get_function(whole_function) - try: - # Timing - time_start = datetime.datetime.now() + # Execute the function! + return self.run_function(app_function, event, context) - settings = self.settings + # Else, let this execute as it were. - # Custom log level - if settings.LOG_LEVEL: - level = logging.getLevelName(settings.LOG_LEVEL) - logger.setLevel(level) + # This is a direct command invocation. + elif event.get('command', None): + + whole_function = event['command'] + app_function = self.import_module_and_get_function(whole_function) + result = self.run_function(app_function, event, context) + print("Result of %s:" % whole_function) + print(result) + return result + + # This is a Django management command invocation. + elif event.get('manage', None): + + from django.core import management + + try: # Support both for tests + from zappa.ext.django_zappa import get_django_wsgi + except ImportError as e: # pragma: no cover + from django_zappa_app import get_django_wsgi + + # Get the Django WSGI app from our extension + # We don't actually need the function, + # but we do need to do all of the required setup for it. + app_function = get_django_wsgi(self.settings.DJANGO_SETTINGS) + + # Couldn't figure out how to get the value into stdout with StringIO.. + # Read the log for now. :[] + management.call_command(*event['manage'].split(' ')) + return {} - # The app module - app_module = importlib.import_module(settings.APP_MODULE) + # This is an AWS-event triggered invokation. + elif event.get('Records', None): - # The application - app_function = getattr(app_module, settings.APP_FUNCTION) - app = ZappaWSGIMiddleware(app_function) + records = event.get('Records') + result = None + for record in records: + whole_function = self.get_function_for_aws_event(record) + if whole_function: + app_function = self.import_module_and_get_function(whole_function) + result = self.run_function(app_function, event, context) + logger.debug(result) + else: + logger.error("Cannot find a function to process the triggered event.") + return result + + # Normal web app flow + try: + # Timing + time_start = datetime.datetime.now() # This is a normal HTTP request if event.get('method', None): @@ -112,16 +371,19 @@ def handler(self, event, context): script_name = '/' + settings.API_STAGE # Create the environment for WSGI and handle the request - environ = create_wsgi_request(event, - script_name=script_name, - trailing_slash=False - ) + environ = create_wsgi_request( + event, + script_name=script_name, + trailing_slash=self.trailing_slash + ) # We are always on https on Lambda, so tell our wsgi app that. + environ['HTTPS'] = 'on' environ['wsgi.url_scheme'] = 'https' + environ['lambda.context'] = context # Execute the application - response = Response.from_app(app, environ) + response = Response.from_app(self.wsgi_app, environ) # This is the object we're going to return. # Pack the WSGI response into our special dictionary. @@ -137,12 +399,14 @@ def handler(self, event, context): # as an error to match our APIGW regex. # The DOCTYPE ensures that the page still renders in the browser. exception = None - if response.status_code in [400, 401, 403, 404, 500]: - content = "" + str(response.status_code) + response.data - exception = base64.b64encode(content) + if response.status_code in ERROR_CODES: + content = collections.OrderedDict() + content['http_status'] = response.status_code + content['content'] = base64.b64encode(response.data.encode('utf-8')) + exception = json.dumps(content) # Internal are changed to become relative redirects # so they still work for apps on raw APIGW and on a domain. - elif response.status_code in [301, 302]: + elif 300 <= response.status_code < 400 and hasattr(response, 'Location'): # Location is by default relative on Flask. Location is by default # absolute on Werkzeug. We can set autocorrect_location_header on # the response to False, but it doesn't work. We have to manually @@ -151,6 +415,8 @@ def handler(self, event, context): hostname = 'https://' + environ['HTTP_HOST'] if location.startswith(hostname): exception = location[len(hostname):] + else: + exception = location # Calculate the total response time, # and log it in the Common Log format. @@ -161,28 +427,50 @@ def handler(self, event, context): common_log(environ, response, response_time=response_time_ms) # Finally, return the response to API Gateway. - if exception: # pragma: no cover - raise LambdaException(exception) + if exception: # pragma: no cover + raise WSGIException(exception) else: return zappa_returndict - except LambdaException as e: # pragma: nocover + except WSGIException as e: # pragma: no cover raise e - except Exception as e: # pragma: nocover + except Exception as e: # pragma: no cover # Print statements are visible in the logs either way print(e) + exc_info = sys.exc_info() + message = 'An uncaught exception happened while servicing this request.' + + # If we didn't even build an app_module, just raise. + if not settings.DJANGO_SETTINGS: + try: + self.app_module + except NameError as ne: + message = 'Failed to import module: {}'.format(ne.message) + + # Return this unspecified exception as a 500, using template that API Gateway expects. + content = collections.OrderedDict() + content['http_status'] = 500 + body = {'message': message} + if settings.DEBUG: # only include traceback if debug is on. + body['traceback'] = traceback.format_exception(*exc_info) # traceback as a list for readability. + content['content'] = base64.b64encode(json.dumps(body, sort_keys=True, indent=4).encode('utf-8')) + exception = json.dumps(content) + raise UncaughtWSGIException(exception, original=e), None, exc_info[2] # Keep original traceback. + + +def lambda_handler(event, context): # pragma: no cover + return LambdaHandler.lambda_handler(event, context) - # Print the error to the browser upon failure? - debug = bool(getattr(app_module, settings.DEBUG, True)) - if debug: - # Return this unspecified exception as a 500. - content = "500. From Zappa:
" + str(e) + "

" + traceback.format_exc().replace('\n', '
') + "
" - exception = base64.b64encode(content) - raise Exception(exception) - else: - raise e +def keep_warm_callback(event, context): + """Method is triggered by the CloudWatch event scheduled when keep_warm setting is set to true.""" + lambda_handler(event={}, context=context) # overriding event with an empty one so that web app initialization will + # be triggered. -def lambda_handler(event, context): # pragma: no cover - return LambdaHandler.lambda_handler(event, context) +def certify_callback(event, context): + """ + Load our LH settings and update our cert. + """ + lh = LambdaHandler() + return lh.update_certificate() diff --git a/zappa/letsencrypt.py b/zappa/letsencrypt.py new file mode 100644 index 000000000..06d7de818 --- /dev/null +++ b/zappa/letsencrypt.py @@ -0,0 +1,404 @@ +#!/usr/bin/env python +""" +Create and install a Let's Encrypt cert for an API Gateway. + +This file is a descendant of @diafygi's 'acme-tiny', +with http-01 replaced with dns-01 via AWS Route 53. + +You must generate your own account.key: +openssl genrsa 2048 > account.key # Keep it secret, keep safe! + +""" + +import base64 +import copy +import json +import hashlib +import logging +import re +import subprocess +import os +import time + +import binascii +import textwrap +import requests + +try: + from urllib.request import urlopen # Python 3 +except ImportError: + from urllib2 import urlopen # Python 2 + +# Staging +# Amazon doesn't accept these though. +# DEFAULT_CA = "https://acme-staging.api.letsencrypt.org" + +# Production +DEFAULT_CA = "https://acme-v01.api.letsencrypt.org" + +LOGGER = logging.getLogger(__name__) +LOGGER.addHandler(logging.StreamHandler()) + + +def get_cert_and_update_domain(zappa_instance, lambda_name, api_stage, domain): + """ + Main cert installer path. + """ + try: + create_domain_key() + create_domain_csr(domain) + get_cert(zappa_instance) + create_chained_certificate() + + with open('/tmp/signed.crt') as f: + certificate_body = f.read() + + with open('/tmp/domain.key') as f: + certificate_private_key = f.read() + + with open('/tmp/intermediate.pem') as f: + certificate_chain = f.read() + + if not zappa_instance.get_domain_name(domain): + + zappa_instance.create_domain_name( + domain, + domain + "-Zappa-LE-Cert", + certificate_body, + certificate_private_key, + certificate_chain, + lambda_name, + api_stage + ) + print("Created a new domain name. Please note that it can take up to 40 minutes for this domain to be created and propagated through AWS, but it requires no further work on your part.") + else: + zappa_instance.update_domain_name( + domain, + domain + "-Zappa-LE-Cert", + certificate_body, + certificate_private_key, + certificate_chain + ) + + except Exception as e: + print(e) + return False + + # Always clean-up. + cleanup() + return True + + +def create_domain_key(): + """ + """ + proc = subprocess.Popen( + ["openssl genrsa 2048 > /tmp/domain.key"], + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + shell=True + ) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + return True + + +def create_domain_csr(domain): + subj = "/CN=" + domain + cmd = 'openssl req -new -sha256 -key /tmp/domain.key -subj "{}" > /tmp/domain.csr'.format(subj) + proc = subprocess.Popen( + [cmd], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + return True + + +def create_chained_certificate(): + cross_cert_url = "https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem" + cert = requests.get(cross_cert_url) + with open('/tmp/intermediate.pem', 'wb') as intermediate_pem: + intermediate_pem.write(cert.content) + + proc = subprocess.Popen( + ["cat /tmp/signed.crt /tmp/intermediate.pem > /tmp/chained.pem"], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("Error: {0}".format(err)) + + return True + + +def parse_account_key(): + """Parse account key to get public key""" + LOGGER.info("Parsing account key...") + proc = subprocess.Popen( + ["openssl rsa -in /tmp/account.key -noout -text"], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + + return out + + +def parse_csr(): + """ + Parse certificate signing request for domains + """ + LOGGER.info("Parsing CSR...") + csr_filename = '/tmp/domain.csr' + proc = subprocess.Popen( + ["openssl req -in {} -noout -text".format(csr_filename)], + stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + out, err = proc.communicate() + if proc.returncode != 0: + raise IOError("Error loading {0}: {1}".format(csr_filename, err)) + domains = set([]) + common_name = re.search(r"Subject:.*? CN=([^\s,;/]+)", out.decode('utf8')) + if common_name is not None: + domains.add(common_name.group(1)) + subject_alt_names = re.search(r"X509v3 Subject Alternative Name: \n +([^\n]+)\n", out.decode('utf8'), re.MULTILINE | re.DOTALL) + if subject_alt_names is not None: + for san in subject_alt_names.group(1).split(", "): + if san.startswith("DNS:"): + domains.add(san[4:]) + + return domains + + +def get_boulder_header(key_bytes): + """ + Use regular expressions to find crypto values from parsed account key, + and return a header we can send to our Boulder instance. + """ + pub_hex, pub_exp = re.search( + r"modulus:\n\s+00:([a-f0-9\:\s]+?)\npublicExponent: ([0-9]+)", + key_bytes.decode('utf8'), re.MULTILINE | re.DOTALL).groups() + pub_exp = "{0:x}".format(int(pub_exp)) + pub_exp = "0{0}".format(pub_exp) if len(pub_exp) % 2 else pub_exp + header = { + "alg": "RS256", + "jwk": { + "e": _b64(binascii.unhexlify(pub_exp.encode("utf-8"))), + "kty": "RSA", + "n": _b64(binascii.unhexlify(re.sub(r"(\s|:)", "", pub_hex).encode("utf-8"))), + }, + } + + return header + + +def register_account(): + """ + Agree to LE TOS + """ + LOGGER.info("Registering account...") + code, result = _send_signed_request(DEFAULT_CA + "/acme/new-reg", { + "resource": "new-reg", + "agreement": "https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf", + }) + if code == 201: # pragma: no cover + LOGGER.info("Registered!") + elif code == 409: # pragma: no cover + LOGGER.info("Already registered!") + else: # pragma: no cover + raise ValueError("Error registering: {0} {1}".format(code, result)) + + +def get_cert(zappa_instance, log=LOGGER, CA=DEFAULT_CA): + """ + Call LE to get a new signed CA. + """ + out = parse_account_key() + header = get_boulder_header(out) + accountkey_json = json.dumps(header['jwk'], sort_keys=True, separators=(',', ':')) + thumbprint = _b64(hashlib.sha256(accountkey_json.encode('utf8')).digest()) + + # find domains + domains = parse_csr() + + # get the certificate domains and expiration + register_account() + + # verify each domain + for domain in domains: + log.info("Verifying {0}...".format(domain)) + + # get new challenge + code, result = _send_signed_request(CA + "/acme/new-authz", { + "resource": "new-authz", + "identifier": {"type": "dns", "value": domain}, + }) + if code != 201: + raise ValueError("Error requesting challenges: {0} {1}".format(code, result)) + + challenge = [ch for ch in json.loads(result.decode('utf8'))['challenges'] if ch['type'] == "dns-01"][0] + token = re.sub(r"[^A-Za-z0-9_\-]", "_", challenge['token']) + keyauthorization = "{0}.{1}".format(token, thumbprint) + + # sha256_b64 + digest = _b64(hashlib.sha256(keyauthorization).digest()) + + zone_id = zappa_instance.get_hosted_zone_id_for_domain(domain) + if not zone_id: + raise ValueError("Could not find Zone ID for: " + domain) + zappa_instance.set_dns_challenge_txt(zone_id, domain, digest) # resp is unused + + print("Waiting for DNS to propagate..") + + # What's optimal here? + # import time # double import; import in loop; shadowed import + time.sleep(45) + + # notify challenge are met + code, result = _send_signed_request(challenge['uri'], { + "resource": "challenge", + "keyAuthorization": keyauthorization, + }) + if code != 202: + raise ValueError("Error triggering challenge: {0} {1}".format(code, result)) + + # wait for challenge to be verified + verify_challenge(challenge['uri']) + + # Sign + result = sign_certificate() + # Encode to PEM formate + encode_certificate(result) + + return True + + +def verify_challenge(uri): + """ + Loop until our challenge is verified, else fail. + """ + while True: + try: + resp = urlopen(uri) + challenge_status = json.loads(resp.read().decode('utf8')) + except IOError as e: + raise ValueError("Error checking challenge: {0} {1}".format( + e.code, json.loads(e.read().decode('utf8')))) + if challenge_status['status'] == "pending": + time.sleep(2) + elif challenge_status['status'] == "valid": + LOGGER.info("Domain verified!") + break + else: + raise ValueError("Domain challenge did not pass: {0}".format( + challenge_status)) + + +def sign_certificate(): + """ + Get the new certificate. + Returns the signed bytes. + + """ + LOGGER.info("Signing certificate...") + proc = subprocess.Popen( + ["openssl req -in /tmp/domain.csr -outform DER"], + stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + csr_der, err = proc.communicate() + code, result = _send_signed_request(DEFAULT_CA + "/acme/new-cert", { + "resource": "new-cert", + "csr": _b64(csr_der), + }) + if code != 201: + raise ValueError("Error signing certificate: {0} {1}".format(code, result)) + LOGGER.info("Certificate signed!") + + return result + + +def encode_certificate(result): + """ + Encode cert bytes to PEM encoded cert file. + """ + cert_body = """-----BEGIN CERTIFICATE-----\n{0}\n-----END CERTIFICATE-----\n""".format( + "\n".join(textwrap.wrap(base64.b64encode(result).decode('utf8'), 64))) + signed_crt = open("/tmp/signed.crt", "w") + signed_crt.write(cert_body) + signed_crt.close() + + return True + +## +# Request Utility +## + + +def _b64(b): + """ + Helper function base64 encode for jose spec + """ + return base64.urlsafe_b64encode(b).decode('utf8').replace("=", "") + + +def _send_signed_request(url, payload): + """ + Helper function to make signed requests to Boulder + """ + payload64 = _b64(json.dumps(payload).encode('utf8')) + + out = parse_account_key() + header = get_boulder_header(out) + + protected = copy.deepcopy(header) + protected["nonce"] = urlopen(DEFAULT_CA + "/directory").headers['Replay-Nonce'] + protected64 = _b64(json.dumps(protected).encode('utf8')) + proc = subprocess.Popen( + ["openssl dgst -sha256 -sign /tmp/account.key"], + stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True + ) + out, err = proc.communicate("{0}.{1}".format(protected64, payload64).encode('utf8')) + if proc.returncode != 0: + raise IOError("OpenSSL Error: {0}".format(err)) + data = json.dumps({ + "header": header, "protected": protected64, + "payload": payload64, "signature": _b64(out), + }) + try: + resp = urlopen(url, data.encode('utf8')) + return resp.getcode(), resp.read() + except IOError as e: + return getattr(e, "code", None), getattr(e, "read", e.__str__)() + +## +# File Utility +## + + +def cleanup(): + """ + Delete any temporary files. + """ + filenames = [ + '/tmp/account.key', + '/tmp/domain.key', + '/tmp/key.key', + '/tmp/domain.csr', + '/tmp/signed.crt', + '/tmp/intermediate.pem', + '/tmp/chained.pem', + '/tmp/lets-encrypt-x3-cross-signed.pem' + ] + + for filename in filenames: + try: + os.remove(filename) + except OSError: + pass + + return True diff --git a/zappa/middleware.py b/zappa/middleware.py index b34dda7a6..383404c8c 100644 --- a/zappa/middleware.py +++ b/zappa/middleware.py @@ -21,9 +21,10 @@ """ + class ZappaWSGIMiddleware(object): - # Unpacked / Before Packed Cookies + # Unpacked / Before Packed Cookies decoded_zappa = None request_cookies = {} @@ -75,11 +76,13 @@ def __call__(self, environ, start_response): # Call the application with our modifier response = self.application(environ, self.encode_response) - + # If we have a redirect, smash in our response content. if self.redirect_content: response = [self.redirect_content for item in response] + self.redirect_content = None # Make sure that nothing is cached from a previous request + # Return the response as a WSGI-safe iterator return ClosingIterator( response @@ -95,13 +98,17 @@ def encode_response(self, status, headers, exc_info=None): - Injecting redirect HTML if setting a Cookie on a redirect. """ - # All the non-cookie headers should be sent unharmed. new_headers = [(header[0], header[1]) for header in headers if header[0] != 'Set-Cookie'] # Filter the headers for Set-Cookie header - cookie_dicts = [{header[1].split('=', 1)[0].strip():header[1].split('=',1)[1]} for header in headers if header[0] == 'Set-Cookie'] - + cookie_dicts = [ + {header[1].split('=', 1)[0].strip():header[1].split('=', 1)[1]} + for header + in headers + if header[0] == 'Set-Cookie' + ] + # Update request_cookies with cookies from the response. If there are # multiple occuring cookies, the last one present in the headers wins. map(self.request_cookies.update, cookie_dicts) @@ -116,24 +123,27 @@ def encode_response(self, status, headers, exc_info=None): # JSON-ify the cookie and encode it. pack_s = json.dumps(self.request_cookies) encoded = base58.b58encode(pack_s) - + # Set the result as the zappa cookie new_headers.append( - ('Set-Cookie', dump_cookie('zappa', - value=encoded, - expires=expires) + ( + 'Set-Cookie', + dump_cookie('zappa', value=encoded, expires=expires) ) ) # If setting cookie on a 301/2, # return 200 and replace the content with a javascript redirector - if status != '200 OK': - for key, value in new_headers: - if key != 'Location': - continue - self.redirect_content = REDIRECT_HTML.replace('REDIRECT_ME', value) - status = '200 OK' - break + content_type_header_key = [k for k, v in enumerate(new_headers) if v[0] == 'Content-Type'] + if len(content_type_header_key) > 0: + if "text/html" in new_headers[content_type_header_key[0]][1]: + if status != '200 OK': + for key, value in new_headers: + if key != 'Location': + continue + self.redirect_content = REDIRECT_HTML.replace('REDIRECT_ME', value) + status = '200 OK' + break return self.start_response(status, new_headers, exc_info) @@ -141,9 +151,7 @@ def decode_zappa_cookie(self, encoded_zappa): """ Eat our Zappa cookie. Save the parsed cookies, as we need to send them back on every update. - """ - self.decoded_zappa = base58.b58decode(encoded_zappa) self.request_cookies = json.loads(self.decoded_zappa) @@ -153,9 +161,7 @@ def filter_expired_cookies(self): The browser may send expired cookies, because it does not parse the the ZappaCookie into its constituent parts. - """ - now = time.gmtime() # GMT as struct_time for name, exp in self.iter_cookies_expires(): if exp < now: @@ -175,14 +181,15 @@ def iter_cookies_expires(self): for kvp in kvps: kvp = kvp.strip() if 'expires' in kvp.lower(): - exp = time.strptime(kvp.split('=')[1], "%a, %d-%b-%Y %H:%M:%S GMT") + try: + exp = time.strptime(kvp.split('=')[1], "%a, %d-%b-%Y %H:%M:%S GMT") + except ValueError: # https://tools.ietf.org/html/rfc6265#section-5.1.1 + exp = time.strptime(kvp.split('=')[1], "%a, %d-%b-%y %H:%M:%S GMT") yield name, exp break - def cookie_environ_string(self): """ Return the current set of cookies as a string for the HTTP_COOKIE environ. """ - return ';'.join([key + '=' + value for key, value in self.request_cookies.items()]) diff --git a/zappa/util.py b/zappa/util.py new file mode 100644 index 000000000..84e3a81c5 --- /dev/null +++ b/zappa/util.py @@ -0,0 +1,220 @@ +import fnmatch +import json +import os +import requests +import shutil +import stat + +def copytree(src, dst, symlinks=False, ignore=None): + """ + This is a contributed re-implementation of 'copytree' that + should work with the exact same behavior on multiple platforms. + + """ + + if not os.path.exists(dst): + os.makedirs(dst) + shutil.copystat(src, dst) + lst = os.listdir(src) + + if ignore: + excl = ignore(src, lst) + lst = [x for x in lst if x not in excl] + + for item in lst: + s = os.path.join(src, item) + d = os.path.join(dst, item) + + if symlinks and os.path.islink(s): # pragma: no cover + if os.path.lexists(d): + os.remove(d) + os.symlink(os.readlink(s), d) + try: + st = os.lstat(s) + mode = stat.S_IMODE(st.st_mode) + os.lchmod(d, mode) + except: + pass # lchmod not available + elif os.path.isdir(s): + copytree(s, d, symlinks, ignore) + else: + shutil.copy2(s, d) + +def detect_django_settings(): + """ + Automatically try to discover Django settings files, + return them as relative module paths. + """ + + matches = [] + for root, dirnames, filenames in os.walk(os.getcwd()): + for filename in fnmatch.filter(filenames, '*settings.py'): + full = os.path.join(root, filename) + if 'site-packages' in full: + continue + full = os.path.join(root, filename) + package_path = full.replace(os.getcwd(), '') + package_module = package_path.replace(os.sep, '.').split('.', 1)[1].replace('.py', '') + + matches.append(package_module) + return matches + +def detect_flask_apps(): + """ + Automatically try to discover Flask apps files, + return them as relative module paths. + """ + + matches = [] + for root, dirnames, filenames in os.walk(os.getcwd()): + for filename in fnmatch.filter(filenames, '*.py'): + full = os.path.join(root, filename) + if 'site-packages' in full: + continue + + full = os.path.join(root, filename) + + with open(full, 'r') as f: + lines = f.readlines() + for line in lines: + app = None + + # Kind of janky.. + if '= Flask(' in line: + app = line.split('= Flask(')[0].strip() + if '=Flask(' in line: + app = line.split('=Flask(')[0].strip() + + if not app: + continue + + package_path = full.replace(os.getcwd(), '') + package_module = package_path.replace(os.sep, '.').split('.', 1)[1].replace('.py', '') + app_module = package_module + '.' + app + + matches.append(app_module) + + return matches + +def get_event_source(event_source, lambda_arn, target_function, boto_session, dry=False): + """ + + Given an event_source dictionary item, a session and a lambda_arn, + hack into Kappa's Gibson, create out an object we can call + to schedule this event, and return the event source. + + """ + import kappa.function + import kappa.restapi + import kappa.event_source.dynamodb_stream + import kappa.event_source.kinesis + import kappa.event_source.s3 + import kappa.event_source.sns + import kappa.event_source.cloudwatch + import kappa.policy + import kappa.role + import kappa.awsclient + + class PseudoContext(object): + def __init__(self): + return + + class PseudoFunction(object): + def __init__(self): + return + + event_source_map = { + 'dynamodb': kappa.event_source.dynamodb_stream.DynamoDBStreamEventSource, + 'kinesis': kappa.event_source.kinesis.KinesisEventSource, + 's3': kappa.event_source.s3.S3EventSource, + 'sns': kappa.event_source.sns.SNSEventSource, + 'events': kappa.event_source.cloudwatch.CloudWatchEventSource + } + + arn = event_source['arn'] + events = event_source['events'] + _, _, svc, _ = arn.split(':', 3) + + event_source_func = event_source_map.get(svc, None) + if not event_source_func: + raise ValueError('Unknown event source: {0}'.format(arn)) + + def autoreturn(self, function_name): + return function_name + + event_source_func._make_notification_id = autoreturn + + ctx = PseudoContext() + ctx.session = boto_session + + funk = PseudoFunction() + funk.name = target_function + + # Kappa 0.6.0 requires this nasty hacking, + # hopefully we can remove at least some of this soon. + if svc == 's3': + split_arn = lambda_arn.split(':') + arn_front = ':'.join(split_arn[:-1]) + arn_back = split_arn[-1] + ctx.environment = arn_back + funk.arn = arn_front + else: + funk.arn = lambda_arn + + funk._context = ctx + + event_source_obj = event_source_func(ctx, event_source) + + return event_source_obj, ctx, funk + +def add_event_source(event_source, lambda_arn, target_function, boto_session, dry=False): + """ + Given an event_source dictionary, create the object and add the event source. + """ + + event_source_obj, ctx, funk = get_event_source(event_source, lambda_arn, target_function, boto_session, dry=False) + if not dry: + rule_response = event_source_obj.add(funk) + return rule_response + else: + return event_source_obj + +def remove_event_source(event_source, lambda_arn, target_function, boto_session, dry=False): + """ + Given an event_source dictionary, create the object and remove the event source. + """ + + event_source_obj, ctx, funk = get_event_source(event_source, lambda_arn, target_function, boto_session, dry=False) + + # This is slightly dirty, but necessary for using Kappa this way. + funk.arn = lambda_arn + if not dry: + rule_response = event_source_obj.remove(funk) + return rule_response + else: + return event_source_obj + +def get_event_source_status(event_source, lambda_arn, target_function, boto_session, dry=False): + """ + Given an event_source dictionary, create the object and get the event source status. + """ + + event_source_obj, ctx, funk = get_event_source(event_source, lambda_arn, target_function, boto_session, dry=False) + return event_source_obj.status(funk) + +def check_new_version_available(this_version): + """ + Checks if a newer version of Zappa is available. + + Returns True is updateable, else False. + + """ + + pypi_url = 'https://pypi.python.org/pypi/Zappa/json' + resp = requests.get(pypi_url) + top_version = resp.json()['info']['version'] + + if this_version != top_version: + return True + else: + return False diff --git a/zappa/zappa.py b/zappa/zappa.py index 6997f7163..3304e35d6 100755 --- a/zappa/zappa.py +++ b/zappa/zappa.py @@ -1,52 +1,38 @@ -import base64 import boto3 import botocore import json import logging import os -import pip import random import requests import shutil import string +import subprocess import tarfile import tempfile import time import zipfile +import troposphere +import troposphere.apigateway from distutils.dir_util import copy_tree + +from botocore.exceptions import ClientError from lambda_packages import lambda_packages from tqdm import tqdm +# Zappa imports +from util import copytree, add_event_source, remove_event_source + +logging.basicConfig(format='%(levelname)s:%(message)s') logger = logging.getLogger(__name__) +logger.setLevel(logging.INFO) + ## # Policies And Template Mappings ## -TEMPLATE_MAPPING = """{ - "body" : "$util.base64Encode($input.json("$"))", - "headers": { - #foreach($header in $input.params().header.keySet()) - "$header": "$util.escapeJavaScript($input.params().header.get($header))" #if($foreach.hasNext),#end - - #end - }, - "method": "$context.httpMethod", - "params": { - #foreach($param in $input.params().path.keySet()) - "$param": "$util.escapeJavaScript($input.params().path.get($param))" #if($foreach.hasNext),#end - - #end - }, - "query": { - #foreach($queryParam in $input.params().querystring.keySet()) - "$queryParam": "$util.escapeJavaScript($input.params().querystring.get($queryParam))" #if($foreach.hasNext),#end - - #end - } -}""" - POST_TEMPLATE_MAPPING = """#set($rawPostData = $input.path("$")) { "body" : "$util.base64Encode($input.body)", @@ -135,7 +121,14 @@ { "Effect": "Allow", "Action": [ - "ec2:CreateNetworkInterface" + "ec2:AttachNetworkInterface", + "ec2:CreateNetworkInterface", + "ec2:DeleteNetworkInterface", + "ec2:DescribeInstances", + "ec2:DescribeNetworkInterfaces", + "ec2:DetachNetworkInterface", + "ec2:ModifyNetworkInterfaceAttribute", + "ec2:ResetNetworkInterfaceAttribute" ], "Resource": "*" }, @@ -146,12 +139,19 @@ ], "Resource": "arn:aws:s3:::*" }, + { + "Effect": "Allow", + "Action": [ + "sns:*" + ], + "Resource": "arn:aws:sns:*:*:*" + }, { "Effect": "Allow", "Action": [ "sqs:*" ], - "Resource": "arn:aws:sqs:::*" + "Resource": "arn:aws:sqs:*:*:*" }, { "Effect": "Allow", @@ -159,23 +159,34 @@ "dynamodb:*" ], "Resource": "arn:aws:dynamodb:*:*:*" + }, + { + "Effect": "Allow", + "Action": [ + "route53:*" + ], + "Resource": "*" } ] }""" RESPONSE_TEMPLATE = """#set($inputRoot = $input.path('$'))\n$inputRoot.Content""" -ERROR_RESPONSE_TEMPLATE = """#set($inputRoot = $input.path('$.errorMessage'))\n$util.base64Decode($inputRoot)""" +ERROR_RESPONSE_TEMPLATE = """#set($_body = $util.parseJson($input.path('$.errorMessage'))['content'])\n$util.base64Decode($_body)""" REDIRECT_RESPONSE_TEMPLATE = "" -API_GATEWAY_REGIONS = ['us-east-1', 'us-west-2', 'eu-west-1', 'ap-northeast-1'] -LAMBDA_REGIONS = ['us-east-1', 'us-west-2', 'eu-west-1', 'ap-northeast-1'] +API_GATEWAY_REGIONS = ['us-east-1', 'us-west-2', 'eu-west-1', 'eu-central-1', 'ap-northeast-1', 'ap-southeast-2'] +LAMBDA_REGIONS = ['us-east-1', 'us-west-2', 'eu-west-1', 'eu-central-1', 'ap-northeast-1', 'ap-southeast-2'] -ZIP_EXCLUDES = ['*.exe', '*.DS_Store', '*.Python', '*.git', '.git/*', '*.zip', '*.tar.gz', '*.hg', '*.egg-info'] +ZIP_EXCLUDES = [ + '*.exe', '*.DS_Store', '*.Python', '*.git', '.git/*', '*.zip', '*.tar.gz', + '*.hg', '*.egg-info', 'botocore*', 'pip', 'docutils*', 'boto3*', 'setuputils*' +] ## # Classes ## + class Zappa(object): """ Zappa! @@ -183,6 +194,7 @@ class Zappa(object): Makes it easy to run Python web applications on AWS Lambda/API Gateway. """ + ## # Configurables ## @@ -193,7 +205,8 @@ class Zappa(object): 'HEAD', 'OPTIONS', 'PATCH', - 'POST' + 'POST', + 'PUT' ] parameter_depth = 8 integration_response_codes = [200, 201, 301, 400, 401, 403, 404, 500] @@ -213,7 +226,10 @@ class Zappa(object): ] role_name = "ZappaLambdaExecution" + assume_policy = ASSUME_POLICY + attach_policy = ATTACH_POLICY aws_region = 'us-east-1' + cloudwatch_log_levels = ['OFF', 'ERROR', 'INFO'] ## # Credentials @@ -222,8 +238,51 @@ class Zappa(object): boto_session = None credentials_arn = None - def __init__(self, boto_session=None, profile_name=None): - self.load_credentials(boto_session, profile_name) + def __init__(self, boto_session=None, profile_name=None, aws_region=aws_region, load_credentials=True): + self.aws_region = aws_region + + # Some common invokations, such as DB migrations, + # can take longer than the default. + + # Note that this is set to 300s, but if connected to + # APIGW, Lambda will max out at 30s. + # Related: https://github.com/Miserlou/Zappa/issues/205 + long_config_dict = { + 'region_name': aws_region, + 'connect_timeout': 5, + 'read_timeout': 300 + } + long_config = botocore.client.Config(**long_config_dict) + + if load_credentials: + self.load_credentials(boto_session, profile_name) + + self.s3_client = self.boto_session.client('s3') + self.lambda_client = self.boto_session.client('lambda', config=long_config) + self.events_client = self.boto_session.client('events') + self.apigateway_client = self.boto_session.client('apigateway') + self.logs_client = self.boto_session.client('logs') + self.iam_client = self.boto_session.client('iam') + self.iam = self.boto_session.resource('iam') + self.cloudwatch = self.boto_session.client('cloudwatch') + self.route53 = self.boto_session.client('route53') + self.cf_client = self.boto_session.client('cloudformation') + self.cf_template = troposphere.Template() + self.cf_api_resources = [] + self.cf_parameters = {} + + def cache_param(self, value): + '''Returns a troposphere Ref to a value cached as a parameter.''' + + if value not in self.cf_parameters: + keyname = chr(ord('A') + len(self.cf_parameters)) + param = self.cf_template.add_parameter(troposphere.Parameter( + keyname, Type="String", Default=value + )) + + self.cf_parameters[value] = param + + return troposphere.Ref(self.cf_parameters[value]) ## # Packaging @@ -232,17 +291,32 @@ def __init__(self, boto_session=None, profile_name=None): def create_lambda_zip(self, prefix='lambda_package', handler_file=None, minify=True, exclude=None, use_precompiled_packages=True, include=None, venv=None): """ - Creates a Lambda-ready zip file of the current virtualenvironment and working directory. + Create a Lambda-ready zip file of the current virtualenvironment and working directory. Returns path to that file. """ + import pip + print("Packaging project as zip...") if not venv: - try: + if 'VIRTUAL_ENV' in os.environ: venv = os.environ['VIRTUAL_ENV'] - except KeyError as e: # pragma: no cover + elif os.path.exists('.python-version'): # pragma: no cover + logger.debug("Pyenv's local virtualenv detected.") + try: + subprocess.check_output('pyenv', stderr=subprocess.STDOUT) + except OSError: + print("This directory seems to have pyenv's local venv" + "but pyenv executable was not found.") + with open('.python-version', 'r') as f: + env_name = f.read()[:-1] + logger.debug('env name = {}'.format(env_name)) + bin_path = subprocess.check_output(['pyenv', 'which', 'python']).decode('utf-8') + venv = bin_path[:bin_path.rfind(env_name)] + env_name + logger.debug('env path = {}'.format(venv)) + else: # pragma: no cover print("Zappa requires an active virtual environment.") quit() @@ -270,28 +344,42 @@ def splitpath(path): # Ideally this should be avoided automatically, # but this serves as an okay stop-gap measure. - if split_venv[-1] == split_cwd[-1]: - print("Warning! Your project and virtualenv have the same name! You may want to re-create your venv with a new name, or explicitly define a 'project_name', as this may cause errors.") + if split_venv[-1] == split_cwd[-1]: # pragma: no cover + print( + "Warning! Your project and virtualenv have the same name! You may want " + "to re-create your venv with a new name, or explicitly define a " + "'project_name', as this may cause errors." + ) # First, do the project.. temp_project_path = os.path.join(tempfile.gettempdir(), str(int(time.time()))) if minify: excludes = ZIP_EXCLUDES + exclude + [split_venv[-1]] - shutil.copytree(cwd, temp_project_path, symlinks=False, ignore=shutil.ignore_patterns(*excludes)) + copytree(cwd, temp_project_path, symlinks=False, ignore=shutil.ignore_patterns(*excludes)) else: - shutil.copytree(cwd, temp_project_path, symlinks=False) + copytree(cwd, temp_project_path, symlinks=False) # Then, do the site-packages.. - # TODO Windows: %VIRTUAL_ENV%\Lib\site-packages temp_package_path = os.path.join(tempfile.gettempdir(), str(int(time.time() + 1))) - site_packages = os.path.join(venv, 'lib', 'python2.7', 'site-packages') - + if os.sys.platform == 'win32': + site_packages = os.path.join(venv, 'Lib', 'site-packages') + else: + site_packages = os.path.join(venv, 'lib', 'python2.7', 'site-packages') if minify: excludes = ZIP_EXCLUDES + exclude - shutil.copytree(site_packages, temp_package_path, symlinks=False, ignore=shutil.ignore_patterns(*excludes)) + copytree(site_packages, temp_package_path, symlinks=False, ignore=shutil.ignore_patterns(*excludes)) else: - shutil.copytree(site_packages, temp_package_path, symlinks=False) + copytree(site_packages, temp_package_path, symlinks=False) + + # We may have 64-bin specific packages too. + site_packages_64 = os.path.join(venv, 'lib64', 'python2.7', 'site-packages') + if os.path.exists(site_packages_64): + if minify: + excludes = ZIP_EXCLUDES + exclude + copytree(site_packages_64, temp_package_path, symlinks=False, ignore=shutil.ignore_patterns(*excludes)) + else: + copytree(site_packages_64, temp_package_path, symlinks=False) copy_tree(temp_package_path, temp_project_path, update=True) @@ -319,13 +407,14 @@ def splitpath(path): # Then zip it all up.. try: - import zlib + # import zlib compression_method = zipfile.ZIP_DEFLATED - except ImportError as e: # pragma: no cover + except ImportError: # pragma: no cover compression_method = zipfile.ZIP_STORED zipf = zipfile.ZipFile(zip_path, 'w', compression_method) for root, dirs, files in os.walk(temp_project_path): + for filename in files: # If there is a .pyc file in this package, @@ -346,6 +435,11 @@ def splitpath(path): zipf.write(os.path.join(root, filename), os.path.join(root.replace(temp_project_path, ''), filename)) + if '__init__.py' not in files: + tmp_init = os.path.join(temp_project_path, '__init__.py') + open(tmp_init, 'a').close() + zipf.write(tmp_init, os.path.join(root.replace(temp_project_path, ''), os.path.join(root.replace(temp_project_path, ''), '__init__.py'))) + # And, we're done! zipf.close() @@ -355,7 +449,7 @@ def splitpath(path): # Warn if this is too large for Lambda. file_stats = os.stat(zip_path) - if file_stats.st_size > 52428800: # pragma: no cover + if file_stats.st_size > 52428800: # pragma: no cover print("\n\nWarning: Application zip package is likely to be too large for AWS Lambda.\n\n") return zip_fname @@ -365,22 +459,28 @@ def splitpath(path): ## def upload_to_s3(self, source_path, bucket_name): - """ + r""" Given a file, upload it to S3. Credentials should be stored in environment variables or ~/.aws/credentials (%USERPROFILE%\.aws\credentials on Windows). Returns True on success, false on failure. """ - s3 = self.boto_session.resource('s3') - - # If this bucket doesn't exist, make it. - # Will likely fail, but that's apparently the best way to check - # it exists, since boto3 doesn't expose a better check. try: - s3.create_bucket(Bucket=bucket_name, CreateBucketConfiguration={"LocationConstraint": self.aws_region}) - except botocore.exceptions.ClientError as e: # pragma: no cover - pass + self.s3_client.head_bucket(Bucket=bucket_name) + except botocore.exceptions.ClientError: + # This is really stupid S3 quirk. Technically, us-east-1 one has no S3, + # it's actually "US Standard", or something. + # More here: https://github.com/boto/boto3/issues/125 + if self.aws_region == 'us-east-1': + self.s3_client.create_bucket( + Bucket=bucket_name, + ) + else: + self.s3_client.create_bucket( + Bucket=bucket_name, + CreateBucketConfiguration={'LocationConstraint': self.aws_region}, + ) if not os.path.isfile(source_path) or os.stat(source_path).st_size == 0: print("Problem with source file {}".format(source_path)) @@ -389,26 +489,25 @@ def upload_to_s3(self, source_path, bucket_name): dest_path = os.path.split(source_path)[1] try: source_size = os.stat(source_path).st_size - print("Uploading zip (" + str(self.human_size(source_size)) + ")...") - progress = tqdm(total=float(os.path.getsize(source_path)), unit_scale=True) + print("Uploading {0} ({1})...".format(dest_path, self.human_size(source_size))) + progress = tqdm(total=float(os.path.getsize(source_path)), unit_scale=True, unit='B') # Attempt to upload to S3 using the S3 meta client with the progress bar. # If we're unable to do that, try one more time using a session client, # which cannot use the progress bar. # Related: https://github.com/boto/boto3/issues/611 try: - s3.meta.client.upload_file( + self.s3_client.upload_file( source_path, bucket_name, dest_path, Callback=progress.update ) - except Exception as e: # pragma: no cover - s3 = self.boto_session.client('s3') - s3.upload_file(source_path, bucket_name, dest_path) + except Exception as e: # pragma: no cover + self.s3_client.upload_file(source_path, bucket_name, dest_path) progress.close() - except (KeyboardInterrupt, SystemExit): # pragma: no cover + except (KeyboardInterrupt, SystemExit): # pragma: no cover raise - except Exception as e: # pragma: no cover + except Exception as e: # pragma: no cover print(e) return False return True @@ -422,24 +521,21 @@ def remove_from_s3(self, file_name, bucket_name): Returns True on success, False on failure. """ - s3 = self.boto_session.resource('s3') - bucket = s3.Bucket(bucket_name) - try: - s3.meta.client.head_bucket(Bucket=bucket_name) - except botocore.exceptions.ClientError as e: # pragma: no cover + self.s3_client.head_bucket(Bucket=bucket_name) + except botocore.exceptions.ClientError as e: # pragma: no cover # If a client error is thrown, then check that it was a 404 error. # If it was a 404 error, then the bucket does not exist. error_code = int(e.response['Error']['Code']) if error_code == 404: return False - delete_keys = {'Objects': [{'Key': file_name}]} - response = bucket.delete_objects(Delete=delete_keys) - if response['ResponseMetadata']['HTTPStatusCode'] == 200: + try: + self.s3_client.delete_object(Bucket=bucket_name, Key=file_name) return True - else: + except botocore.exceptions.ClientError: # pragma: no cover return False + ## # Lambda ## @@ -447,14 +543,13 @@ def remove_from_s3(self, file_name, bucket_name): def create_lambda_function(self, bucket, s3_key, function_name, handler, description="Zappa Deployment", timeout=30, memory_size=512, publish=True, vpc_config=None): """ Given a bucket and key of a valid Lambda-zip, a function name and a handler, register that Lambda function. - """ - if not vpc_config: vpc_config = {} + if not self.credentials_arn: + self.get_credentials_arn() - client = self.boto_session.client('lambda') - response = client.create_function( + response = self.lambda_client.create_function( FunctionName=function_name, Runtime='python2.7', Role=self.credentials_arn, @@ -475,13 +570,10 @@ def create_lambda_function(self, bucket, s3_key, function_name, handler, descrip def update_lambda_function(self, bucket, s3_key, function_name, publish=True): """ Given a bucket and key of a valid Lambda-zip, a function name and a handler, update that Lambda function's code. - """ + print("Updating Lambda function code..") - print("Updating Lambda function..") - - client = self.boto_session.client('lambda') - response = client.update_function_code( + response = self.lambda_client.update_function_code( FunctionName=function_name, S3Bucket=bucket, S3Key=s3_key, @@ -490,35 +582,51 @@ def update_lambda_function(self, bucket, s3_key, function_name, publish=True): return response['FunctionArn'] + def update_lambda_configuration(self, lambda_arn, function_name, handler, description="Zappa Deployment", timeout=30, memory_size=512, publish=True, vpc_config=None): + """ + Given an existing function ARN, update the configuration variables. + """ + print("Updating Lambda function configuration..") + + if not vpc_config: + vpc_config = {} + if not self.credentials_arn: + self.get_credentials_arn() + + response = self.lambda_client.update_function_configuration( + FunctionName=function_name, + Runtime='python2.7', + Role=self.credentials_arn, + Handler=handler, + Description=description, + Timeout=timeout, + MemorySize=memory_size, + VpcConfig=vpc_config + ) + + return response['FunctionArn'] + def invoke_lambda_function(self, function_name, payload, invocation_type='Event', log_type='Tail', client_context=None, qualifier=None): """ Directly invoke a named Lambda function with a payload. Returns the response. - """ - - client = self.boto_session.client('lambda') - response = client.invoke( + return self.lambda_client.invoke( FunctionName=function_name, InvocationType=invocation_type, LogType=log_type, Payload=payload ) - return response - def rollback_lambda_function_version(self, function_name, versions_back=1, publish=True): """ Rollback the lambda function code 'versions_back' number of revisions. Returns the Function ARN. - """ - client = self.boto_session.client('lambda') - - response = client.list_versions_by_function(FunctionName=function_name) + response = self.lambda_client.list_versions_by_function(FunctionName=function_name) - #Take into account $LATEST + # Take into account $LATEST if len(response['Versions']) < versions_back + 1: print("We do not have {} revisions. Aborting".format(str(versions_back))) return False @@ -526,17 +634,28 @@ def rollback_lambda_function_version(self, function_name, versions_back=1, publi revisions = [int(revision['Version']) for revision in response['Versions'] if revision['Version'] != '$LATEST'] revisions.sort(reverse=True) - response = client.get_function(FunctionName='function:{}:{}'.format(function_name, revisions[versions_back])) + response = self.lambda_client.get_function(FunctionName='function:{}:{}'.format(function_name, revisions[versions_back])) response = requests.get(response['Code']['Location']) if response.status_code != 200: print("Failed to get version {} of {} code".format(versions_back, function_name)) return False - response = client.update_function_code(FunctionName=function_name, ZipFile=response.content, Publish=publish) # pragma: no cover + response = self.lambda_client.update_function_code(FunctionName=function_name, ZipFile=response.content, Publish=publish) # pragma: no cover return response['FunctionArn'] + def get_lambda_function_versions(self, function_name): + """ + Simply returns the versions available for a Lambda function, given a function name. + + """ + try: + response = self.lambda_client.list_versions_by_function(FunctionName=function_name) + return response.get('Versions', []) + except Exception: + return [] + def delete_lambda_function(self, function_name): """ Given a function name, delete it from AWS Lambda. @@ -544,148 +663,117 @@ def delete_lambda_function(self, function_name): Returns the response. """ - print("Deleting lambda function..") + print("Deleting Lambda function..") - client = self.boto_session.client('lambda') - response = client.delete_function( + return self.lambda_client.delete_function( FunctionName=function_name, ) - return response ## # API Gateway ## - def create_api_gateway_routes(self, lambda_arn, api_name=None): + def create_api_gateway_routes(self, lambda_arn, api_name=None, api_key_required=False, + integration_content_type_aliases=None, authorization_type='NONE'): """ - Creates the API Gateway for this Zappa deployment. - - Returns the new API's api_id. + Create the API Gateway for this Zappa deployment. + Returns the new RestAPI CF resource. """ - print("Creating API Gateway routes..") - - client = self.boto_session.client('apigateway') - - if not api_name: - api_name = str(int(time.time())) + restapi = troposphere.apigateway.RestApi('Api') + restapi.Name = api_name or lambda_arn.split(':')[-1] + restapi.Description = 'Created automatically by Zappa.' + self.cf_template.add_resource(restapi) - # Does an API Gateway with this name exist already? - apis = client.get_rest_apis()['items'] - if not len(filter(lambda a: a['name'] == api_name, apis)): - response = client.create_rest_api( - name=api_name, - description=api_name + " Zappa", - cloneFrom='' - ) - - api_id = response['id'] + root_id = troposphere.GetAtt(restapi, 'RootResourceId') ## # The Resources ## - response = client.get_resources( - restApiId=api_id, - ) - - # count how many put requests we'll be reporting for progress bar - progress_total = self.parameter_depth * len(self.http_methods) * ( - 2 + len(self.integration_response_codes) + len(self.method_response_codes)) - 1 - progress = tqdm(total=progress_total) - - # AWS seems to create this by default, - # but not sure if that'll be the case forever. - parent_id = None - for item in response['items']: - if item['path'] == '/': - root_id = item['id'] - if not root_id: - return False - self.create_and_setup_methods(api_id, root_id, lambda_arn, progress.update) + self.create_and_setup_methods(restapi, root_id, lambda_arn, api_key_required, + integration_content_type_aliases, authorization_type, 0) parent_id = root_id for i in range(1, self.parameter_depth): + resource = troposphere.apigateway.Resource('Resource{0}'.format(i)) + self.cf_api_resources.append(resource.title) + resource.RestApiId = troposphere.Ref(restapi) + resource.ParentId = parent_id + resource.PathPart = "{parameter_" + str(i) + "}" + self.cf_template.add_resource(resource) - response = client.create_resource( - restApiId=api_id, - parentId=parent_id, - pathPart="{parameter_" + str(i) + "}" - ) - resource_id = response['id'] - parent_id = resource_id - - self.create_and_setup_methods(api_id, resource_id, lambda_arn, progress.update) # pragma: no cover + self.create_and_setup_methods(restapi, resource, lambda_arn, api_key_required, + integration_content_type_aliases, authorization_type, i) # pragma: no cover + parent_id = troposphere.Ref(resource) - return api_id + return restapi - def create_and_setup_methods(self, api_id, resource_id, lambda_arn, report_progress): + def create_and_setup_methods(self, restapi, resource, lambda_arn, api_key_required, + integration_content_type_aliases, authorization_type, depth): """ - Sets up the methods, integration responses and method responses for a given API Gateway resource. - - Returns the given API's resource_id. - + Set up the methods, integration responses and method responses for a given API Gateway resource. """ + for method_name in self.http_methods: + method = troposphere.apigateway.Method(method_name + str(depth)) + method.RestApiId = troposphere.Ref(restapi) + if type(resource) is troposphere.apigateway.Resource: + method.ResourceId = troposphere.Ref(resource) + else: + method.ResourceId = resource + method.HttpMethod = method_name.upper() + method.AuthorizationType = authorization_type + method.ApiKeyRequired = api_key_required + method.MethodResponses = [] + self.cf_template.add_resource(method) + self.cf_api_resources.append(method.title) - client = self.boto_session.client('apigateway') - - for method in self.http_methods: - - response = client.put_method( - restApiId=api_id, - resourceId=resource_id, - httpMethod=method, - authorizationType='none', - apiKeyRequired=False - ) - report_progress() - - template_mapping = TEMPLATE_MAPPING - post_template_mapping = POST_TEMPLATE_MAPPING - form_encoded_template_mapping = FORM_ENCODED_TEMPLATE_MAPPING content_mapping_templates = { - 'application/json': post_template_mapping, - 'application/x-www-form-urlencoded': post_template_mapping, - 'multipart/form-data': form_encoded_template_mapping + 'application/json': self.cache_param(POST_TEMPLATE_MAPPING), + 'application/x-www-form-urlencoded': self.cache_param(POST_TEMPLATE_MAPPING), + 'multipart/form-data': self.cache_param(FORM_ENCODED_TEMPLATE_MAPPING) } + if integration_content_type_aliases: + for content_type in content_mapping_templates.keys(): + aliases = integration_content_type_aliases.get(content_type, []) + for alias in aliases: + content_mapping_templates[alias] = self.cache_param(content_mapping_templates[content_type]) + + if not self.credentials_arn: + self.get_credentials_arn() credentials = self.credentials_arn # This must be a Role ARN + uri = 'arn:aws:apigateway:' + self.boto_session.region_name + ':lambda:path/2015-03-31/functions/' + lambda_arn + '/invocations' - client.put_integration( - restApiId=api_id, - resourceId=resource_id, - httpMethod=method.upper(), - type='AWS', - integrationHttpMethod='POST', - uri=uri, - credentials=credentials, - requestParameters={}, - requestTemplates=content_mapping_templates, - cacheNamespace='none', - cacheKeyParameters=[] - ) - report_progress() + integration = troposphere.apigateway.Integration() + integration.CacheKeyParameters = [] + integration.CacheNamespace = 'none' + integration.Credentials = credentials + integration.IntegrationHttpMethod = 'POST' + integration.IntegrationResponses = [] + integration.PassthroughBehavior = 'NEVER' + integration.RequestParameters = {} + integration.RequestTemplates = content_mapping_templates + integration.Type = 'AWS' + integration.Uri = uri + method.Integration = integration ## # Method Response ## - for response in self.method_response_codes: - status_code = str(response) + for response_code in self.method_response_codes: + status_code = str(response_code) response_parameters = {"method.response.header." + header_type: False for header_type in self.method_header_types} response_models = {content_type: 'Empty' for content_type in self.method_content_types} - method_response = client.put_method_response( - restApiId=api_id, - resourceId=resource_id, - httpMethod=method, - statusCode=status_code, - responseParameters=response_parameters, - responseModels=response_models - ) - report_progress() + response = troposphere.apigateway.MethodResponse() + response.ResponseModels = response_models + response.ResponseParameters = response_parameters + response.StatusCode = status_code + method.MethodResponses.append(response) ## # Integration Response @@ -694,171 +782,535 @@ def create_and_setup_methods(self, api_id, resource_id, lambda_arn, report_progr for response in self.integration_response_codes: status_code = str(response) - response_parameters = {"method.response.header." + header_type: "integration.response.body." + header_type for header_type in self.method_header_types} + response_parameters = { + "method.response.header." + header_type: self.cache_param("integration.response.body." + header_type) + for header_type in self.method_header_types} # Error code matching RegEx # Thanks to @KevinHornschemeier and @jayway # for the discussion on this. if status_code == '200': - response_templates = {content_type: RESPONSE_TEMPLATE for content_type in self.integration_content_types} + response_templates = {content_type: self.cache_param(RESPONSE_TEMPLATE) for content_type in self.integration_content_types} elif status_code in ['301', '302']: response_templates = {content_type: REDIRECT_RESPONSE_TEMPLATE for content_type in self.integration_content_types} - response_parameters["method.response.header.Location"] = "integration.response.body.errorMessage" + response_parameters["method.response.header.Location"] = self.cache_param("integration.response.body.errorMessage") else: - response_templates = {content_type: ERROR_RESPONSE_TEMPLATE for content_type in self.integration_content_types} - - integration_response = client.put_integration_response( - restApiId=api_id, - resourceId=resource_id, - httpMethod=method, - statusCode=status_code, - selectionPattern=self.selection_pattern(status_code), - responseParameters=response_parameters, - responseTemplates=response_templates - ) - report_progress() - - return resource_id - - @staticmethod - def selection_pattern(status_code): - """ - Generate a regex to match a given status code in a response. - """ - - pattern = '' - - if status_code in ['301', '302']: - pattern = 'https://.*|/.*' - elif status_code != '200': - pattern = base64.b64encode("" + str(status_code)) + '.*' - pattern = pattern.replace('+', r"\+") + response_templates = {content_type: self.cache_param(ERROR_RESPONSE_TEMPLATE) for content_type in self.integration_content_types} - return pattern + integration_response = troposphere.apigateway.IntegrationResponse() + integration_response.ResponseParameters = response_parameters + integration_response.ResponseTemplates = response_templates + integration_response.SelectionPattern = self.selection_pattern(status_code) + integration_response.StatusCode = status_code + integration.IntegrationResponses.append(integration_response) - def deploy_api_gateway(self, api_id, stage_name, stage_description="", description="", cache_cluster_enabled=False, cache_cluster_size='0.5', variables=None): + def deploy_api_gateway(self, api_id, stage_name, stage_description="", description="", cache_cluster_enabled=False, cache_cluster_size='0.5', variables=None, + cloudwatch_log_level='OFF', cloudwatch_data_trace=False, cloudwatch_metrics_enabled=False): """ Deploy the API Gateway! - Returns the deployed API URL. - + Return the deployed API URL. """ - print("Deploying API Gateway..") - variables = variables or {} - - client = self.boto_session.client('apigateway') - response = client.create_deployment( + self.apigateway_client.create_deployment( restApiId=api_id, stageName=stage_name, stageDescription=stage_description, description=description, cacheClusterEnabled=cache_cluster_enabled, cacheClusterSize=cache_cluster_size, - variables=variables + variables=variables or {} + ) + + if cloudwatch_log_level not in self.cloudwatch_log_levels: + cloudwatch_log_level = 'OFF' + + self.apigateway_client.update_stage( + restApiId=api_id, + stageName=stage_name, + patchOperations=[ + self.get_patch_op('logging/loglevel', cloudwatch_log_level), + self.get_patch_op('logging/dataTrace', cloudwatch_data_trace), + self.get_patch_op('metrics/enabled', cloudwatch_metrics_enabled), + ] ) - endpoint_url = "https://" + api_id + ".execute-api." + self.boto_session.region_name + ".amazonaws.com/" + stage_name - return endpoint_url + return "https://{}.execute-api.{}.amazonaws.com/{}".format(api_id, self.boto_session.region_name, stage_name) - def undeploy_api_gateway(self, project_name): + def get_api_keys(self, api_id, stage_name): """ - Delete a deployed REST API Gateway. + Generator that allows to iterate per API keys associated to an api_id and a stage_name. + """ + response = self.apigateway_client.get_api_keys(limit=500) + stage_key = '{}/{}'.format(api_id, stage_name) + for api_key in response.get('items'): + if stage_key in api_key.get('stageKeys'): + yield api_key.get('id') + def create_api_key(self, api_id, stage_name): + """ + Create new API key and link it with an api_id and a stage_name """ + response = self.apigateway_client.create_api_key( + name='{}_{}'.format(stage_name, api_id), + description='Api Key for {}'.format(api_id), + enabled=True, + stageKeys=[ + { + 'restApiId': '{}'.format(api_id), + 'stageName': '{}'.format(stage_name) + }, + ] + ) + print('Created a new x-api-key: {}'.format(response['id'])) - print("Deleting API Gateway..") + def remove_api_key(self, api_id, stage_name): + """ + Remove a generated API key for api_id and stage_name + """ + response = self.apigateway_client.get_api_keys( + limit=1, + nameQuery='{}_{}'.format(stage_name, api_id) + ) + for api_key in response.get('items'): + self.apigateway_client.delete_api_key( + apiKey="{}".format(api_key['id']) + ) + + def add_api_stage_to_api_key(self, api_key, api_id, stage_name): + """ + Add api stage to Api key + """ + self.apigateway_client.update_api_key( + apiKey=api_key, + patchOperations=[ + { + 'op': 'add', + 'path': '/stages', + 'value': '{}/{}'.format(api_id, stage_name) + } + ] + ) + + def get_patch_op(self, keypath, value, op='replace'): + """ + Return an object that describes a change of configuration on the given staging. + Setting will be applied on all available HTTP methods. + """ + if isinstance(value, bool): + value = str(value).lower() + return {'op': op, 'path': '/*/*/{}'.format(keypath), 'value': value} - client = self.boto_session.client('apigateway') - all_apis = client.get_rest_apis( + def get_rest_apis(self, project_name): + """ + Generator that allows to iterate per every available apis. + """ + all_apis = self.apigateway_client.get_rest_apis( limit=500 ) for api in all_apis['items']: if api['name'] != project_name: continue - response = client.delete_rest_api( - restApiId=api['id'] + yield api + + def undeploy_api_gateway(self, lambda_name, domain_name=None): + """ + Delete a deployed REST API Gateway. + """ + print("Deleting API Gateway..") + + api_id = self.get_api_id(lambda_name) + + if domain_name: + try: + self.apigateway_client.delete_base_path_mapping( + domainName=domain_name, + basePath='(none)' + ) + except Exception: + # We may not have actually set up the domain. + pass + + was_deleted = self.delete_stack(lambda_name, wait=True) + + if not was_deleted: + # try erasing it with the older method + for api in self.get_rest_apis(lambda_name): + self.apigateway_client.delete_rest_api( + restApiId=api['id'] + ) + + def update_stage_config(self, project_name, stage_name, cloudwatch_log_level, cloudwatch_data_trace, + cloudwatch_metrics_enabled): + """ + Update CloudWatch metrics configuration. + """ + if cloudwatch_log_level not in self.cloudwatch_log_levels: + cloudwatch_log_level = 'OFF' + + for api in self.get_rest_apis(project_name): + self.apigateway_client.update_stage( + restApiId=api['id'], + stageName=stage_name, + patchOperations=[ + self.get_patch_op('logging/loglevel', cloudwatch_log_level), + self.get_patch_op('logging/dataTrace', cloudwatch_data_trace), + self.get_patch_op('metrics/enabled', cloudwatch_metrics_enabled), + ] ) - return + def delete_stack(self, name, wait=False): + """ + Delete the CF stack managed by Zappa. + """ + try: + stack = self.cf_client.describe_stacks(StackName=name)['Stacks'][0] + except: + print('No Zappa stack named {0}'.format(name)) + return False - def get_api_url(self, stage_name): + tags = {x['Key']:x['Value'] for x in stack['Tags']} + if tags.get('ZappaProject') == name: + self.cf_client.delete_stack(StackName=name) + if wait: + waiter = self.cf_client.get_waiter('stack_delete_complete') + print('Waiting for stack {0} to be deleted...'.format(name)) + waiter.wait(StackName=name) + return True + else: + print('ZappaProject tag not found on {0}, doing nothing'.format(name)) + return False + + def create_stack_template(self, lambda_arn, lambda_name, api_key_required, + integration_content_type_aliases, auth_type): + """ + Build the entire CF stack. + Just used for the API Gateway, but could be expanded in the future. """ - Given a stage_name, return a valid API URL. + # build a fresh template + self.cf_template = troposphere.Template() + self.cf_template.add_description('Automatically generated with Zappa') + self.cf_api_resources = [] + self.cf_parameters = {} + + restapi = self.create_api_gateway_routes(lambda_arn, lambda_name, api_key_required, + integration_content_type_aliases, auth_type) + return self.cf_template + + def update_stack(self, name, working_bucket, wait=False, update_only=False): """ + Update or create the CF stack managed by Zappa. + """ + capabilities = [] - client = self.boto_session.client('apigateway') - response = client.get_rest_apis( - limit=500 + template = name + '-template-' + str(int(time.time())) + '.json' + with open(template, 'w') as out: + out.write(self.cf_template.to_json(indent=None, separators=(',',':'))) + + self.upload_to_s3(template, working_bucket) + + url = 'https://s3.amazonaws.com/{0}/{1}'.format(working_bucket, template) + tags = [{'Key':'ZappaProject','Value':name}] + update = True + + try: + self.cf_client.describe_stacks(StackName=name) + except botocore.client.ClientError: + update = False + + if update_only and not update: + print('CloudFormation stack missing, re-deploy to enable updates') + return + + if not update: + self.cf_client.create_stack(StackName=name, + Capabilities=capabilities, + TemplateURL=url, + Tags=tags) + print('Waiting for stack {0} to create (this can take a bit)...'.format(name)) + else: + try: + self.cf_client.update_stack(StackName=name, + Capabilities=capabilities, + TemplateURL=url, + Tags=tags) + print('Waiting for stack {0} to update...'.format(name)) + except botocore.client.ClientError as e: + if e.response['Error']['Message'] == 'No updates are to be performed.': + wait = False + else: + raise + + if wait: + total_resources = len(self.cf_template.resources) + current_resources = 0 + sr = self.cf_client.get_paginator('list_stack_resources') + progress = tqdm(total=total_resources, unit='res') + while True: + time.sleep(3) + result = self.cf_client.describe_stacks(StackName=name) + if not result['Stacks']: + continue # might need to wait a bit + + if result['Stacks'][0]['StackStatus'] == 'CREATE_COMPLETE': + break + + count = 0 + for result in sr.paginate(StackName=name): + done = (1 for x in result['StackResourceSummaries'] + if 'COMPLETE' in x['ResourceStatus']) + count += sum(done) + if count: + # We can end up in a situation where we have more resources being created + # than anticipated. + if (count - current_resources) > 0: + progress.update(count - current_resources) + current_resources = count + progress.close() + + try: + os.remove(template) + except OSError: + pass + + self.remove_from_s3(template, working_bucket) + + def stack_outputs(self, name): + """ + Given a name, describes CloudFront stacks and returns dict of the stack Outputs + , else returns an empty dict. + """ + try: + stack = self.cf_client.describe_stacks(StackName=name)['Stacks'][0] + return {x['OutputKey']: x['OutputValue'] for x in stack['Outputs']} + except botocore.client.ClientError: + return {} + + + def get_api_url(self, lambda_name, stage_name): + """ + Given a lambda_name and stage_name, return a valid API URL. + """ + api_id = self.get_api_id(lambda_name) + if api_id: + return "https://{}.execute-api.{}.amazonaws.com/{}".format(api_id, self.boto_session.region_name, stage_name) + else: + return None + + def get_api_id(self, lambda_name): + """ + Given a lambda_name, return the API id. + """ + try: + response = self.cf_client.describe_stack_resource(StackName=lambda_name, + LogicalResourceId='Api') + return response['StackResourceDetail']['PhysicalResourceId'] + except: + # try the old method (project was probably made on an older, non CF version) + response = self.apigateway_client.get_rest_apis(limit=500) + + for item in response['items']: + if item['name'] == lambda_name: + return item['id'] + + logger.exception('Could not get API id') + return None + + def create_domain_name(self, + domain_name, + certificate_name, + certificate_body, + certificate_private_key, + certificate_chain, + lambda_name, + stage): + """ + Great the API GW domain. + """ + agw_response = self.apigateway_client.create_domain_name( + domainName=domain_name, + certificateName=certificate_name, + certificateBody=certificate_body, + certificatePrivateKey=certificate_private_key, + certificateChain=certificate_chain + ) + + dns_name = agw_response['distributionDomainName'] + zone_id = self.get_hosted_zone_id_for_domain(domain_name) + + api_id = self.get_api_id(lambda_name) + if not api_id: + raise LookupError("No API URL to certify found - did you deploy?") + + response = self.apigateway_client.create_base_path_mapping( + domainName=domain_name, + basePath='', + restApiId=api_id, + stage=stage ) - for item in response['items']: - if item['description'] == stage_name: - endpoint_url = "https://" + item['id'] + ".execute-api." + self.boto_session.region_name + ".amazonaws.com/" + stage_name - return endpoint_url + # Related: https://github.com/boto/boto3/issues/157 + # and: http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html + # and policy: https://spin.atomicobject.com/2016/04/28/route-53-hosted-zone-managment/ + # pure_zone_id = zone_id.split('/hostedzone/')[1] + + # XXX: ClientError: An error occurred (InvalidChangeBatch) when calling the ChangeResourceRecordSets operation: Tried to create an alias that targets d1awfeji80d0k2.cloudfront.net., type A in zone Z1XWOQP59BYF6Z, but the alias target name does not lie within the target zone + response = self.route53.change_resource_record_sets( + HostedZoneId=zone_id, + ChangeBatch={ + 'Changes': [ + { + 'Action': 'UPSERT', + 'ResourceRecordSet': { + 'Name': domain_name, + 'Type': 'CNAME', + 'ResourceRecords': [ + { + 'Value': dns_name + } + ], + 'TTL': 60 + } + } + ] + } + ) - return '' + return response + + def update_domain_name(self, + domain_name, + certificate_name, + certificate_body, + certificate_private_key, + certificate_chain): + """ + Update an IAM server cert and AGW domain name with it. + """ + # Patch operations described here: https://tools.ietf.org/html/rfc6902#section-4 + # and here: http://boto3.readthedocs.io/en/latest/reference/services/apigateway.html#APIGateway.Client.update_domain_name + + new_cert_name = 'LEZappa' + str(time.time()) + self.iam.create_server_certificate( + ServerCertificateName=new_cert_name, + CertificateBody=certificate_body, + PrivateKey=certificate_private_key, + CertificateChain=certificate_chain + ) + self.apigateway_client.update_domain_name( + domainName=domain_name, + patchOperations=[ + { + 'op': 'replace', + 'path': '/certificateName', + 'value': new_cert_name, + } + ] + ) + + return + + def get_domain_name(self, domain_name): + """ + """ + try: + response = self.apigateway_client.get_domain_name( + domainName=domain_name + ) + return response + except Exception: + return None ## # IAM ## - def create_iam_roles(self): + def get_credentials_arn(self): """ - Creates and defines the IAM roles and policies necessary for Zappa. + Given our role name, get and set the credentials_arn. - If the IAM role already exists, it will be updated if necessary. """ - assume_policy_s = ASSUME_POLICY - attach_policy_s = ATTACH_POLICY + role = self.iam.Role(self.role_name) + self.credentials_arn = role.arn + return role, self.credentials_arn - attach_policy_obj = json.loads(attach_policy_s) - assume_policy_obj = json.loads(assume_policy_s) + def create_iam_roles(self): + """ + Create and defines the IAM roles and policies necessary for Zappa. - iam = self.boto_session.resource('iam') + If the IAM role already exists, it will be updated if necessary. + """ + attach_policy_obj = json.loads(self.attach_policy) + assume_policy_obj = json.loads(self.assume_policy) + updated = False # Create the role if needed - role = iam.Role(self.role_name) try: - self.credentials_arn = role.arn + role, credentials_arn = self.get_credentials_arn() except botocore.client.ClientError: print("Creating " + self.role_name + " IAM Role...") - role = iam.create_role(RoleName=self.role_name, - AssumeRolePolicyDocument=assume_policy_s) + role = self.iam.create_role( + RoleName=self.role_name, + AssumeRolePolicyDocument=self.assume_policy + ) self.credentials_arn = role.arn + updated = True # create or update the role's policies if needed - policy = iam.RolePolicy(self.role_name, 'zappa-permissions') + policy = self.iam.RolePolicy(self.role_name, 'zappa-permissions') try: if policy.policy_document != attach_policy_obj: print("Updating zappa-permissions policy on " + self.role_name + " IAM Role.") - policy.put(PolicyDocument=attach_policy_s) + policy.put(PolicyDocument=self.attach_policy) + updated = True except botocore.client.ClientError: print("Creating zappa-permissions policy on " + self.role_name + " IAM Role.") - policy.put(PolicyDocument=attach_policy_s) + policy.put(PolicyDocument=self.attach_policy) + updated = True if role.assume_role_policy_document != assume_policy_obj and \ set(role.assume_role_policy_document['Statement'][0]['Principal']['Service']) != set(assume_policy_obj['Statement'][0]['Principal']['Service']): print("Updating assume role policy on " + self.role_name + " IAM Role.") - client = self.boto_session.client('iam') - client.update_assume_role_policy( + self.iam_client.update_assume_role_policy( RoleName=self.role_name, - PolicyDocument=assume_policy_s + PolicyDocument=self.assume_policy ) + updated = True - return self.credentials_arn + return self.credentials_arn, updated ## # CloudWatch Events ## - def schedule_events(self, lambda_arn, lambda_name, events): + def create_event_permission(self, lambda_name, principal, source_arn): + """ + Create permissions to link to an event. + + Related: http://docs.aws.amazon.com/lambda/latest/dg/with-s3-example-configure-event-source.html + """ + logger.debug('Adding new permission to invoke Lambda function: {}'.format(lambda_name)) + permission_response = self.lambda_client.add_permission( + FunctionName=lambda_name, + StatementId=''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8)), + Action='lambda:InvokeFunction', + Principal=principal, + SourceArn=source_arn, + ) + + if permission_response['ResponseMetadata']['HTTPStatusCode'] != 201: + print('Problem creating permission to invoke Lambda function') + return None # XXX: Raise? + + return permission_response + + def schedule_events(self, lambda_arn, lambda_name, events, default=True): """ Given a Lambda ARN, name and a list of events, schedule this as CloudWatch Events. @@ -867,213 +1319,281 @@ def schedule_events(self, lambda_arn, lambda_name, events): Expressions can be in rate or cron format: http://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html - """ - - client = self.boto_session.client('events') - lambda_client = self.boto_session.client('lambda') - + # XXX: Not available in Lambda yet. + # We probably want to execute the latest code. + # if default: + # lambda_arn = lambda_arn + ":$LATEST" + self.unschedule_events(lambda_name=lambda_name, lambda_arn=lambda_arn, events=events) for event in events: - function = event['function'] - expression = event['expression'] - name = event.get('name', function) + expression = event.get('expression', None) + event_source = event.get('event_source', None) + name = self.get_scheduled_event_name(event, function, lambda_name) description = event.get('description', function) - self.delete_rule(name) - # - If 'cron' or 'rate' in expression, use ScheduleExpression # - Else, use EventPattern # - ex https://github.com/awslabs/aws-lambda-ddns-function - if 'cron' in expression or 'rate' in expression: - response = client.put_rule( + if not self.credentials_arn: + self.get_credentials_arn() + + if expression: + rule_response = self.events_client.put_rule( Name=name, ScheduleExpression=expression, State='ENABLED', Description=description, RoleArn=self.credentials_arn ) - else: - response = client.put_rule( - Name=name, - EventPattern=expression, - State='ENABLED', - Description=description, - RoleArn=self.credentials_arn + + if 'RuleArn' in rule_response: + logger.debug('Rule created. ARN {}'.format(rule_response['RuleArn'])) + + # Specific permissions are necessary for any trigger to work. + self.create_event_permission(lambda_name, 'events.amazonaws.com', rule_response['RuleArn']) + + # Create the CloudWatch event ARN for this function. + target_response = self.events_client.put_targets( + Rule=name, + Targets=[ + { + 'Id': 'Id' + ''.join(random.choice(string.digits) for _ in range(12)), + 'Arn': lambda_arn, + } + ] ) - response = lambda_client.add_permission( - FunctionName=lambda_name, - StatementId=''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8)), - Action='lambda:InvokeFunction', - Principal='events.amazonaws.com', - SourceArn=response['RuleArn'], - ) + if target_response['ResponseMetadata']['HTTPStatusCode'] == 200: + print("Scheduled {}!".format(name)) + else: + print("Problem scheduling {}.".format(name)) - # Create the CloudWatch event ARN for this function. - target_arn = lambda_arn - inp = json.dumps({'detail': function}) - target_response = client.put_targets( - Rule=name, - Targets=[ - { - 'Id': function, - 'Arn': target_arn, - 'Input': inp, - }, - ] - ) + else: - print("Scheduled " + name + " at " + expression + ".") + svc = ','.join(event['event_source']['events']) + service = svc.split(':')[0] - return + self.create_event_permission( + lambda_name, + service + '.amazonaws.com', + event['event_source']['arn'] + ) + + rule_response = add_event_source( + event_source, + lambda_arn, + function, + self.boto_session + ) + # # if rule_response: # Kappa doesn't give us this yet. + # So, we print as if was sucessful. + print("Created %s event schedule for %s!" % (svc, function)) + + @staticmethod + def get_scheduled_event_name(event, function, lambda_name): + name = event.get('name', function) + if name != function: + # a custom event name has been provided, make sure function name is included as postfix, + # otherwise zappa's handler won't be able to locate the function. + name = '{}-{}'.format(name, function) + # prefix scheduled event names with lambda name. So we can look them up later via the prefix. + return Zappa.get_event_name(lambda_name, name) + + @staticmethod + def get_event_name(lambda_name, name): + return '{}-{}'.format(lambda_name, name) def delete_rule(self, rule_name): """ Delete a CWE rule. - """ + This deletes them, but they will still show up in the AWS console. + Annoying. - client = self.boto_session.client('events') + """ + logger.debug('Deleting existing rule {}'.format(rule_name)) # All targets must be removed before # we can actually delete the rule. try: - targets = client.list_targets_by_rule( - Rule=rule_name, - )['Targets'] + targets = self.events_client.list_targets_by_rule(Rule=rule_name) except botocore.exceptions.ClientError as e: - # Likely no target by this rule, nothing to delete. - return - - if targets == []: - return - - for target in targets: - response = client.remove_targets( - Rule=rule_name, - Ids=[ - target['Id'], - ] - ) + # This avoids misbehavior if low permissions, related: https://github.com/Miserlou/Zappa/issues/286 + error_code = e.response['Error']['Code'] + if error_code == 'AccessDeniedException': + raise + else: + logger.debug('No target found for this rule: {} {}'.format(rule_name, e.message)) + return - # Delete our rules. - rules = client.list_rules( - NamePrefix=rule_name, - )['Rules'] - for rule in rules: - if rule['Name'] == rule_name: + if 'Targets' in targets and targets['Targets']: + self.events_client.remove_targets(Rule=rule_name, Ids=[x['Id'] for x in targets['Targets']]) + else: # pragma: no cover + logger.debug('No target to delete') - response = client.delete_rule( - Name=rule_name - ) + # Delete our rule. + self.events_client.delete_rule(Name=rule_name) - return + def get_event_rules_for_lambda(self, lambda_name): + """ + Get all of the rules associated with this function. + """ + rules = [r['Name'] for r in self.events_client.list_rules(NamePrefix=lambda_name)['Rules']] + return [self.events_client.describe_rule(Name=r) for r in rules] - def unschedule_events(self, events): + def unschedule_events(self, events, lambda_arn=None, lambda_name=None): """ Given a list of events, unschedule these CloudWatch Events. 'events' is a list of dictionaries, where the dict must contains the string of a 'function' and the string of the event 'expression', and an optional 'name' and 'description'. - """ - - client = self.boto_session.client('events') - - for event in events: + self._clear_policy(lambda_name) + + rules = self.events_client.list_rules(NamePrefix=lambda_name) + for rule in rules['Rules']: + rule_name = rule['Name'] + self.delete_rule(rule_name) + print('Unscheduled ' + rule_name + '.') + + non_cwe = [e for e in events if 'event_source' in e] + for event in non_cwe: + # TODO: This WILL miss non CW events that have been deployed but changed names. Figure out a way to remove + # them no matter what. + # These are non CWE event sources. function = event['function'] name = event.get('name', function) - self.delete_rule(name) - - print("Uncheduled " + name + ".") - - return + event_source = event.get('event_source', function) + remove_event_source( + event_source, + lambda_arn, + function, + self.boto_session + ) + print("Removed event " + name + ".") - def create_keep_warm(self, lambda_arn, lambda_name, name="zappa-keep-warm", schedule_expression="rate(5 minutes)"): + def _clear_policy(self, lambda_name): """ - Schedule a regularly occuring execution to keep the function warm in cache. - + Remove obsolete policy statements to prevent policy from bloating over the limit after repeated updates. """ + try: + policy_response = self.lambda_client.get_policy( + FunctionName=lambda_name + ) + if policy_response['ResponseMetadata']['HTTPStatusCode'] == 200: + statement = json.loads(policy_response['Policy'])['Statement'] + for s in statement: + delete_response = self.lambda_client.remove_permission( + FunctionName=lambda_name, + StatementId=s['Sid'] + ) + if delete_response['ResponseMetadata']['HTTPStatusCode'] != 204: + logger.error('Failed to delete an obsolete policy statement: {}'.format()) + else: + logger.debug('Failed to load Lambda function policy: {}'.format(policy_response)) + except ClientError as e: + if e.message.find('ResourceNotFoundException') > -1: + logger.debug('No policy found, must be first run.') + else: + logger.error('Unexpected client error {}'.format(e.message)) - client = self.boto_session.client('events') - lambda_client = self.boto_session.client('lambda') - rule_name = name + "-" + str(lambda_name) - - print("Scheduling keep-warm..") - - # Do we have an old keepwarm for this? - self.delete_rule(rule_name) + ## + # CloudWatch Logging + ## - response = client.put_rule( - Name=rule_name, - ScheduleExpression=schedule_expression, - State='ENABLED', - Description='Zappa Keep Warm - ' + str(lambda_name), - RoleArn=self.credentials_arn + def fetch_logs(self, lambda_name, filter_pattern='', limit=10000): + """ + Fetch the CloudWatch logs for a given Lambda name. + """ + log_name = '/aws/lambda/' + lambda_name + streams = self.logs_client.describe_log_streams( + logGroupName=log_name, + descending=True, + orderBy='LastEventTime' ) - response = lambda_client.add_permission( - FunctionName=lambda_name, - StatementId=''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8)), - Action='lambda:InvokeFunction', - Principal='events.amazonaws.com', - SourceArn=response['RuleArn'], + all_streams = streams['logStreams'] + all_names = [stream['logStreamName'] for stream in all_streams] + response = self.logs_client.filter_log_events( + logGroupName=log_name, + logStreamNames=all_names, + filterPattern=filter_pattern, + limit=limit ) - target_arn = lambda_arn - response = client.put_targets( - Rule=rule_name, - Targets=[ - { - 'Id': str(sum([ ord(c) for c in lambda_arn])), # Is this insane? - 'Arn': target_arn, - 'Input': '', - }, - ] - ) + return response['events'] - def remove_keep_warm(self, lambda_name, name="zappa-keep-warm"): + def remove_log_group(self, group_name): """ - Unschedule the regularly occuring execution to keep the function warm in cache. - + Filter all log groups that match the name given in log_filter. """ + print("Removing log group: {}".format(group_name)) + try: + self.logs_client.delete_log_group(logGroupName=group_name) + except botocore.exceptions.ClientError as e: + print("Couldn't remove '{}' because of: {}".format(group_name, e)) - client = self.boto_session.client('events') - lambda_client = self.boto_session.client('lambda') - rule_name = name + "-" + str(lambda_name) - - print("Removing keep-warm..") - - self.delete_rule(rule_name) + def remove_lambda_function_logs(self, lambda_function_name): + """ + Remove all logs that are assigned to a given lambda function id. + """ + self.remove_log_group('/aws/lambda/{}'.format(lambda_function_name)) + def remove_api_gateway_logs(self, project_name): + """ + Removed all logs that are assigned to a given rest api id. + """ + for rest_api in self.get_rest_apis(project_name): + for stage in self.apigateway_client.get_stages(restApiId=rest_api['id'])['item']: + self.remove_log_group('API-Gateway-Execution-Logs_{}/{}'.format(rest_api['id'], stage['stageName'])) ## - # CloudWatch Logging + # Route53 Domain Name Entries ## - def fetch_logs(self, lambda_name, filter_pattern='', limit=10000): + def get_hosted_zone_id_for_domain(self, domain): """ - Fetch the CloudWatch logs for a given Lambda name. + Get the Hosted Zone ID for a given domain. """ + all_zones = self.route53.list_hosted_zones() + return self._get_best_match_zone(all_zones, domain) - client = self.boto_session.client('logs') - - log_name = '/aws/lambda/' + lambda_name - streams = client.describe_log_streams(logGroupName=log_name, - descending=True, - orderBy='LastEventTime') + @staticmethod + def _get_best_match_zone(all_zones, domain): + """Return zone id which name is closer matched with domain name.""" + zones = {zone['Name'][:-1]: zone['Id'] for zone in all_zones['HostedZones'] if zone['Name'][:-1] in domain} + if zones: + keys = max(zones.keys(), key=lambda a: len(a)) # get longest key -- best match. + return zones[keys] + else: + return None - all_streams = streams['logStreams'] - all_names = [stream['logStreamName'] for stream in all_streams] - response = client.filter_log_events(logGroupName=log_name, - logStreamNames=all_names, - filterPattern=filter_pattern, - limit=limit) + def set_dns_challenge_txt(self, zone_id, domain, txt_challenge): + """ + Set DNS challenge TXT. + """ + print("Setting DNS challenge..") + resp = self.route53.change_resource_record_sets( + HostedZoneId=zone_id, + ChangeBatch={ + 'Changes': [{ + 'Action': 'UPSERT', + 'ResourceRecordSet': { + 'Name': '_acme-challenge.{0}'.format(domain), + 'Type': 'TXT', + 'TTL': 60, + 'ResourceRecords': [{ + 'Value': '"{0}"'.format(txt_challenge) + }] + } + }] + } + ) - return response['events'] + return resp ## # Utility @@ -1088,7 +1608,6 @@ def load_credentials(self, boto_session=None, profile_name=None): An optional profile_name can be provided for config files that have multiple sets of credentials. """ - # Automatically load credentials from config or environment if not boto_session: @@ -1123,6 +1642,21 @@ def load_credentials(self, boto_session=None, profile_name=None): if self.boto_session.region_name not in API_GATEWAY_REGIONS: print("Warning! AWS API Gateway may not be available in this AWS Region!") + @staticmethod + def selection_pattern(status_code): + """ + Generate a regex to match a given status code in a response. + """ + pattern = '' + + if status_code in ['301', '302']: + pattern = 'https://.*|/.*' + elif status_code != '200': + pattern = '\{"http_status": ' + str(status_code) + '.*' + pattern = pattern.replace('+', r"\+") + + return pattern + def human_size(self, num, suffix='B'): for unit in ['', 'Ki', 'Mi', 'Gi', 'Ti', 'Pi', 'Ei', 'Zi']: if abs(num) < 1024.0: